mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 01:17:23 +08:00
529 lines
2.6 MiB
529 lines
2.6 MiB
var Fi=Object.defineProperty;var zi=(t,r,$)=>r in t?Fi(t,r,{enumerable:!0,configurable:!0,writable:!0,value:$}):t[r]=$;var ao=(t,r,$)=>(zi(t,typeof r!="symbol"?r+"":r,$),$);(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const oe of document.querySelectorAll('link[rel="modulepreload"]'))V(oe);new MutationObserver(oe=>{for(const ie of oe)if(ie.type==="childList")for(const le of ie.addedNodes)le.tagName==="LINK"&&le.rel==="modulepreload"&&V(le)}).observe(document,{childList:!0,subtree:!0});function $(oe){const ie={};return oe.integrity&&(ie.integrity=oe.integrity),oe.referrerPolicy&&(ie.referrerPolicy=oe.referrerPolicy),oe.crossOrigin==="use-credentials"?ie.credentials="include":oe.crossOrigin==="anonymous"?ie.credentials="omit":ie.credentials="same-origin",ie}function V(oe){if(oe.ep)return;oe.ep=!0;const ie=$(oe);fetch(oe.href,ie)}})();function makeMap(t,r){const $=Object.create(null),V=t.split(",");for(let oe=0;oe<V.length;oe++)$[V[oe]]=!0;return r?oe=>!!$[oe.toLowerCase()]:oe=>!!$[oe]}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 $=t.indexOf(r);$>-1&&t.splice($,1)},hasOwnProperty$h=Object.prototype.hasOwnProperty,hasOwn$4=(t,r)=>hasOwnProperty$h.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$a=t=>t!==null&&typeof t=="object",isPromise=t=>isObject$a(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 $=>r[$]||(r[$]=t($))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(t=>t.replace(camelizeRE,(r,$)=>$?$.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 $=0;$<t.length;$++)t[$](r)},def=(t,r,$)=>{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:$})},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 $=0;$<t.length;$++){const V=t[$],oe=isString$6(V)?parseStringStyle(V):normalizeStyle$1(V);if(oe)for(const ie in oe)r[ie]=oe[ie]}return r}else{if(isString$6(t))return t;if(isObject$a(t))return t}}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(t){const r={};return t.replace(styleCommentRE,"").split(listDelimiterRE).forEach($=>{if($){const V=$.split(propertyDelimiterRE);V.length>1&&(r[V[0].trim()]=V[1].trim())}}),r}function normalizeClass(t){let r="";if(isString$6(t))r=t;else if(isArray$c(t))for(let $=0;$<t.length;$++){const V=normalizeClass(t[$]);V&&(r+=V+" ")}else if(isObject$a(t))for(const $ in t)t[$]&&(r+=$+" ");return r.trim()}function normalizeProps(t){if(!t)return null;let{class:r,style:$}=t;return r&&!isString$6(r)&&(t.class=normalizeClass(r)),$&&(t.style=normalizeStyle$1($)),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 $=!0;for(let V=0;$&&V<t.length;V++)$=looseEqual(t[V],r[V]);return $}function looseEqual(t,r){if(t===r)return!0;let $=isDate$3(t),V=isDate$3(r);if($||V)return $&&V?t.getTime()===r.getTime():!1;if($=isSymbol$2(t),V=isSymbol$2(r),$||V)return t===r;if($=isArray$c(t),V=isArray$c(r),$||V)return $&&V?looseCompareArrays(t,r):!1;if($=isObject$a(t),V=isObject$a(r),$||V){if(!$||!V)return!1;const oe=Object.keys(t).length,ie=Object.keys(r).length;if(oe!==ie)return!1;for(const le in t){const ue=t.hasOwnProperty(le),de=r.hasOwnProperty(le);if(ue&&!de||!ue&&de||!looseEqual(t[le],r[le]))return!1}}return String(t)===String(r)}function looseIndexOf(t,r){return t.findIndex($=>looseEqual($,r))}const toDisplayString$1=t=>isString$6(t)?t:t==null?"":isArray$c(t)||isObject$a(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])=>($[`${V} =>`]=oe,$),{})}:isSet$3(r)?{[`Set(${r.size})`]:[...r.values()]}:isObject$a(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 $=activeEffectScope;try{return activeEffectScope=this,r()}finally{activeEffectScope=$}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(r){if(this._active){let $,V;for($=0,V=this.effects.length;$<V;$++)this.effects[$].stop();for($=0,V=this.cleanups.length;$<V;$++)this.cleanups[$]();if(this.scopes)for($=0,V=this.scopes.length;$<V;$++)this.scopes[$].stop(!0);if(!this.detached&&this.parent&&!r){const oe=this.parent.scopes.pop();oe&&oe!==this&&(this.parent.scopes[this.index]=oe,oe.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 $=0;for(let V=0;V<r.length;V++){const oe=r[V];wasTracked(oe)&&!newTracked(oe)?oe.delete(t):r[$++]=oe,oe.w&=~trackOpBit,oe.n&=~trackOpBit}r.length=$}},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,$=null,V){this.fn=r,this.scheduler=$,this.active=!0,this.deps=[],this.parent=void 0,recordEffectScope(this,V)}run(){if(!this.active)return this.fn();let r=activeEffect,$=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=$,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 $=0;$<r.length;$++)r[$].delete(t);r.length=0}}function effect(t,r){t.effect&&(t=t.effect.fn);const $=new ReactiveEffect(t);r&&(extend$2($,r),r.scope&&recordEffectScope($,r.scope)),(!r||!r.lazy)&&$.run();const V=$.run.bind($);return V.effect=$,V}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,$){if(shouldTrack&&activeEffect){let V=targetMap.get(t);V||targetMap.set(t,V=new Map);let oe=V.get($);oe||V.set($,oe=createDep()),trackEffects(oe)}}function trackEffects(t,r){let $=!1;effectTrackDepth<=maxMarkerBits?newTracked(t)||(t.n|=trackOpBit,$=!wasTracked(t)):$=!t.has(activeEffect),$&&(t.add(activeEffect),activeEffect.deps.push(t))}function trigger$2(t,r,$,V,oe,ie){const le=targetMap.get(t);if(!le)return;let ue=[];if(r==="clear")ue=[...le.values()];else if($==="length"&&isArray$c(t)){const de=Number(V);le.forEach((pe,he)=>{(he==="length"||he>=de)&&ue.push(pe)})}else switch($!==void 0&&ue.push(le.get($)),r){case"add":isArray$c(t)?isIntegerKey($)&&ue.push(le.get("length")):(ue.push(le.get(ITERATE_KEY)),isMap$3(t)&&ue.push(le.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$c(t)||(ue.push(le.get(ITERATE_KEY)),isMap$3(t)&&ue.push(le.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$3(t)&&ue.push(le.get(ITERATE_KEY));break}if(ue.length===1)ue[0]&&triggerEffects(ue[0]);else{const de=[];for(const pe of ue)pe&&de.push(...pe);triggerEffects(createDep(de))}}function triggerEffects(t,r){const $=isArray$c(t)?t:[...t];for(const V of $)V.computed&&triggerEffect(V);for(const V of $)V.computed||triggerEffect(V)}function triggerEffect(t,r){(t!==activeEffect||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function getDepFromReactive(t,r){var $;return($=targetMap.get(t))==null?void 0:$.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(...$){const V=toRaw(this);for(let ie=0,le=this.length;ie<le;ie++)track(V,"get",ie+"");const oe=V[r](...$);return oe===-1||oe===!1?V[r](...$.map(toRaw)):oe}}),["push","pop","shift","unshift","splice"].forEach(r=>{t[r]=function(...$){pauseTracking();const V=toRaw(this)[r].apply(this,$);return resetTracking(),V}}),t}function hasOwnProperty$g(t){const r=toRaw(this);return track(r,"has",t),r.hasOwnProperty(t)}function createGetter(t=!1,r=!1){return function(V,oe,ie){if(oe==="__v_isReactive")return!t;if(oe==="__v_isReadonly")return t;if(oe==="__v_isShallow")return r;if(oe==="__v_raw"&&ie===(t?r?shallowReadonlyMap:readonlyMap:r?shallowReactiveMap:reactiveMap).get(V))return V;const le=isArray$c(V);if(!t){if(le&&hasOwn$4(arrayInstrumentations,oe))return Reflect.get(arrayInstrumentations,oe,ie);if(oe==="hasOwnProperty")return hasOwnProperty$g}const ue=Reflect.get(V,oe,ie);return(isSymbol$2(oe)?builtInSymbols.has(oe):isNonTrackableKeys(oe))||(t||track(V,"get",oe),r)?ue:isRef(ue)?le&&isIntegerKey(oe)?ue:ue.value:isObject$a(ue)?t?readonly(ue):reactive(ue):ue}}const set$1$1=createSetter(),shallowSet=createSetter(!0);function createSetter(t=!1){return function($,V,oe,ie){let le=$[V];if(isReadonly(le)&&isRef(le)&&!isRef(oe))return!1;if(!t&&(!isShallow(oe)&&!isReadonly(oe)&&(le=toRaw(le),oe=toRaw(oe)),!isArray$c($)&&isRef(le)&&!isRef(oe)))return le.value=oe,!0;const ue=isArray$c($)&&isIntegerKey(V)?Number(V)<$.length:hasOwn$4($,V),de=Reflect.set($,V,oe,ie);return $===toRaw(ie)&&(ue?hasChanged(oe,le)&&trigger$2($,"set",V,oe):trigger$2($,"add",V,oe)),de}}function deleteProperty(t,r){const $=hasOwn$4(t,r);t[r];const V=Reflect.deleteProperty(t,r);return V&&$&&trigger$2(t,"delete",r,void 0),V}function has$1$1(t,r){const $=Reflect.has(t,r);return(!isSymbol$2(r)||!builtInSymbols.has(r))&&track(t,"has",r),$}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,$=!1,V=!1){t=t.__v_raw;const oe=toRaw(t),ie=toRaw(r);$||(r!==ie&&track(oe,"get",r),track(oe,"get",ie));const{has:le}=getProto$1(oe),ue=V?toShallow:$?toReadonly:toReactive;if(le.call(oe,r))return ue(t.get(r));if(le.call(oe,ie))return ue(t.get(ie));t!==oe&&t.get(r)}function has$5(t,r=!1){const $=this.__v_raw,V=toRaw($),oe=toRaw(t);return r||(t!==oe&&track(V,"has",t),track(V,"has",oe)),t===oe?$.has(t):$.has(t)||$.has(oe)}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 $=toRaw(this),{has:V,get:oe}=getProto$1($);let ie=V.call($,t);ie||(t=toRaw(t),ie=V.call($,t));const le=oe.call($,t);return $.set(t,r),ie?hasChanged(r,le)&&trigger$2($,"set",t,r):trigger$2($,"add",t,r),this}function deleteEntry(t){const r=toRaw(this),{has:$,get:V}=getProto$1(r);let oe=$.call(r,t);oe||(t=toRaw(t),oe=$.call(r,t)),V&&V.call(r,t);const ie=r.delete(t);return oe&&trigger$2(r,"delete",t,void 0),ie}function clear$2(){const t=toRaw(this),r=t.size!==0,$=t.clear();return r&&trigger$2(t,"clear",void 0,void 0),$}function createForEach(t,r){return function(V,oe){const ie=this,le=ie.__v_raw,ue=toRaw(le),de=r?toShallow:t?toReadonly:toReactive;return!t&&track(ue,"iterate",ITERATE_KEY),le.forEach((pe,he)=>V.call(oe,de(pe),de(he),ie))}}function createIterableMethod(t,r,$){return function(...V){const oe=this.__v_raw,ie=toRaw(oe),le=isMap$3(ie),ue=t==="entries"||t===Symbol.iterator&&le,de=t==="keys"&&le,pe=oe[t](...V),he=$?toShallow:r?toReadonly:toReactive;return!r&&track(ie,"iterate",de?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:_e,done:$e}=pe.next();return $e?{value:_e,done:$e}:{value:ue?[he(_e[0]),he(_e[1])]:he(_e),done:$e}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(t){return function(...r){return t==="delete"?!1:this}}function createInstrumentations(){const t={get(ie){return get$2(this,ie)},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(ie){return get$2(this,ie,!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)},$={get(ie){return get$2(this,ie,!0)},get size(){return size(this,!0)},has(ie){return has$5.call(this,ie,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},V={get(ie){return get$2(this,ie,!0,!0)},get size(){return size(this,!0)},has(ie){return has$5.call(this,ie,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(ie=>{t[ie]=createIterableMethod(ie,!1,!1),$[ie]=createIterableMethod(ie,!0,!1),r[ie]=createIterableMethod(ie,!1,!0),V[ie]=createIterableMethod(ie,!0,!0)}),[t,$,r,V]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(t,r){const $=r?t?shallowReadonlyInstrumentations:shallowInstrumentations:t?readonlyInstrumentations:mutableInstrumentations;return(V,oe,ie)=>oe==="__v_isReactive"?!t:oe==="__v_isReadonly"?t:oe==="__v_raw"?V:Reflect.get(hasOwn$4($,oe)&&oe in V?$:V,oe,ie)}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){if(!isObject$a(t)||t.__v_raw&&!(r&&t.__v_isReactive))return t;const ie=oe.get(t);if(ie)return ie;const le=getTargetType(t);if(le===0)return t;const ue=new Proxy(t,le===2?V:$);return oe.set(t,ue),ue}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$a(t)?reactive(t):t,toReadonly=t=>isObject$a(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 $=t.dep;$&&triggerEffects($)}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,$){this.__v_isShallow=$,this.dep=void 0,this.__v_isRef=!0,this._rawValue=$?r:toRaw(r),this._value=$?r:toReactive(r)}get value(){return trackRefValue(this),this._value}set value(r){const $=this.__v_isShallow||isShallow(r)||isReadonly(r);r=$?r:toRaw(r),hasChanged(r,this._rawValue)&&(this._rawValue=r,this._value=$?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,$)=>unref(Reflect.get(t,r,$)),set:(t,r,$,V)=>{const oe=t[r];return isRef(oe)&&!isRef($)?(oe.value=$,!0):Reflect.set(t,r,$,V)}};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:$,set:V}=r(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=$,this._set=V}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 $ in t)r[$]=propertyToRef(t,$);return r}class ObjectRefImpl{constructor(r,$,V){this._object=r,this._key=$,this._defaultValue=V,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,$){return isRef(t)?t:isFunction$5(t)?new GetterRefImpl(t):isObject$a(t)&&arguments.length>1?propertyToRef(t,r,$):ref(t)}function propertyToRef(t,r,$){const V=t[r];return isRef(V)?V:new ObjectRefImpl(t,r,$)}class ComputedRefImpl{constructor(r,$,V,oe){this._setter=$,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=!oe,this.__v_isReadonly=V}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,$=!1){let V,oe;const ie=isFunction$5(t);return ie?(V=t,oe=NOOP):(V=t.get,oe=t.set),new ComputedRefImpl(V,oe,ie||!oe,$)}function warn$2(t,...r){}function assertNumber(t,r){}function callWithErrorHandling(t,r,$,V){let oe;try{oe=V?t(...V):t()}catch(ie){handleError(ie,r,$)}return oe}function callWithAsyncErrorHandling(t,r,$,V){if(isFunction$5(t)){const ie=callWithErrorHandling(t,r,$,V);return ie&&isPromise(ie)&&ie.catch(le=>{handleError(le,r,$)}),ie}const oe=[];for(let ie=0;ie<t.length;ie++)oe.push(callWithAsyncErrorHandling(t[ie],r,$,V));return oe}function handleError(t,r,$,V=!0){const oe=r?r.vnode:null;if(r){let ie=r.parent;const le=r.proxy,ue=$;for(;ie;){const pe=ie.ec;if(pe){for(let he=0;he<pe.length;he++)if(pe[he](t,le,ue)===!1)return}ie=ie.parent}const de=r.appContext.config.errorHandler;if(de){callWithErrorHandling(de,null,10,[t,le,ue]);return}}logError$1(t,$,oe,V)}function logError$1(t,r,$,V=!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,$=queue.length;for(;r<$;){const V=r+$>>>1;getId$1(queue[V])<t?r=V+1:$=V}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 $=queue[r];$&&$.pre&&(queue.splice(r,1),r--,$())}}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)=>getId$1($)-getId$1(V)),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 $=getId$1(t)-getId$1(r);if($===0){if(t.pre&&!r.pre)return-1;if(r.pre&&!t.pre)return 1}return $};function flushJobs(t){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);const r=NOOP;try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const $=queue[flushIndex];$&&$.active!==!1&&callWithErrorHandling($,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;devtools=t,devtools?(devtools.enabled=!0,buffer.forEach(({event:oe,args:ie})=>devtools.emit(oe,...ie)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((V=($=window.navigator)==null?void 0:$.userAgent)!=null&&V.includes("jsdom"))?((r.__VUE_DEVTOOLS_HOOK_REPLAY__=r.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(ie=>{setDevtoolsHook(ie,r)}),setTimeout(()=>{devtools||(r.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit(t,r,...$){if(t.isUnmounted)return;const V=t.vnode.props||EMPTY_OBJ$1;let oe=$;const ie=r.startsWith("update:"),le=ie&&r.slice(7);if(le&&le in V){const he=`${le==="modelValue"?"model":le}Modifiers`,{number:_e,trim:$e}=V[he]||EMPTY_OBJ$1;$e&&(oe=$.map(Ie=>isString$6(Ie)?Ie.trim():Ie)),_e&&(oe=$.map(looseToNumber))}let ue,de=V[ue=toHandlerKey(r)]||V[ue=toHandlerKey(camelize(r))];!de&&ie&&(de=V[ue=toHandlerKey(hyphenate(r))]),de&&callWithAsyncErrorHandling(de,t,6,oe);const pe=V[ue+"Once"];if(pe){if(!t.emitted)t.emitted={};else if(t.emitted[ue])return;t.emitted[ue]=!0,callWithAsyncErrorHandling(pe,t,6,oe)}}function normalizeEmitsOptions(t,r,$=!1){const V=r.emitsCache,oe=V.get(t);if(oe!==void 0)return oe;const ie=t.emits;let le={},ue=!1;if(!isFunction$5(t)){const de=pe=>{const he=normalizeEmitsOptions(pe,r,!0);he&&(ue=!0,extend$2(le,he))};!$&&r.mixins.length&&r.mixins.forEach(de),t.extends&&de(t.extends),t.mixins&&t.mixins.forEach(de)}return!ie&&!ue?(isObject$a(t)&&V.set(t,null),null):(isArray$c(ie)?ie.forEach(de=>le[de]=null):extend$2(le,ie),isObject$a(t)&&V.set(t,le),le)}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,$){if(!r||t._n)return t;const V=(...oe)=>{V._d&&setBlockTracking(-1);const ie=setCurrentRenderingInstance(r);let le;try{le=t(...oe)}finally{setCurrentRenderingInstance(ie),V._d&&setBlockTracking(1)}return le};return V._n=!0,V._c=!0,V._d=!0,V}function markAttrsAccessed(){}function renderComponentRoot(t){const{type:r,vnode:$,proxy:V,withProxy:oe,props:ie,propsOptions:[le],slots:ue,attrs:de,emit:pe,render:he,renderCache:_e,data:$e,setupState:Ie,ctx:Ve,inheritAttrs:Fe}=t;let Ue,qe;const Et=setCurrentRenderingInstance(t);try{if($.shapeFlag&4){const hn=oe||V;Ue=normalizeVNode(he.call(hn,hn,_e,ie,Ie,$e,Ve)),qe=de}else{const hn=r;Ue=normalizeVNode(hn.length>1?hn(ie,{attrs:de,slots:ue,emit:pe}):hn(ie,null)),qe=r.props?de:getFunctionalFallthrough(de)}}catch(hn){blockStack.length=0,handleError(hn,t,1),Ue=createVNode(Comment)}let Lt=Ue;if(qe&&Fe!==!1){const hn=Object.keys(qe),{shapeFlag:Cn}=Lt;hn.length&&Cn&7&&(le&&hn.some(isModelListener)&&(qe=filterModelListeners(qe,le)),Lt=cloneVNode(Lt,qe))}return $.dirs&&(Lt=cloneVNode(Lt),Lt.dirs=Lt.dirs?Lt.dirs.concat($.dirs):$.dirs),$.transition&&(Lt.transition=$.transition),Ue=Lt,setCurrentRenderingInstance(Et),Ue}function filterSingleRoot(t){let r;for(let $=0;$<t.length;$++){const V=t[$];if(isVNode$1(V)){if(V.type!==Comment||V.children==="v-if"){if(r)return;r=V}}else return}return r}const getFunctionalFallthrough=t=>{let r;for(const $ in t)($==="class"||$==="style"||isOn($))&&((r||(r={}))[$]=t[$]);return r},filterModelListeners=(t,r)=>{const $={};for(const V in t)(!isModelListener(V)||!(V.slice(9)in r))&&($[V]=t[V]);return $};function shouldUpdateComponent(t,r,$){const{props:V,children:oe,component:ie}=t,{props:le,children:ue,patchFlag:de}=r,pe=ie.emitsOptions;if(r.dirs||r.transition)return!0;if($&&de>=0){if(de&1024)return!0;if(de&16)return V?hasPropsChanged(V,le,pe):!!le;if(de&8){const he=r.dynamicProps;for(let _e=0;_e<he.length;_e++){const $e=he[_e];if(le[$e]!==V[$e]&&!isEmitListener(pe,$e))return!0}}}else return(oe||ue)&&(!ue||!ue.$stable)?!0:V===le?!1:V?le?hasPropsChanged(V,le,pe):!0:!!le;return!1}function hasPropsChanged(t,r,$){const V=Object.keys(r);if(V.length!==Object.keys(t).length)return!0;for(let oe=0;oe<V.length;oe++){const ie=V[oe];if(r[ie]!==t[ie]&&!isEmitListener($,ie))return!0}return!1}function updateHOCHostEl({vnode:t,parent:r},$){for(;r&&r.subTree===t;)(t=r.vnode).el=$,r=r.parent}const isSuspense=t=>t.__isSuspense,SuspenseImpl={name:"Suspense",__isSuspense:!0,process(t,r,$,V,oe,ie,le,ue,de,pe){t==null?mountSuspense(r,$,V,oe,ie,le,ue,de,pe):patchSuspense(t,r,$,V,oe,le,ue,de,pe)},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent$1(t,r){const $=t.props&&t.props[r];isFunction$5($)&&$()}function mountSuspense(t,r,$,V,oe,ie,le,ue,de){const{p:pe,o:{createElement:he}}=de,_e=he("div"),$e=t.suspense=createSuspenseBoundary(t,oe,V,r,_e,$,ie,le,ue,de);pe(null,$e.pendingBranch=t.ssContent,_e,null,V,$e,ie,le),$e.deps>0?(triggerEvent$1(t,"onPending"),triggerEvent$1(t,"onFallback"),pe(null,t.ssFallback,r,$,V,null,ie,le),setActiveBranch($e,t.ssFallback)):$e.resolve(!1,!0)}function patchSuspense(t,r,$,V,oe,ie,le,ue,{p:de,um:pe,o:{createElement:he}}){const _e=r.suspense=t.suspense;_e.vnode=r,r.el=t.el;const $e=r.ssContent,Ie=r.ssFallback,{activeBranch:Ve,pendingBranch:Fe,isInFallback:Ue,isHydrating:qe}=_e;if(Fe)_e.pendingBranch=$e,isSameVNodeType($e,Fe)?(de(Fe,$e,_e.hiddenContainer,null,oe,_e,ie,le,ue),_e.deps<=0?_e.resolve():Ue&&(de(Ve,Ie,$,V,oe,null,ie,le,ue),setActiveBranch(_e,Ie))):(_e.pendingId++,qe?(_e.isHydrating=!1,_e.activeBranch=Fe):pe(Fe,oe,_e),_e.deps=0,_e.effects.length=0,_e.hiddenContainer=he("div"),Ue?(de(null,$e,_e.hiddenContainer,null,oe,_e,ie,le,ue),_e.deps<=0?_e.resolve():(de(Ve,Ie,$,V,oe,null,ie,le,ue),setActiveBranch(_e,Ie))):Ve&&isSameVNodeType($e,Ve)?(de(Ve,$e,$,V,oe,_e,ie,le,ue),_e.resolve(!0)):(de(null,$e,_e.hiddenContainer,null,oe,_e,ie,le,ue),_e.deps<=0&&_e.resolve()));else if(Ve&&isSameVNodeType($e,Ve))de(Ve,$e,$,V,oe,_e,ie,le,ue),setActiveBranch(_e,$e);else if(triggerEvent$1(r,"onPending"),_e.pendingBranch=$e,_e.pendingId++,de(null,$e,_e.hiddenContainer,null,oe,_e,ie,le,ue),_e.deps<=0)_e.resolve();else{const{timeout:Et,pendingId:Lt}=_e;Et>0?setTimeout(()=>{_e.pendingId===Lt&&_e.fallback(Ie)},Et):Et===0&&_e.fallback(Ie)}}function createSuspenseBoundary(t,r,$,V,oe,ie,le,ue,de,pe,he=!1){const{p:_e,m:$e,um:Ie,n:Ve,o:{parentNode:Fe,remove:Ue}}=pe;let qe;const Et=isVNodeSuspensible(t);Et&&r!=null&&r.pendingBranch&&(qe=r.pendingId,r.deps++);const Lt=t.props?toNumber$1(t.props.timeout):void 0,hn={vnode:t,parent:r,parentComponent:$,isSVG:le,container:V,hiddenContainer:oe,anchor:ie,deps:0,pendingId:0,timeout:typeof Lt=="number"?Lt:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:he,isUnmounted:!1,effects:[],resolve(Cn=!1,bn=!1){const{vnode:Sn,activeBranch:En,pendingBranch:wn,pendingId:$n,effects:Tn,parentComponent:xn,container:An}=hn;if(hn.isHydrating)hn.isHydrating=!1;else if(!Cn){const Bn=En&&wn.transition&&wn.transition.mode==="out-in";Bn&&(En.transition.afterLeave=()=>{$n===hn.pendingId&&$e(wn,An,Dn,0)});let{anchor:Dn}=hn;En&&(Dn=Ve(En),Ie(En,xn,hn,!0)),Bn||$e(wn,An,Dn,0)}setActiveBranch(hn,wn),hn.pendingBranch=null,hn.isInFallback=!1;let Mn=hn.parent,Vn=!1;for(;Mn;){if(Mn.pendingBranch){Mn.effects.push(...Tn),Vn=!0;break}Mn=Mn.parent}Vn||queuePostFlushCb(Tn),hn.effects=[],Et&&r&&r.pendingBranch&&qe===r.pendingId&&(r.deps--,r.deps===0&&!bn&&r.resolve()),triggerEvent$1(Sn,"onResolve")},fallback(Cn){if(!hn.pendingBranch)return;const{vnode:bn,activeBranch:Sn,parentComponent:En,container:wn,isSVG:$n}=hn;triggerEvent$1(bn,"onFallback");const Tn=Ve(Sn),xn=()=>{hn.isInFallback&&(_e(null,Cn,wn,Tn,En,null,$n,ue,de),setActiveBranch(hn,Cn))},An=Cn.transition&&Cn.transition.mode==="out-in";An&&(Sn.transition.afterLeave=xn),hn.isInFallback=!0,Ie(Sn,En,null,!0),An||xn()},move(Cn,bn,Sn){hn.activeBranch&&$e(hn.activeBranch,Cn,bn,Sn),hn.container=Cn},next(){return hn.activeBranch&&Ve(hn.activeBranch)},registerDep(Cn,bn){const Sn=!!hn.pendingBranch;Sn&&hn.deps++;const En=Cn.vnode.el;Cn.asyncDep.catch(wn=>{handleError(wn,Cn,0)}).then(wn=>{if(Cn.isUnmounted||hn.isUnmounted||hn.pendingId!==Cn.suspenseId)return;Cn.asyncResolved=!0;const{vnode:$n}=Cn;handleSetupResult(Cn,wn,!1),En&&($n.el=En);const Tn=!En&&Cn.subTree.el;bn(Cn,$n,Fe(En||Cn.subTree.el),En?null:Ve(Cn.subTree),hn,le,de),Tn&&Ue(Tn),updateHOCHostEl(Cn,$n.el),Sn&&--hn.deps===0&&hn.resolve()})},unmount(Cn,bn){hn.isUnmounted=!0,hn.activeBranch&&Ie(hn.activeBranch,$,Cn,bn),hn.pendingBranch&&Ie(hn.pendingBranch,$,Cn,bn)}};return hn}function hydrateSuspense(t,r,$,V,oe,ie,le,ue,de){const pe=r.suspense=createSuspenseBoundary(r,V,$,t.parentNode,document.createElement("div"),null,oe,ie,le,ue,!0),he=de(t,pe.pendingBranch=r.ssContent,$,pe,ie,le);return pe.deps===0&&pe.resolve(!1,!0),he}function normalizeSuspenseChildren(t){const{shapeFlag:r,children:$}=t,V=r&32;t.ssContent=normalizeSuspenseSlot(V?$.default:$),t.ssFallback=V?normalizeSuspenseSlot($.fallback):createVNode(Comment)}function normalizeSuspenseSlot(t){let r;if(isFunction$5(t)){const $=isBlockTreeEnabled&&t._c;$&&(t._d=!1,openBlock()),t=t(),$&&(t._d=!0,r=currentBlock,closeBlock())}return isArray$c(t)&&(t=filterSingleRoot(t)),t=normalizeVNode(t),r&&!t.dynamicChildren&&(t.dynamicChildren=r.filter($=>$!==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:$,parentComponent:V}=t,oe=$.el=r.el;V&&V.subTree===$&&(V.vnode.el=oe,updateHOCHostEl(V,oe))}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,$){return doWatch(t,r,$)}function doWatch(t,r,{immediate:$,deep:V,flush:oe,onTrack:ie,onTrigger:le}=EMPTY_OBJ$1){var ue;const de=getCurrentScope()===((ue=currentInstance)==null?void 0:ue.scope)?currentInstance:null;let pe,he=!1,_e=!1;if(isRef(t)?(pe=()=>t.value,he=isShallow(t)):isReactive(t)?(pe=()=>t,V=!0):isArray$c(t)?(_e=!0,he=t.some(hn=>isReactive(hn)||isShallow(hn)),pe=()=>t.map(hn=>{if(isRef(hn))return hn.value;if(isReactive(hn))return traverse(hn);if(isFunction$5(hn))return callWithErrorHandling(hn,de,2)})):isFunction$5(t)?r?pe=()=>callWithErrorHandling(t,de,2):pe=()=>{if(!(de&&de.isUnmounted))return $e&&$e(),callWithAsyncErrorHandling(t,de,3,[Ie])}:pe=NOOP,r&&V){const hn=pe;pe=()=>traverse(hn())}let $e,Ie=hn=>{$e=Et.onStop=()=>{callWithErrorHandling(hn,de,4)}},Ve;if(isInSSRComponentSetup)if(Ie=NOOP,r?$&&callWithAsyncErrorHandling(r,de,3,[pe(),_e?[]:void 0,Ie]):pe(),oe==="sync"){const hn=useSSRContext();Ve=hn.__watcherHandles||(hn.__watcherHandles=[])}else return NOOP;let Fe=_e?new Array(t.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Ue=()=>{if(Et.active)if(r){const hn=Et.run();(V||he||(_e?hn.some((Cn,bn)=>hasChanged(Cn,Fe[bn])):hasChanged(hn,Fe)))&&($e&&$e(),callWithAsyncErrorHandling(r,de,3,[hn,Fe===INITIAL_WATCHER_VALUE?void 0:_e&&Fe[0]===INITIAL_WATCHER_VALUE?[]:Fe,Ie]),Fe=hn)}else Et.run()};Ue.allowRecurse=!!r;let qe;oe==="sync"?qe=Ue:oe==="post"?qe=()=>queuePostRenderEffect(Ue,de&&de.suspense):(Ue.pre=!0,de&&(Ue.id=de.uid),qe=()=>queueJob(Ue));const Et=new ReactiveEffect(pe,qe);r?$?Ue():Fe=Et.run():oe==="post"?queuePostRenderEffect(Et.run.bind(Et),de&&de.suspense):Et.run();const Lt=()=>{Et.stop(),de&&de.scope&&remove(de.scope.effects,Et)};return Ve&&Ve.push(Lt),Lt}function instanceWatch(t,r,$){const V=this.proxy,oe=isString$6(t)?t.includes(".")?createPathGetter(V,t):()=>V[t]:t.bind(V,V);let ie;isFunction$5(r)?ie=r:(ie=r.handler,$=r);const le=currentInstance;setCurrentInstance(this);const ue=doWatch(oe,ie.bind(V),$);return le?setCurrentInstance(le):unsetCurrentInstance(),ue}function createPathGetter(t,r){const $=r.split(".");return()=>{let V=t;for(let oe=0;oe<$.length&&V;oe++)V=V[$[oe]];return V}}function traverse(t,r){if(!isObject$a(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 $=0;$<t.length;$++)traverse(t[$],r);else if(isSet$3(t)||isMap$3(t))t.forEach($=>{traverse($,r)});else if(isPlainObject$4(t))for(const $ in t)traverse(t[$],r);return t}function withDirectives(t,r){const $=currentRenderingInstance;if($===null)return t;const V=getExposeProxy($)||$.proxy,oe=t.dirs||(t.dirs=[]);for(let ie=0;ie<r.length;ie++){let[le,ue,de,pe=EMPTY_OBJ$1]=r[ie];le&&(isFunction$5(le)&&(le={mounted:le,updated:le}),le.deep&&traverse(ue),oe.push({dir:le,instance:V,value:ue,oldValue:void 0,arg:de,modifiers:pe}))}return t}function invokeDirectiveHook(t,r,$,V){const oe=t.dirs,ie=r&&r.dirs;for(let le=0;le<oe.length;le++){const ue=oe[le];ie&&(ue.oldValue=ie[le].value);let de=ue.dir[V];de&&(pauseTracking(),callWithAsyncErrorHandling(de,$,8,[t.el,ue,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 $=getCurrentInstance(),V=useTransitionState();let oe;return()=>{const ie=r.default&&getTransitionRawChildren(r.default(),!0);if(!ie||!ie.length)return;let le=ie[0];if(ie.length>1){for(const Fe of ie)if(Fe.type!==Comment){le=Fe;break}}const ue=toRaw(t),{mode:de}=ue;if(V.isLeaving)return emptyPlaceholder(le);const pe=getKeepAliveChild(le);if(!pe)return emptyPlaceholder(le);const he=resolveTransitionHooks(pe,ue,V,$);setTransitionHooks(pe,he);const _e=$.subTree,$e=_e&&getKeepAliveChild(_e);let Ie=!1;const{getTransitionKey:Ve}=pe.type;if(Ve){const Fe=Ve();oe===void 0?oe=Fe:Fe!==oe&&(oe=Fe,Ie=!0)}if($e&&$e.type!==Comment&&(!isSameVNodeType(pe,$e)||Ie)){const Fe=resolveTransitionHooks($e,ue,V,$);if(setTransitionHooks($e,Fe),de==="out-in")return V.isLeaving=!0,Fe.afterLeave=()=>{V.isLeaving=!1,$.update.active!==!1&&$.update()},emptyPlaceholder(le);de==="in-out"&&pe.type!==Comment&&(Fe.delayLeave=(Ue,qe,Et)=>{const Lt=getLeavingNodesForType(V,$e);Lt[String($e.key)]=$e,Ue._leaveCb=()=>{qe(),Ue._leaveCb=void 0,delete he.delayedLeave},he.delayedLeave=Et})}return le}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(t,r){const{leavingVNodes:$}=t;let V=$.get(r.type);return V||(V=Object.create(null),$.set(r.type,V)),V}function resolveTransitionHooks(t,r,$,V){const{appear:oe,mode:ie,persisted:le=!1,onBeforeEnter:ue,onEnter:de,onAfterEnter:pe,onEnterCancelled:he,onBeforeLeave:_e,onLeave:$e,onAfterLeave:Ie,onLeaveCancelled:Ve,onBeforeAppear:Fe,onAppear:Ue,onAfterAppear:qe,onAppearCancelled:Et}=r,Lt=String(t.key),hn=getLeavingNodesForType($,t),Cn=(En,wn)=>{En&&callWithAsyncErrorHandling(En,V,9,wn)},bn=(En,wn)=>{const $n=wn[1];Cn(En,wn),isArray$c(En)?En.every(Tn=>Tn.length<=1)&&$n():En.length<=1&&$n()},Sn={mode:ie,persisted:le,beforeEnter(En){let wn=ue;if(!$.isMounted)if(oe)wn=Fe||ue;else return;En._leaveCb&&En._leaveCb(!0);const $n=hn[Lt];$n&&isSameVNodeType(t,$n)&&$n.el._leaveCb&&$n.el._leaveCb(),Cn(wn,[En])},enter(En){let wn=de,$n=pe,Tn=he;if(!$.isMounted)if(oe)wn=Ue||de,$n=qe||pe,Tn=Et||he;else return;let xn=!1;const An=En._enterCb=Mn=>{xn||(xn=!0,Mn?Cn(Tn,[En]):Cn($n,[En]),Sn.delayedLeave&&Sn.delayedLeave(),En._enterCb=void 0)};wn?bn(wn,[En,An]):An()},leave(En,wn){const $n=String(t.key);if(En._enterCb&&En._enterCb(!0),$.isUnmounting)return wn();Cn(_e,[En]);let Tn=!1;const xn=En._leaveCb=An=>{Tn||(Tn=!0,wn(),An?Cn(Ve,[En]):Cn(Ie,[En]),En._leaveCb=void 0,hn[$n]===t&&delete hn[$n])};hn[$n]=t,$e?bn($e,[En,xn]):xn()},clone(En){return resolveTransitionHooks(En,r,$,V)}};return Sn}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,$){let V=[],oe=0;for(let ie=0;ie<t.length;ie++){let le=t[ie];const ue=$==null?le.key:String($)+String(le.key!=null?le.key:ie);le.type===Fragment?(le.patchFlag&128&&oe++,V=V.concat(getTransitionRawChildren(le.children,r,ue))):(r||le.type!==Comment)&&V.push(ue!=null?cloneVNode(le,{key:ue}):le)}if(oe>1)for(let ie=0;ie<V.length;ie++)V[ie].patchFlag=-2;return V}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:$,errorComponent:V,delay:oe=200,timeout:ie,suspensible:le=!0,onError:ue}=t;let de=null,pe,he=0;const _e=()=>(he++,de=null,$e()),$e=()=>{let Ie;return de||(Ie=de=r().catch(Ve=>{if(Ve=Ve instanceof Error?Ve:new Error(String(Ve)),ue)return new Promise((Fe,Ue)=>{ue(Ve,()=>Fe(_e()),()=>Ue(Ve),he+1)});throw Ve}).then(Ve=>Ie!==de&&de?de:(Ve&&(Ve.__esModule||Ve[Symbol.toStringTag]==="Module")&&(Ve=Ve.default),pe=Ve,Ve)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:$e,get __asyncResolved(){return pe},setup(){const Ie=currentInstance;if(pe)return()=>createInnerComp(pe,Ie);const Ve=Et=>{de=null,handleError(Et,Ie,13,!V)};if(le&&Ie.suspense||isInSSRComponentSetup)return $e().then(Et=>()=>createInnerComp(Et,Ie)).catch(Et=>(Ve(Et),()=>V?createVNode(V,{error:Et}):null));const Fe=ref(!1),Ue=ref(),qe=ref(!!oe);return oe&&setTimeout(()=>{qe.value=!1},oe),ie!=null&&setTimeout(()=>{if(!Fe.value&&!Ue.value){const Et=new Error(`Async component timed out after ${ie}ms.`);Ve(Et),Ue.value=Et}},ie),$e().then(()=>{Fe.value=!0,Ie.parent&&isKeepAlive(Ie.parent.vnode)&&queueJob(Ie.parent.update)}).catch(Et=>{Ve(Et),Ue.value=Et}),()=>{if(Fe.value&&pe)return createInnerComp(pe,Ie);if(Ue.value&&V)return createVNode(V,{error:Ue.value});if($&&!qe.value)return createVNode($)}}})}function createInnerComp(t,r){const{ref:$,props:V,children:oe,ce:ie}=r.vnode,le=createVNode(t,V,oe);return le.ref=$,le.ce=ie,delete r.vnode.ce,le}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 $=getCurrentInstance(),V=$.ctx;if(!V.renderer)return()=>{const Et=r.default&&r.default();return Et&&Et.length===1?Et[0]:Et};const oe=new Map,ie=new Set;let le=null;const ue=$.suspense,{renderer:{p:de,m:pe,um:he,o:{createElement:_e}}}=V,$e=_e("div");V.activate=(Et,Lt,hn,Cn,bn)=>{const Sn=Et.component;pe(Et,Lt,hn,0,ue),de(Sn.vnode,Et,Lt,hn,Sn,ue,Cn,Et.slotScopeIds,bn),queuePostRenderEffect(()=>{Sn.isDeactivated=!1,Sn.a&&invokeArrayFns(Sn.a);const En=Et.props&&Et.props.onVnodeMounted;En&&invokeVNodeHook(En,Sn.parent,Et)},ue)},V.deactivate=Et=>{const Lt=Et.component;pe(Et,$e,null,1,ue),queuePostRenderEffect(()=>{Lt.da&&invokeArrayFns(Lt.da);const hn=Et.props&&Et.props.onVnodeUnmounted;hn&&invokeVNodeHook(hn,Lt.parent,Et),Lt.isDeactivated=!0},ue)};function Ie(Et){resetShapeFlag(Et),he(Et,$,ue,!0)}function Ve(Et){oe.forEach((Lt,hn)=>{const Cn=getComponentName(Lt.type);Cn&&(!Et||!Et(Cn))&&Fe(hn)})}function Fe(Et){const Lt=oe.get(Et);!le||!isSameVNodeType(Lt,le)?Ie(Lt):le&&resetShapeFlag(le),oe.delete(Et),ie.delete(Et)}watch(()=>[t.include,t.exclude],([Et,Lt])=>{Et&&Ve(hn=>matches(Et,hn)),Lt&&Ve(hn=>!matches(Lt,hn))},{flush:"post",deep:!0});let Ue=null;const qe=()=>{Ue!=null&&oe.set(Ue,getInnerChild($.subTree))};return onMounted(qe),onUpdated(qe),onBeforeUnmount(()=>{oe.forEach(Et=>{const{subTree:Lt,suspense:hn}=$,Cn=getInnerChild(Lt);if(Et.type===Cn.type&&Et.key===Cn.key){resetShapeFlag(Cn);const bn=Cn.component.da;bn&&queuePostRenderEffect(bn,hn);return}Ie(Et)})}),()=>{if(Ue=null,!r.default)return null;const Et=r.default(),Lt=Et[0];if(Et.length>1)return le=null,Et;if(!isVNode$1(Lt)||!(Lt.shapeFlag&4)&&!(Lt.shapeFlag&128))return le=null,Lt;let hn=getInnerChild(Lt);const Cn=hn.type,bn=getComponentName(isAsyncWrapper(hn)?hn.type.__asyncResolved||{}:Cn),{include:Sn,exclude:En,max:wn}=t;if(Sn&&(!bn||!matches(Sn,bn))||En&&bn&&matches(En,bn))return le=hn,Lt;const $n=hn.key==null?Cn:hn.key,Tn=oe.get($n);return hn.el&&(hn=cloneVNode(hn),Lt.shapeFlag&128&&(Lt.ssContent=hn)),Ue=$n,Tn?(hn.el=Tn.el,hn.component=Tn.component,hn.transition&&setTransitionHooks(hn,hn.transition),hn.shapeFlag|=512,ie.delete($n),ie.add($n)):(ie.add($n),wn&&ie.size>parseInt(wn,10)&&Fe(ie.values().next().value)),hn.shapeFlag|=256,le=hn,isSuspense(Lt.type)?Lt:hn}}},KeepAlive=KeepAliveImpl;function matches(t,r){return isArray$c(t)?t.some($=>matches($,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,$=currentInstance){const V=t.__wdc||(t.__wdc=()=>{let oe=$;for(;oe;){if(oe.isDeactivated)return;oe=oe.parent}return t()});if(injectHook(r,V,$),$){let oe=$.parent;for(;oe&&oe.parent;)isKeepAlive(oe.parent.vnode)&&injectToKeepAliveRoot(V,r,$,oe),oe=oe.parent}}function injectToKeepAliveRoot(t,r,$,V){const oe=injectHook(r,t,V,!0);onUnmounted(()=>{remove(V[r],oe)},$)}function resetShapeFlag(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function getInnerChild(t){return t.shapeFlag&128?t.ssContent:t}function injectHook(t,r,$=currentInstance,V=!1){if($){const oe=$[t]||($[t]=[]),ie=r.__weh||(r.__weh=(...le)=>{if($.isUnmounted)return;pauseTracking(),setCurrentInstance($);const ue=callWithAsyncErrorHandling(r,$,t,le);return unsetCurrentInstance(),resetTracking(),ue});return V?oe.unshift(ie):oe.push(ie),ie}}const createHook=t=>(r,$=currentInstance)=>(!isInSSRComponentSetup||t==="sp")&&injectHook(t,(...V)=>r(...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,$=!0,V=!1){const oe=currentRenderingInstance||currentInstance;if(oe){const ie=oe.type;if(t===COMPONENTS){const ue=getComponentName(ie,!1);if(ue&&(ue===r||ue===camelize(r)||ue===capitalize$2(camelize(r))))return ie}const le=resolve(oe[t]||ie[t],r)||resolve(oe.appContext[t],r);return!le&&V?ie:le}}function resolve(t,r){return t&&(t[r]||t[camelize(r)]||t[capitalize$2(camelize(r))])}function renderList(t,r,$,V){let oe;const ie=$&&$[V];if(isArray$c(t)||isString$6(t)){oe=new Array(t.length);for(let le=0,ue=t.length;le<ue;le++)oe[le]=r(t[le],le,void 0,ie&&ie[le])}else if(typeof t=="number"){oe=new Array(t);for(let le=0;le<t;le++)oe[le]=r(le+1,le,void 0,ie&&ie[le])}else if(isObject$a(t))if(t[Symbol.iterator])oe=Array.from(t,(le,ue)=>r(le,ue,void 0,ie&&ie[ue]));else{const le=Object.keys(t);oe=new Array(le.length);for(let ue=0,de=le.length;ue<de;ue++){const pe=le[ue];oe[ue]=r(t[pe],pe,ue,ie&&ie[ue])}}else oe=[];return $&&($[V]=oe),oe}function createSlots(t,r){for(let $=0;$<r.length;$++){const V=r[$];if(isArray$c(V))for(let oe=0;oe<V.length;oe++)t[V[oe].name]=V[oe].fn;else V&&(t[V.name]=V.key?(...oe)=>{const ie=V.fn(...oe);return ie&&(ie.key=V.key),ie}:V.fn)}return t}function renderSlot(t,r,$={},V,oe){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return r!=="default"&&($.name=r),createVNode("slot",$,V&&V());let ie=t[r];ie&&ie._c&&(ie._d=!1),openBlock();const le=ie&&ensureValidVNode(ie($)),ue=createBlock(Fragment,{key:$.key||le&&le.key||`_${r}`},le||(V?V():[]),le&&t._===1?64:-2);return!oe&&ue.scopeId&&(ue.slotScopeIds=[ue.scopeId+"-s"]),ie&&ie._c&&(ie._d=!0),ue}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 $={};for(const V in t)$[r&&/[A-Z]/.test(V)?`on:${V}`:toHandlerKey(V)]=t[V];return $}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:$,setupState:V,data:oe,props:ie,accessCache:le,type:ue,appContext:de}=t;let pe;if(r[0]!=="$"){const Ie=le[r];if(Ie!==void 0)switch(Ie){case 1:return V[r];case 2:return oe[r];case 4:return $[r];case 3:return ie[r]}else{if(hasSetupBinding(V,r))return le[r]=1,V[r];if(oe!==EMPTY_OBJ$1&&hasOwn$4(oe,r))return le[r]=2,oe[r];if((pe=t.propsOptions[0])&&hasOwn$4(pe,r))return le[r]=3,ie[r];if($!==EMPTY_OBJ$1&&hasOwn$4($,r))return le[r]=4,$[r];shouldCacheAccess&&(le[r]=0)}}const he=publicPropertiesMap[r];let _e,$e;if(he)return r==="$attrs"&&track(t,"get",r),he(t);if((_e=ue.__cssModules)&&(_e=_e[r]))return _e;if($!==EMPTY_OBJ$1&&hasOwn$4($,r))return le[r]=4,$[r];if($e=de.config.globalProperties,hasOwn$4($e,r))return $e[r]},set({_:t},r,$){const{data:V,setupState:oe,ctx:ie}=t;return hasSetupBinding(oe,r)?(oe[r]=$,!0):V!==EMPTY_OBJ$1&&hasOwn$4(V,r)?(V[r]=$,!0):hasOwn$4(t.props,r)||r[0]==="$"&&r.slice(1)in t?!1:(ie[r]=$,!0)},has({_:{data:t,setupState:r,accessCache:$,ctx:V,appContext:oe,propsOptions:ie}},le){let ue;return!!$[le]||t!==EMPTY_OBJ$1&&hasOwn$4(t,le)||hasSetupBinding(r,le)||(ue=ie[0])&&hasOwn$4(ue,le)||hasOwn$4(V,le)||hasOwn$4(publicPropertiesMap,le)||hasOwn$4(oe.config.globalProperties,le)},defineProperty(t,r,$){return $.get!=null?t._.accessCache[r]=0:hasOwn$4($,"value")&&this.set(t,r,$.value,null),Reflect.defineProperty(t,r,$)}},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,$){const V=getCurrentInstance();if($&&$.local){const oe=ref(t[r]);return watch(()=>t[r],ie=>oe.value=ie),watch(oe,ie=>{ie!==t[r]&&V.emit(`update:${r}`,ie)}),oe}else return{__v_isRef:!0,get value(){return t[r]},set value(oe){V.emit(`update:${r}`,oe)}}}function getContext(){const t=getCurrentInstance();return t.setupContext||(t.setupContext=createSetupContext(t))}function normalizePropsOrEmits(t){return isArray$c(t)?t.reduce((r,$)=>(r[$]=null,r),{}):t}function mergeDefaults(t,r){const $=normalizePropsOrEmits(t);for(const V in r){if(V.startsWith("__skip"))continue;let oe=$[V];oe?isArray$c(oe)||isFunction$5(oe)?oe=$[V]={type:oe,default:r[V]}:oe.default=r[V]:oe===null&&(oe=$[V]={default:r[V]}),oe&&r[`__skip_${V}`]&&(oe.skipFactory=!0)}return $}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 $={};for(const V in t)r.includes(V)||Object.defineProperty($,V,{enumerable:!0,get:()=>t[V]});return $}function withAsyncContext(t){const r=getCurrentInstance();let $=t();return unsetCurrentInstance(),isPromise($)&&($=$.catch(V=>{throw setCurrentInstance(r),V})),[$,()=>setCurrentInstance(r)]}let shouldCacheAccess=!0;function applyOptions(t){const r=resolveMergedOptions(t),$=t.proxy,V=t.ctx;shouldCacheAccess=!1,r.beforeCreate&&callHook$1(r.beforeCreate,t,"bc");const{data:oe,computed:ie,methods:le,watch:ue,provide:de,inject:pe,created:he,beforeMount:_e,mounted:$e,beforeUpdate:Ie,updated:Ve,activated:Fe,deactivated:Ue,beforeDestroy:qe,beforeUnmount:Et,destroyed:Lt,unmounted:hn,render:Cn,renderTracked:bn,renderTriggered:Sn,errorCaptured:En,serverPrefetch:wn,expose:$n,inheritAttrs:Tn,components:xn,directives:An,filters:Mn}=r;if(pe&&resolveInjections(pe,V,null),le)for(const Dn in le){const Ln=le[Dn];isFunction$5(Ln)&&(V[Dn]=Ln.bind($))}if(oe){const Dn=oe.call($,$);isObject$a(Dn)&&(t.data=reactive(Dn))}if(shouldCacheAccess=!0,ie)for(const Dn in ie){const Ln=ie[Dn],Pn=isFunction$5(Ln)?Ln.bind($,$):isFunction$5(Ln.get)?Ln.get.bind($,$):NOOP,Fn=!isFunction$5(Ln)&&isFunction$5(Ln.set)?Ln.set.bind($):NOOP,Un=computed({get:Pn,set:Fn});Object.defineProperty(V,Dn,{enumerable:!0,configurable:!0,get:()=>Un.value,set:Wn=>Un.value=Wn})}if(ue)for(const Dn in ue)createWatcher(ue[Dn],V,$,Dn);if(de){const Dn=isFunction$5(de)?de.call($):de;Reflect.ownKeys(Dn).forEach(Ln=>{provide(Ln,Dn[Ln])})}he&&callHook$1(he,t,"c");function Bn(Dn,Ln){isArray$c(Ln)?Ln.forEach(Pn=>Dn(Pn.bind($))):Ln&&Dn(Ln.bind($))}if(Bn(onBeforeMount,_e),Bn(onMounted,$e),Bn(onBeforeUpdate,Ie),Bn(onUpdated,Ve),Bn(onActivated,Fe),Bn(onDeactivated,Ue),Bn(onErrorCaptured,En),Bn(onRenderTracked,bn),Bn(onRenderTriggered,Sn),Bn(onBeforeUnmount,Et),Bn(onUnmounted,hn),Bn(onServerPrefetch,wn),isArray$c($n))if($n.length){const Dn=t.exposed||(t.exposed={});$n.forEach(Ln=>{Object.defineProperty(Dn,Ln,{get:()=>$[Ln],set:Pn=>$[Ln]=Pn})})}else t.exposed||(t.exposed={});Cn&&t.render===NOOP&&(t.render=Cn),Tn!=null&&(t.inheritAttrs=Tn),xn&&(t.components=xn),An&&(t.directives=An)}function resolveInjections(t,r,$=NOOP){isArray$c(t)&&(t=normalizeInject(t));for(const V in t){const oe=t[V];let ie;isObject$a(oe)?"default"in oe?ie=inject(oe.from||V,oe.default,!0):ie=inject(oe.from||V):ie=inject(oe),isRef(ie)?Object.defineProperty(r,V,{enumerable:!0,configurable:!0,get:()=>ie.value,set:le=>ie.value=le}):r[V]=ie}}function callHook$1(t,r,$){callWithAsyncErrorHandling(isArray$c(t)?t.map(V=>V.bind(r.proxy)):t.bind(r.proxy),r,$)}function createWatcher(t,r,$,V){const oe=V.includes(".")?createPathGetter($,V):()=>$[V];if(isString$6(t)){const ie=r[t];isFunction$5(ie)&&watch(oe,ie)}else if(isFunction$5(t))watch(oe,t.bind($));else if(isObject$a(t))if(isArray$c(t))t.forEach(ie=>createWatcher(ie,r,$,V));else{const ie=isFunction$5(t.handler)?t.handler.bind($):r[t.handler];isFunction$5(ie)&&watch(oe,ie,t)}}function resolveMergedOptions(t){const r=t.type,{mixins:$,extends:V}=r,{mixins:oe,optionsCache:ie,config:{optionMergeStrategies:le}}=t.appContext,ue=ie.get(r);let de;return ue?de=ue:!oe.length&&!$&&!V?de=r:(de={},oe.length&&oe.forEach(pe=>mergeOptions$2(de,pe,le,!0)),mergeOptions$2(de,r,le)),isObject$a(r)&&ie.set(r,de),de}function mergeOptions$2(t,r,$,V=!1){const{mixins:oe,extends:ie}=r;ie&&mergeOptions$2(t,ie,$,!0),oe&&oe.forEach(le=>mergeOptions$2(t,le,$,!0));for(const le in r)if(!(V&&le==="expose")){const ue=internalOptionMergeStrats[le]||$&&$[le];t[le]=ue?ue(t[le],r[le]):r[le]}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 $=0;$<t.length;$++)r[t[$]]=t[$];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 $=extend$2(Object.create(null),t);for(const V in r)$[V]=mergeAsArray(t[V],r[V]);return $}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(V,oe=null){isFunction$5(V)||(V=extend$2({},V)),oe!=null&&!isObject$a(oe)&&(oe=null);const ie=createAppContext(),le=new Set;let ue=!1;const de=ie.app={_uid:uid$1++,_component:V,_props:oe,_container:null,_context:ie,_instance:null,version:version$3,get config(){return ie.config},set config(pe){},use(pe,...he){return le.has(pe)||(pe&&isFunction$5(pe.install)?(le.add(pe),pe.install(de,...he)):isFunction$5(pe)&&(le.add(pe),pe(de,...he))),de},mixin(pe){return ie.mixins.includes(pe)||ie.mixins.push(pe),de},component(pe,he){return he?(ie.components[pe]=he,de):ie.components[pe]},directive(pe,he){return he?(ie.directives[pe]=he,de):ie.directives[pe]},mount(pe,he,_e){if(!ue){const $e=createVNode(V,oe);return $e.appContext=ie,he&&r?r($e,pe):t($e,pe,_e),ue=!0,de._container=pe,pe.__vue_app__=de,getExposeProxy($e.component)||$e.component.proxy}},unmount(){ue&&(t(null,de._container),delete de._container.__vue_app__)},provide(pe,he){return ie.provides[pe]=he,de},runWithContext(pe){currentApp=de;try{return pe()}finally{currentApp=null}}};return de}}let currentApp=null;function provide(t,r){if(currentInstance){let $=currentInstance.provides;const V=currentInstance.parent&¤tInstance.parent.provides;V===$&&($=currentInstance.provides=Object.create(V)),$[t]=r}}function inject(t,r,$=!1){const V=currentInstance||currentRenderingInstance;if(V||currentApp){const oe=V?V.parent==null?V.vnode.appContext&&V.vnode.appContext.provides:V.parent.provides:currentApp._context.provides;if(oe&&t in oe)return oe[t];if(arguments.length>1)return $&&isFunction$5(r)?r.call(V&&V.proxy):r}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}function initProps$1(t,r,$,V=!1){const oe={},ie={};def(ie,InternalObjectKey,1),t.propsDefaults=Object.create(null),setFullProps(t,r,oe,ie);for(const le in t.propsOptions[0])le in oe||(oe[le]=void 0);$?t.props=V?oe:shallowReactive(oe):t.type.props?t.props=oe:t.props=ie,t.attrs=ie}function updateProps$2(t,r,$,V){const{props:oe,attrs:ie,vnode:{patchFlag:le}}=t,ue=toRaw(oe),[de]=t.propsOptions;let pe=!1;if((V||le>0)&&!(le&16)){if(le&8){const he=t.vnode.dynamicProps;for(let _e=0;_e<he.length;_e++){let $e=he[_e];if(isEmitListener(t.emitsOptions,$e))continue;const Ie=r[$e];if(de)if(hasOwn$4(ie,$e))Ie!==ie[$e]&&(ie[$e]=Ie,pe=!0);else{const Ve=camelize($e);oe[Ve]=resolvePropValue(de,ue,Ve,Ie,t,!1)}else Ie!==ie[$e]&&(ie[$e]=Ie,pe=!0)}}}else{setFullProps(t,r,oe,ie)&&(pe=!0);let he;for(const _e in ue)(!r||!hasOwn$4(r,_e)&&((he=hyphenate(_e))===_e||!hasOwn$4(r,he)))&&(de?$&&($[_e]!==void 0||$[he]!==void 0)&&(oe[_e]=resolvePropValue(de,ue,_e,void 0,t,!0)):delete oe[_e]);if(ie!==ue)for(const _e in ie)(!r||!hasOwn$4(r,_e))&&(delete ie[_e],pe=!0)}pe&&trigger$2(t,"set","$attrs")}function setFullProps(t,r,$,V){const[oe,ie]=t.propsOptions;let le=!1,ue;if(r)for(let de in r){if(isReservedProp(de))continue;const pe=r[de];let he;oe&&hasOwn$4(oe,he=camelize(de))?!ie||!ie.includes(he)?$[he]=pe:(ue||(ue={}))[he]=pe:isEmitListener(t.emitsOptions,de)||(!(de in V)||pe!==V[de])&&(V[de]=pe,le=!0)}if(ie){const de=toRaw($),pe=ue||EMPTY_OBJ$1;for(let he=0;he<ie.length;he++){const _e=ie[he];$[_e]=resolvePropValue(oe,de,_e,pe[_e],t,!hasOwn$4(pe,_e))}}return le}function resolvePropValue(t,r,$,V,oe,ie){const le=t[$];if(le!=null){const ue=hasOwn$4(le,"default");if(ue&&V===void 0){const de=le.default;if(le.type!==Function&&!le.skipFactory&&isFunction$5(de)){const{propsDefaults:pe}=oe;$ in pe?V=pe[$]:(setCurrentInstance(oe),V=pe[$]=de.call(null,r),unsetCurrentInstance())}else V=de}le[0]&&(ie&&!ue?V=!1:le[1]&&(V===""||V===hyphenate($))&&(V=!0))}return V}function normalizePropsOptions(t,r,$=!1){const V=r.propsCache,oe=V.get(t);if(oe)return oe;const ie=t.props,le={},ue=[];let de=!1;if(!isFunction$5(t)){const he=_e=>{de=!0;const[$e,Ie]=normalizePropsOptions(_e,r,!0);extend$2(le,$e),Ie&&ue.push(...Ie)};!$&&r.mixins.length&&r.mixins.forEach(he),t.extends&&he(t.extends),t.mixins&&t.mixins.forEach(he)}if(!ie&&!de)return isObject$a(t)&&V.set(t,EMPTY_ARR),EMPTY_ARR;if(isArray$c(ie))for(let he=0;he<ie.length;he++){const _e=camelize(ie[he]);validatePropName(_e)&&(le[_e]=EMPTY_OBJ$1)}else if(ie)for(const he in ie){const _e=camelize(he);if(validatePropName(_e)){const $e=ie[he],Ie=le[_e]=isArray$c($e)||isFunction$5($e)?{type:$e}:extend$2({},$e);if(Ie){const Ve=getTypeIndex(Boolean,Ie.type),Fe=getTypeIndex(String,Ie.type);Ie[0]=Ve>-1,Ie[1]=Fe<0||Ve<Fe,(Ve>-1||hasOwn$4(Ie,"default"))&&ue.push(_e)}}}const pe=[le,ue];return isObject$a(t)&&V.set(t,pe),pe}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($=>isSameType($,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,$)=>{if(r._n)return r;const V=withCtx((...oe)=>normalizeSlotValue(r(...oe)),$);return V._c=!1,V},normalizeObjectSlots=(t,r,$)=>{const V=t._ctx;for(const oe in t){if(isInternalKey(oe))continue;const ie=t[oe];if(isFunction$5(ie))r[oe]=normalizeSlot$1(oe,ie,V);else if(ie!=null){const le=normalizeSlotValue(ie);r[oe]=()=>le}}},normalizeVNodeSlots=(t,r)=>{const $=normalizeSlotValue(r);t.slots.default=()=>$},initSlots=(t,r)=>{if(t.vnode.shapeFlag&32){const $=r._;$?(t.slots=toRaw(r),def(r,"_",$)):normalizeObjectSlots(r,t.slots={})}else t.slots={},r&&normalizeVNodeSlots(t,r);def(t.slots,InternalObjectKey,1)},updateSlots=(t,r,$)=>{const{vnode:V,slots:oe}=t;let ie=!0,le=EMPTY_OBJ$1;if(V.shapeFlag&32){const ue=r._;ue?$&&ue===1?ie=!1:(extend$2(oe,r),!$&&ue===1&&delete oe._):(ie=!r.$stable,normalizeObjectSlots(r,oe)),le=r}else r&&(normalizeVNodeSlots(t,r),le={default:1});if(ie)for(const ue in oe)!isInternalKey(ue)&&!(ue in le)&&delete oe[ue]};function setRef(t,r,$,V,oe=!1){if(isArray$c(t)){t.forEach(($e,Ie)=>setRef($e,r&&(isArray$c(r)?r[Ie]:r),$,V,oe));return}if(isAsyncWrapper(V)&&!oe)return;const ie=V.shapeFlag&4?getExposeProxy(V.component)||V.component.proxy:V.el,le=oe?null:ie,{i:ue,r:de}=t,pe=r&&r.r,he=ue.refs===EMPTY_OBJ$1?ue.refs={}:ue.refs,_e=ue.setupState;if(pe!=null&&pe!==de&&(isString$6(pe)?(he[pe]=null,hasOwn$4(_e,pe)&&(_e[pe]=null)):isRef(pe)&&(pe.value=null)),isFunction$5(de))callWithErrorHandling(de,ue,12,[le,he]);else{const $e=isString$6(de),Ie=isRef(de);if($e||Ie){const Ve=()=>{if(t.f){const Fe=$e?hasOwn$4(_e,de)?_e[de]:he[de]:de.value;oe?isArray$c(Fe)&&remove(Fe,ie):isArray$c(Fe)?Fe.includes(ie)||Fe.push(ie):$e?(he[de]=[ie],hasOwn$4(_e,de)&&(_e[de]=he[de])):(de.value=[ie],t.k&&(he[t.k]=de.value))}else $e?(he[de]=le,hasOwn$4(_e,de)&&(_e[de]=le)):Ie&&(de.value=le,t.k&&(he[t.k]=le))};le?(Ve.id=-1,queuePostRenderEffect(Ve,$)):Ve()}}}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:$,o:{patchProp:V,createText:oe,nextSibling:ie,parentNode:le,remove:ue,insert:de,createComment:pe}}=t,he=(qe,Et)=>{if(!Et.hasChildNodes()){$(null,qe,Et),flushPostFlushCbs(),Et._vnode=qe;return}hasMismatch=!1,_e(Et.firstChild,qe,null,null,null),flushPostFlushCbs(),Et._vnode=qe,hasMismatch&&console.error("Hydration completed but contains mismatches.")},_e=(qe,Et,Lt,hn,Cn,bn=!1)=>{const Sn=isComment$1(qe)&&qe.data==="[",En=()=>Fe(qe,Et,Lt,hn,Cn,Sn),{type:wn,ref:$n,shapeFlag:Tn,patchFlag:xn}=Et;let An=qe.nodeType;Et.el=qe,xn===-2&&(bn=!1,Et.dynamicChildren=null);let Mn=null;switch(wn){case Text$1:An!==3?Et.children===""?(de(Et.el=oe(""),le(qe),qe),Mn=qe):Mn=En():(qe.data!==Et.children&&(hasMismatch=!0,qe.data=Et.children),Mn=ie(qe));break;case Comment:An!==8||Sn?Mn=En():Mn=ie(qe);break;case Static:if(Sn&&(qe=ie(qe),An=qe.nodeType),An===1||An===3){Mn=qe;const Vn=!Et.children.length;for(let Bn=0;Bn<Et.staticCount;Bn++)Vn&&(Et.children+=Mn.nodeType===1?Mn.outerHTML:Mn.data),Bn===Et.staticCount-1&&(Et.anchor=Mn),Mn=ie(Mn);return Sn?ie(Mn):Mn}else En();break;case Fragment:Sn?Mn=Ve(qe,Et,Lt,hn,Cn,bn):Mn=En();break;default:if(Tn&1)An!==1||Et.type.toLowerCase()!==qe.tagName.toLowerCase()?Mn=En():Mn=$e(qe,Et,Lt,hn,Cn,bn);else if(Tn&6){Et.slotScopeIds=Cn;const Vn=le(qe);if(r(Et,Vn,null,Lt,hn,isSVGContainer(Vn),bn),Mn=Sn?Ue(qe):ie(qe),Mn&&isComment$1(Mn)&&Mn.data==="teleport end"&&(Mn=ie(Mn)),isAsyncWrapper(Et)){let Bn;Sn?(Bn=createVNode(Fragment),Bn.anchor=Mn?Mn.previousSibling:Vn.lastChild):Bn=qe.nodeType===3?createTextVNode(""):createVNode("div"),Bn.el=qe,Et.component.subTree=Bn}}else Tn&64?An!==8?Mn=En():Mn=Et.type.hydrate(qe,Et,Lt,hn,Cn,bn,t,Ie):Tn&128&&(Mn=Et.type.hydrate(qe,Et,Lt,hn,isSVGContainer(le(qe)),Cn,bn,t,_e))}return $n!=null&&setRef($n,null,hn,Et),Mn},$e=(qe,Et,Lt,hn,Cn,bn)=>{bn=bn||!!Et.dynamicChildren;const{type:Sn,props:En,patchFlag:wn,shapeFlag:$n,dirs:Tn}=Et,xn=Sn==="input"&&Tn||Sn==="option";if(xn||wn!==-1){if(Tn&&invokeDirectiveHook(Et,null,Lt,"created"),En)if(xn||!bn||wn&48)for(const Mn in En)(xn&&Mn.endsWith("value")||isOn(Mn)&&!isReservedProp(Mn))&&V(qe,Mn,null,En[Mn],!1,void 0,Lt);else En.onClick&&V(qe,"onClick",null,En.onClick,!1,void 0,Lt);let An;if((An=En&&En.onVnodeBeforeMount)&&invokeVNodeHook(An,Lt,Et),Tn&&invokeDirectiveHook(Et,null,Lt,"beforeMount"),((An=En&&En.onVnodeMounted)||Tn)&&queueEffectWithSuspense(()=>{An&&invokeVNodeHook(An,Lt,Et),Tn&&invokeDirectiveHook(Et,null,Lt,"mounted")},hn),$n&16&&!(En&&(En.innerHTML||En.textContent))){let Mn=Ie(qe.firstChild,Et,qe,Lt,hn,Cn,bn);for(;Mn;){hasMismatch=!0;const Vn=Mn;Mn=Mn.nextSibling,ue(Vn)}}else $n&8&&qe.textContent!==Et.children&&(hasMismatch=!0,qe.textContent=Et.children)}return qe.nextSibling},Ie=(qe,Et,Lt,hn,Cn,bn,Sn)=>{Sn=Sn||!!Et.dynamicChildren;const En=Et.children,wn=En.length;for(let $n=0;$n<wn;$n++){const Tn=Sn?En[$n]:En[$n]=normalizeVNode(En[$n]);if(qe)qe=_e(qe,Tn,hn,Cn,bn,Sn);else{if(Tn.type===Text$1&&!Tn.children)continue;hasMismatch=!0,$(null,Tn,Lt,null,hn,Cn,isSVGContainer(Lt),bn)}}return qe},Ve=(qe,Et,Lt,hn,Cn,bn)=>{const{slotScopeIds:Sn}=Et;Sn&&(Cn=Cn?Cn.concat(Sn):Sn);const En=le(qe),wn=Ie(ie(qe),Et,En,Lt,hn,Cn,bn);return wn&&isComment$1(wn)&&wn.data==="]"?ie(Et.anchor=wn):(hasMismatch=!0,de(Et.anchor=pe("]"),En,wn),wn)},Fe=(qe,Et,Lt,hn,Cn,bn)=>{if(hasMismatch=!0,Et.el=null,bn){const wn=Ue(qe);for(;;){const $n=ie(qe);if($n&&$n!==wn)ue($n);else break}}const Sn=ie(qe),En=le(qe);return ue(qe),$(null,Et,En,Sn,Lt,hn,isSVGContainer(En),Cn),Sn},Ue=qe=>{let Et=0;for(;qe;)if(qe=ie(qe),qe&&isComment$1(qe)&&(qe.data==="["&&Et++,qe.data==="]")){if(Et===0)return ie(qe);Et--}return qe};return[he,_e]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(t){return baseCreateRenderer(t)}function createHydrationRenderer(t){return baseCreateRenderer(t,createHydrationFunctions)}function baseCreateRenderer(t,r){const $=getGlobalThis();$.__VUE__=!0;const{insert:V,remove:oe,patchProp:ie,createElement:le,createText:ue,createComment:de,setText:pe,setElementText:he,parentNode:_e,nextSibling:$e,setScopeId:Ie=NOOP,insertStaticContent:Ve}=t,Fe=(zn,Kn,Jn,cr=null,_r=null,ur=null,wr=!1,Cr=null,mr=!!Kn.dynamicChildren)=>{if(zn===Kn)return;zn&&!isSameVNodeType(zn,Kn)&&(cr=Gn(zn),Wn(zn,_r,ur,!0),zn=null),Kn.patchFlag===-2&&(mr=!1,Kn.dynamicChildren=null);const{type:Er,ref:Tr,shapeFlag:nr}=Kn;switch(Er){case Text$1:Ue(zn,Kn,Jn,cr);break;case Comment:qe(zn,Kn,Jn,cr);break;case Static:zn==null&&Et(Kn,Jn,cr,wr);break;case Fragment:xn(zn,Kn,Jn,cr,_r,ur,wr,Cr,mr);break;default:nr&1?Cn(zn,Kn,Jn,cr,_r,ur,wr,Cr,mr):nr&6?An(zn,Kn,Jn,cr,_r,ur,wr,Cr,mr):(nr&64||nr&128)&&Er.process(zn,Kn,Jn,cr,_r,ur,wr,Cr,mr,er)}Tr!=null&&_r&&setRef(Tr,zn&&zn.ref,ur,Kn||zn,!Kn)},Ue=(zn,Kn,Jn,cr)=>{if(zn==null)V(Kn.el=ue(Kn.children),Jn,cr);else{const _r=Kn.el=zn.el;Kn.children!==zn.children&&pe(_r,Kn.children)}},qe=(zn,Kn,Jn,cr)=>{zn==null?V(Kn.el=de(Kn.children||""),Jn,cr):Kn.el=zn.el},Et=(zn,Kn,Jn,cr)=>{[zn.el,zn.anchor]=Ve(zn.children,Kn,Jn,cr,zn.el,zn.anchor)},Lt=({el:zn,anchor:Kn},Jn,cr)=>{let _r;for(;zn&&zn!==Kn;)_r=$e(zn),V(zn,Jn,cr),zn=_r;V(Kn,Jn,cr)},hn=({el:zn,anchor:Kn})=>{let Jn;for(;zn&&zn!==Kn;)Jn=$e(zn),oe(zn),zn=Jn;oe(Kn)},Cn=(zn,Kn,Jn,cr,_r,ur,wr,Cr,mr)=>{wr=wr||Kn.type==="svg",zn==null?bn(Kn,Jn,cr,_r,ur,wr,Cr,mr):wn(zn,Kn,_r,ur,wr,Cr,mr)},bn=(zn,Kn,Jn,cr,_r,ur,wr,Cr)=>{let mr,Er;const{type:Tr,props:nr,shapeFlag:pr,transition:gr,dirs:$r}=zn;if(mr=zn.el=le(zn.type,ur,nr&&nr.is,nr),pr&8?he(mr,zn.children):pr&16&&En(zn.children,mr,null,cr,_r,ur&&Tr!=="foreignObject",wr,Cr),$r&&invokeDirectiveHook(zn,null,cr,"created"),Sn(mr,zn,zn.scopeId,wr,cr),nr){for(const Lr in nr)Lr!=="value"&&!isReservedProp(Lr)&&ie(mr,Lr,null,nr[Lr],ur,zn.children,cr,_r,Qn);"value"in nr&&ie(mr,"value",null,nr.value),(Er=nr.onVnodeBeforeMount)&&invokeVNodeHook(Er,cr,zn)}$r&&invokeDirectiveHook(zn,null,cr,"beforeMount");const Rr=(!_r||_r&&!_r.pendingBranch)&&gr&&!gr.persisted;Rr&&gr.beforeEnter(mr),V(mr,Kn,Jn),((Er=nr&&nr.onVnodeMounted)||Rr||$r)&&queuePostRenderEffect(()=>{Er&&invokeVNodeHook(Er,cr,zn),Rr&&gr.enter(mr),$r&&invokeDirectiveHook(zn,null,cr,"mounted")},_r)},Sn=(zn,Kn,Jn,cr,_r)=>{if(Jn&&Ie(zn,Jn),cr)for(let ur=0;ur<cr.length;ur++)Ie(zn,cr[ur]);if(_r){let ur=_r.subTree;if(Kn===ur){const wr=_r.vnode;Sn(zn,wr,wr.scopeId,wr.slotScopeIds,_r.parent)}}},En=(zn,Kn,Jn,cr,_r,ur,wr,Cr,mr=0)=>{for(let Er=mr;Er<zn.length;Er++){const Tr=zn[Er]=Cr?cloneIfMounted(zn[Er]):normalizeVNode(zn[Er]);Fe(null,Tr,Kn,Jn,cr,_r,ur,wr,Cr)}},wn=(zn,Kn,Jn,cr,_r,ur,wr)=>{const Cr=Kn.el=zn.el;let{patchFlag:mr,dynamicChildren:Er,dirs:Tr}=Kn;mr|=zn.patchFlag&16;const nr=zn.props||EMPTY_OBJ$1,pr=Kn.props||EMPTY_OBJ$1;let gr;Jn&&toggleRecurse(Jn,!1),(gr=pr.onVnodeBeforeUpdate)&&invokeVNodeHook(gr,Jn,Kn,zn),Tr&&invokeDirectiveHook(Kn,zn,Jn,"beforeUpdate"),Jn&&toggleRecurse(Jn,!0);const $r=_r&&Kn.type!=="foreignObject";if(Er?$n(zn.dynamicChildren,Er,Cr,Jn,cr,$r,ur):wr||Ln(zn,Kn,Cr,null,Jn,cr,$r,ur,!1),mr>0){if(mr&16)Tn(Cr,Kn,nr,pr,Jn,cr,_r);else if(mr&2&&nr.class!==pr.class&&ie(Cr,"class",null,pr.class,_r),mr&4&&ie(Cr,"style",nr.style,pr.style,_r),mr&8){const Rr=Kn.dynamicProps;for(let Lr=0;Lr<Rr.length;Lr++){const Vr=Rr[Lr],Nr=nr[Vr],dr=pr[Vr];(dr!==Nr||Vr==="value")&&ie(Cr,Vr,Nr,dr,_r,zn.children,Jn,cr,Qn)}}mr&1&&zn.children!==Kn.children&&he(Cr,Kn.children)}else!wr&&Er==null&&Tn(Cr,Kn,nr,pr,Jn,cr,_r);((gr=pr.onVnodeUpdated)||Tr)&&queuePostRenderEffect(()=>{gr&&invokeVNodeHook(gr,Jn,Kn,zn),Tr&&invokeDirectiveHook(Kn,zn,Jn,"updated")},cr)},$n=(zn,Kn,Jn,cr,_r,ur,wr)=>{for(let Cr=0;Cr<Kn.length;Cr++){const mr=zn[Cr],Er=Kn[Cr],Tr=mr.el&&(mr.type===Fragment||!isSameVNodeType(mr,Er)||mr.shapeFlag&70)?_e(mr.el):Jn;Fe(mr,Er,Tr,null,cr,_r,ur,wr,!0)}},Tn=(zn,Kn,Jn,cr,_r,ur,wr)=>{if(Jn!==cr){if(Jn!==EMPTY_OBJ$1)for(const Cr in Jn)!isReservedProp(Cr)&&!(Cr in cr)&&ie(zn,Cr,Jn[Cr],null,wr,Kn.children,_r,ur,Qn);for(const Cr in cr){if(isReservedProp(Cr))continue;const mr=cr[Cr],Er=Jn[Cr];mr!==Er&&Cr!=="value"&&ie(zn,Cr,Er,mr,wr,Kn.children,_r,ur,Qn)}"value"in cr&&ie(zn,"value",Jn.value,cr.value)}},xn=(zn,Kn,Jn,cr,_r,ur,wr,Cr,mr)=>{const Er=Kn.el=zn?zn.el:ue(""),Tr=Kn.anchor=zn?zn.anchor:ue("");let{patchFlag:nr,dynamicChildren:pr,slotScopeIds:gr}=Kn;gr&&(Cr=Cr?Cr.concat(gr):gr),zn==null?(V(Er,Jn,cr),V(Tr,Jn,cr),En(Kn.children,Jn,Tr,_r,ur,wr,Cr,mr)):nr>0&&nr&64&&pr&&zn.dynamicChildren?($n(zn.dynamicChildren,pr,Jn,_r,ur,wr,Cr),(Kn.key!=null||_r&&Kn===_r.subTree)&&traverseStaticChildren(zn,Kn,!0)):Ln(zn,Kn,Jn,Tr,_r,ur,wr,Cr,mr)},An=(zn,Kn,Jn,cr,_r,ur,wr,Cr,mr)=>{Kn.slotScopeIds=Cr,zn==null?Kn.shapeFlag&512?_r.ctx.activate(Kn,Jn,cr,wr,mr):Mn(Kn,Jn,cr,_r,ur,wr,mr):Vn(zn,Kn,mr)},Mn=(zn,Kn,Jn,cr,_r,ur,wr)=>{const Cr=zn.component=createComponentInstance(zn,cr,_r);if(isKeepAlive(zn)&&(Cr.ctx.renderer=er),setupComponent(Cr),Cr.asyncDep){if(_r&&_r.registerDep(Cr,Bn),!zn.el){const mr=Cr.subTree=createVNode(Comment);qe(null,mr,Kn,Jn)}return}Bn(Cr,zn,Kn,Jn,_r,ur,wr)},Vn=(zn,Kn,Jn)=>{const cr=Kn.component=zn.component;if(shouldUpdateComponent(zn,Kn,Jn))if(cr.asyncDep&&!cr.asyncResolved){Dn(cr,Kn,Jn);return}else cr.next=Kn,invalidateJob(cr.update),cr.update();else Kn.el=zn.el,cr.vnode=Kn},Bn=(zn,Kn,Jn,cr,_r,ur,wr)=>{const Cr=()=>{if(zn.isMounted){let{next:Tr,bu:nr,u:pr,parent:gr,vnode:$r}=zn,Rr=Tr,Lr;toggleRecurse(zn,!1),Tr?(Tr.el=$r.el,Dn(zn,Tr,wr)):Tr=$r,nr&&invokeArrayFns(nr),(Lr=Tr.props&&Tr.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Lr,gr,Tr,$r),toggleRecurse(zn,!0);const Vr=renderComponentRoot(zn),Nr=zn.subTree;zn.subTree=Vr,Fe(Nr,Vr,_e(Nr.el),Gn(Nr),zn,_r,ur),Tr.el=Vr.el,Rr===null&&updateHOCHostEl(zn,Vr.el),pr&&queuePostRenderEffect(pr,_r),(Lr=Tr.props&&Tr.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Lr,gr,Tr,$r),_r)}else{let Tr;const{el:nr,props:pr}=Kn,{bm:gr,m:$r,parent:Rr}=zn,Lr=isAsyncWrapper(Kn);if(toggleRecurse(zn,!1),gr&&invokeArrayFns(gr),!Lr&&(Tr=pr&&pr.onVnodeBeforeMount)&&invokeVNodeHook(Tr,Rr,Kn),toggleRecurse(zn,!0),nr&&sr){const Vr=()=>{zn.subTree=renderComponentRoot(zn),sr(nr,zn.subTree,zn,_r,null)};Lr?Kn.type.__asyncLoader().then(()=>!zn.isUnmounted&&Vr()):Vr()}else{const Vr=zn.subTree=renderComponentRoot(zn);Fe(null,Vr,Jn,cr,zn,_r,ur),Kn.el=Vr.el}if($r&&queuePostRenderEffect($r,_r),!Lr&&(Tr=pr&&pr.onVnodeMounted)){const Vr=Kn;queuePostRenderEffect(()=>invokeVNodeHook(Tr,Rr,Vr),_r)}(Kn.shapeFlag&256||Rr&&isAsyncWrapper(Rr.vnode)&&Rr.vnode.shapeFlag&256)&&zn.a&&queuePostRenderEffect(zn.a,_r),zn.isMounted=!0,Kn=Jn=cr=null}},mr=zn.effect=new ReactiveEffect(Cr,()=>queueJob(Er),zn.scope),Er=zn.update=()=>mr.run();Er.id=zn.uid,toggleRecurse(zn,!0),Er()},Dn=(zn,Kn,Jn)=>{Kn.component=zn;const cr=zn.vnode.props;zn.vnode=Kn,zn.next=null,updateProps$2(zn,Kn.props,cr,Jn),updateSlots(zn,Kn.children,Jn),pauseTracking(),flushPreFlushCbs(),resetTracking()},Ln=(zn,Kn,Jn,cr,_r,ur,wr,Cr,mr=!1)=>{const Er=zn&&zn.children,Tr=zn?zn.shapeFlag:0,nr=Kn.children,{patchFlag:pr,shapeFlag:gr}=Kn;if(pr>0){if(pr&128){Fn(Er,nr,Jn,cr,_r,ur,wr,Cr,mr);return}else if(pr&256){Pn(Er,nr,Jn,cr,_r,ur,wr,Cr,mr);return}}gr&8?(Tr&16&&Qn(Er,_r,ur),nr!==Er&&he(Jn,nr)):Tr&16?gr&16?Fn(Er,nr,Jn,cr,_r,ur,wr,Cr,mr):Qn(Er,_r,ur,!0):(Tr&8&&he(Jn,""),gr&16&&En(nr,Jn,cr,_r,ur,wr,Cr,mr))},Pn=(zn,Kn,Jn,cr,_r,ur,wr,Cr,mr)=>{zn=zn||EMPTY_ARR,Kn=Kn||EMPTY_ARR;const Er=zn.length,Tr=Kn.length,nr=Math.min(Er,Tr);let pr;for(pr=0;pr<nr;pr++){const gr=Kn[pr]=mr?cloneIfMounted(Kn[pr]):normalizeVNode(Kn[pr]);Fe(zn[pr],gr,Jn,null,_r,ur,wr,Cr,mr)}Er>Tr?Qn(zn,_r,ur,!0,!1,nr):En(Kn,Jn,cr,_r,ur,wr,Cr,mr,nr)},Fn=(zn,Kn,Jn,cr,_r,ur,wr,Cr,mr)=>{let Er=0;const Tr=Kn.length;let nr=zn.length-1,pr=Tr-1;for(;Er<=nr&&Er<=pr;){const gr=zn[Er],$r=Kn[Er]=mr?cloneIfMounted(Kn[Er]):normalizeVNode(Kn[Er]);if(isSameVNodeType(gr,$r))Fe(gr,$r,Jn,null,_r,ur,wr,Cr,mr);else break;Er++}for(;Er<=nr&&Er<=pr;){const gr=zn[nr],$r=Kn[pr]=mr?cloneIfMounted(Kn[pr]):normalizeVNode(Kn[pr]);if(isSameVNodeType(gr,$r))Fe(gr,$r,Jn,null,_r,ur,wr,Cr,mr);else break;nr--,pr--}if(Er>nr){if(Er<=pr){const gr=pr+1,$r=gr<Tr?Kn[gr].el:cr;for(;Er<=pr;)Fe(null,Kn[Er]=mr?cloneIfMounted(Kn[Er]):normalizeVNode(Kn[Er]),Jn,$r,_r,ur,wr,Cr,mr),Er++}}else if(Er>pr)for(;Er<=nr;)Wn(zn[Er],_r,ur,!0),Er++;else{const gr=Er,$r=Er,Rr=new Map;for(Er=$r;Er<=pr;Er++){const qn=Kn[Er]=mr?cloneIfMounted(Kn[Er]):normalizeVNode(Kn[Er]);qn.key!=null&&Rr.set(qn.key,Er)}let Lr,Vr=0;const Nr=pr-$r+1;let dr=!1,ar=0;const tr=new Array(Nr);for(Er=0;Er<Nr;Er++)tr[Er]=0;for(Er=gr;Er<=nr;Er++){const qn=zn[Er];if(Vr>=Nr){Wn(qn,_r,ur,!0);continue}let kr;if(qn.key!=null)kr=Rr.get(qn.key);else for(Lr=$r;Lr<=pr;Lr++)if(tr[Lr-$r]===0&&isSameVNodeType(qn,Kn[Lr])){kr=Lr;break}kr===void 0?Wn(qn,_r,ur,!0):(tr[kr-$r]=Er+1,kr>=ar?ar=kr:dr=!0,Fe(qn,Kn[kr],Jn,null,_r,ur,wr,Cr,mr),Vr++)}const Sr=dr?getSequence(tr):EMPTY_ARR;for(Lr=Sr.length-1,Er=Nr-1;Er>=0;Er--){const qn=$r+Er,kr=Kn[qn],Dr=qn+1<Tr?Kn[qn+1].el:cr;tr[Er]===0?Fe(null,kr,Jn,Dr,_r,ur,wr,Cr,mr):dr&&(Lr<0||Er!==Sr[Lr]?Un(kr,Jn,Dr,2):Lr--)}}},Un=(zn,Kn,Jn,cr,_r=null)=>{const{el:ur,type:wr,transition:Cr,children:mr,shapeFlag:Er}=zn;if(Er&6){Un(zn.component.subTree,Kn,Jn,cr);return}if(Er&128){zn.suspense.move(Kn,Jn,cr);return}if(Er&64){wr.move(zn,Kn,Jn,er);return}if(wr===Fragment){V(ur,Kn,Jn);for(let nr=0;nr<mr.length;nr++)Un(mr[nr],Kn,Jn,cr);V(zn.anchor,Kn,Jn);return}if(wr===Static){Lt(zn,Kn,Jn);return}if(cr!==2&&Er&1&&Cr)if(cr===0)Cr.beforeEnter(ur),V(ur,Kn,Jn),queuePostRenderEffect(()=>Cr.enter(ur),_r);else{const{leave:nr,delayLeave:pr,afterLeave:gr}=Cr,$r=()=>V(ur,Kn,Jn),Rr=()=>{nr(ur,()=>{$r(),gr&&gr()})};pr?pr(ur,$r,Rr):Rr()}else V(ur,Kn,Jn)},Wn=(zn,Kn,Jn,cr=!1,_r=!1)=>{const{type:ur,props:wr,ref:Cr,children:mr,dynamicChildren:Er,shapeFlag:Tr,patchFlag:nr,dirs:pr}=zn;if(Cr!=null&&setRef(Cr,null,Jn,zn,!0),Tr&256){Kn.ctx.deactivate(zn);return}const gr=Tr&1&&pr,$r=!isAsyncWrapper(zn);let Rr;if($r&&(Rr=wr&&wr.onVnodeBeforeUnmount)&&invokeVNodeHook(Rr,Kn,zn),Tr&6)br(zn.component,Jn,cr);else{if(Tr&128){zn.suspense.unmount(Jn,cr);return}gr&&invokeDirectiveHook(zn,null,Kn,"beforeUnmount"),Tr&64?zn.type.remove(zn,Kn,Jn,_r,er,cr):Er&&(ur!==Fragment||nr>0&&nr&64)?Qn(Er,Kn,Jn,!1,!0):(ur===Fragment&&nr&384||!_r&&Tr&16)&&Qn(mr,Kn,Jn),cr&&Zn(zn)}($r&&(Rr=wr&&wr.onVnodeUnmounted)||gr)&&queuePostRenderEffect(()=>{Rr&&invokeVNodeHook(Rr,Kn,zn),gr&&invokeDirectiveHook(zn,null,Kn,"unmounted")},Jn)},Zn=zn=>{const{type:Kn,el:Jn,anchor:cr,transition:_r}=zn;if(Kn===Fragment){or(Jn,cr);return}if(Kn===Static){hn(zn);return}const ur=()=>{oe(Jn),_r&&!_r.persisted&&_r.afterLeave&&_r.afterLeave()};if(zn.shapeFlag&1&&_r&&!_r.persisted){const{leave:wr,delayLeave:Cr}=_r,mr=()=>wr(Jn,ur);Cr?Cr(zn.el,ur,mr):mr()}else ur()},or=(zn,Kn)=>{let Jn;for(;zn!==Kn;)Jn=$e(zn),oe(zn),zn=Jn;oe(Kn)},br=(zn,Kn,Jn)=>{const{bum:cr,scope:_r,update:ur,subTree:wr,um:Cr}=zn;cr&&invokeArrayFns(cr),_r.stop(),ur&&(ur.active=!1,Wn(wr,zn,Kn,Jn)),Cr&&queuePostRenderEffect(Cr,Kn),queuePostRenderEffect(()=>{zn.isUnmounted=!0},Kn),Kn&&Kn.pendingBranch&&!Kn.isUnmounted&&zn.asyncDep&&!zn.asyncResolved&&zn.suspenseId===Kn.pendingId&&(Kn.deps--,Kn.deps===0&&Kn.resolve())},Qn=(zn,Kn,Jn,cr=!1,_r=!1,ur=0)=>{for(let wr=ur;wr<zn.length;wr++)Wn(zn[wr],Kn,Jn,cr,_r)},Gn=zn=>zn.shapeFlag&6?Gn(zn.component.subTree):zn.shapeFlag&128?zn.suspense.next():$e(zn.anchor||zn.el),Yn=(zn,Kn,Jn)=>{zn==null?Kn._vnode&&Wn(Kn._vnode,null,null,!0):Fe(Kn._vnode||null,zn,Kn,null,null,null,Jn),flushPreFlushCbs(),flushPostFlushCbs(),Kn._vnode=zn},er={p:Fe,um:Wn,m:Un,r:Zn,mt:Mn,mc:En,pc:Ln,pbc:$n,n:Gn,o:t};let lr,sr;return r&&([lr,sr]=r(er)),{render:Yn,hydrate:lr,createApp:createAppAPI(Yn,lr)}}function toggleRecurse({effect:t,update:r},$){t.allowRecurse=r.allowRecurse=$}function traverseStaticChildren(t,r,$=!1){const V=t.children,oe=r.children;if(isArray$c(V)&&isArray$c(oe))for(let ie=0;ie<V.length;ie++){const le=V[ie];let ue=oe[ie];ue.shapeFlag&1&&!ue.dynamicChildren&&((ue.patchFlag<=0||ue.patchFlag===32)&&(ue=oe[ie]=cloneIfMounted(oe[ie]),ue.el=le.el),$||traverseStaticChildren(le,ue)),ue.type===Text$1&&(ue.el=le.el)}}function getSequence(t){const r=t.slice(),$=[0];let V,oe,ie,le,ue;const de=t.length;for(V=0;V<de;V++){const pe=t[V];if(pe!==0){if(oe=$[$.length-1],t[oe]<pe){r[V]=oe,$.push(V);continue}for(ie=0,le=$.length-1;ie<le;)ue=ie+le>>1,t[$[ue]]<pe?ie=ue+1:le=ue;pe<t[$[ie]]&&(ie>0&&(r[V]=$[ie-1]),$[ie]=V)}}for(ie=$.length,le=$[ie-1];ie-- >0;)$[ie]=le,le=r[le];return $}const isTeleport=t=>t.__isTeleport,isTeleportDisabled=t=>t&&(t.disabled||t.disabled===""),isTargetSVG=t=>typeof SVGElement<"u"&&t instanceof SVGElement,resolveTarget=(t,r)=>{const $=t&&t.to;return isString$6($)?r?r($):null:$},TeleportImpl={__isTeleport:!0,process(t,r,$,V,oe,ie,le,ue,de,pe){const{mc:he,pc:_e,pbc:$e,o:{insert:Ie,querySelector:Ve,createText:Fe,createComment:Ue}}=pe,qe=isTeleportDisabled(r.props);let{shapeFlag:Et,children:Lt,dynamicChildren:hn}=r;if(t==null){const Cn=r.el=Fe(""),bn=r.anchor=Fe("");Ie(Cn,$,V),Ie(bn,$,V);const Sn=r.target=resolveTarget(r.props,Ve),En=r.targetAnchor=Fe("");Sn&&(Ie(En,Sn),le=le||isTargetSVG(Sn));const wn=($n,Tn)=>{Et&16&&he(Lt,$n,Tn,oe,ie,le,ue,de)};qe?wn($,bn):Sn&&wn(Sn,En)}else{r.el=t.el;const Cn=r.anchor=t.anchor,bn=r.target=t.target,Sn=r.targetAnchor=t.targetAnchor,En=isTeleportDisabled(t.props),wn=En?$:bn,$n=En?Cn:Sn;if(le=le||isTargetSVG(bn),hn?($e(t.dynamicChildren,hn,wn,oe,ie,le,ue),traverseStaticChildren(t,r,!0)):de||_e(t,r,wn,$n,oe,ie,le,ue,!1),qe)En||moveTeleport(r,$,Cn,pe,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const Tn=r.target=resolveTarget(r.props,Ve);Tn&&moveTeleport(r,Tn,null,pe,0)}else En&&moveTeleport(r,bn,Sn,pe,1)}updateCssVars(r)},remove(t,r,$,V,{um:oe,o:{remove:ie}},le){const{shapeFlag:ue,children:de,anchor:pe,targetAnchor:he,target:_e,props:$e}=t;if(_e&&ie(he),(le||!isTeleportDisabled($e))&&(ie(pe),ue&16))for(let Ie=0;Ie<de.length;Ie++){const Ve=de[Ie];oe(Ve,r,$,!0,!!Ve.dynamicChildren)}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(t,r,$,{o:{insert:V},m:oe},ie=2){ie===0&&V(t.targetAnchor,r,$);const{el:le,anchor:ue,shapeFlag:de,children:pe,props:he}=t,_e=ie===2;if(_e&&V(le,r,$),(!_e||isTeleportDisabled(he))&&de&16)for(let $e=0;$e<pe.length;$e++)oe(pe[$e],r,$,2);_e&&V(ue,r,$)}function hydrateTeleport(t,r,$,V,oe,ie,{o:{nextSibling:le,parentNode:ue,querySelector:de}},pe){const he=r.target=resolveTarget(r.props,de);if(he){const _e=he._lpa||he.firstChild;if(r.shapeFlag&16)if(isTeleportDisabled(r.props))r.anchor=pe(le(t),r,ue(t),$,V,oe,ie),r.targetAnchor=_e;else{r.anchor=le(t);let $e=_e;for(;$e;)if($e=le($e),$e&&$e.nodeType===8&&$e.data==="teleport anchor"){r.targetAnchor=$e,he._lpa=r.targetAnchor&&le(r.targetAnchor);break}pe(_e,r,he,$,V,oe,ie)}updateCssVars(r)}return r.anchor&&le(r.anchor)}const Teleport=TeleportImpl;function updateCssVars(t){const r=t.ctx;if(r&&r.ut){let $=t.children[0].el;for(;$!==t.targetAnchor;)$.nodeType===1&&$.setAttribute("data-v-owner",r.uid),$=$.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){return setupBlock(createBaseVNode(t,r,$,V,oe,ie,!0))}function createBlock(t,r,$,V,oe){return setupBlock(createVNode(t,r,$,V,oe,!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:$})=>(typeof t=="number"&&(t=""+t),t!=null?isString$6(t)||isRef(t)||isFunction$5(t)?{i:currentRenderingInstance,r:t,k:r,f:!!$}:t:null);function createBaseVNode(t,r=null,$=null,V=0,oe=null,ie=t===Fragment?0:1,le=!1,ue=!1){const de={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&normalizeKey(r),ref:r&&normalizeRef(r),scopeId:currentScopeId,slotScopeIds:null,children:$,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:ie,patchFlag:V,dynamicProps:oe,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return ue?(normalizeChildren(de,$),ie&128&&t.normalize(de)):$&&(de.shapeFlag|=isString$6($)?8:16),isBlockTreeEnabled>0&&!le&¤tBlock&&(de.patchFlag>0||ie&6)&&de.patchFlag!==32&¤tBlock.push(de),de}const createVNode=_createVNode;function _createVNode(t,r=null,$=null,V=0,oe=null,ie=!1){if((!t||t===NULL_DYNAMIC_COMPONENT)&&(t=Comment),isVNode$1(t)){const ue=cloneVNode(t,r,!0);return $&&normalizeChildren(ue,$),isBlockTreeEnabled>0&&!ie&¤tBlock&&(ue.shapeFlag&6?currentBlock[currentBlock.indexOf(t)]=ue:currentBlock.push(ue)),ue.patchFlag|=-2,ue}if(isClassComponent(t)&&(t=t.__vccOpts),r){r=guardReactiveProps(r);let{class:ue,style:de}=r;ue&&!isString$6(ue)&&(r.class=normalizeClass(ue)),isObject$a(de)&&(isProxy(de)&&!isArray$c(de)&&(de=extend$2({},de)),r.style=normalizeStyle$1(de))}const le=isString$6(t)?1:isSuspense(t)?128:isTeleport(t)?64:isObject$a(t)?4:isFunction$5(t)?2:0;return createBaseVNode(t,r,$,V,oe,le,ie,!0)}function guardReactiveProps(t){return t?isProxy(t)||InternalObjectKey in t?extend$2({},t):t:null}function cloneVNode(t,r,$=!1){const{props:V,ref:oe,patchFlag:ie,children:le}=t,ue=r?mergeProps(V||{},r):V;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:ue,key:ue&&normalizeKey(ue),ref:r&&r.ref?$&&oe?isArray$c(oe)?oe.concat(normalizeRef(r)):[oe,normalizeRef(r)]:normalizeRef(r):oe,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:le,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==Fragment?ie===-1?16:ie|16:ie,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 $=createVNode(Static,null,t);return $.staticCount=r,$}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 $=0;const{shapeFlag:V}=t;if(r==null)r=null;else if(isArray$c(r))$=16;else if(typeof r=="object")if(V&65){const oe=r.default;oe&&(oe._c&&(oe._d=!1),normalizeChildren(t,oe()),oe._c&&(oe._d=!0));return}else{$=32;const oe=r._;!oe&&!(InternalObjectKey in r)?r._ctx=currentRenderingInstance:oe===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else isFunction$5(r)?(r={default:r,_ctx:currentRenderingInstance},$=32):(r=String(r),V&64?($=16,r=[createTextVNode(r)]):$=8);t.children=r,t.shapeFlag|=$}function mergeProps(...t){const r={};for(let $=0;$<t.length;$++){const V=t[$];for(const oe in V)if(oe==="class")r.class!==V.class&&(r.class=normalizeClass([r.class,V.class]));else if(oe==="style")r.style=normalizeStyle$1([r.style,V.style]);else if(isOn(oe)){const ie=r[oe],le=V[oe];le&&ie!==le&&!(isArray$c(ie)&&ie.includes(le))&&(r[oe]=ie?[].concat(ie,le):le)}else oe!==""&&(r[oe]=V[oe])}return r}function invokeVNodeHook(t,r,$,V=null){callWithAsyncErrorHandling(t,r,7,[$,V])}const emptyAppContext=createAppContext();let uid$2=0;function createComponentInstance(t,r,$){const V=t.type,oe=(r?r.appContext:t.appContext)||emptyAppContext,ie={uid:uid$2++,vnode:t,type:V,parent:r,appContext:oe,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(oe.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(V,oe),emitsOptions:normalizeEmitsOptions(V,oe),emit:null,emitted:null,propsDefaults:EMPTY_OBJ$1,inheritAttrs:V.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:$,suspenseId:$?$.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 ie.ctx={_:ie},ie.root=r?r.root:ie,ie.emit=emit.bind(null,ie),t.ce&&t.ce(ie),ie}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:$,children:V}=t.vnode,oe=isStatefulComponent(t);initProps$1(t,$,oe,r),initSlots(t,V);const ie=oe?setupStatefulComponent(t,r):void 0;return isInSSRComponentSetup=!1,ie}function setupStatefulComponent(t,r){const $=t.type;t.accessCache=Object.create(null),t.proxy=markRaw(new Proxy(t.ctx,PublicInstanceProxyHandlers));const{setup:V}=$;if(V){const oe=t.setupContext=V.length>1?createSetupContext(t):null;setCurrentInstance(t),pauseTracking();const ie=callWithErrorHandling(V,t,0,[t.props,oe]);if(resetTracking(),unsetCurrentInstance(),isPromise(ie)){if(ie.then(unsetCurrentInstance,unsetCurrentInstance),r)return ie.then(le=>{handleSetupResult(t,le,r)}).catch(le=>{handleError(le,t,0)});t.asyncDep=ie}else handleSetupResult(t,ie,r)}else finishComponentSetup(t,r)}function handleSetupResult(t,r,$){isFunction$5(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:isObject$a(r)&&(t.setupState=proxyRefs(r)),finishComponentSetup(t,$)}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,$){const V=t.type;if(!t.render){if(!r&&compile$1&&!V.render){const oe=V.template||resolveMergedOptions(t).template;if(oe){const{isCustomElement:ie,compilerOptions:le}=t.appContext.config,{delimiters:ue,compilerOptions:de}=V,pe=extend$2(extend$2({isCustomElement:ie,delimiters:ue},le),de);V.render=compile$1(oe,pe)}}t.render=V.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,$){return track(t,"get","$attrs"),r[$]}}))}function createSetupContext(t){const r=$=>{t.exposed=$||{}};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,$){if($ in r)return r[$];if($ in publicPropertiesMap)return publicPropertiesMap[$](t)},has(r,$){return $ in r||$ 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,$){const V=arguments.length;return V===2?isObject$a(r)&&!isArray$c(r)?isVNode$1(r)?createVNode(t,null,[r]):createVNode(t,r):createVNode(t,null,r):(V>3?$=Array.prototype.slice.call(arguments,2):V===3&&isVNode$1($)&&($=[$]),createVNode(t,r,$))}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function initCustomFormatter(){}function withMemo(t,r,$,V){const oe=$[V];if(oe&&isMemoSame(oe,t))return oe;const ie=r();return ie.memo=t.slice(),$[V]=ie}function isMemoSame(t,r){const $=t.memo;if($.length!=r.length)return!1;for(let V=0;V<$.length;V++)if(hasChanged($[V],r[V]))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,$)=>{r.insertBefore(t,$||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,$,V)=>{const oe=r?doc$1.createElementNS(svgNS,t):doc$1.createElement(t,$?{is:$}:void 0);return t==="select"&&V&&V.multiple!=null&&oe.setAttribute("multiple",V.multiple),oe},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){const le=$?$.previousSibling:r.lastChild;if(oe&&(oe===ie||oe.nextSibling))for(;r.insertBefore(oe.cloneNode(!0),$),!(oe===ie||!(oe=oe.nextSibling)););else{templateContainer.innerHTML=V?`<svg>${t}</svg>`:t;const ue=templateContainer.content;if(V){const de=ue.firstChild;for(;de.firstChild;)ue.appendChild(de.firstChild);ue.removeChild(de)}r.insertBefore(ue,$)}return[le?le.nextSibling:r.firstChild,$?$.previousSibling:r.lastChild]}};function patchClass(t,r,$){const V=t._vtc;V&&(r=(r?[r,...V]:[...V]).join(" ")),r==null?t.removeAttribute("class"):$?t.setAttribute("class",r):t.className=r}function patchStyle(t,r,$){const V=t.style,oe=isString$6($);if($&&!oe){if(r&&!isString$6(r))for(const ie in r)$[ie]==null&&setStyle(V,ie,"");for(const ie in $)setStyle(V,ie,$[ie])}else{const ie=V.display;oe?r!==$&&(V.cssText=$):r&&t.removeAttribute("style"),"_vod"in t&&(V.display=ie)}}const importantRE=/\s*!important$/;function setStyle(t,r,$){if(isArray$c($))$.forEach(V=>setStyle(t,r,V));else if($==null&&($=""),r.startsWith("--"))t.setProperty(r,$);else{const V=autoPrefix(t,r);importantRE.test($)?t.setProperty(hyphenate(V),$.replace(importantRE,""),"important"):t[V]=$}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(t,r){const $=prefixCache[r];if($)return $;let V=camelize(r);if(V!=="filter"&&V in t)return prefixCache[r]=V;V=capitalize$2(V);for(let oe=0;oe<prefixes.length;oe++){const ie=prefixes[oe]+V;if(ie in t)return prefixCache[r]=ie}return r}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(t,r,$,V,oe){if(V&&r.startsWith("xlink:"))$==null?t.removeAttributeNS(xlinkNS,r.slice(6,r.length)):t.setAttributeNS(xlinkNS,r,$);else{const ie=isSpecialBooleanAttr(r);$==null||ie&&!includeBooleanAttr($)?t.removeAttribute(r):t.setAttribute(r,ie?"":$)}}function patchDOMProp(t,r,$,V,oe,ie,le){if(r==="innerHTML"||r==="textContent"){V&&le(V,oe,ie),t[r]=$??"";return}const ue=t.tagName;if(r==="value"&&ue!=="PROGRESS"&&!ue.includes("-")){t._value=$;const pe=ue==="OPTION"?t.getAttribute("value"):t.value,he=$??"";pe!==he&&(t.value=he),$==null&&t.removeAttribute(r);return}let de=!1;if($===""||$==null){const pe=typeof t[r];pe==="boolean"?$=includeBooleanAttr($):$==null&&pe==="string"?($="",de=!0):pe==="number"&&($=0,de=!0)}try{t[r]=$}catch{}de&&t.removeAttribute(r)}function addEventListener$1(t,r,$,V){t.addEventListener(r,$,V)}function removeEventListener$1(t,r,$,V){t.removeEventListener(r,$,V)}function patchEvent(t,r,$,V,oe=null){const ie=t._vei||(t._vei={}),le=ie[r];if(V&&le)le.value=V;else{const[ue,de]=parseName(r);if(V){const pe=ie[r]=createInvoker(V,oe);addEventListener$1(t,ue,pe,de)}else le&&(removeEventListener$1(t,ue,le,de),ie[r]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(t){let r;if(optionsModifierRE.test(t)){r={};let V;for(;V=t.match(optionsModifierRE);)t=t.slice(0,t.length-V[0].length),r[V[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=>{if(!V._vts)V._vts=Date.now();else if(V._vts<=$.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(V,$.value),r,5,[V])};return $.value=t,$.attached=getNow(),$}function patchStopImmediatePropagation(t,r){if(isArray$c(r)){const $=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{$.call(t),t._stopped=!0},r.map(V=>oe=>!oe._stopped&&V&&V(oe))}else return r}const nativeOnRE=/^on[a-z]/,patchProp=(t,r,$,V,oe=!1,ie,le,ue,de)=>{r==="class"?patchClass(t,V,oe):r==="style"?patchStyle(t,$,V):isOn(r)?isModelListener(r)||patchEvent(t,r,$,V,le):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):shouldSetAsProp(t,r,V,oe))?patchDOMProp(t,r,V,ie,le,ue,de):(r==="true-value"?t._trueValue=V:r==="false-value"&&(t._falseValue=V),patchAttr(t,r,V,oe))};function shouldSetAsProp(t,r,$,V){return V?!!(r==="innerHTML"||r==="textContent"||r in t&&nativeOnRE.test(r)&&isFunction$5($)):r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA"||nativeOnRE.test(r)&&isString$6($)?!1:r in t}function defineCustomElement(t,r){const $=defineComponent(t);class V extends VueElement{constructor(ie){super($,ie,r)}}return V.def=$,V}const defineSSRCustomElement=t=>defineCustomElement(t,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(r,$={},V){super(),this._def=r,this._props=$,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&V?V(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 V=0;V<this.attributes.length;V++)this._setAttr(this.attributes[V].name);new MutationObserver(V=>{for(const oe of V)this._setAttr(oe.attributeName)}).observe(this,{attributes:!0});const r=(V,oe=!1)=>{const{props:ie,styles:le}=V;let ue;if(ie&&!isArray$c(ie))for(const de in ie){const pe=ie[de];(pe===Number||pe&&pe.type===Number)&&(de in this._props&&(this._props[de]=toNumber$1(this._props[de])),(ue||(ue=Object.create(null)))[camelize(de)]=!0)}this._numberProps=ue,oe&&this._resolveProps(V),this._applyStyles(le),this._update()},$=this._def.__asyncLoader;$?$().then(V=>r(V,!0)):r(this._def)}_resolveProps(r){const{props:$}=r,V=isArray$c($)?$:Object.keys($||{});for(const oe of Object.keys(this))oe[0]!=="_"&&V.includes(oe)&&this._setProp(oe,this[oe],!0,!1);for(const oe of V.map(camelize))Object.defineProperty(this,oe,{get(){return this._getProp(oe)},set(ie){this._setProp(oe,ie)}})}_setAttr(r){let $=this.getAttribute(r);const V=camelize(r);this._numberProps&&this._numberProps[V]&&($=toNumber$1($)),this._setProp(V,$,!1)}_getProp(r){return this._props[r]}_setProp(r,$,V=!0,oe=!0){$!==this._props[r]&&(this._props[r]=$,oe&&this._instance&&this._update(),V&&($===!0?this.setAttribute(hyphenate(r),""):typeof $=="string"||typeof $=="number"?this.setAttribute(hyphenate(r),$+""):$||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=$=>{this._instance=$,$.isCE=!0;const V=(ie,le)=>{this.dispatchEvent(new CustomEvent(ie,{detail:le}))};$.emit=(ie,...le)=>{V(ie,le),hyphenate(ie)!==ie&&V(hyphenate(ie),le)};let oe=this;for(;oe=oe&&(oe.parentNode||oe.host);)if(oe instanceof VueElement){$.parent=oe._instance,$.provides=oe._instance.provides;break}}),r}_applyStyles(r){r&&r.forEach($=>{const V=document.createElement("style");V.textContent=$,this.shadowRoot.appendChild(V)})}}function useCssModule(t="$style"){{const r=getCurrentInstance();if(!r)return EMPTY_OBJ$1;const $=r.type.__cssModules;if(!$)return EMPTY_OBJ$1;const V=$[t];return V||EMPTY_OBJ$1}}function useCssVars(t){const r=getCurrentInstance();if(!r)return;const $=r.ut=(oe=t(r.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${r.uid}"]`)).forEach(ie=>setVarsOnNode(ie,oe))},V=()=>{const oe=t(r.proxy);setVarsOnVNode(r.subTree,oe),$(oe)};watchPostEffect(V),onMounted(()=>{const oe=new MutationObserver(V);oe.observe(r.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>oe.disconnect())})}function setVarsOnVNode(t,r){if(t.shapeFlag&128){const $=t.suspense;t=$.activeBranch,$.pendingBranch&&!$.isHydrating&&$.effects.push(()=>{setVarsOnVNode($.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($=>setVarsOnVNode($,r));else if(t.type===Static){let{el:$,anchor:V}=t;for(;$&&(setVarsOnNode($,r),$!==V);)$=$.nextSibling}}function setVarsOnNode(t,r){if(t.nodeType===1){const $=t.style;for(const V in r)$.setProperty(`--${V}`,r[V])}}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($=>$(...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",type:V,duration:oe,enterFromClass:ie=`${$}-enter-from`,enterActiveClass:le=`${$}-enter-active`,enterToClass:ue=`${$}-enter-to`,appearFromClass:de=ie,appearActiveClass:pe=le,appearToClass:he=ue,leaveFromClass:_e=`${$}-leave-from`,leaveActiveClass:$e=`${$}-leave-active`,leaveToClass:Ie=`${$}-leave-to`}=t,Ve=normalizeDuration(oe),Fe=Ve&&Ve[0],Ue=Ve&&Ve[1],{onBeforeEnter:qe,onEnter:Et,onEnterCancelled:Lt,onLeave:hn,onLeaveCancelled:Cn,onBeforeAppear:bn=qe,onAppear:Sn=Et,onAppearCancelled:En=Lt}=r,wn=(xn,An,Mn)=>{removeTransitionClass(xn,An?he:ue),removeTransitionClass(xn,An?pe:le),Mn&&Mn()},$n=(xn,An)=>{xn._isLeaving=!1,removeTransitionClass(xn,_e),removeTransitionClass(xn,Ie),removeTransitionClass(xn,$e),An&&An()},Tn=xn=>(An,Mn)=>{const Vn=xn?Sn:Et,Bn=()=>wn(An,xn,Mn);callHook(Vn,[An,Bn]),nextFrame(()=>{removeTransitionClass(An,xn?de:ie),addTransitionClass(An,xn?he:ue),hasExplicitCallback(Vn)||whenTransitionEnds(An,V,Fe,Bn)})};return extend$2(r,{onBeforeEnter(xn){callHook(qe,[xn]),addTransitionClass(xn,ie),addTransitionClass(xn,le)},onBeforeAppear(xn){callHook(bn,[xn]),addTransitionClass(xn,de),addTransitionClass(xn,pe)},onEnter:Tn(!1),onAppear:Tn(!0),onLeave(xn,An){xn._isLeaving=!0;const Mn=()=>$n(xn,An);addTransitionClass(xn,_e),forceReflow(),addTransitionClass(xn,$e),nextFrame(()=>{xn._isLeaving&&(removeTransitionClass(xn,_e),addTransitionClass(xn,Ie),hasExplicitCallback(hn)||whenTransitionEnds(xn,V,Ue,Mn))}),callHook(hn,[xn,Mn])},onEnterCancelled(xn){wn(xn,!1),callHook(Lt,[xn])},onAppearCancelled(xn){wn(xn,!0),callHook(En,[xn])},onLeaveCancelled(xn){$n(xn),callHook(Cn,[xn])}})}function normalizeDuration(t){if(t==null)return null;if(isObject$a(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($=>$&&t.classList.add($)),(t._vtc||(t._vtc=new Set)).add(r)}function removeTransitionClass(t,r){r.split(/\s+/).forEach(V=>V&&t.classList.remove(V));const{_vtc:$}=t;$&&($.delete(r),$.size||(t._vtc=void 0))}function nextFrame(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let endId=0;function whenTransitionEnds(t,r,$,V){const oe=t._endId=++endId,ie=()=>{oe===t._endId&&V()};if($)return setTimeout(ie,$);const{type:le,timeout:ue,propCount:de}=getTransitionInfo(t,r);if(!le)return V();const pe=le+"end";let he=0;const _e=()=>{t.removeEventListener(pe,$e),ie()},$e=Ie=>{Ie.target===t&&++he>=de&&_e()};setTimeout(()=>{he<de&&_e()},ue+1),t.addEventListener(pe,$e)}function getTransitionInfo(t,r){const $=window.getComputedStyle(t),V=Ve=>($[Ve]||"").split(", "),oe=V(`${TRANSITION}Delay`),ie=V(`${TRANSITION}Duration`),le=getTimeout(oe,ie),ue=V(`${ANIMATION}Delay`),de=V(`${ANIMATION}Duration`),pe=getTimeout(ue,de);let he=null,_e=0,$e=0;r===TRANSITION?le>0&&(he=TRANSITION,_e=le,$e=ie.length):r===ANIMATION?pe>0&&(he=ANIMATION,_e=pe,$e=de.length):(_e=Math.max(le,pe),he=_e>0?le>pe?TRANSITION:ANIMATION:null,$e=he?he===TRANSITION?ie.length:de.length:0);const Ie=he===TRANSITION&&/\b(transform|all)(,|$)/.test(V(`${TRANSITION}Property`).toString());return{type:he,timeout:_e,propCount:$e,hasTransform:Ie}}function getTimeout(t,r){for(;t.length<r.length;)t=t.concat(t);return Math.max(...r.map(($,V)=>toMs($)+toMs(t[V])))}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 $=getCurrentInstance(),V=useTransitionState();let oe,ie;return onUpdated(()=>{if(!oe.length)return;const le=t.moveClass||`${t.name||"v"}-move`;if(!hasCSSTransform(oe[0].el,$.vnode.el,le))return;oe.forEach(callPendingCbs),oe.forEach(recordPosition);const ue=oe.filter(applyTranslation);forceReflow(),ue.forEach(de=>{const pe=de.el,he=pe.style;addTransitionClass(pe,le),he.transform=he.webkitTransform=he.transitionDuration="";const _e=pe._moveCb=$e=>{$e&&$e.target!==pe||(!$e||/transform$/.test($e.propertyName))&&(pe.removeEventListener("transitionend",_e),pe._moveCb=null,removeTransitionClass(pe,le))};pe.addEventListener("transitionend",_e)})}),()=>{const le=toRaw(t),ue=resolveTransitionProps(le);let de=le.tag||Fragment;oe=ie,ie=r.default?getTransitionRawChildren(r.default()):[];for(let pe=0;pe<ie.length;pe++){const he=ie[pe];he.key!=null&&setTransitionHooks(he,resolveTransitionHooks(he,ue,V,$))}if(oe)for(let pe=0;pe<oe.length;pe++){const he=oe[pe];setTransitionHooks(he,resolveTransitionHooks(he,ue,V,$)),positionMap.set(he,he.el.getBoundingClientRect())}return createVNode(de,null,ie)}}},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),$=newPositionMap.get(t),V=r.left-$.left,oe=r.top-$.top;if(V||oe){const ie=t.el.style;return ie.transform=ie.webkitTransform=`translate(${V}px,${oe}px)`,ie.transitionDuration="0s",t}}function hasCSSTransform(t,r,$){const V=t.cloneNode();t._vtc&&t._vtc.forEach(le=>{le.split(/\s+/).forEach(ue=>ue&&V.classList.remove(ue))}),$.split(/\s+/).forEach(le=>le&&V.classList.add(le)),V.style.display="none";const oe=r.nodeType===1?r:r.parentNode;oe.appendChild(V);const{hasTransform:ie}=getTransitionInfo(V);return oe.removeChild(V),ie}const getModelAssigner=t=>{const r=t.props["onUpdate:modelValue"]||!1;return isArray$c(r)?$=>invokeArrayFns(r,$):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:$,number:V}},oe){t._assign=getModelAssigner(oe);const ie=V||oe.props&&oe.props.type==="number";addEventListener$1(t,r?"change":"input",le=>{if(le.target.composing)return;let ue=t.value;$&&(ue=ue.trim()),ie&&(ue=looseToNumber(ue)),t._assign(ue)}),$&&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:$,trim:V,number:oe}},ie){if(t._assign=getModelAssigner(ie),t.composing||document.activeElement===t&&t.type!=="range"&&($||V&&t.value.trim()===r||(oe||t.type==="number")&&looseToNumber(t.value)===r))return;const le=r??"";t.value!==le&&(t.value=le)}},vModelCheckbox={deep:!0,created(t,r,$){t._assign=getModelAssigner($),addEventListener$1(t,"change",()=>{const V=t._modelValue,oe=getValue$2(t),ie=t.checked,le=t._assign;if(isArray$c(V)){const ue=looseIndexOf(V,oe),de=ue!==-1;if(ie&&!de)le(V.concat(oe));else if(!ie&&de){const pe=[...V];pe.splice(ue,1),le(pe)}}else if(isSet$3(V)){const ue=new Set(V);ie?ue.add(oe):ue.delete(oe),le(ue)}else le(getCheckboxValue(t,ie))})},mounted:setChecked,beforeUpdate(t,r,$){t._assign=getModelAssigner($),setChecked(t,r,$)}};function setChecked(t,{value:r,oldValue:$},V){t._modelValue=r,isArray$c(r)?t.checked=looseIndexOf(r,V.props.value)>-1:isSet$3(r)?t.checked=r.has(V.props.value):r!==$&&(t.checked=looseEqual(r,getCheckboxValue(t,!0)))}const vModelRadio={created(t,{value:r},$){t.checked=looseEqual(r,$.props.value),t._assign=getModelAssigner($),addEventListener$1(t,"change",()=>{t._assign(getValue$2(t))})},beforeUpdate(t,{value:r,oldValue:$},V){t._assign=getModelAssigner(V),r!==$&&(t.checked=looseEqual(r,V.props.value))}},vModelSelect={deep:!0,created(t,{value:r,modifiers:{number:$}},V){const oe=isSet$3(r);addEventListener$1(t,"change",()=>{const ie=Array.prototype.filter.call(t.options,le=>le.selected).map(le=>$?looseToNumber(getValue$2(le)):getValue$2(le));t._assign(t.multiple?oe?new Set(ie):ie:ie[0])}),t._assign=getModelAssigner(V)},mounted(t,{value:r}){setSelected(t,r)},beforeUpdate(t,r,$){t._assign=getModelAssigner($)},updated(t,{value:r}){setSelected(t,r)}};function setSelected(t,r){const $=t.multiple;if(!($&&!isArray$c(r)&&!isSet$3(r))){for(let V=0,oe=t.options.length;V<oe;V++){const ie=t.options[V],le=getValue$2(ie);if($)isArray$c(r)?ie.selected=looseIndexOf(r,le)>-1:ie.selected=r.has(le);else if(looseEqual(getValue$2(ie),r)){t.selectedIndex!==V&&(t.selectedIndex=V);return}}!$&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function getValue$2(t){return"_value"in t?t._value:t.value}function getCheckboxValue(t,r){const $=r?"_trueValue":"_falseValue";return $ in t?t[$]:r}const vModelDynamic={created(t,r,$){callModelHook(t,r,$,null,"created")},mounted(t,r,$){callModelHook(t,r,$,null,"mounted")},beforeUpdate(t,r,$,V){callModelHook(t,r,$,V,"beforeUpdate")},updated(t,r,$,V){callModelHook(t,r,$,V,"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){const le=resolveDynamicModel(t.tagName,$.props&&$.props.type)[oe];le&&le(t,r,$,V)}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 $=resolveDynamicModel(r.type.toUpperCase(),r.props&&r.props.type);if($.getSSRProps)return $.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($=>t[`${$}Key`]&&!r.includes($))},withModifiers=(t,r)=>($,...V)=>{for(let oe=0;oe<r.length;oe++){const ie=modifierGuards[r[oe]];if(ie&&ie($,r))return}return t($,...V)},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(t,r)=>$=>{if(!("key"in $))return;const V=hyphenate($.key);if(r.some(oe=>oe===V||keyNames[oe]===V))return t($)},vShow={beforeMount(t,{value:r},{transition:$}){t._vod=t.style.display==="none"?"":t.style.display,$&&r?$.beforeEnter(t):setDisplay(t,r)},mounted(t,{value:r},{transition:$}){$&&r&&$.enter(t)},updated(t,{value:r,oldValue:$},{transition:V}){!r!=!$&&(V?r?(V.beforeEnter(t),setDisplay(t,!0),V.enter(t)):V.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:$}=r;return r.mount=V=>{const oe=normalizeContainer(V);if(!oe)return;const ie=r._component;!isFunction$5(ie)&&!ie.render&&!ie.template&&(ie.template=oe.innerHTML),oe.innerHTML="";const le=$(oe,!1,oe instanceof SVGElement);return oe instanceof Element&&(oe.removeAttribute("v-cloak"),oe.setAttribute("data-v-app","")),le},r},createSSRApp=(...t)=>{const r=ensureHydrationRenderer().createApp(...t),{mount:$}=r;return r.mount=V=>{const oe=normalizeContainer(V);if(oe)return $(oe,!0,oe 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 $=`
|
||
<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 V=document.createElement("div");V.innerHTML=$,document.body.appendChild(V);const oe=document.querySelector("#version-rocket .refresh-button");oe.onclick=()=>{typeof(t==null?void 0:t.onRefresh)=="function"?t.onRefresh({newVersion:t.newVersion,needRefresh:t.needRefresh||!1}):window.location.reload()};const ie=document.querySelector("#version-rocket .cancel-button");ie&&(ie.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 $=`${(r==null?void 0:r.map(le=>le.toString()).join(`;
|
||
|
||
`))||""}`,V=new Blob([`
|
||
${$};
|
||
(${t.toString()})();
|
||
`]),oe=window.URL.createObjectURL(V);return new Worker(oe)},createWorkerFunc=()=>{let t="";const r=new Set;let $=5e3,V=!1,oe="",ie=[],le="one",ue=null,de=!1;const pe=self;return pe.onmessage=he=>{t=he.data["version-key"],$=he.data["polling-time"],V=he.data.immediate,oe=he.data["origin-version-file-url"],ie=he.data["check-origin-specified-files-url"],le=he.data["check-origin-specified-files-url-mode"],de=he.data["clear-interval-on-dialog"];const _e=checkVersionTypeFunc(t,oe,ie);_e||pe.postMessage({invalidParams:!0});const $e=()=>{if(_e==="check-version"&&fetch(`${oe}?${+new Date}`).then(Ie=>Ie.json()).then(Ie=>{t!==Ie.version&&(pe.postMessage({refreshPageVisible:!0,refreshPageVersion:`${Ie.version}`,external:Ie.external}),de&&clearInterval(ue))}),_e==="check-specified-files"){if(!(ie!=null&&ie.length))return;ie.forEach(Ie=>{fetch(Ie).then(Ve=>Ve.headers.get("ETag")||Ve.headers.get("Last-Modified")).then(Ve=>{Ve&&r.add(Ve),le==="one"&&r.size>ie.length&&(pe.postMessage({refreshPageVisible:!0,refreshPageVersion:"",external:""}),r.clear(),de&&clearInterval(ue)),le==="all"&&r.size===ie.length*2&&(pe.postMessage({refreshPageVisible:!0,refreshPageVersion:"",external:""}),r.clear(),de&&clearInterval(ue))})})}};V&&$e(),ue=setInterval($e,$)},pe},cancelUpdateFunc=(t,r,$,V)=>{const oe=t||(r?"ignore-current-version":"ignore-current-window"),ie=localStorage.getItem("version-rocket:cancelled")||"",le=new Date().toLocaleDateString(),ue=sessionStorage.getItem("version-rocket:cancelled")||"",de=$||!1;switch(oe){case"ignore-current-version":if(r&&ie===r)return de&&(V==null||V.terminate()),!0;case"ignore-today":if(ie===le)return de&&(V==null||V.terminate()),!0;break;case"ignore-current-window":if(ue)return de&&(V==null||V.terminate()),!0;break}return!1};function checkVersionTypeFunc(t,r,$){const V=t&&r?"check-version":$!=null&&$.length?"check-specified-files":"";return V?(console.log("You are use check version type is",V),V):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=$=>{var V;if(!cancelUpdateFunc(r==null?void 0:r.cancelMode,(V=$.data)===null||V===void 0?void 0:V.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($.data);else{const{title:ie,description:le,buttonText:ue,cancelButtonText:de,cancelMode:pe,imageUrl:he,rocketColor:_e,primaryColor:$e,buttonStyle:Ie}=r||{},{onRefresh:Ve,onCancel:Fe}=t||{};versionTipDialog({title:ie,description:le,buttonText:ue,cancelButtonText:de,cancelMode:pe,imageUrl:he,rocketColor:_e,primaryColor:$e,buttonStyle:Ie,newVersion:$.data.refreshPageVersion,needRefresh:$.data.refreshPageVersion,onRefresh:Ve,onCancel:Fe})}})},unCheckVersion=({closeDialog:t=!1,closeWorker:r=!0})=>{if(r&&(worker==null||worker.terminate()),t){const $=document.querySelector("#version-rocket"),V=$==null?void 0:$.parentElement;$&&V&&V.removeChild($)}},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,...$){let V;r.includes("mouse")||r.includes("click")?V="MouseEvents":r.includes("key")?V="KeyboardEvent":V="HTMLEvents";const oe=document.createEvent(V);return oe.initEvent(r,...$),t.dispatchEvent(oe),t},isLeaf=t=>!t.getAttribute("aria-owns"),getSibling=(t,r,$)=>{const{parentNode:V}=t;if(!V)return null;const oe=V.querySelectorAll($),ie=Array.prototype.indexOf.call(oe,t);return oe[ie+r]||null},focusNode=t=>{t&&(t.focus(),!isLeaf(t)&&t.click())},composeEventHandlers=(t,r,{checkForDefaultPrevented:$=!0}={})=>oe=>{const ie=t==null?void 0:t(oe);if($===!1||!ie)return r==null?void 0:r(oe)},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,$)=>r in t?__defProp$9(t,r,{enumerable:!0,configurable:!0,writable:!0,value:$}):t[r]=$,__spreadValues$9=(t,r)=>{for(var $ in r||(r={}))__hasOwnProp$b.call(r,$)&&__defNormalProp$9(t,$,r[$]);if(__getOwnPropSymbols$b)for(var $ of __getOwnPropSymbols$b(r))__propIsEnum$b.call(r,$)&&__defNormalProp$9(t,$,r[$]);return t},__spreadProps$6=(t,r)=>__defProps$6(t,__getOwnPropDescs$6(r));function computedEager(t,r){var $;const V=shallowRef();return watchEffect(()=>{V.value=t()},__spreadProps$6(__spreadValues$9({},r),{flush:($=r==null?void 0:r.flush)!=null?$:"sync"})),readonly(V)}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){return new Promise((oe,ie)=>{Promise.resolve(t(()=>r.apply(this,V),{fn:r,thisArg:this,args:V})).then(oe).catch(ie)})}return $}function debounceFilter$1(t,r={}){let $,V,oe=noop$6;const ie=ue=>{clearTimeout(ue),oe(),oe=noop$6};return ue=>{const de=resolveUnref(t),pe=resolveUnref(r.maxWait);return $&&ie($),de<=0||pe!==void 0&&pe<=0?(V&&(ie(V),V=null),Promise.resolve(ue())):new Promise((he,_e)=>{oe=r.rejectOnCancel?_e:he,pe&&!V&&(V=setTimeout(()=>{$&&ie($),V=null,he(ue())},pe)),$=setTimeout(()=>{V&&ie(V),V=null,he(ue())},de)})}}function throttleFilter(t,r=!0,$=!0,V=!1){let oe=0,ie,le=!0,ue=noop$6,de;const pe=()=>{ie&&(clearTimeout(ie),ie=void 0,ue(),ue=noop$6)};return _e=>{const $e=resolveUnref(t),Ie=Date.now()-oe,Ve=()=>de=_e();return pe(),$e<=0?(oe=Date.now(),Ve()):(Ie>$e&&($||!le)?(oe=Date.now(),Ve()):r&&(de=new Promise((Fe,Ue)=>{ue=V?Ue:Fe,ie=setTimeout(()=>{oe=Date.now(),le=!0,Fe(Ve()),pe()},Math.max(0,$e-Ie))})),!$&&!ie&&(ie=setTimeout(()=>le=!0,$e)),le=!1,de)}}function identity$2(t){return t}function tryOnScopeDispose$1(t){return getCurrentScope()?(onScopeDispose(t),!0):!1}function useDebounceFn$1(t,r=200,$={}){return createFilterWrapper$1(debounceFilter$1(r,$),t)}function refDebounced(t,r=200,$={}){const V=ref(t.value),oe=useDebounceFn$1(()=>{V.value=t.value},r,$);return watch(t,()=>oe()),V}function useThrottleFn(t,r=200,$=!1,V=!0,oe=!1){return createFilterWrapper$1(throttleFilter(r,$,V,oe),t)}function tryOnMounted$1(t,r=!0){getCurrentInstance()?onMounted(t):r?t():nextTick(t)}function useTimeoutFn$1(t,r,$={}){const{immediate:V=!0}=$,oe=ref(!1);let ie=null;function le(){ie&&(clearTimeout(ie),ie=null)}function ue(){oe.value=!1,le()}function de(...pe){le(),oe.value=!0,ie=setTimeout(()=>{oe.value=!1,ie=null,t(...pe)},resolveUnref(r))}return V&&(oe.value=!0,isClient$1&&de()),tryOnScopeDispose$1(ue),{isPending:readonly(oe),start:de,stop:ue}}function unrefElement$1(t){var r;const $=resolveUnref(t);return(r=$==null?void 0:$.$el)!=null?r:$}const defaultWindow$1=isClient$1?window:void 0,defaultDocument$1=isClient$1?window.document:void 0;function useEventListener$1(...t){let r,$,V,oe;if(isString$5(t[0])||Array.isArray(t[0])?([$,V,oe]=t,r=defaultWindow$1):[r,$,V,oe]=t,!r)return noop$6;Array.isArray($)||($=[$]),Array.isArray(V)||(V=[V]);const ie=[],le=()=>{ie.forEach(he=>he()),ie.length=0},ue=(he,_e,$e,Ie)=>(he.addEventListener(_e,$e,Ie),()=>he.removeEventListener(_e,$e,Ie)),de=watch(()=>[unrefElement$1(r),resolveUnref(oe)],([he,_e])=>{le(),he&&ie.push(...$.flatMap($e=>V.map(Ie=>ue(he,$e,Ie,_e))))},{immediate:!0,flush:"post"}),pe=()=>{de(),le()};return tryOnScopeDispose$1(pe),pe}let _iOSWorkaround$1=!1;function onClickOutside$1(t,r,$={}){const{window:V=defaultWindow$1,ignore:oe=[],capture:ie=!0,detectIframe:le=!1}=$;if(!V)return;isIOS$1&&!_iOSWorkaround$1&&(_iOSWorkaround$1=!0,Array.from(V.document.body.children).forEach($e=>$e.addEventListener("click",noop$6)));let ue=!0;const de=$e=>oe.some(Ie=>{if(typeof Ie=="string")return Array.from(V.document.querySelectorAll(Ie)).some(Ve=>Ve===$e.target||$e.composedPath().includes(Ve));{const Ve=unrefElement$1(Ie);return Ve&&($e.target===Ve||$e.composedPath().includes(Ve))}}),he=[useEventListener$1(V,"click",$e=>{const Ie=unrefElement$1(t);if(!(!Ie||Ie===$e.target||$e.composedPath().includes(Ie))){if($e.detail===0&&(ue=!de($e)),!ue){ue=!0;return}r($e)}},{passive:!0,capture:ie}),useEventListener$1(V,"pointerdown",$e=>{const Ie=unrefElement$1(t);Ie&&(ue=!$e.composedPath().includes(Ie)&&!de($e))},{passive:!0}),le&&useEventListener$1(V,"blur",$e=>{var Ie;const Ve=unrefElement$1(t);((Ie=V.document.activeElement)==null?void 0:Ie.tagName)==="IFRAME"&&!(Ve!=null&&Ve.contains(V.document.activeElement))&&r($e)})].filter(Boolean);return()=>he.forEach($e=>$e())}function useSupported$1(t,r=!1){const $=ref(),V=()=>$.value=!!t();return V(),tryOnMounted$1(V,r),$}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:$=defaultWindow$1,initialValue:V=""}={}){const oe=ref(V),ie=computed(()=>{var le;return unrefElement$1(r)||((le=$==null?void 0:$.document)==null?void 0:le.documentElement)});return watch([ie,()=>resolveUnref(t)],([le,ue])=>{var de;if(le&&$){const pe=(de=$.getComputedStyle(le).getPropertyValue(ue))==null?void 0:de.trim();oe.value=pe||V}},{immediate:!0}),watch(oe,le=>{var ue;(ue=ie.value)!=null&&ue.style&&ie.value.style.setProperty(resolveUnref(t),le)}),oe}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 $={};for(var V in t)__hasOwnProp$g.call(t,V)&&r.indexOf(V)<0&&($[V]=t[V]);if(t!=null&&__getOwnPropSymbols$g)for(var V of __getOwnPropSymbols$g(t))r.indexOf(V)<0&&__propIsEnum$g.call(t,V)&&($[V]=t[V]);return $};function useResizeObserver$1(t,r,$={}){const V=$,{window:oe=defaultWindow$1}=V,ie=__objRest$2(V,["window"]);let le;const ue=useSupported$1(()=>oe&&"ResizeObserver"in oe),de=()=>{le&&(le.disconnect(),le=void 0)},pe=watch(()=>unrefElement$1(t),_e=>{de(),ue.value&&oe&&_e&&(le=new ResizeObserver(r),le.observe(_e,ie))},{immediate:!0,flush:"post"}),he=()=>{de(),pe()};return tryOnScopeDispose$1(he),{isSupported:ue,stop:he}}function useElementBounding(t,r={}){const{reset:$=!0,windowResize:V=!0,windowScroll:oe=!0,immediate:ie=!0}=r,le=ref(0),ue=ref(0),de=ref(0),pe=ref(0),he=ref(0),_e=ref(0),$e=ref(0),Ie=ref(0);function Ve(){const Fe=unrefElement$1(t);if(!Fe){$&&(le.value=0,ue.value=0,de.value=0,pe.value=0,he.value=0,_e.value=0,$e.value=0,Ie.value=0);return}const Ue=Fe.getBoundingClientRect();le.value=Ue.height,ue.value=Ue.bottom,de.value=Ue.left,pe.value=Ue.right,he.value=Ue.top,_e.value=Ue.width,$e.value=Ue.x,Ie.value=Ue.y}return useResizeObserver$1(t,Ve),watch(()=>unrefElement$1(t),Fe=>!Fe&&Ve()),oe&&useEventListener$1("scroll",Ve,{capture:!0,passive:!0}),V&&useEventListener$1("resize",Ve,{passive:!0}),tryOnMounted$1(()=>{ie&&Ve()}),{height:le,bottom:ue,left:de,right:pe,top:he,width:_e,x:$e,y:Ie,update:Ve}}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,$)=>r in t?__defProp(t,r,{enumerable:!0,configurable:!0,writable:!0,value:$}):t[r]=$,__spreadValues=(t,r)=>{for(var $ in r||(r={}))__hasOwnProp.call(r,$)&&__defNormalProp(t,$,r[$]);if(__getOwnPropSymbols)for(var $ of __getOwnPropSymbols(r))__propIsEnum.call(r,$)&&__defNormalProp(t,$,r[$]);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={}){var oe,ie,le;const{clone:ue=!1,passive:de=!1,eventName:pe,deep:he=!1,defaultValue:_e}=V,$e=getCurrentInstance(),Ie=$||($e==null?void 0:$e.emit)||((oe=$e==null?void 0:$e.$emit)==null?void 0:oe.bind($e))||((le=(ie=$e==null?void 0:$e.proxy)==null?void 0:ie.$emit)==null?void 0:le.bind($e==null?void 0:$e.proxy));let Ve=pe;r||(r="modelValue"),Ve=pe||Ve||`update:${r.toString()}`;const Fe=qe=>ue?isFunction$4(ue)?ue(qe):cloneFnJSON$1(qe):qe,Ue=()=>isDef$1(t[r])?Fe(t[r]):_e;if(de){const qe=Ue(),Et=ref(qe);return watch(()=>t[r],Lt=>Et.value=Fe(Lt)),watch(Et,Lt=>{(Lt!==t[r]||he)&&Ie(Ve,Lt)},{deep:he}),Et}else return computed({get(){return Ue()},set(qe){Ie(Ve,qe)}})}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:$=1/0,initialHeight:V=1/0,listenOrientation:oe=!0,includeScrollbar:ie=!0}=t,le=ref($),ue=ref(V),de=()=>{r&&(ie?(le.value=r.innerWidth,ue.value=r.innerHeight):(le.value=r.document.documentElement.clientWidth,ue.value=r.document.documentElement.clientHeight))};return de(),tryOnMounted$1(de),useEventListener$1("resize",de,{passive:!0}),oe&&useEventListener$1("orientationchange",de,{passive:!0}),{width:le,height:ue}}const isFirefox=()=>isClient$1&&/firefox/i.test(window.navigator.userAgent),isInContainer=(t,r)=>{if(!isClient$1||!t||!r)return!1;const $=t.getBoundingClientRect();let V;return r instanceof Element?V=r.getBoundingClientRect():V={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},$.top<V.bottom&&$.bottom>V.top&&$.right>V.left&&$.left<V.right},getOffsetTop=t=>{let r=0,$=t;for(;$;)r+=$.offsetTop,$=$.offsetParent;return r},getOffsetTopDistance=(t,r)=>Math.abs(getOffsetTop(t)-getOffsetTop(r)),getClientXY=t=>{let r,$;return t.type==="touchend"?($=t.changedTouches[0].clientY,r=t.changedTouches[0].clientX):t.type.startsWith("touch")?($=t.touches[0].clientY,r=t.touches[0].clientX):($=t.clientY,r=t.clientX),{clientX:r,clientY:$}};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$f=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$3?Symbol$3.toStringTag:void 0;function getRawTag(t){var r=hasOwnProperty$f.call(t,symToStringTag$1),$=t[symToStringTag$1];try{t[symToStringTag$1]=void 0;var V=!0}catch{}var oe=nativeObjectToString$1.call(t);return V&&(r?t[symToStringTag$1]=$:delete t[symToStringTag$1]),oe}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 $=-1,V=t==null?0:t.length,oe=Array(V);++$<V;)oe[$]=r(t[$],$,t);return oe}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$9(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$9(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=isObject$9(r)?r+"":r}if(typeof t!="string")return t===0?t:+t;t=baseTrim(t);var $=reIsBinary.test(t);return $||reIsOctal.test(t)?freeParseInt(t.slice(2),$?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),$=r%1;return r===r?$?r-$: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$9(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$e=objectProto$d.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$e).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(t){if(!isObject$9(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 $=getValue$1(t,r);return baseIsNative($)?$: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$9(r))return{};if(objectCreate)return objectCreate(r);t.prototype=r;var $=new t;return t.prototype=void 0,$}}();const baseCreate$1=baseCreate;function apply$1(t,r,$){switch($.length){case 0:return t.call(r);case 1:return t.call(r,$[0]);case 2:return t.call(r,$[0],$[1]);case 3:return t.call(r,$[0],$[1],$[2])}return t.apply(r,$)}function noop$5(){}function copyArray(t,r){var $=-1,V=t.length;for(r||(r=Array(V));++$<V;)r[$]=t[$];return r}var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(t){var r=0,$=0;return function(){var V=nativeNow(),oe=HOT_SPAN-(V-$);if($=V,oe>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 $=-1,V=t==null?0:t.length;++$<V&&r(t[$],$,t)!==!1;);return t}function baseFindIndex(t,r,$,V){for(var oe=t.length,ie=$+(V?1:-1);V?ie--:++ie<oe;)if(r(t[ie],ie,t))return ie;return-1}function baseIsNaN(t){return t!==t}function strictIndexOf(t,r,$){for(var V=$-1,oe=t.length;++V<oe;)if(t[V]===r)return V;return-1}function baseIndexOf(t,r,$){return r===r?strictIndexOf(t,r,$):baseFindIndex(t,baseIsNaN,$)}function arrayIncludes(t,r){var $=t==null?0:t.length;return!!$&&baseIndexOf(t,r,0)>-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(t,r){var $=typeof t;return r=r??MAX_SAFE_INTEGER$2,!!r&&($=="number"||$!="symbol"&&reIsUint.test(t))&&t>-1&&t%1==0&&t<r}function baseAssignValue(t,r,$){r=="__proto__"&&defineProperty$1?defineProperty$1(t,r,{configurable:!0,enumerable:!0,value:$,writable:!0}):t[r]=$}function eq(t,r){return t===r||t!==t&&r!==r}var objectProto$c=Object.prototype,hasOwnProperty$d=objectProto$c.hasOwnProperty;function assignValue(t,r,$){var V=t[r];(!(hasOwnProperty$d.call(t,r)&&eq(V,$))||$===void 0&&!(r in t))&&baseAssignValue(t,r,$)}function copyObject(t,r,$,V){var oe=!$;$||($={});for(var ie=-1,le=r.length;++ie<le;){var ue=r[ie],de=V?V($[ue],t[ue],ue,$,t):void 0;de===void 0&&(de=t[ue]),oe?baseAssignValue($,ue,de):assignValue($,ue,de)}return $}var nativeMax$2=Math.max;function overRest(t,r,$){return r=nativeMax$2(r===void 0?t.length-1:r,0),function(){for(var V=arguments,oe=-1,ie=nativeMax$2(V.length-r,0),le=Array(ie);++oe<ie;)le[oe]=V[r+oe];oe=-1;for(var ue=Array(r+1);++oe<r;)ue[oe]=V[oe];return ue[r]=$(le),apply$1(t,this,ue)}}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,$){if(!isObject$9($))return!1;var V=typeof r;return(V=="number"?isArrayLike$1($)&&isIndex(r,$.length):V=="string"&&r in $)?eq($[r],t):!1}function createAssigner(t){return baseRest(function(r,$){var V=-1,oe=$.length,ie=oe>1?$[oe-1]:void 0,le=oe>2?$[2]:void 0;for(ie=t.length>3&&typeof ie=="function"?(oe--,ie):void 0,le&&isIterateeCall($[0],$[1],le)&&(ie=oe<3?void 0:ie,oe=1),r=Object(r);++V<oe;){var ue=$[V];ue&&t(r,ue,V,ie)}return r})}var objectProto$b=Object.prototype;function isPrototype(t){var r=t&&t.constructor,$=typeof r=="function"&&r.prototype||objectProto$b;return t===$}function baseTimes(t,r){for(var $=-1,V=Array(t);++$<t;)V[$]=r($);return V}var argsTag$3="[object Arguments]";function baseIsArguments(t){return isObjectLike(t)&&baseGetTag(t)==argsTag$3}var objectProto$a=Object.prototype,hasOwnProperty$c=objectProto$a.hasOwnProperty,propertyIsEnumerable$1=objectProto$a.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(t){return isObjectLike(t)&&hasOwnProperty$c.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$b=objectProto$9.hasOwnProperty;function arrayLikeKeys(t,r){var $=isArray$b(t),V=!$&&isArguments$1(t),oe=!$&&!V&&isBuffer$3(t),ie=!$&&!V&&!oe&&isTypedArray$3(t),le=$||V||oe||ie,ue=le?baseTimes(t.length,String):[],de=ue.length;for(var pe in t)(r||hasOwnProperty$b.call(t,pe))&&!(le&&(pe=="length"||oe&&(pe=="offset"||pe=="parent")||ie&&(pe=="buffer"||pe=="byteLength"||pe=="byteOffset")||isIndex(pe,de)))&&ue.push(pe);return ue}function overArg(t,r){return function($){return t(r($))}}var nativeKeys=overArg(Object.keys,Object);const nativeKeys$1=nativeKeys;var objectProto$8=Object.prototype,hasOwnProperty$a=objectProto$8.hasOwnProperty;function baseKeys(t){if(!isPrototype(t))return nativeKeys$1(t);var r=[];for(var $ in Object(t))hasOwnProperty$a.call(t,$)&&$!="constructor"&&r.push($);return r}function keys$1(t){return isArrayLike$1(t)?arrayLikeKeys(t):baseKeys(t)}function nativeKeysIn(t){var r=[];if(t!=null)for(var $ in Object(t))r.push($);return r}var objectProto$7=Object.prototype,hasOwnProperty$9=objectProto$7.hasOwnProperty;function baseKeysIn(t){if(!isObject$9(t))return nativeKeysIn(t);var r=isPrototype(t),$=[];for(var V in t)V=="constructor"&&(r||!hasOwnProperty$9.call(t,V))||$.push(V);return $}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 $=typeof t;return $=="number"||$=="symbol"||$=="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$8=objectProto$6.hasOwnProperty;function hashGet(t){var r=this.__data__;if(nativeCreate$1){var $=r[t];return $===HASH_UNDEFINED$2?void 0:$}return hasOwnProperty$8.call(r,t)?r[t]:void 0}var objectProto$5=Object.prototype,hasOwnProperty$7=objectProto$5.hasOwnProperty;function hashHas(t){var r=this.__data__;return nativeCreate$1?r[t]!==void 0:hasOwnProperty$7.call(r,t)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(t,r){var $=this.__data__;return this.size+=this.has(t)?0:1,$[t]=nativeCreate$1&&r===void 0?HASH_UNDEFINED$1:r,this}function Hash(t){var r=-1,$=t==null?0:t.length;for(this.clear();++r<$;){var V=t[r];this.set(V[0],V[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 $=t.length;$--;)if(eq(t[$][0],r))return $;return-1}var arrayProto$1=Array.prototype,splice=arrayProto$1.splice;function listCacheDelete(t){var r=this.__data__,$=assocIndexOf(r,t);if($<0)return!1;var V=r.length-1;return $==V?r.pop():splice.call(r,$,1),--this.size,!0}function listCacheGet$1(t){var r=this.__data__,$=assocIndexOf(r,t);return $<0?void 0:r[$][1]}function listCacheHas(t){return assocIndexOf(this.__data__,t)>-1}function listCacheSet$1(t,r){var $=this.__data__,V=assocIndexOf($,t);return V<0?(++this.size,$.push([t,r])):$[V][1]=r,this}function ListCache(t){var r=-1,$=t==null?0:t.length;for(this.clear();++r<$;){var V=t[r];this.set(V[0],V[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 $=t.__data__;return isKeyable(r)?$[typeof r=="string"?"string":"hash"]:$.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 $=getMapData(this,t),V=$.size;return $.set(t,r),this.size+=$.size==V?0:1,this}function MapCache(t){var r=-1,$=t==null?0:t.length;for(this.clear();++r<$;){var V=t[r];this.set(V[0],V[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 $=function(){var V=arguments,oe=r?r.apply(this,V):V[0],ie=$.cache;if(ie.has(oe))return ie.get(oe);var le=t.apply(this,V);return $.cache=ie.set(oe,le)||ie,le};return $.cache=new(memoize.Cache||MapCache),$}memoize.Cache=MapCache;var MAX_MEMOIZE_SIZE=500;function memoizeCapped(t){var r=memoize(t,function(V){return $.size===MAX_MEMOIZE_SIZE&&$.clear(),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){r.push(oe?ie.replace(reEscapeChar$1,"$1"):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 $=0,V=r.length;t!=null&&$<V;)t=t[toKey(r[$++])];return $&&$==V?t:void 0}function get$1(t,r,$){var V=t==null?void 0:baseGet(t,r);return V===void 0?$:V}function arrayPush(t,r){for(var $=-1,V=r.length,oe=t.length;++$<V;)t[oe+$]=r[$];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){var ie=-1,le=t.length;for($||($=isFlattenable),oe||(oe=[]);++ie<le;){var ue=t[ie];r>0&&$(ue)?r>1?baseFlatten(ue,r-1,$,V,oe):arrayPush(oe,ue):V||(oe[oe.length]=ue)}return oe}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$6=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 $=hasOwnProperty$6.call(r,"constructor")&&r.constructor;return typeof $=="function"&&$ instanceof $&&funcToString.call($)==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__,$=r.delete(t);return this.size=r.size,$}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 $=this.__data__;if($ instanceof ListCache){var V=$.__data__;if(!Map$2||V.length<LARGE_ARRAY_SIZE$1-1)return V.push([t,r]),this.size=++$.size,this;$=this.__data__=new MapCache(V)}return $.set(t,r),this.size=$.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 $=t.length,V=allocUnsafe?allocUnsafe($):new t.constructor($);return t.copy(V),V}function arrayFilter(t,r){for(var $=-1,V=t==null?0:t.length,oe=0,ie=[];++$<V;){var le=t[$];r(le,$,t)&&(ie[oe++]=le)}return ie}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,$){var V=r(t);return isArray$b(t)?V:arrayPush(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),$=r==objectTag$2?t.constructor:void 0,V=$?toSource($):"";if(V)switch(V){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$5=objectProto$2.hasOwnProperty;function initCloneArray(t){var r=t.length,$=new t.constructor(r);return r&&typeof t[0]=="string"&&hasOwnProperty$5.call(t,"index")&&($.index=t.index,$.input=t.input),$}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 $=r?cloneArrayBuffer(t.buffer):t.buffer;return new t.constructor($,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 $=r?cloneArrayBuffer(t.buffer):t.buffer;return new t.constructor($,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,$){var V=t.constructor;switch(r){case arrayBufferTag$2:return cloneArrayBuffer(t);case boolTag$2:case dateTag$2:return new V(+t);case dataViewTag$2:return cloneDataView(t,$);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,$);case mapTag$3:return new V;case numberTag$2:case stringTag$2:return new V(t);case regexpTag$2:return cloneRegExp(t);case setTag$3:return new V;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){var le,ue=r&CLONE_DEEP_FLAG$1,de=r&CLONE_FLAT_FLAG,pe=r&CLONE_SYMBOLS_FLAG$2;if($&&(le=oe?$(t,V,oe,ie):$(t)),le!==void 0)return le;if(!isObject$9(t))return t;var he=isArray$b(t);if(he){if(le=initCloneArray(t),!ue)return copyArray(t,le)}else{var _e=getTag$1(t),$e=_e==funcTag||_e==genTag;if(isBuffer$3(t))return cloneBuffer(t,ue);if(_e==objectTag$1||_e==argsTag$1||$e&&!oe){if(le=de||$e?{}:initCloneObject(t),!ue)return de?copySymbolsIn(t,baseAssignIn(le,t)):copySymbols(t,baseAssign(le,t))}else{if(!cloneableTags[_e])return oe?t:{};le=initCloneByTag(t,_e,ue)}}ie||(ie=new Stack);var Ie=ie.get(t);if(Ie)return Ie;ie.set(t,le),isSet$2(t)?t.forEach(function(Ue){le.add(baseClone(Ue,r,$,Ue,t,ie))}):isMap$2(t)&&t.forEach(function(Ue,qe){le.set(qe,baseClone(Ue,r,$,qe,t,ie))});var Ve=pe?de?getAllKeysIn:getAllKeys:de?keysIn:keys$1,Fe=he?void 0:Ve(t);return arrayEach(Fe||t,function(Ue,qe){Fe&&(qe=Ue,Ue=t[qe]),assignValue(le,qe,baseClone(Ue,r,$,qe,t,ie))}),le}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,$=t==null?0:t.length;for(this.__data__=new MapCache;++r<$;)this.add(t[r])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome(t,r){for(var $=-1,V=t==null?0:t.length;++$<V;)if(r(t[$],$,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){var le=$&COMPARE_PARTIAL_FLAG$5,ue=t.length,de=r.length;if(ue!=de&&!(le&&de>ue))return!1;var pe=ie.get(t),he=ie.get(r);if(pe&&he)return pe==r&&he==t;var _e=-1,$e=!0,Ie=$&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(ie.set(t,r),ie.set(r,t);++_e<ue;){var Ve=t[_e],Fe=r[_e];if(V)var Ue=le?V(Fe,Ve,_e,r,t,ie):V(Ve,Fe,_e,t,r,ie);if(Ue!==void 0){if(Ue)continue;$e=!1;break}if(Ie){if(!arraySome(r,function(qe,Et){if(!cacheHas(Ie,Et)&&(Ve===qe||oe(Ve,qe,$,V,ie)))return Ie.push(Et)})){$e=!1;break}}else if(!(Ve===Fe||oe(Ve,Fe,$,V,ie))){$e=!1;break}}return ie.delete(t),ie.delete(r),$e}function mapToArray(t){var r=-1,$=Array(t.size);return t.forEach(function(V,oe){$[++r]=[oe,V]}),$}function setToArray(t){var r=-1,$=Array(t.size);return t.forEach(function(V){$[++r]=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){switch($){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||!ie(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 ue=mapToArray;case setTag:var de=V&COMPARE_PARTIAL_FLAG$4;if(ue||(ue=setToArray),t.size!=r.size&&!de)return!1;var pe=le.get(t);if(pe)return pe==r;V|=COMPARE_UNORDERED_FLAG$2,le.set(t,r);var he=equalArrays(ue(t),ue(r),V,oe,ie,le);return le.delete(t),he;case symbolTag:if(symbolValueOf)return symbolValueOf.call(t)==symbolValueOf.call(r)}return!1}var COMPARE_PARTIAL_FLAG$3=1,objectProto$1=Object.prototype,hasOwnProperty$4=objectProto$1.hasOwnProperty;function equalObjects(t,r,$,V,oe,ie){var le=$&COMPARE_PARTIAL_FLAG$3,ue=getAllKeys(t),de=ue.length,pe=getAllKeys(r),he=pe.length;if(de!=he&&!le)return!1;for(var _e=de;_e--;){var $e=ue[_e];if(!(le?$e in r:hasOwnProperty$4.call(r,$e)))return!1}var Ie=ie.get(t),Ve=ie.get(r);if(Ie&&Ve)return Ie==r&&Ve==t;var Fe=!0;ie.set(t,r),ie.set(r,t);for(var Ue=le;++_e<de;){$e=ue[_e];var qe=t[$e],Et=r[$e];if(V)var Lt=le?V(Et,qe,$e,r,t,ie):V(qe,Et,$e,t,r,ie);if(!(Lt===void 0?qe===Et||oe(qe,Et,$,V,ie):Lt)){Fe=!1;break}Ue||(Ue=$e=="constructor")}if(Fe&&!Ue){var hn=t.constructor,Cn=r.constructor;hn!=Cn&&"constructor"in t&&"constructor"in r&&!(typeof hn=="function"&&hn instanceof hn&&typeof Cn=="function"&&Cn instanceof Cn)&&(Fe=!1)}return ie.delete(t),ie.delete(r),Fe}var COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty$3=objectProto.hasOwnProperty;function baseIsEqualDeep(t,r,$,V,oe,ie){var le=isArray$b(t),ue=isArray$b(r),de=le?arrayTag:getTag$1(t),pe=ue?arrayTag:getTag$1(r);de=de==argsTag?objectTag:de,pe=pe==argsTag?objectTag:pe;var he=de==objectTag,_e=pe==objectTag,$e=de==pe;if($e&&isBuffer$3(t)){if(!isBuffer$3(r))return!1;le=!0,he=!1}if($e&&!he)return ie||(ie=new Stack),le||isTypedArray$3(t)?equalArrays(t,r,$,V,oe,ie):equalByTag(t,r,de,$,V,oe,ie);if(!($&COMPARE_PARTIAL_FLAG$2)){var Ie=he&&hasOwnProperty$3.call(t,"__wrapped__"),Ve=_e&&hasOwnProperty$3.call(r,"__wrapped__");if(Ie||Ve){var Fe=Ie?t.value():t,Ue=Ve?r.value():r;return ie||(ie=new Stack),oe(Fe,Ue,$,V,ie)}}return $e?(ie||(ie=new Stack),equalObjects(t,r,$,V,oe,ie)):!1}function baseIsEqual(t,r,$,V,oe){return t===r?!0:t==null||r==null||!isObjectLike(t)&&!isObjectLike(r)?t!==t&&r!==r:baseIsEqualDeep(t,r,$,V,baseIsEqual,oe)}var COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch(t,r,$,V){var oe=$.length,ie=oe,le=!V;if(t==null)return!ie;for(t=Object(t);oe--;){var ue=$[oe];if(le&&ue[2]?ue[1]!==t[ue[0]]:!(ue[0]in t))return!1}for(;++oe<ie;){ue=$[oe];var de=ue[0],pe=t[de],he=ue[1];if(le&&ue[2]){if(pe===void 0&&!(de in t))return!1}else{var _e=new Stack;if(V)var $e=V(pe,he,de,t,r,_e);if(!($e===void 0?baseIsEqual(he,pe,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,V,_e):$e))return!1}}return!0}function isStrictComparable(t){return t===t&&!isObject$9(t)}function getMatchData(t){for(var r=keys$1(t),$=r.length;$--;){var V=r[$],oe=t[V];r[$]=[V,oe,isStrictComparable(oe)]}return r}function matchesStrictComparable(t,r){return function($){return $==null?!1:$[t]===r&&(r!==void 0||t in Object($))}}function baseMatches(t){var r=getMatchData(t);return r.length==1&&r[0][2]?matchesStrictComparable(r[0][0],r[0][1]):function($){return $===t||baseIsMatch($,t,r)}}function baseHasIn(t,r){return t!=null&&r in Object(t)}function hasPath(t,r,$){r=castPath(r,t);for(var V=-1,oe=r.length,ie=!1;++V<oe;){var le=toKey(r[V]);if(!(ie=t!=null&&$(t,le)))break;t=t[le]}return ie||++V!=oe?ie:(oe=t==null?0:t.length,!!oe&&isLength(oe)&&isIndex(le,oe)&&(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($){var V=get$1($,t);return V===void 0&&V===r?hasIn($,t):baseIsEqual(r,V,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){for(var oe=-1,ie=Object(r),le=V(r),ue=le.length;ue--;){var de=le[t?ue:++oe];if($(ie[de],de,ie)===!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){if($==null)return $;if(!isArrayLike$1($))return t($,V);for(var oe=$.length,ie=r?oe:-1,le=Object($);(r?ie--:++ie<oe)&&V(le[ie],ie,le)!==!1;);return $}}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,$){var V,oe,ie,le,ue,de,pe=0,he=!1,_e=!1,$e=!0;if(typeof t!="function")throw new TypeError(FUNC_ERROR_TEXT$1);r=toNumber(r)||0,isObject$9($)&&(he=!!$.leading,_e="maxWait"in $,ie=_e?nativeMax$1(toNumber($.maxWait)||0,r):ie,$e="trailing"in $?!!$.trailing:$e);function Ie(bn){var Sn=V,En=oe;return V=oe=void 0,pe=bn,le=t.apply(En,Sn),le}function Ve(bn){return pe=bn,ue=setTimeout(qe,r),he?Ie(bn):le}function Fe(bn){var Sn=bn-de,En=bn-pe,wn=r-Sn;return _e?nativeMin$1(wn,ie-En):wn}function Ue(bn){var Sn=bn-de,En=bn-pe;return de===void 0||Sn>=r||Sn<0||_e&&En>=ie}function qe(){var bn=now$1();if(Ue(bn))return Et(bn);ue=setTimeout(qe,Fe(bn))}function Et(bn){return ue=void 0,$e&&V?Ie(bn):(V=oe=void 0,le)}function Lt(){ue!==void 0&&clearTimeout(ue),pe=0,V=de=oe=ue=void 0}function hn(){return ue===void 0?le:Et(now$1())}function Cn(){var bn=now$1(),Sn=Ue(bn);if(V=arguments,oe=this,de=bn,Sn){if(ue===void 0)return Ve(de);if(_e)return clearTimeout(ue),ue=setTimeout(qe,r),Ie(de)}return ue===void 0&&(ue=setTimeout(qe,r)),le}return Cn.cancel=Lt,Cn.flush=hn,Cn}function assignMergeValue(t,r,$){($!==void 0&&!eq(t[r],$)||$===void 0&&!(r in t))&&baseAssignValue(t,r,$)}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){var ue=safeGet(t,$),de=safeGet(r,$),pe=le.get(de);if(pe){assignMergeValue(t,$,pe);return}var he=ie?ie(ue,de,$+"",t,r,le):void 0,_e=he===void 0;if(_e){var $e=isArray$b(de),Ie=!$e&&isBuffer$3(de),Ve=!$e&&!Ie&&isTypedArray$3(de);he=de,$e||Ie||Ve?isArray$b(ue)?he=ue:isArrayLikeObject(ue)?he=copyArray(ue):Ie?(_e=!1,he=cloneBuffer(de,!0)):Ve?(_e=!1,he=cloneTypedArray(de,!0)):he=[]:isPlainObject$3(de)||isArguments$1(de)?(he=ue,isArguments$1(ue)?he=toPlainObject(ue):(!isObject$9(ue)||isFunction$3(ue))&&(he=initCloneObject(de))):_e=!1}_e&&(le.set(de,he),oe(he,de,V,ie,le),le.delete(de)),assignMergeValue(t,$,he)}function baseMerge(t,r,$,V,oe){t!==r&&baseFor$1(r,function(ie,le){if(oe||(oe=new Stack),isObject$9(ie))baseMergeDeep(t,r,le,$,baseMerge,V,oe);else{var ue=V?V(safeGet(t,le),ie,le+"",t,r,oe):void 0;ue===void 0&&(ue=ie),assignMergeValue(t,le,ue)}},keysIn)}function arrayIncludesWith(t,r,$){for(var V=-1,oe=t==null?0:t.length;++V<oe;)if($(r,t[V]))return!0;return!1}var nativeMax=Math.max,nativeMin=Math.min;function findLastIndex(t,r,$){var V=t==null?0:t.length;if(!V)return-1;var oe=V-1;return $!==void 0&&(oe=toInteger($),oe=$<0?nativeMax(V+oe,0):nativeMin(oe,V-1)),baseFindIndex(t,baseIteratee(r),oe,!0)}function baseMap(t,r){var $=-1,V=isArrayLike$1(t)?Array(t.length):[];return baseEach$1(t,function(oe,ie,le){V[++$]=r(oe,ie,le)}),V}function map$3(t,r){var $=isArray$b(t)?arrayMap:baseMap;return $(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,$=t==null?0:t.length,V={};++r<$;){var oe=t[r];V[oe[0]]=oe[1]}return V}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,$){baseMerge(t,r,$)});const merge$4=merge$3;function baseSet(t,r,$,V){if(!isObject$9(t))return t;r=castPath(r,t);for(var oe=-1,ie=r.length,le=ie-1,ue=t;ue!=null&&++oe<ie;){var de=toKey(r[oe]),pe=$;if(de==="__proto__"||de==="constructor"||de==="prototype")return t;if(oe!=le){var he=ue[de];pe=V?V(he,de,ue):void 0,pe===void 0&&(pe=isObject$9(he)?he:isIndex(r[oe+1])?[]:{})}assignValue(ue,de,pe),ue=ue[de]}return t}function basePickBy(t,r,$){for(var V=-1,oe=r.length,ie={};++V<oe;){var le=r[V],ue=baseGet(t,le);$(ue,le)&&baseSet(ie,castPath(le,t),ue)}return ie}function basePick(t,r){return basePickBy(t,r,function($,V){return hasIn(t,V)})}var pick=flatRest(function(t,r){return t==null?{}:basePick(t,r)});const pick$1=pick;function set$2(t,r,$){return t==null?t:baseSet(t,r,$)}var FUNC_ERROR_TEXT="Expected a function";function throttle$1(t,r,$){var V=!0,oe=!0;if(typeof t!="function")throw new TypeError(FUNC_ERROR_TEXT);return isObject$9($)&&(V="leading"in $?!!$.leading:V,oe="trailing"in $?!!$.trailing:oe),debounce(t,r,{leading:V,maxWait:r,trailing:oe})}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,$){var V=-1,oe=arrayIncludes,ie=t.length,le=!0,ue=[],de=ue;if($)le=!1,oe=arrayIncludesWith;else if(ie>=LARGE_ARRAY_SIZE){var pe=r?null:createSet$1(t);if(pe)return setToArray(pe);le=!1,oe=cacheHas,de=new SetCache}else de=r?[]:ue;e:for(;++V<ie;){var he=t[V],_e=r?r(he):he;if(he=$||he!==0?he:0,le&&_e===_e){for(var $e=de.length;$e--;)if(de[$e]===_e)continue e;r&&de.push(_e),ue.push(he)}else oe(de,_e,$)||(de!==ue&&de.push(_e),ue.push(he))}return ue}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$a(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,$)=>({get value(){return get$1(t,r,$)},set value(V){set$2(t,r,V)}});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 $;if(!isClient$1||!t||!r)return"";let V=camelize(r);V==="float"&&(V="cssFloat");try{const oe=t.style[V];if(oe)return oe;const ie=($=document.defaultView)==null?void 0:$.getComputedStyle(t,"");return ie?ie[V]:""}catch{return t.style[V]}};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 $={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(r)],V=getStyle$1(t,$);return["scroll","auto","overlay"].some(oe=>V.includes(oe))},getScrollContainer=(t,r)=>{if(!isClient$1)return;let $=t;for(;$;){if([window,document,document.documentElement].includes($))return window;if(isScroll($,r))return $;$=$.parentNode}return $};let scrollBarWidth;const getScrollBarWidth=t=>{var r;if(!isClient$1)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const $=document.createElement("div");$.className=`${t}-scrollbar__wrap`,$.style.visibility="hidden",$.style.width="100px",$.style.position="absolute",$.style.top="-9999px",document.body.appendChild($);const V=$.offsetWidth;$.style.overflow="scroll";const oe=document.createElement("div");oe.style.width="100%",$.appendChild(oe);const ie=oe.offsetWidth;return(r=$.parentNode)==null||r.removeChild($),scrollBarWidth=V-ie,scrollBarWidth};function scrollIntoView(t,r){if(!isClient$1)return;if(!r){t.scrollTop=0;return}const $=[];let V=r.offsetParent;for(;V!==null&&t!==V&&t.contains(V);)$.push(V),V=V.offsetParent;const oe=r.offsetTop+$.reduce((de,pe)=>de+pe.offsetTop,0),ie=oe+r.offsetHeight,le=t.scrollTop,ue=le+t.clientHeight;oe<le?t.scrollTop=oe:ie>ue&&(t.scrollTop=ie-t.clientHeight)}/*! Element Plus Icons Vue v2.1.0 */var export_helper_default=(t,r)=>{let $=t.__vccOpts||t;for(let[V,oe]of r)$[V]=oe;return $},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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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){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$a(t)&&!!t[epPropKey],buildProp=(t,r)=>{if(!isObject$a(t)||isEpProp(t))return t;const{values:$,required:V,default:oe,type:ie,validator:le}=t,de={type:ie,required:!!V,validator:$||le?pe=>{let he=!1,_e=[];if($&&(_e=Array.from($),hasOwn$4(t,"default")&&_e.push(oe),he||(he=_e.includes(pe))),le&&(he||(he=le(pe))),!he&&_e.length>0){const $e=[...new Set(_e)].map(Ie=>JSON.stringify(Ie)).join(", ");warn$2(`Invalid prop: validation failed${r?` for prop "${r}"`:""}. Expected one of [${$e}], got value ${JSON.stringify(pe)}.`)}return he}:void 0,[epPropKey]:!0};return hasOwn$4(t,"default")&&(de.default=oe),de},buildProps=t=>fromPairs(Object.entries(t).map(([r,$])=>[r,buildProp($,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=$=>{for(const V of[t,...Object.values(r??{})])$.component(V.name,V)},r)for(const[$,V]of Object.entries(r))t[$]=V;return t},withInstallFunction=(t,r)=>(t.install=$=>{t._context=$._context,$.config.globalProperties[r]=t},t),withInstallDirective=(t,r)=>(t.install=$=>{$.directive(r,t)},t),withNoopInstall=t=>(t.install=NOOP,t),composeRefs=(...t)=>r=>{t.forEach($=>{isFunction$5($)?$(r):$.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||{},$=(isVNode$1(t.type)?t.type.props:void 0)||{},V={};return Object.keys($).forEach(oe=>{hasOwn$4($[oe],"default")&&(V[oe]=$[oe].default)}),Object.keys(r).forEach(oe=>{V[camelize(oe)]=r[oe]}),V},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],$=[];return r.forEach(V=>{var oe;isArray$c(V)?$.push(...flattedChildren(V)):isVNode$1(V)&&isArray$c(V.children)?$.push(...flattedChildren(V.children)):($.push(V),isVNode$1(V)&&((oe=V.component)!=null&&oe.subTree)&&$.push(...flattedChildren(V.component.subTree)))}),$},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:$}=t,V=computed(()=>(($==null?void 0:$.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),oe=getCurrentInstance();return computed(oe?()=>{var ie;return fromPairs(Object.entries((ie=oe.proxy)==null?void 0:ie.$attrs).filter(([le])=>!V.value.includes(le)&&!(r&&LISTENER_PREFIX.test(le))))}:()=>({}))},useDeprecated=({from:t,replacement:r,scope:$,version:V,ref:oe,type:ie="API"},le)=>{watch(()=>unref(le),ue=>{},{immediate:!0})},useDraggable=(t,r,$)=>{let V={offsetX:0,offsetY:0};const oe=ue=>{const de=ue.clientX,pe=ue.clientY,{offsetX:he,offsetY:_e}=V,$e=t.value.getBoundingClientRect(),Ie=$e.left,Ve=$e.top,Fe=$e.width,Ue=$e.height,qe=document.documentElement.clientWidth,Et=document.documentElement.clientHeight,Lt=-Ie+he,hn=-Ve+_e,Cn=qe-Ie-Fe+he,bn=Et-Ve-Ue+_e,Sn=wn=>{const $n=Math.min(Math.max(he+wn.clientX-de,Lt),Cn),Tn=Math.min(Math.max(_e+wn.clientY-pe,hn),bn);V={offsetX:$n,offsetY:Tn},t.value.style.transform=`translate(${addUnit($n)}, ${addUnit(Tn)})`},En=()=>{document.removeEventListener("mousemove",Sn),document.removeEventListener("mouseup",En)};document.addEventListener("mousemove",Sn),document.addEventListener("mouseup",En)},ie=()=>{r.value&&t.value&&r.value.addEventListener("mousedown",oe)},le=()=>{r.value&&t.value&&r.value.removeEventListener("mousedown",oe)};onMounted(()=>{watchEffect(()=>{$.value?ie():le()})}),onBeforeUnmount(()=>{le()})};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,$)=>translate$2(r,$,unref(t)),translate$2=(t,r,$)=>get$1($,t,t).replace(/\{(\w+)\}/g,(V,oe)=>{var ie;return`${(ie=r==null?void 0:r[oe])!=null?ie:`{${oe}}`}`}),buildLocaleContext=t=>{const r=computed(()=>unref(t).name),$=isRef(t)?t:ref(t);return{lang:r,locale:$,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)=>{let ie=`${t}-${r}`;return $&&(ie+=`-${$}`),V&&(ie+=`__${V}`),oe&&(ie+=`--${oe}`),ie},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=t=>{const r=t||(getCurrentInstance()?inject(namespaceContextKey,ref(defaultNamespace)):ref(defaultNamespace));return computed(()=>unref(r)||defaultNamespace)},useNamespace=(t,r)=>{const $=useGetDerivedNamespace(r);return{namespace:$,b:(Fe="")=>_bem($.value,t,Fe,"",""),e:Fe=>Fe?_bem($.value,t,"",Fe,""):"",m:Fe=>Fe?_bem($.value,t,"","",Fe):"",be:(Fe,Ue)=>Fe&&Ue?_bem($.value,t,Fe,Ue,""):"",em:(Fe,Ue)=>Fe&&Ue?_bem($.value,t,"",Fe,Ue):"",bm:(Fe,Ue)=>Fe&&Ue?_bem($.value,t,Fe,"",Ue):"",bem:(Fe,Ue,qe)=>Fe&&Ue&&qe?_bem($.value,t,Fe,Ue,qe):"",is:(Fe,...Ue)=>{const qe=Ue.length>=1?Ue[0]:!0;return Fe&&qe?`${statePrefix}${Fe}`:""},cssVar:Fe=>{const Ue={};for(const qe in Fe)Fe[qe]&&(Ue[`--${$.value}-${qe}`]=Fe[qe]);return Ue},cssVarName:Fe=>`--${$.value}-${Fe}`,cssVarBlock:Fe=>{const Ue={};for(const qe in Fe)Fe[qe]&&(Ue[`--${$.value}-${t}-${qe}`]=Fe[qe]);return Ue},cssVarBlockName:Fe=>`--${$.value}-${t}-${Fe}`}},useLockscreen=(t,r={})=>{isRef(t)||throwError$1("[useLockscreen]","You need to pass a ref param to this function");const $=r.ns||useNamespace("popup"),V=computed$1(()=>$.bm("parent","hidden"));if(!isClient$1||hasClass(document.body,V.value))return;let oe=0,ie=!1,le="0";const ue=()=>{setTimeout(()=>{removeClass(document==null?void 0:document.body,V.value),ie&&document&&(document.body.style.width=le)},200)};watch(t,de=>{if(!de){ue();return}ie=!hasClass(document.body,V.value),ie&&(le=document.body.style.width),oe=getScrollBarWidth($.namespace.value);const pe=document.documentElement.clientHeight<document.body.scrollHeight,he=getStyle$1(document.body,"overflowY");oe>0&&(pe||he==="scroll")&&ie&&(document.body.style.width=`calc(100% - ${oe}px)`),addClass(document.body,V.value)}),onScopeDispose(()=>ue())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=t=>{const r=`update:${t}`,$=`onUpdate:${t}`,V=[r],oe={[t]:_prop,[$]:_event};return{useModelToggle:({indicator:le,toggleReason:ue,shouldHideWhenRouteChanges:de,shouldProceed:pe,onShow:he,onHide:_e})=>{const $e=getCurrentInstance(),{emit:Ie}=$e,Ve=$e.props,Fe=computed(()=>isFunction$5(Ve[$])),Ue=computed(()=>Ve[t]===null),qe=Sn=>{le.value!==!0&&(le.value=!0,ue&&(ue.value=Sn),isFunction$5(he)&&he(Sn))},Et=Sn=>{le.value!==!1&&(le.value=!1,ue&&(ue.value=Sn),isFunction$5(_e)&&_e(Sn))},Lt=Sn=>{if(Ve.disabled===!0||isFunction$5(pe)&&!pe())return;const En=Fe.value&&isClient$1;En&&Ie(r,!0),(Ue.value||!En)&&qe(Sn)},hn=Sn=>{if(Ve.disabled===!0||!isClient$1)return;const En=Fe.value&&isClient$1;En&&Ie(r,!1),(Ue.value||!En)&&Et(Sn)},Cn=Sn=>{isBoolean$3(Sn)&&(Ve.disabled&&Sn?Fe.value&&Ie(r,!1):le.value!==Sn&&(Sn?qe():Et()))},bn=()=>{le.value?hn():Lt()};return watch(()=>Ve[t],Cn),de&&$e.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...$e.proxy.$route}),()=>{de.value&&le.value&&hn()}),onMounted(()=>{Cn(Ve[t])}),{hide:hn,show:Lt,toggle:bn,hasUpdateHandler:Fe}},useModelToggleProps:oe,useModelToggleEmits:V}};createModelToggleComposable("modelValue");const useProp=t=>{const r=getCurrentInstance();return computed(()=>{var $,V;return(V=($=r==null?void 0:r.proxy)==null?void 0:$.$props)==null?void 0:V[t]})};var E$1="top",R$1="bottom",W$1="right",P$3="left",me="auto",G$1=[E$1,R$1,W$1,P$3],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$1="read",Ke="afterRead",Qe$1="beforeMain",Ze="main",et$1="afterMain",tt="beforeWrite",nt$1="write",rt$2="afterWrite",ot$1=[Ge$1,Je$1,Ke,Qe$1,Ze,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(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($){var V=r.styles[$]||{},oe=r.attributes[$]||{},ie=r.elements[$];!B(ie)||!C(ie)||(Object.assign(ie.style,V),Object.keys(oe).forEach(function(le){var ue=oe[le];ue===!1?ie.removeAttribute(le):ie.setAttribute(le,ue===!0?"":ue)}))})}function Rt$1(t){var r=t.state,$={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,$.popper),r.styles=$,r.elements.arrow&&Object.assign(r.elements.arrow.style,$.arrow),function(){Object.keys(r.elements).forEach(function(V){var oe=r.elements[V],ie=r.attributes[V]||{},le=Object.keys(r.styles.hasOwnProperty(V)?r.styles[V]:$[V]),ue=le.reduce(function(de,pe){return de[pe]="",de},{});!B(oe)||!C(oe)||(Object.assign(oe.style,ue),Object.keys(ie).forEach(function(de){oe.removeAttribute(de)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt$1,effect:Rt$1,requires:["computeStyles"]};function q$1(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 $=t.getBoundingClientRect(),V=1,oe=1;if(B(t)&&r){var ie=t.offsetHeight,le=t.offsetWidth;le>0&&(V=Z($.width)/le||1),ie>0&&(oe=Z($.height)/ie||1)}return{width:$.width/V,height:$.height/oe,top:$.top/oe,right:$.right/V,bottom:$.bottom/oe,left:$.left/V,x:$.left/V,y:$.top/oe}}function ke(t){var r=ee$1(t),$=t.offsetWidth,V=t.offsetHeight;return Math.abs(r.width-$)<=1&&($=r.width),Math.abs(r.height-V)<=1&&(V=r.height),{x:t.offsetLeft,y:t.offsetTop,width:$,height:V}}function it(t,r){var $=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if($&&Pe$1($)){var V=r;do{if(V&&t.isSameNode(V))return!0;V=V.parentNode||V.host}while(V)}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$3(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$3(t)}function at$1(t){return!B(t)||N$2(t).position==="fixed"?null:t.offsetParent}function Bt(t){var r=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,$=navigator.userAgent.indexOf("Trident")!==-1;if($&&B(t)){var V=N$2(t);if(V.position==="fixed")return null}var oe=ge(t);for(Pe$1(oe)&&(oe=oe.host);B(oe)&&["html","body"].indexOf(C(oe))<0;){var ie=N$2(oe);if(ie.transform!=="none"||ie.perspective!=="none"||ie.contain==="paint"||["transform","perspective"].indexOf(ie.willChange)!==-1||r&&ie.willChange==="filter"||r&&ie.filter&&ie.filter!=="none")return oe;oe=oe.parentNode}return null}function se$1(t){for(var r=H$1(t),$=at$1(t);$&&Wt$1($)&&N$2($).position==="static";)$=at$1($);return $&&(C($)==="html"||C($)==="body"&&N$2($).position==="static")?r:$||Bt(t)||r}function Le$1(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function fe(t,r,$){return X$1(t,ve(r,$))}function St(t,r,$){var V=fe(t,r,$);return V>$?$:V}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){return $[V]=t,$},{})}var Tt$1=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,$=t.state,V=t.name,oe=t.options,ie=$.elements.arrow,le=$.modifiersData.popperOffsets,ue=q$1($.placement),de=Le$1(ue),pe=[P$3,W$1].indexOf(ue)>=0,he=pe?"height":"width";if(!(!ie||!le)){var _e=Tt$1(oe.padding,$),$e=ke(ie),Ie=de==="y"?E$1:P$3,Ve=de==="y"?R$1:W$1,Fe=$.rects.reference[he]+$.rects.reference[de]-le[de]-$.rects.popper[he],Ue=le[de]-$.rects.reference[de],qe=se$1(ie),Et=qe?de==="y"?qe.clientHeight||0:qe.clientWidth||0:0,Lt=Fe/2-Ue/2,hn=_e[Ie],Cn=Et-$e[he]-_e[Ve],bn=Et/2-$e[he]/2+Lt,Sn=fe(hn,bn,Cn),En=de;$.modifiersData[V]=(r={},r[En]=Sn,r.centerOffset=Sn-bn,r)}}function Ct(t){var r=t.state,$=t.options,V=$.element,oe=V===void 0?"[data-popper-arrow]":V;oe!=null&&(typeof oe=="string"&&(oe=r.elements.popper.querySelector(oe),!oe)||!it(r.elements.popper,oe)||(r.elements.arrow=oe))}var pt$1={name:"arrow",enabled:!0,phase:"main",fn:Ht$1,effect:Ct,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,$=t.y,V=window,oe=V.devicePixelRatio||1;return{x:Z(r*oe)/oe||0,y:Z($*oe)/oe||0}}function ut(t){var r,$=t.popper,V=t.popperRect,oe=t.placement,ie=t.variation,le=t.offsets,ue=t.position,de=t.gpuAcceleration,pe=t.adaptive,he=t.roundOffsets,_e=t.isFixed,$e=le.x,Ie=$e===void 0?0:$e,Ve=le.y,Fe=Ve===void 0?0:Ve,Ue=typeof he=="function"?he({x:Ie,y:Fe}):{x:Ie,y:Fe};Ie=Ue.x,Fe=Ue.y;var qe=le.hasOwnProperty("x"),Et=le.hasOwnProperty("y"),Lt=P$3,hn=E$1,Cn=window;if(pe){var bn=se$1($),Sn="clientHeight",En="clientWidth";if(bn===H$1($)&&(bn=I$3($),N$2(bn).position!=="static"&&ue==="absolute"&&(Sn="scrollHeight",En="scrollWidth")),bn=bn,oe===E$1||(oe===P$3||oe===W$1)&&ie===J$1){hn=R$1;var wn=_e&&bn===Cn&&Cn.visualViewport?Cn.visualViewport.height:bn[Sn];Fe-=wn-V.height,Fe*=de?1:-1}if(oe===P$3||(oe===E$1||oe===R$1)&&ie===J$1){Lt=W$1;var $n=_e&&bn===Cn&&Cn.visualViewport?Cn.visualViewport.width:bn[En];Ie-=$n-V.width,Ie*=de?1:-1}}var Tn=Object.assign({position:ue},pe&&qt),xn=he===!0?Vt$1({x:Ie,y:Fe}):{x:Ie,y:Fe};if(Ie=xn.x,Fe=xn.y,de){var An;return Object.assign({},Tn,(An={},An[hn]=Et?"0":"",An[Lt]=qe?"0":"",An.transform=(Cn.devicePixelRatio||1)<=1?"translate("+Ie+"px, "+Fe+"px)":"translate3d("+Ie+"px, "+Fe+"px, 0)",An))}return Object.assign({},Tn,(r={},r[hn]=Et?Fe+"px":"",r[Lt]=qe?Ie+"px":"",r.transform="",r))}function Nt$1(t){var r=t.state,$=t.options,V=$.gpuAcceleration,oe=V===void 0?!0:V,ie=$.adaptive,le=ie===void 0?!0:ie,ue=$.roundOffsets,de=ue===void 0?!0:ue,pe={placement:q$1(r.placement),variation:te(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:oe,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,ut(Object.assign({},pe,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:le,roundOffsets:de})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,ut(Object.assign({},pe,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:de})))),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,$=t.instance,V=t.options,oe=V.scroll,ie=oe===void 0?!0:oe,le=V.resize,ue=le===void 0?!0:le,de=H$1(r.elements.popper),pe=[].concat(r.scrollParents.reference,r.scrollParents.popper);return ie&&pe.forEach(function(he){he.addEventListener("scroll",$.update,ye)}),ue&&de.addEventListener("resize",$.update,ye),function(){ie&&pe.forEach(function(he){he.removeEventListener("scroll",$.update,ye)}),ue&&de.removeEventListener("resize",$.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),$=r.pageXOffset,V=r.pageYOffset;return{scrollLeft:$,scrollTop:V}}function Be$1(t){return ee$1(I$3(t)).left+We(t).scrollLeft}function Ft$1(t){var r=H$1(t),$=I$3(t),V=r.visualViewport,oe=$.clientWidth,ie=$.clientHeight,le=0,ue=0;return V&&(oe=V.width,ie=V.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(le=V.offsetLeft,ue=V.offsetTop)),{width:oe,height:ie,x:le+Be$1(t),y:ue}}function Ut$1(t){var r,$=I$3(t),V=We(t),oe=(r=t.ownerDocument)==null?void 0:r.body,ie=X$1($.scrollWidth,$.clientWidth,oe?oe.scrollWidth:0,oe?oe.clientWidth:0),le=X$1($.scrollHeight,$.clientHeight,oe?oe.scrollHeight:0,oe?oe.clientHeight:0),ue=-V.scrollLeft+Be$1(t),de=-V.scrollTop;return N$2(oe||$).direction==="rtl"&&(ue+=X$1($.clientWidth,oe?oe.clientWidth:0)-ie),{width:ie,height:le,x:ue,y:de}}function Se$1(t){var r=N$2(t),$=r.overflow,V=r.overflowX,oe=r.overflowY;return/auto|scroll|overlay|hidden/.test($+oe+V)}function dt$1(t){return["html","body","#document"].indexOf(C(t))>=0?t.ownerDocument.body:B(t)&&Se$1(t)?t:dt$1(ge(t))}function ce(t,r){var $;r===void 0&&(r=[]);var V=dt$1(t),oe=V===(($=t.ownerDocument)==null?void 0:$.body),ie=H$1(V),le=oe?[ie].concat(ie.visualViewport||[],Se$1(V)?V:[]):V,ue=r.concat(le);return oe?ue:ue.concat(ce(ge(le)))}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$3(t)))}function Yt(t){var r=ce(ge(t)),$=["absolute","fixed"].indexOf(N$2(t).position)>=0,V=$&&B(t)?se$1(t):t;return Q$1(V)?r.filter(function(oe){return Q$1(oe)&&it(oe,V)&&C(oe)!=="body"}):[]}function Gt(t,r,$){var V=r==="clippingParents"?Yt(t):[].concat(r),oe=[].concat(V,[$]),ie=oe[0],le=oe.reduce(function(ue,de){var pe=ht(t,de);return ue.top=X$1(pe.top,ue.top),ue.right=ve(pe.right,ue.right),ue.bottom=ve(pe.bottom,ue.bottom),ue.left=X$1(pe.left,ue.left),ue},ht(t,ie));return le.width=le.right-le.left,le.height=le.bottom-le.top,le.x=le.left,le.y=le.top,le}function mt(t){var r=t.reference,$=t.element,V=t.placement,oe=V?q$1(V):null,ie=V?te(V):null,le=r.x+r.width/2-$.width/2,ue=r.y+r.height/2-$.height/2,de;switch(oe){case E$1:de={x:le,y:r.y-$.height};break;case R$1:de={x:le,y:r.y+r.height};break;case W$1:de={x:r.x+r.width,y:ue};break;case P$3:de={x:r.x-$.width,y:ue};break;default:de={x:r.x,y:r.y}}var pe=oe?Le$1(oe):null;if(pe!=null){var he=pe==="y"?"height":"width";switch(ie){case U$2:de[pe]=de[pe]-(r[he]/2-$[he]/2);break;case J$1:de[pe]=de[pe]+(r[he]/2-$[he]/2);break}}return de}function ne(t,r){r===void 0&&(r={});var $=r,V=$.placement,oe=V===void 0?t.placement:V,ie=$.boundary,le=ie===void 0?Xe:ie,ue=$.rootBoundary,de=ue===void 0?je$1:ue,pe=$.elementContext,he=pe===void 0?K:pe,_e=$.altBoundary,$e=_e===void 0?!1:_e,Ie=$.padding,Ve=Ie===void 0?0:Ie,Fe=ft$1(typeof Ve!="number"?Ve:ct$1(Ve,G$1)),Ue=he===K?Ye:K,qe=t.rects.popper,Et=t.elements[$e?Ue:he],Lt=Gt(Q$1(Et)?Et:Et.contextElement||I$3(t.elements.popper),le,de),hn=ee$1(t.elements.reference),Cn=mt({reference:hn,element:qe,strategy:"absolute",placement:oe}),bn=Te$1(Object.assign({},qe,Cn)),Sn=he===K?bn:hn,En={top:Lt.top-Sn.top+Fe.top,bottom:Sn.bottom-Lt.bottom+Fe.bottom,left:Lt.left-Sn.left+Fe.left,right:Sn.right-Lt.right+Fe.right},wn=t.modifiersData.offset;if(he===K&&wn){var $n=wn[oe];Object.keys(En).forEach(function(Tn){var xn=[W$1,R$1].indexOf(Tn)>=0?1:-1,An=[E$1,R$1].indexOf(Tn)>=0?"y":"x";En[Tn]+=$n[An]*xn})}return En}function Jt(t,r){r===void 0&&(r={});var $=r,V=$.placement,oe=$.boundary,ie=$.rootBoundary,le=$.padding,ue=$.flipVariations,de=$.allowedAutoPlacements,pe=de===void 0?Ee:de,he=te(V),_e=he?ue?De:De.filter(function(Ve){return te(Ve)===he}):G$1,$e=_e.filter(function(Ve){return pe.indexOf(Ve)>=0});$e.length===0&&($e=_e);var Ie=$e.reduce(function(Ve,Fe){return Ve[Fe]=ne(t,{placement:Fe,boundary:oe,rootBoundary:ie,padding:le})[q$1(Fe)],Ve},{});return Object.keys(Ie).sort(function(Ve,Fe){return Ie[Ve]-Ie[Fe]})}function Kt(t){if(q$1(t)===me)return[];var r=be(t);return[lt$2(t),r,lt$2(r)]}function Qt(t){var r=t.state,$=t.options,V=t.name;if(!r.modifiersData[V]._skip){for(var oe=$.mainAxis,ie=oe===void 0?!0:oe,le=$.altAxis,ue=le===void 0?!0:le,de=$.fallbackPlacements,pe=$.padding,he=$.boundary,_e=$.rootBoundary,$e=$.altBoundary,Ie=$.flipVariations,Ve=Ie===void 0?!0:Ie,Fe=$.allowedAutoPlacements,Ue=r.options.placement,qe=q$1(Ue),Et=qe===Ue,Lt=de||(Et||!Ve?[be(Ue)]:Kt(Ue)),hn=[Ue].concat(Lt).reduce(function(or,br){return or.concat(q$1(br)===me?Jt(r,{placement:br,boundary:he,rootBoundary:_e,padding:pe,flipVariations:Ve,allowedAutoPlacements:Fe}):br)},[]),Cn=r.rects.reference,bn=r.rects.popper,Sn=new Map,En=!0,wn=hn[0],$n=0;$n<hn.length;$n++){var Tn=hn[$n],xn=q$1(Tn),An=te(Tn)===U$2,Mn=[E$1,R$1].indexOf(xn)>=0,Vn=Mn?"width":"height",Bn=ne(r,{placement:Tn,boundary:he,rootBoundary:_e,altBoundary:$e,padding:pe}),Dn=Mn?An?W$1:P$3:An?R$1:E$1;Cn[Vn]>bn[Vn]&&(Dn=be(Dn));var Ln=be(Dn),Pn=[];if(ie&&Pn.push(Bn[xn]<=0),ue&&Pn.push(Bn[Dn]<=0,Bn[Ln]<=0),Pn.every(function(or){return or})){wn=Tn,En=!1;break}Sn.set(Tn,Pn)}if(En)for(var Fn=Ve?3:1,Un=function(or){var br=hn.find(function(Qn){var Gn=Sn.get(Qn);if(Gn)return Gn.slice(0,or).every(function(Yn){return Yn})});if(br)return wn=br,"break"},Wn=Fn;Wn>0;Wn--){var Zn=Un(Wn);if(Zn==="break")break}r.placement!==wn&&(r.modifiersData[V]._skip=!0,r.placement=wn,r.reset=!0)}}var vt$1={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt$1(t,r,$){return $===void 0&&($={x:0,y:0}),{top:t.top-r.height-$.y,right:t.right-r.width+$.x,bottom:t.bottom-r.height+$.y,left:t.left-r.width-$.x}}function yt(t){return[E$1,W$1,R$1,P$3].some(function(r){return t[r]>=0})}function Zt$1(t){var r=t.state,$=t.name,V=r.rects.reference,oe=r.rects.popper,ie=r.modifiersData.preventOverflow,le=ne(r,{elementContext:"reference"}),ue=ne(r,{altBoundary:!0}),de=gt$1(le,V),pe=gt$1(ue,oe,ie),he=yt(de),_e=yt(pe);r.modifiersData[$]={referenceClippingOffsets:de,popperEscapeOffsets:pe,isReferenceHidden:he,hasPopperEscaped:_e},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":he,"data-popper-escaped":_e})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt$1};function en$2(t,r,$){var V=q$1(t),oe=[P$3,E$1].indexOf(V)>=0?-1:1,ie=typeof $=="function"?$(Object.assign({},r,{placement:t})):$,le=ie[0],ue=ie[1];return le=le||0,ue=(ue||0)*oe,[P$3,W$1].indexOf(V)>=0?{x:ue,y:le}:{x:le,y:ue}}function tn(t){var r=t.state,$=t.options,V=t.name,oe=$.offset,ie=oe===void 0?[0,0]:oe,le=Ee.reduce(function(he,_e){return he[_e]=en$2(_e,r.rects,ie),he},{}),ue=le[r.placement],de=ue.x,pe=ue.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=de,r.modifiersData.popperOffsets.y+=pe),r.modifiersData[V]=le}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn$1(t){var r=t.state,$=t.name;r.modifiersData[$]=mt({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn$1,data:{}};function rn(t){return t==="x"?"y":"x"}function on$1(t){var r=t.state,$=t.options,V=t.name,oe=$.mainAxis,ie=oe===void 0?!0:oe,le=$.altAxis,ue=le===void 0?!1:le,de=$.boundary,pe=$.rootBoundary,he=$.altBoundary,_e=$.padding,$e=$.tether,Ie=$e===void 0?!0:$e,Ve=$.tetherOffset,Fe=Ve===void 0?0:Ve,Ue=ne(r,{boundary:de,rootBoundary:pe,padding:_e,altBoundary:he}),qe=q$1(r.placement),Et=te(r.placement),Lt=!Et,hn=Le$1(qe),Cn=rn(hn),bn=r.modifiersData.popperOffsets,Sn=r.rects.reference,En=r.rects.popper,wn=typeof Fe=="function"?Fe(Object.assign({},r.rects,{placement:r.placement})):Fe,$n=typeof wn=="number"?{mainAxis:wn,altAxis:wn}:Object.assign({mainAxis:0,altAxis:0},wn),Tn=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,xn={x:0,y:0};if(bn){if(ie){var An,Mn=hn==="y"?E$1:P$3,Vn=hn==="y"?R$1:W$1,Bn=hn==="y"?"height":"width",Dn=bn[hn],Ln=Dn+Ue[Mn],Pn=Dn-Ue[Vn],Fn=Ie?-En[Bn]/2:0,Un=Et===U$2?Sn[Bn]:En[Bn],Wn=Et===U$2?-En[Bn]:-Sn[Bn],Zn=r.elements.arrow,or=Ie&&Zn?ke(Zn):{width:0,height:0},br=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:st$1(),Qn=br[Mn],Gn=br[Vn],Yn=fe(0,Sn[Bn],or[Bn]),er=Lt?Sn[Bn]/2-Fn-Yn-Qn-$n.mainAxis:Un-Yn-Qn-$n.mainAxis,lr=Lt?-Sn[Bn]/2+Fn+Yn+Gn+$n.mainAxis:Wn+Yn+Gn+$n.mainAxis,sr=r.elements.arrow&&se$1(r.elements.arrow),zn=sr?hn==="y"?sr.clientTop||0:sr.clientLeft||0:0,Kn=(An=Tn==null?void 0:Tn[hn])!=null?An:0,Jn=Dn+er-Kn-zn,cr=Dn+lr-Kn,_r=fe(Ie?ve(Ln,Jn):Ln,Dn,Ie?X$1(Pn,cr):Pn);bn[hn]=_r,xn[hn]=_r-Dn}if(ue){var ur,wr=hn==="x"?E$1:P$3,Cr=hn==="x"?R$1:W$1,mr=bn[Cn],Er=Cn==="y"?"height":"width",Tr=mr+Ue[wr],nr=mr-Ue[Cr],pr=[E$1,P$3].indexOf(qe)!==-1,gr=(ur=Tn==null?void 0:Tn[Cn])!=null?ur:0,$r=pr?Tr:mr-Sn[Er]-En[Er]-gr+$n.altAxis,Rr=pr?mr+Sn[Er]+En[Er]-gr-$n.altAxis:nr,Lr=Ie&&pr?St($r,mr,Rr):fe(Ie?$r:Tr,mr,Ie?Rr:nr);bn[Cn]=Lr,xn[Cn]=Lr-mr}r.modifiersData[V]=xn}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on$1,requiresIfExists:["offset"]};function an(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function sn(t){return t===H$1(t)||!B(t)?We(t):an(t)}function fn(t){var r=t.getBoundingClientRect(),$=Z(r.width)/t.offsetWidth||1,V=Z(r.height)/t.offsetHeight||1;return $!==1||V!==1}function cn(t,r,$){$===void 0&&($=!1);var V=B(r),oe=B(r)&&fn(r),ie=I$3(r),le=ee$1(t,oe),ue={scrollLeft:0,scrollTop:0},de={x:0,y:0};return(V||!V&&!$)&&((C(r)!=="body"||Se$1(ie))&&(ue=sn(r)),B(r)?(de=ee$1(r,!0),de.x+=r.clientLeft,de.y+=r.clientTop):ie&&(de.x=Be$1(ie))),{x:le.left+ue.scrollLeft-de.x,y:le.top+ue.scrollTop-de.y,width:le.width,height:le.height}}function pn(t){var r=new Map,$=new Set,V=[];t.forEach(function(ie){r.set(ie.name,ie)});function oe(ie){$.add(ie.name);var le=[].concat(ie.requires||[],ie.requiresIfExists||[]);le.forEach(function(ue){if(!$.has(ue)){var de=r.get(ue);de&&oe(de)}}),V.push(ie)}return t.forEach(function(ie){$.has(ie.name)||oe(ie)}),V}function un(t){var r=pn(t);return ot$1.reduce(function($,V){return $.concat(r.filter(function(oe){return oe.phase===V}))},[])}function ln(t){var r;return function(){return r||(r=new Promise(function($){Promise.resolve().then(function(){r=void 0,$(t())})})),r}}function dn(t){var r=t.reduce(function($,V){var oe=$[V.name];return $[V.name]=oe?Object.assign({},oe,V,{options:Object.assign({},oe.options,V.options),data:Object.assign({},oe.data,V.data)}):V,$},{});return Object.keys(r).map(function($){return r[$]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t$2(){for(var t=arguments.length,r=new Array(t),$=0;$<t;$++)r[$]=arguments[$];return!r.some(function(V){return!(V&&typeof V.getBoundingClientRect=="function")})}function we$1(t){t===void 0&&(t={});var r=t,$=r.defaultModifiers,V=$===void 0?[]:$,oe=r.defaultOptions,ie=oe===void 0?Ot:oe;return function(le,ue,de){de===void 0&&(de=ie);var pe={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,ie),modifiersData:{},elements:{reference:le,popper:ue},attributes:{},styles:{}},he=[],_e=!1,$e={state:pe,setOptions:function(Fe){var Ue=typeof Fe=="function"?Fe(pe.options):Fe;Ve(),pe.options=Object.assign({},ie,pe.options,Ue),pe.scrollParents={reference:Q$1(le)?ce(le):le.contextElement?ce(le.contextElement):[],popper:ce(ue)};var qe=un(dn([].concat(V,pe.options.modifiers)));return pe.orderedModifiers=qe.filter(function(Et){return Et.enabled}),Ie(),$e.update()},forceUpdate:function(){if(!_e){var Fe=pe.elements,Ue=Fe.reference,qe=Fe.popper;if($t$2(Ue,qe)){pe.rects={reference:cn(Ue,se$1(qe),pe.options.strategy==="fixed"),popper:ke(qe)},pe.reset=!1,pe.placement=pe.options.placement,pe.orderedModifiers.forEach(function(En){return pe.modifiersData[En.name]=Object.assign({},En.data)});for(var Et=0;Et<pe.orderedModifiers.length;Et++){if(pe.reset===!0){pe.reset=!1,Et=-1;continue}var Lt=pe.orderedModifiers[Et],hn=Lt.fn,Cn=Lt.options,bn=Cn===void 0?{}:Cn,Sn=Lt.name;typeof hn=="function"&&(pe=hn({state:pe,options:bn,name:Sn,instance:$e})||pe)}}}},update:ln(function(){return new Promise(function(Fe){$e.forceUpdate(),Fe(pe)})}),destroy:function(){Ve(),_e=!0}};if(!$t$2(le,ue))return $e;$e.setOptions(de).then(function(Fe){!_e&&de.onFirstUpdate&&de.onFirstUpdate(Fe)});function Ie(){pe.orderedModifiers.forEach(function(Fe){var Ue=Fe.name,qe=Fe.options,Et=qe===void 0?{}:qe,Lt=Fe.effect;if(typeof Lt=="function"){var hn=Lt({state:pe,name:Ue,instance:$e,options:Et}),Cn=function(){};he.push(hn||Cn)}})}function Ve(){he.forEach(function(Fe){return Fe()}),he=[]}return $e}}we$1();var mn=[Re,He,Me,Ae];we$1({defaultModifiers:mn});var gn=[Re,He,Me,Ae,wt,vt$1,xt,pt$1,bt],yn=we$1({defaultModifiers:gn});const usePopper=(t,r,$={})=>{const V={name:"updateState",enabled:!0,phase:"write",fn:({state:de})=>{const pe=deriveState(de);Object.assign(le.value,pe)},requires:["computeStyles"]},oe=computed(()=>{const{onFirstUpdate:de,placement:pe,strategy:he,modifiers:_e}=unref($);return{onFirstUpdate:de,placement:pe||"bottom",strategy:he||"absolute",modifiers:[..._e||[],V,{name:"applyStyles",enabled:!1}]}}),ie=shallowRef(),le=ref({styles:{popper:{position:unref(oe).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),ue=()=>{ie.value&&(ie.value.destroy(),ie.value=void 0)};return watch(oe,de=>{const pe=unref(ie);pe&&pe.setOptions(de)},{deep:!0}),watch([t,r],([de,pe])=>{ue(),!(!de||!pe)&&(ie.value=yn(de,pe,unref(oe)))}),onBeforeUnmount(()=>{ue()}),{state:computed(()=>{var de;return{...((de=unref(ie))==null?void 0:de.state)||{}}}),styles:computed(()=>unref(le).styles),attributes:computed(()=>unref(le).attributes),update:()=>{var de;return(de=unref(ie))==null?void 0:de.update()},forceUpdate:()=>{var de;return(de=unref(ie))==null?void 0:de.forceUpdate()},instanceRef:computed(()=>unref(ie))}};function deriveState(t){const r=Object.keys(t.elements),$=fromPairs(r.map(oe=>[oe,t.styles[oe]||{}])),V=fromPairs(r.map(oe=>[oe,t.attributes[oe]]));return{styles:$,attributes:V}}const useSameTarget=t=>{if(!t)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let r=!1,$=!1;return{onClick:le=>{r&&$&&t(le),r=$=!1},onMousedown:le=>{r=le.target===le.currentTarget},onMouseup:le=>{$=le.target===le.currentTarget}}},useThrottleRender=(t,r=0)=>{if(r===0)return t;const $=ref(!1);let V=0;const oe=()=>{V&&clearTimeout(V),V=window.setTimeout(()=>{$.value=t.value},r)};return onMounted(oe),watch(()=>t.value,ie=>{ie?oe():$.value=ie}),$};function useTimeout(){let t;const r=(V,oe)=>{$(),t=window.setTimeout(V,oe)},$=()=>window.clearTimeout(t);return tryOnScopeDispose$1(()=>$()),{registerTimeout:r,cancelTimeout:$}}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(),$=useGetDerivedNamespace();return computed(()=>unref(t)||`${$.value}-id-${r.prefix}-${r.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=t=>{const r=t;r.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach($=>$(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(),$=computed(()=>`${t.value}-popper-container-${r.prefix}`),V=computed(()=>`#${$.value}`);return{id:$,selector:V}},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:$,open:V,close:oe})=>{const{registerTimeout:ie}=useTimeout(),{registerTimeout:le,cancelTimeout:ue}=useTimeout();return{onOpen:he=>{ie(()=>{V(he);const _e=unref($);isNumber$4(_e)&&_e>0&&le(()=>{oe(he)},_e)},unref(t))},onClose:he=>{ue(),ie(()=>{oe(he)},unref(r))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=t=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:$=>{t.value=$}})},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),$=computed(()=>{const ie=unref(r);return isNumber$4(ie)?ie:defaultInitialZIndex}),V=computed(()=>$.value+zIndex.value);return{initialZIndex:$,currentZIndex:V,nextZIndex:()=>(zIndex.value++,V.value)}},min$3=Math.min,max$3=Math.max,round$2=Math.round,createCoords=t=>({x:t,y:t});function clamp$3(t,r,$){return max$3(t,min$3(r,$))}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,$){let{reference:V,floating:oe}=t;const ie=getSideAxis(r),le=getAlignmentAxis(r),ue=getAxisLength(le),de=getSide(r),pe=ie==="y",he=V.x+V.width/2-oe.width/2,_e=V.y+V.height/2-oe.height/2,$e=V[ue]/2-oe[ue]/2;let Ie;switch(de){case"top":Ie={x:he,y:V.y-oe.height};break;case"bottom":Ie={x:he,y:V.y+V.height};break;case"right":Ie={x:V.x+V.width,y:_e};break;case"left":Ie={x:V.x-oe.width,y:_e};break;default:Ie={x:V.x,y:V.y}}switch(getAlignment(r)){case"start":Ie[le]-=$e*($&&pe?-1:1);break;case"end":Ie[le]+=$e*($&&pe?-1:1);break}return Ie}const computePosition$1=async(t,r,$)=>{const{placement:V="bottom",strategy:oe="absolute",middleware:ie=[],platform:le}=$,ue=ie.filter(Boolean),de=await(le.isRTL==null?void 0:le.isRTL(r));let pe=await le.getElementRects({reference:t,floating:r,strategy:oe}),{x:he,y:_e}=computeCoordsFromPlacement(pe,V,de),$e=V,Ie={},Ve=0;for(let Fe=0;Fe<ue.length;Fe++){const{name:Ue,fn:qe}=ue[Fe],{x:Et,y:Lt,data:hn,reset:Cn}=await qe({x:he,y:_e,initialPlacement:V,placement:$e,strategy:oe,middlewareData:Ie,rects:pe,platform:le,elements:{reference:t,floating:r}});if(he=Et??he,_e=Lt??_e,Ie={...Ie,[Ue]:{...Ie[Ue],...hn}},Cn&&Ve<=50){Ve++,typeof Cn=="object"&&(Cn.placement&&($e=Cn.placement),Cn.rects&&(pe=Cn.rects===!0?await le.getElementRects({reference:t,floating:r,strategy:oe}):Cn.rects),{x:he,y:_e}=computeCoordsFromPlacement(pe,$e,de)),Fe=-1;continue}}return{x:he,y:_e,placement:$e,strategy:oe,middlewareData:Ie}},arrow=t=>({name:"arrow",options:t,async fn(r){const{x:$,y:V,placement:oe,rects:ie,platform:le,elements:ue,middlewareData:de}=r,{element:pe,padding:he=0}=evaluate(t,r)||{};if(pe==null)return{};const _e=getPaddingObject(he),$e={x:$,y:V},Ie=getAlignmentAxis(oe),Ve=getAxisLength(Ie),Fe=await le.getDimensions(pe),Ue=Ie==="y",qe=Ue?"top":"left",Et=Ue?"bottom":"right",Lt=Ue?"clientHeight":"clientWidth",hn=ie.reference[Ve]+ie.reference[Ie]-$e[Ie]-ie.floating[Ve],Cn=$e[Ie]-ie.reference[Ie],bn=await(le.getOffsetParent==null?void 0:le.getOffsetParent(pe));let Sn=bn?bn[Lt]:0;(!Sn||!await(le.isElement==null?void 0:le.isElement(bn)))&&(Sn=ue.floating[Lt]||ie.floating[Ve]);const En=hn/2-Cn/2,wn=Sn/2-Fe[Ve]/2-1,$n=min$3(_e[qe],wn),Tn=min$3(_e[Et],wn),xn=$n,An=Sn-Fe[Ve]-Tn,Mn=Sn/2-Fe[Ve]/2+En,Vn=clamp$3(xn,Mn,An),Bn=!de.arrow&&getAlignment(oe)!=null&&Mn!=Vn&&ie.reference[Ve]/2-(Mn<xn?$n:Tn)-Fe[Ve]/2<0,Dn=Bn?Mn<xn?Mn-xn:Mn-An:0;return{[Ie]:$e[Ie]+Dn,data:{[Ie]:Vn,centerOffset:Mn-Vn-Dn,...Bn&&{alignmentOffset:Dn}},reset:Bn}}});async function convertValueToCoords(t,r){const{placement:$,platform:V,elements:oe}=t,ie=await(V.isRTL==null?void 0:V.isRTL(oe.floating)),le=getSide($),ue=getAlignment($),de=getSideAxis($)==="y",pe=["left","top"].includes(le)?-1:1,he=ie&&de?-1:1,_e=evaluate(r,t);let{mainAxis:$e,crossAxis:Ie,alignmentAxis:Ve}=typeof _e=="number"?{mainAxis:_e,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,..._e};return ue&&typeof Ve=="number"&&(Ie=ue==="end"?Ve*-1:Ve),de?{x:Ie*he,y:$e*pe}:{x:$e*pe,y:Ie*he}}const offset=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){const{x:$,y:V}=r,oe=await convertValueToCoords(r,t);return{x:$+oe.x,y:V+oe.y,data:oe}}}};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:$,overflowY:V,display:oe}=getComputedStyle$2(t);return/auto|scroll|overlay|hidden|clip/.test(r+V+$)&&!["inline","contents"].includes(oe)}function isTableElement(t){return["table","td","th"].includes(getNodeName(t))}function isContainingBlock(t){const r=isWebKit(),$=getComputedStyle$2(t);return $.transform!=="none"||$.perspective!=="none"||($.containerType?$.containerType!=="normal":!1)||!r&&($.backdropFilter?$.backdropFilter!=="none":!1)||!r&&($.filter?$.filter!=="none":!1)||["transform","perspective","filter"].some(V=>($.willChange||"").includes(V))||["paint","layout","strict","content"].some(V=>($.contain||"").includes(V))}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=[]),$===void 0&&($=!0);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:[],le.frameElement&&$?getOverflowAncestors(le.frameElement):[]):r.concat(oe,getOverflowAncestors(oe,[],$))}function getCssDimensions(t){const r=getComputedStyle$2(t);let $=parseFloat(r.width)||0,V=parseFloat(r.height)||0;const oe=isHTMLElement(t),ie=oe?t.offsetWidth:$,le=oe?t.offsetHeight:V,ue=round$2($)!==ie||round$2(V)!==le;return ue&&($=ie,V=le),{width:$,height:V,$:ue}}function unwrapElement(t){return isElement$1(t)?t:t.contextElement}function getScale(t){const r=unwrapElement(t);if(!isHTMLElement(r))return createCoords(1);const $=r.getBoundingClientRect(),{width:V,height:oe,$:ie}=getCssDimensions(r);let le=(ie?round$2($.width):$.width)/V,ue=(ie?round$2($.height):$.height)/oe;return(!le||!Number.isFinite(le))&&(le=1),(!ue||!Number.isFinite(ue))&&(ue=1),{x:le,y:ue}}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,$){return r===void 0&&(r=!1),!$||r&&$!==getWindow(t)?!1:r}function getBoundingClientRect(t,r,$,V){r===void 0&&(r=!1),$===void 0&&($=!1);const oe=t.getBoundingClientRect(),ie=unwrapElement(t);let le=createCoords(1);r&&(V?isElement$1(V)&&(le=getScale(V)):le=getScale(t));const ue=shouldAddVisualOffsets(ie,$,V)?getVisualOffsets(ie):createCoords(0);let de=(oe.left+ue.x)/le.x,pe=(oe.top+ue.y)/le.y,he=oe.width/le.x,_e=oe.height/le.y;if(ie){const $e=getWindow(ie),Ie=V&&isElement$1(V)?getWindow(V):V;let Ve=$e.frameElement;for(;Ve&&V&&Ie!==$e;){const Fe=getScale(Ve),Ue=Ve.getBoundingClientRect(),qe=getComputedStyle$2(Ve),Et=Ue.left+(Ve.clientLeft+parseFloat(qe.paddingLeft))*Fe.x,Lt=Ue.top+(Ve.clientTop+parseFloat(qe.paddingTop))*Fe.y;de*=Fe.x,pe*=Fe.y,he*=Fe.x,_e*=Fe.y,de+=Et,pe+=Lt,Ve=getWindow(Ve).frameElement}}return rectToClientRect({width:he,height:_e,x:de,y:pe})}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{rect:r,offsetParent:$,strategy:V}=t;const oe=isHTMLElement($),ie=getDocumentElement($);if($===ie)return r;let le={scrollLeft:0,scrollTop:0},ue=createCoords(1);const de=createCoords(0);if((oe||!oe&&V!=="fixed")&&((getNodeName($)!=="body"||isOverflowElement(ie))&&(le=getNodeScroll($)),isHTMLElement($))){const pe=getBoundingClientRect($);ue=getScale($),de.x=pe.x+$.clientLeft,de.y=pe.y+$.clientTop}return{width:r.width*ue.x,height:r.height*ue.y,x:r.x*ue.x-le.scrollLeft*ue.x+de.x,y:r.y*ue.y-le.scrollTop*ue.y+de.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),$=getNodeScroll(t),V=t.ownerDocument.body,oe=max$3(r.scrollWidth,r.clientWidth,V.scrollWidth,V.clientWidth),ie=max$3(r.scrollHeight,r.clientHeight,V.scrollHeight,V.clientHeight);let le=-$.scrollLeft+getWindowScrollBarX(t);const ue=-$.scrollTop;return getComputedStyle$2(V).direction==="rtl"&&(le+=max$3(r.clientWidth,V.clientWidth)-oe),{width:oe,height:ie,x:le,y:ue}}function getViewportRect(t,r){const $=getWindow(t),V=getDocumentElement(t),oe=$.visualViewport;let ie=V.clientWidth,le=V.clientHeight,ue=0,de=0;if(oe){ie=oe.width,le=oe.height;const pe=isWebKit();(!pe||pe&&r==="fixed")&&(ue=oe.offsetLeft,de=oe.offsetTop)}return{width:ie,height:le,x:ue,y:de}}function getInnerBoundingClientRect(t,r){const $=getBoundingClientRect(t,!0,r==="fixed"),V=$.top+t.clientTop,oe=$.left+t.clientLeft,ie=isHTMLElement(t)?getScale(t):createCoords(1),le=t.clientWidth*ie.x,ue=t.clientHeight*ie.y,de=oe*ie.x,pe=V*ie.y;return{width:le,height:ue,x:de,y:pe}}function getClientRectFromClippingAncestor(t,r,$){let V;if(r==="viewport")V=getViewportRect(t,$);else if(r==="document")V=getDocumentRect(getDocumentElement(t));else if(isElement$1(r))V=getInnerBoundingClientRect(r,$);else{const oe=getVisualOffsets(t);V={...r,x:r.x-oe.x,y:r.y-oe.y}}return rectToClientRect(V)}function hasFixedPositionAncestor(t,r){const $=getParentNode(t);return $===r||!isElement$1($)||isLastTraversableNode($)?!1:getComputedStyle$2($).position==="fixed"||hasFixedPositionAncestor($,r)}function getClippingElementAncestors(t,r){const $=r.get(t);if($)return $;let V=getOverflowAncestors(t,[],!1).filter(ue=>isElement$1(ue)&&getNodeName(ue)!=="body"),oe=null;const ie=getComputedStyle$2(t).position==="fixed";let le=ie?getParentNode(t):t;for(;isElement$1(le)&&!isLastTraversableNode(le);){const ue=getComputedStyle$2(le),de=isContainingBlock(le);!de&&ue.position==="fixed"&&(oe=null),(ie?!de&&!oe:!de&&ue.position==="static"&&!!oe&&["absolute","fixed"].includes(oe.position)||isOverflowElement(le)&&!de&&hasFixedPositionAncestor(t,le))?V=V.filter(he=>he!==le):oe=ue,le=getParentNode(le)}return r.set(t,V),V}function getClippingRect(t){let{element:r,boundary:$,rootBoundary:V,strategy:oe}=t;const le=[...$==="clippingAncestors"?getClippingElementAncestors(r,this._c):[].concat($),V],ue=le[0],de=le.reduce((pe,he)=>{const _e=getClientRectFromClippingAncestor(r,he,oe);return pe.top=max$3(_e.top,pe.top),pe.right=min$3(_e.right,pe.right),pe.bottom=min$3(_e.bottom,pe.bottom),pe.left=max$3(_e.left,pe.left),pe},getClientRectFromClippingAncestor(r,ue,oe));return{width:de.right-de.left,height:de.bottom-de.top,x:de.left,y:de.top}}function getDimensions(t){return getCssDimensions(t)}function getRectRelativeToOffsetParent(t,r,$){const V=isHTMLElement(r),oe=getDocumentElement(r),ie=$==="fixed",le=getBoundingClientRect(t,!0,ie,r);let ue={scrollLeft:0,scrollTop:0};const de=createCoords(0);if(V||!V&&!ie)if((getNodeName(r)!=="body"||isOverflowElement(oe))&&(ue=getNodeScroll(r)),V){const pe=getBoundingClientRect(r,!0,ie,r);de.x=pe.x+r.clientLeft,de.y=pe.y+r.clientTop}else oe&&(de.x=getWindowScrollBarX(oe));return{x:le.left+ue.scrollLeft-de.x,y:le.top+ue.scrollTop-de.y,width:le.width,height:le.height}}function getTrueOffsetParent(t,r){return!isHTMLElement(t)||getComputedStyle$2(t).position==="fixed"?null:r?r(t):t.offsetParent}function getOffsetParent(t,r){const $=getWindow(t);if(!isHTMLElement(t))return $;let V=getTrueOffsetParent(t,r);for(;V&&isTableElement(V)&&getComputedStyle$2(V).position==="static";)V=getTrueOffsetParent(V,r);return V&&(getNodeName(V)==="html"||getNodeName(V)==="body"&&getComputedStyle$2(V).position==="static"&&!isContainingBlock(V))?$:V||getContainingBlock(t)||$}const getElementRects=async function(t){let{reference:r,floating:$,strategy:V}=t;const oe=this.getOffsetParent||getOffsetParent,ie=this.getDimensions;return{reference:getRectRelativeToOffsetParent(r,await oe($),V),floating:{x:0,y:0,...await ie($)}}};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,$)=>{const V=new Map,oe={platform:platform$2,...$},ie={...oe.platform,_c:V};return computePosition$1(t,r,{...oe,platform:ie})};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:$})=>{const V=ref(),oe=ref(),ie=ref(),le=ref(),ue=ref({}),de={x:ie,y:le,placement:r,strategy:$,middlewareData:ue},pe=async()=>{if(!isClient$1)return;const he=unrefReference(V),_e=unrefElement$1(oe);if(!he||!_e)return;const $e=await computePosition(he,_e,{placement:unref(r),strategy:unref($),middleware:unref(t)});keysOf(de).forEach(Ie=>{de[Ie].value=$e[Ie]})};return onMounted(()=>{watchEffect(()=>{pe()})}),{...de,update:pe,referenceRef:V,contentRef:oe}},arrowMiddleware=({arrowRef:t,padding:r})=>({name:"arrow",options:{element:t,padding:r},fn($){const V=unref(t);return V?arrow({element:V,padding:r}).fn($):{}}});function useCursor(t){const r=ref();function $(){if(t.value==null)return;const{selectionStart:oe,selectionEnd:ie,value:le}=t.value;if(oe==null||ie==null)return;const ue=le.slice(0,Math.max(0,oe)),de=le.slice(Math.max(0,ie));r.value={selectionStart:oe,selectionEnd:ie,value:le,beforeTxt:ue,afterTxt:de}}function V(){if(t.value==null||r.value==null)return;const{value:oe}=t.value,{beforeTxt:ie,afterTxt:le,selectionStart:ue}=r.value;if(ie==null||le==null||ue==null)return;let de=oe.length;if(oe.endsWith(le))de=oe.length-le.length;else if(oe.startsWith(ie))de=ie.length;else{const pe=ie[ue-1],he=oe.indexOf(pe,ue-1);he!==-1&&(de=he+1)}t.value.setSelectionRange(de,de)}return[$,V]}const getOrderedChildren=(t,r,$)=>flattedChildren(t.subTree).filter(ie=>{var le;return isVNode$1(ie)&&((le=ie.type)==null?void 0:le.name)===r&&!!ie.component}).map(ie=>ie.component.uid).map(ie=>$[ie]).filter(ie=>!!ie),useOrderedChildren=(t,r)=>{const $={},V=shallowRef([]);return{children:V,addChild:le=>{$[le.uid]=le,V.value=getOrderedChildren(t,r,$)},removeChild:le=>{delete $[le],V.value=V.value.filter(ue=>ue.uid!==le)}}},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:$}={}){const V=getCurrentInstance(),{emit:oe}=V,ie=shallowRef(),le=ref(!1),ue=he=>{le.value||(le.value=!0,oe("focus",he),r==null||r())},de=he=>{var _e;he.relatedTarget&&((_e=ie.value)!=null&&_e.contains(he.relatedTarget))||(le.value=!1,oe("blur",he),$==null||$())},pe=()=>{var he;(he=t.value)==null||he.focus()};return watch(ie,he=>{he&&he.setAttribute("tabindex","-1")}),useEventListener$1(ie,"click",pe),{wrapperRef:ie,isFocused:le,handleFocus:ue,handleBlur:de}}const configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig(t,r=void 0){const $=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return t?computed(()=>{var V,oe;return(oe=(V=$.value)==null?void 0:V[t])!=null?oe:r}):$}function useGlobalComponentSettings(t,r){const $=useGlobalConfig(),V=useNamespace(t,computed(()=>{var ue;return((ue=$.value)==null?void 0:ue.namespace)||defaultNamespace})),oe=useLocale(computed(()=>{var ue;return(ue=$.value)==null?void 0:ue.locale})),ie=useZIndex(computed(()=>{var ue;return((ue=$.value)==null?void 0:ue.zIndex)||defaultInitialZIndex})),le=computed(()=>{var ue;return unref(r)||((ue=$.value)==null?void 0:ue.size)||""});return provideGlobalConfig(computed(()=>unref($)||{})),{ns:V,locale:oe,zIndex:ie,size:le}}const provideGlobalConfig=(t,r,$=!1)=>{var V;const oe=!!getCurrentInstance(),ie=oe?useGlobalConfig():void 0,le=(V=r==null?void 0:r.provide)!=null?V:oe?provide:void 0;if(!le)return;const ue=computed(()=>{const de=unref(t);return ie!=null&&ie.value?mergeConfig$1(ie.value,de):de});return le(configProviderContextKey,ue),le(localeContextKey,computed(()=>ue.value.locale)),le(namespaceContextKey,computed(()=>ue.value.namespace)),le(zIndexContextKey,computed(()=>ue.value.zIndex)),le(SIZE_INJECTION_KEY,{size:computed(()=>ue.value.size||"")}),($||!globalConfig.value)&&(globalConfig.value=ue.value),ue},mergeConfig$1=(t,r)=>{var $;const V=[...new Set([...keysOf(t),...keysOf(r)])],oe={};for(const ie of V)oe[ie]=($=r[ie])!=null?$:t[ie];return oe},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,V=>{Object.assign(messageConfig,V??{})},{immediate:!0,deep:!0});const $=provideGlobalConfig(t);return()=>renderSlot(r,"default",{config:$==null?void 0:$.value})}}),ElConfigProvider=withInstall(ConfigProvider),version$2="2.3.14",makeInstaller=(t=[])=>({version:version$2,install:($,V)=>{$[INSTALLED_KEY]||($[INSTALLED_KEY]=!0,t.forEach(oe=>$.use(oe)),V&&provideGlobalConfig(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 $=t.__vccOpts||t;for(const[V,oe]of r)$[V]=oe;return $};const COMPONENT_NAME$n="ElAffix",__default__$1C=defineComponent({name:COMPONENT_NAME$n}),_sfc_main$2l=defineComponent({...__default__$1C,props:affixProps,emits:affixEmits,setup(t,{expose:r,emit:$}){const V=t,oe=useNamespace("affix"),ie=shallowRef(),le=shallowRef(),ue=shallowRef(),{height:de}=useWindowSize$1(),{height:pe,width:he,top:_e,bottom:$e,update:Ie}=useElementBounding(le,{windowScroll:!1}),Ve=useElementBounding(ie),Fe=ref(!1),Ue=ref(0),qe=ref(0),Et=computed(()=>({height:Fe.value?`${pe.value}px`:"",width:Fe.value?`${he.value}px`:""})),Lt=computed(()=>{if(!Fe.value)return{};const bn=V.offset?addUnit(V.offset):0;return{height:`${pe.value}px`,width:`${he.value}px`,top:V.position==="top"?bn:"",bottom:V.position==="bottom"?bn:"",transform:qe.value?`translateY(${qe.value}px)`:"",zIndex:V.zIndex}}),hn=()=>{if(ue.value)if(Ue.value=ue.value instanceof Window?document.documentElement.scrollTop:ue.value.scrollTop||0,V.position==="top")if(V.target){const bn=Ve.bottom.value-V.offset-pe.value;Fe.value=V.offset>_e.value&&Ve.bottom.value>0,qe.value=bn<0?bn:0}else Fe.value=V.offset>_e.value;else if(V.target){const bn=de.value-Ve.top.value-V.offset-pe.value;Fe.value=de.value-V.offset<$e.value&&de.value>Ve.top.value,qe.value=bn<0?-bn:0}else Fe.value=de.value-V.offset<$e.value},Cn=()=>{Ie(),$("scroll",{scrollTop:Ue.value,fixed:Fe.value})};return watch(Fe,bn=>$("change",bn)),onMounted(()=>{var bn;V.target?(ie.value=(bn=document.querySelector(V.target))!=null?bn:void 0,ie.value||throwError$1(COMPONENT_NAME$n,`Target is not existed: ${V.target}`)):ie.value=document.documentElement,ue.value=getScrollContainer(le.value,!0),Ie()}),useEventListener$1(ue,"scroll",Cn),watchEffect(hn),r({update:hn,updateRoot:Ie}),(bn,Sn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:le,class:normalizeClass(unref(oe).b()),style:normalizeStyle$1(unref(Et))},[createBaseVNode("div",{class:normalizeClass({[unref(oe).m("fixed")]:Fe.value}),style:normalizeStyle$1(unref(Lt))},[renderSlot(bn.$slots,"default")],6)],6))}});var Affix=_export_sfc$1(_sfc_main$2l,[["__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$2k=defineComponent({...__default__$1B,props:iconProps,setup(t){const r=t,$=useNamespace("icon"),V=computed(()=>{const{size:oe,color:ie}=r;return!oe&&!ie?{}:{fontSize:isUndefined$1(oe)?void 0:addUnit(oe),"--color":ie}});return(oe,ie)=>(openBlock(),createElementBlock("i",mergeProps({class:unref($).b(),style:unref(V)},oe.$attrs),[renderSlot(oe.$slots,"default")],16))}});var Icon$2=_export_sfc$1(_sfc_main$2k,[["__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$2j=defineComponent({...__default__$1A,props:alertProps,emits:alertEmits,setup(t,{emit:r}){const $=t,{Close:V}=TypeComponents,oe=useSlots(),ie=useNamespace("alert"),le=ref(!0),ue=computed(()=>TypeComponentsMap[$.type]),de=computed(()=>[ie.e("icon"),{[ie.is("big")]:!!$.description||!!oe.default}]),pe=computed(()=>({[ie.is("bold")]:$.description||oe.default})),he=_e=>{le.value=!1,r("close",_e)};return(_e,$e)=>(openBlock(),createBlock(Transition,{name:unref(ie).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(ie).b(),unref(ie).m(_e.type),unref(ie).is("center",_e.center),unref(ie).is(_e.effect)]),role:"alert"},[_e.showIcon&&unref(ue)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(de))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ue))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).e("content"))},[_e.title||_e.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(ie).e("title"),unref(pe)])},[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(ie).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(ie).e("close-btn"),unref(ie).is("customed")]),onClick:he},toDisplayString$1(_e.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(ie).e("close-btn")),onClick:he},{default:withCtx(()=>[createVNode(unref(V))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,le.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc$1(_sfc_main$2j,[["__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 $=ref(void 0),V=r.prop?$:useProp("size"),oe=r.global?$:useGlobalSize(),ie=r.form?{size:void 0}:inject(formContextKey,void 0),le=r.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>V.value||unref(t)||(le==null?void 0:le.size)||(ie==null?void 0:ie.size)||oe.value||"")},useFormDisabled=t=>{const r=useProp("disabled"),$=inject(formContextKey,void 0);return computed(()=>r.value||unref(t)||($==null?void 0:$.disabled)||!1)},useFormItem=()=>{const t=inject(formContextKey,void 0),r=inject(formItemContextKey,void 0);return{form:t,formItem:r}},useFormItemInputId=(t,{formItemContext:r,disableIdGeneration:$,disableIdManagement:V})=>{$||($=ref(!1)),V||(V=ref(!1));const oe=ref();let ie;const le=computed(()=>{var ue;return!!(!t.label&&r&&r.inputIds&&((ue=r.inputIds)==null?void 0:ue.length)<=1)});return onMounted(()=>{ie=watch([toRef(t,"id"),$],([ue,de])=>{const pe=ue??(de?void 0:useId().value);pe!==oe.value&&(r!=null&&r.removeInputId&&(oe.value&&r.removeInputId(oe.value),!(V!=null&&V.value)&&!de&&pe&&r.addInputId(pe)),oe.value=pe)},{immediate:!0})}),onUnmounted(()=>{ie&&ie(),r!=null&&r.removeInputId&&oe.value&&r.removeInputId(oe.value)}),{isLabeledByFormItem:le,inputId:oe}},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,$)=>(isArray$c(t)||isString$6(t))&&isBoolean$3(r)&&isString$6($)};function useFormLabelWidth(){const t=ref([]),r=computed(()=>{if(!t.value.length)return"0";const ie=Math.max(...t.value);return ie?`${ie}px`:""});function $(ie){const le=t.value.indexOf(ie);return le===-1&&r.value,le}function V(ie,le){if(ie&&le){const ue=$(le);t.value.splice(ue,1,ie)}else ie&&t.value.push(ie)}function oe(ie){const le=$(ie);le>-1&&t.value.splice(le,1)}return{autoLabelWidth:r,registerLabelWidth:V,deregisterLabelWidth:oe}}const filterFields=(t,r)=>{const $=castArray$1(r);return $.length>0?t.filter(V=>V.prop&&$.includes(V.prop)):t},COMPONENT_NAME$m="ElForm",__default__$1z=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2i=defineComponent({...__default__$1z,props:formProps,emits:formEmits,setup(t,{expose:r,emit:$}){const V=t,oe=[],ie=useFormSize(),le=useNamespace("form"),ue=computed(()=>{const{labelPosition:Et,inline:Lt}=V;return[le.b(),le.m(ie.value||"default"),{[le.m(`label-${Et}`)]:Et,[le.m("inline")]:Lt}]}),de=Et=>{oe.push(Et)},pe=Et=>{Et.prop&&oe.splice(oe.indexOf(Et),1)},he=(Et=[])=>{V.model&&filterFields(oe,Et).forEach(Lt=>Lt.resetField())},_e=(Et=[])=>{filterFields(oe,Et).forEach(Lt=>Lt.clearValidate())},$e=computed(()=>!!V.model),Ie=Et=>{if(oe.length===0)return[];const Lt=filterFields(oe,Et);return Lt.length?Lt:[]},Ve=async Et=>Ue(void 0,Et),Fe=async(Et=[])=>{if(!$e.value)return!1;const Lt=Ie(Et);if(Lt.length===0)return!0;let hn={};for(const Cn of Lt)try{await Cn.validate("")}catch(bn){hn={...hn,...bn}}return Object.keys(hn).length===0?!0:Promise.reject(hn)},Ue=async(Et=[],Lt)=>{const hn=!isFunction$5(Lt);try{const Cn=await Fe(Et);return Cn===!0&&(Lt==null||Lt(Cn)),Cn}catch(Cn){if(Cn instanceof Error)throw Cn;const bn=Cn;return V.scrollToError&&qe(Object.keys(bn)[0]),Lt==null||Lt(!1,bn),hn&&Promise.reject(bn)}},qe=Et=>{var Lt;const hn=filterFields(oe,Et)[0];hn&&((Lt=hn.$el)==null||Lt.scrollIntoView(V.scrollIntoViewOptions))};return watch(()=>V.rules,()=>{V.validateOnRuleChange&&Ve().catch(Et=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(V),emit:$,resetFields:he,clearValidate:_e,validateField:Ue,addField:de,removeField:pe,...useFormLabelWidth()})),r({validate:Ve,validateField:Ue,resetFields:he,clearValidate:_e,scrollToField:qe}),(Et,Lt)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(ue))},[renderSlot(Et.$slots,"default")],2))}});var Form=_export_sfc$1(_sfc_main$2i,[["__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 $=arguments[r];for(var V in $)Object.prototype.hasOwnProperty.call($,V)&&(t[V]=$[V])}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($){return $.__proto__||Object.getPrototypeOf($)},_getPrototypeOf(t)}function _setPrototypeOf(t,r){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(V,oe){return V.__proto__=oe,V},_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,$){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(oe,ie,le){var ue=[null];ue.push.apply(ue,ie);var de=Function.bind.apply(oe,ue),pe=new de;return le&&_setPrototypeOf(pe,le.prototype),pe},_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(V){if(V===null||!_isNativeFunction(V))return V;if(typeof V!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(V))return r.get(V);r.set(V,oe)}function oe(){return _construct(V,arguments,_getPrototypeOf(this).constructor)}return oe.prototype=Object.create(V.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(oe,V)},_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($){var V=$.field;r[V]=r[V]||[],r[V].push($)}),r}function format$3(t){for(var r=arguments.length,$=new Array(r>1?r-1:0),V=1;V<r;V++)$[V-1]=arguments[V];var oe=0,ie=$.length;if(typeof t=="function")return t.apply(null,$);if(typeof t=="string"){var le=t.replace(formatRegExp,function(ue){if(ue==="%%")return"%";if(oe>=ie)return ue;switch(ue){case"%s":return String($[oe++]);case"%d":return Number($[oe++]);case"%j":try{return JSON.stringify($[oe++])}catch{return"[Circular]"}break;default:return ue}});return le}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,$){var V=[],oe=0,ie=t.length;function le(ue){V.push.apply(V,ue||[]),oe++,oe===ie&&$(V)}t.forEach(function(ue){r(ue,le)})}function asyncSerialArray(t,r,$){var V=0,oe=t.length;function ie(le){if(le&&le.length){$(le);return}var ue=V;V=V+1,ue<oe?r(t[ue],ie):$([])}ie([])}function flattenObjArr(t){var r=[];return Object.keys(t).forEach(function($){r.push.apply(r,t[$]||[])}),r}var AsyncValidationError=function(t){_inheritsLoose(r,t);function r($,V){var oe;return oe=t.call(this,"Async Validation Error")||this,oe.errors=$,oe.fields=V,oe}return r}(_wrapNativeSuper(Error));function asyncMap(t,r,$,V,oe){if(r.first){var ie=new Promise(function($e,Ie){var Ve=function(qe){return V(qe),qe.length?Ie(new AsyncValidationError(qe,convertFieldsError(qe))):$e(oe)},Fe=flattenObjArr(t);asyncSerialArray(Fe,$,Ve)});return ie.catch(function($e){return $e}),ie}var le=r.firstFields===!0?Object.keys(t):r.firstFields||[],ue=Object.keys(t),de=ue.length,pe=0,he=[],_e=new Promise(function($e,Ie){var Ve=function(Ue){if(he.push.apply(he,Ue),pe++,pe===de)return V(he),he.length?Ie(new AsyncValidationError(he,convertFieldsError(he))):$e(oe)};ue.length||(V(he),$e(oe)),ue.forEach(function(Fe){var Ue=t[Fe];le.indexOf(Fe)!==-1?asyncSerialArray(Ue,$,Ve):asyncParallelArray(Ue,$,Ve)})});return _e.catch(function($e){return $e}),_e}function isErrorObj(t){return!!(t&&t.message!==void 0)}function getValue(t,r){for(var $=t,V=0;V<r.length;V++){if($==null)return $;$=$[r[V]]}return $}function complementError(t,r){return function($){var V;return t.fullFields?V=getValue(r,t.fullFields):V=r[$.field||t.fullField],isErrorObj($)?($.field=$.field||t.fullField,$.fieldValue=V,$):{message:typeof $=="function"?$():$,fieldValue:V,field:$.field||t.fullField}}}function deepMerge(t,r){if(r){for(var $ in r)if(r.hasOwnProperty($)){var V=r[$];typeof V=="object"&&typeof t[$]=="object"?t[$]=_extends({},t[$],V):t[$]=V}}return t}var required$1=function(r,$,V,oe,ie,le){r.required&&(!V.hasOwnProperty(r.field)||isEmptyValue($,le||r.type))&&oe.push(format$3(ie.messages.required,r.fullField))},whitespace=function(r,$,V,oe,ie){(/^\s+$/.test($)||$==="")&&oe.push(format$3(ie.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|$))":""},$="(?: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}",V="[a-fA-F\\d]{1,4}",oe=(`
|
||
(?:
|
||
(?:`+V+":){7}(?:"+V+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||
(?:`+V+":){6}(?:"+$+"|:"+V+`|:)| // 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
|
||
(?:`+V+":){5}(?::"+$+"|(?::"+V+`){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
|
||
(?:`+V+":){4}(?:(?::"+V+"){0,1}:"+$+"|(?::"+V+`){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
|
||
(?:`+V+":){3}(?:(?::"+V+"){0,2}:"+$+"|(?::"+V+`){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
|
||
(?:`+V+":){2}(?:(?::"+V+"){0,3}:"+$+"|(?::"+V+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
||
(?:`+V+":){1}(?:(?::"+V+"){0,4}:"+$+"|(?::"+V+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||
(?::(?:(?::`+V+"){0,5}:"+$+"|(?::"+V+`){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(),ie=new RegExp("(?:^"+$+"$)|(?:^"+oe+"$)"),le=new RegExp("^"+$+"$"),ue=new RegExp("^"+oe+"$"),de=function(hn){return hn&&hn.exact?ie:new RegExp("(?:"+r(hn)+$+r(hn)+")|(?:"+r(hn)+oe+r(hn)+")","g")};de.v4=function(Lt){return Lt&&Lt.exact?le:new RegExp(""+r(Lt)+$+r(Lt),"g")},de.v6=function(Lt){return Lt&&Lt.exact?ue:new RegExp(""+r(Lt)+oe+r(Lt),"g")};var pe="(?:(?:[a-z]+:)?//)",he="(?:\\S+(?::\\S*)?@)?",_e=de.v4().source,$e=de.v6().source,Ie="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Ve="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Fe="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Ue="(?::\\d{2,5})?",qe='(?:[/?#][^\\s"]*)?',Et="(?:"+pe+"|www\\.)"+he+"(?:localhost|"+_e+"|"+$e+"|"+Ie+Ve+Fe+")"+Ue+qe;return urlReg=new RegExp("(?:^"+Et+"$)","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){if(r.required&&$===void 0){required$1(r,$,V,oe,ie);return}var le=["integer","float","array","regexp","object","method","email","number","date","url","hex"],ue=r.type;le.indexOf(ue)>-1?types$1[ue]($)||oe.push(format$3(ie.messages.types[ue],r.fullField,r.type)):ue&&typeof $!==r.type&&oe.push(format$3(ie.messages.types[ue],r.fullField,r.type))},range=function(r,$,V,oe,ie){var le=typeof r.len=="number",ue=typeof r.min=="number",de=typeof r.max=="number",pe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,he=$,_e=null,$e=typeof $=="number",Ie=typeof $=="string",Ve=Array.isArray($);if($e?_e="number":Ie?_e="string":Ve&&(_e="array"),!_e)return!1;Ve&&(he=$.length),Ie&&(he=$.replace(pe,"_").length),le?he!==r.len&&oe.push(format$3(ie.messages[_e].len,r.fullField,r.len)):ue&&!de&&he<r.min?oe.push(format$3(ie.messages[_e].min,r.fullField,r.min)):de&&!ue&&he>r.max?oe.push(format$3(ie.messages[_e].max,r.fullField,r.max)):ue&&de&&(he<r.min||he>r.max)&&oe.push(format$3(ie.messages[_e].range,r.fullField,r.min,r.max))},ENUM$1="enum",enumerable$1=function(r,$,V,oe,ie){r[ENUM$1]=Array.isArray(r[ENUM$1])?r[ENUM$1]:[],r[ENUM$1].indexOf($)===-1&&oe.push(format$3(ie.messages[ENUM$1],r.fullField,r[ENUM$1].join(", ")))},pattern$1=function(r,$,V,oe,ie){if(r.pattern){if(r.pattern instanceof RegExp)r.pattern.lastIndex=0,r.pattern.test($)||oe.push(format$3(ie.messages.pattern.mismatch,r.fullField,$,r.pattern));else if(typeof r.pattern=="string"){var le=new RegExp(r.pattern);le.test($)||oe.push(format$3(ie.messages.pattern.mismatch,r.fullField,$,r.pattern))}}},rules={required:required$1,whitespace,type:type$1,range,enum:enumerable$1,pattern:pattern$1},string=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if(isEmptyValue($,"string")&&!r.required)return V();rules.required(r,$,oe,le,ie,"string"),isEmptyValue($,"string")||(rules.type(r,$,oe,le,ie),rules.range(r,$,oe,le,ie),rules.pattern(r,$,oe,le,ie),r.whitespace===!0&&rules.whitespace(r,$,oe,le,ie))}V(le)},method=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if(isEmptyValue($)&&!r.required)return V();rules.required(r,$,oe,le,ie),$!==void 0&&rules.type(r,$,oe,le,ie)}V(le)},number$3=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if($===""&&($=void 0),isEmptyValue($)&&!r.required)return V();rules.required(r,$,oe,le,ie),$!==void 0&&(rules.type(r,$,oe,le,ie),rules.range(r,$,oe,le,ie))}V(le)},_boolean=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if(isEmptyValue($)&&!r.required)return V();rules.required(r,$,oe,le,ie),$!==void 0&&rules.type(r,$,oe,le,ie)}V(le)},regexp$1=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if(isEmptyValue($)&&!r.required)return V();rules.required(r,$,oe,le,ie),isEmptyValue($)||rules.type(r,$,oe,le,ie)}V(le)},integer=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if(isEmptyValue($)&&!r.required)return V();rules.required(r,$,oe,le,ie),$!==void 0&&(rules.type(r,$,oe,le,ie),rules.range(r,$,oe,le,ie))}V(le)},floatFn=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if(isEmptyValue($)&&!r.required)return V();rules.required(r,$,oe,le,ie),$!==void 0&&(rules.type(r,$,oe,le,ie),rules.range(r,$,oe,le,ie))}V(le)},array=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if($==null&&!r.required)return V();rules.required(r,$,oe,le,ie,"array"),$!=null&&(rules.type(r,$,oe,le,ie),rules.range(r,$,oe,le,ie))}V(le)},object=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if(isEmptyValue($)&&!r.required)return V();rules.required(r,$,oe,le,ie),$!==void 0&&rules.type(r,$,oe,le,ie)}V(le)},ENUM="enum",enumerable=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if(isEmptyValue($)&&!r.required)return V();rules.required(r,$,oe,le,ie),$!==void 0&&rules[ENUM](r,$,oe,le,ie)}V(le)},pattern=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if(isEmptyValue($,"string")&&!r.required)return V();rules.required(r,$,oe,le,ie),isEmptyValue($,"string")||rules.pattern(r,$,oe,le,ie)}V(le)},date$1=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if(isEmptyValue($,"date")&&!r.required)return V();if(rules.required(r,$,oe,le,ie),!isEmptyValue($,"date")){var de;$ instanceof Date?de=$:de=new Date($),rules.type(r,de,oe,le,ie),de&&rules.range(r,de.getTime(),oe,le,ie)}}V(le)},required=function(r,$,V,oe,ie){var le=[],ue=Array.isArray($)?"array":typeof $;rules.required(r,$,oe,le,ie,ue),V(le)},type=function(r,$,V,oe,ie){var le=r.type,ue=[],de=r.required||!r.required&&oe.hasOwnProperty(r.field);if(de){if(isEmptyValue($,le)&&!r.required)return V();rules.required(r,$,oe,ue,ie,le),isEmptyValue($,le)||rules.type(r,$,oe,ue,ie)}V(ue)},any=function(r,$,V,oe,ie){var le=[],ue=r.required||!r.required&&oe.hasOwnProperty(r.field);if(ue){if(isEmptyValue($)&&!r.required)return V();rules.required(r,$,oe,le,ie)}V(le)},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($){this.rules=null,this._messages=messages,this.define($)}var r=t.prototype;return r.define=function(V){var oe=this;if(!V)throw new Error("Cannot configure a schema with no rules");if(typeof V!="object"||Array.isArray(V))throw new Error("Rules must be an object");this.rules={},Object.keys(V).forEach(function(ie){var le=V[ie];oe.rules[ie]=Array.isArray(le)?le:[le]})},r.messages=function(V){return V&&(this._messages=deepMerge(newMessages(),V)),this._messages},r.validate=function(V,oe,ie){var le=this;oe===void 0&&(oe={}),ie===void 0&&(ie=function(){});var ue=V,de=oe,pe=ie;if(typeof de=="function"&&(pe=de,de={}),!this.rules||Object.keys(this.rules).length===0)return pe&&pe(null,ue),Promise.resolve(ue);function he(Fe){var Ue=[],qe={};function Et(hn){if(Array.isArray(hn)){var Cn;Ue=(Cn=Ue).concat.apply(Cn,hn)}else Ue.push(hn)}for(var Lt=0;Lt<Fe.length;Lt++)Et(Fe[Lt]);Ue.length?(qe=convertFieldsError(Ue),pe(Ue,qe)):pe(null,ue)}if(de.messages){var _e=this.messages();_e===messages&&(_e=newMessages()),deepMerge(_e,de.messages),de.messages=_e}else de.messages=this.messages();var $e={},Ie=de.keys||Object.keys(this.rules);Ie.forEach(function(Fe){var Ue=le.rules[Fe],qe=ue[Fe];Ue.forEach(function(Et){var Lt=Et;typeof Lt.transform=="function"&&(ue===V&&(ue=_extends({},ue)),qe=ue[Fe]=Lt.transform(qe)),typeof Lt=="function"?Lt={validator:Lt}:Lt=_extends({},Lt),Lt.validator=le.getValidationMethod(Lt),Lt.validator&&(Lt.field=Fe,Lt.fullField=Lt.fullField||Fe,Lt.type=le.getType(Lt),$e[Fe]=$e[Fe]||[],$e[Fe].push({rule:Lt,value:qe,source:ue,field:Fe}))})});var Ve={};return asyncMap($e,de,function(Fe,Ue){var qe=Fe.rule,Et=(qe.type==="object"||qe.type==="array")&&(typeof qe.fields=="object"||typeof qe.defaultField=="object");Et=Et&&(qe.required||!qe.required&&Fe.value),qe.field=Fe.field;function Lt(bn,Sn){return _extends({},Sn,{fullField:qe.fullField+"."+bn,fullFields:qe.fullFields?[].concat(qe.fullFields,[bn]):[bn]})}function hn(bn){bn===void 0&&(bn=[]);var Sn=Array.isArray(bn)?bn:[bn];!de.suppressWarning&&Sn.length&&t.warning("async-validator:",Sn),Sn.length&&qe.message!==void 0&&(Sn=[].concat(qe.message));var En=Sn.map(complementError(qe,ue));if(de.first&&En.length)return Ve[qe.field]=1,Ue(En);if(!Et)Ue(En);else{if(qe.required&&!Fe.value)return qe.message!==void 0?En=[].concat(qe.message).map(complementError(qe,ue)):de.error&&(En=[de.error(qe,format$3(de.messages.required,qe.field))]),Ue(En);var wn={};qe.defaultField&&Object.keys(Fe.value).map(function(xn){wn[xn]=qe.defaultField}),wn=_extends({},wn,Fe.rule.fields);var $n={};Object.keys(wn).forEach(function(xn){var An=wn[xn],Mn=Array.isArray(An)?An:[An];$n[xn]=Mn.map(Lt.bind(null,xn))});var Tn=new t($n);Tn.messages(de.messages),Fe.rule.options&&(Fe.rule.options.messages=de.messages,Fe.rule.options.error=de.error),Tn.validate(Fe.value,Fe.rule.options||de,function(xn){var An=[];En&&En.length&&An.push.apply(An,En),xn&&xn.length&&An.push.apply(An,xn),Ue(An.length?An:null)})}}var Cn;if(qe.asyncValidator)Cn=qe.asyncValidator(qe,Fe.value,hn,Fe.source,de);else if(qe.validator){try{Cn=qe.validator(qe,Fe.value,hn,Fe.source,de)}catch(bn){console.error==null||console.error(bn),de.suppressValidatorError||setTimeout(function(){throw bn},0),hn(bn.message)}Cn===!0?hn():Cn===!1?hn(typeof qe.message=="function"?qe.message(qe.fullField||qe.field):qe.message||(qe.fullField||qe.field)+" fails"):Cn instanceof Array?hn(Cn):Cn instanceof Error&&hn(Cn.message)}Cn&&Cn.then&&Cn.then(function(){return hn()},function(bn){return hn(bn)})},function(Fe){he(Fe)},ue)},r.getType=function(V){if(V.type===void 0&&V.pattern instanceof RegExp&&(V.type="pattern"),typeof V.validator!="function"&&V.type&&!validators$2.hasOwnProperty(V.type))throw new Error(format$3("Unknown rule type %s",V.type));return V.type||"string"},r.getValidationMethod=function(V){if(typeof V.validator=="function")return V.validator;var oe=Object.keys(V),ie=oe.indexOf("message");return ie!==-1&&oe.splice(ie,1),oe.length===1&&oe[0]==="required"?validators$2.required:validators$2[this.getType(V)]||void 0},t}();Schema.register=function(r,$){if(typeof $!="function")throw new Error("Cannot register a validator by type, validator is not a function");validators$2[r]=$};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 $=inject(formContextKey,void 0),V=inject(formItemContextKey);V||throwError$1(COMPONENT_NAME$l,"usage: <el-form-item><label-wrap /></el-form-item>");const oe=useNamespace("form"),ie=ref(),le=ref(0),ue=()=>{var he;if((he=ie.value)!=null&&he.firstElementChild){const _e=window.getComputedStyle(ie.value.firstElementChild).width;return Math.ceil(Number.parseFloat(_e))}else return 0},de=(he="update")=>{nextTick(()=>{r.default&&t.isAutoWidth&&(he==="update"?le.value=ue():he==="remove"&&($==null||$.deregisterLabelWidth(le.value)))})},pe=()=>de("update");return onMounted(()=>{pe()}),onBeforeUnmount(()=>{de("remove")}),onUpdated(()=>pe()),watch(le,(he,_e)=>{t.updateAll&&($==null||$.registerLabelWidth(he,_e))}),useResizeObserver$1(computed(()=>{var he,_e;return(_e=(he=ie.value)==null?void 0:he.firstElementChild)!=null?_e:null}),pe),()=>{var he,_e;if(!r)return null;const{isAutoWidth:$e}=t;if($e){const Ie=$==null?void 0:$.autoLabelWidth,Ve=V==null?void 0:V.hasLabel,Fe={};if(Ve&&Ie&&Ie!=="auto"){const Ue=Math.max(0,Number.parseInt(Ie,10)-le.value),qe=$.labelPosition==="left"?"marginRight":"marginLeft";Ue&&(Fe[qe]=`${Ue}px`)}return createVNode("div",{ref:ie,class:[oe.be("item","label-wrap")],style:Fe},[(he=r.default)==null?void 0:he.call(r)])}else return createVNode(Fragment,{ref:ie},[(_e=r.default)==null?void 0:_e.call(r)])}}});const _hoisted_1$15=["role","aria-labelledby"],__default__$1y=defineComponent({name:"ElFormItem"}),_sfc_main$2h=defineComponent({...__default__$1y,props:formItemProps,setup(t,{expose:r}){const $=t,V=useSlots(),oe=inject(formContextKey,void 0),ie=inject(formItemContextKey,void 0),le=useFormSize(void 0,{formItem:!1}),ue=useNamespace("form-item"),de=useId().value,pe=ref([]),he=ref(""),_e=refDebounced(he,100),$e=ref(""),Ie=ref();let Ve,Fe=!1;const Ue=computed(()=>{if((oe==null?void 0:oe.labelPosition)==="top")return{};const Gn=addUnit($.labelWidth||(oe==null?void 0:oe.labelWidth)||"");return Gn?{width:Gn}:{}}),qe=computed(()=>{if((oe==null?void 0:oe.labelPosition)==="top"||oe!=null&&oe.inline)return{};if(!$.label&&!$.labelWidth&&wn)return{};const Gn=addUnit($.labelWidth||(oe==null?void 0:oe.labelWidth)||"");return!$.label&&!V.label?{marginLeft:Gn}:{}}),Et=computed(()=>[ue.b(),ue.m(le.value),ue.is("error",he.value==="error"),ue.is("validating",he.value==="validating"),ue.is("success",he.value==="success"),ue.is("required",Mn.value||$.required),ue.is("no-asterisk",oe==null?void 0:oe.hideRequiredAsterisk),(oe==null?void 0:oe.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[ue.m("feedback")]:oe==null?void 0:oe.statusIcon}]),Lt=computed(()=>isBoolean$3($.inlineMessage)?$.inlineMessage:(oe==null?void 0:oe.inlineMessage)||!1),hn=computed(()=>[ue.e("error"),{[ue.em("error","inline")]:Lt.value}]),Cn=computed(()=>$.prop?isString$6($.prop)?$.prop:$.prop.join("."):""),bn=computed(()=>!!($.label||V.label)),Sn=computed(()=>$.for||pe.value.length===1?pe.value[0]:void 0),En=computed(()=>!Sn.value&&bn.value),wn=!!ie,$n=computed(()=>{const Gn=oe==null?void 0:oe.model;if(!(!Gn||!$.prop))return getProp(Gn,$.prop).value}),Tn=computed(()=>{const{required:Gn}=$,Yn=[];$.rules&&Yn.push(...castArray$1($.rules));const er=oe==null?void 0:oe.rules;if(er&&$.prop){const lr=getProp(er,$.prop).value;lr&&Yn.push(...castArray$1(lr))}if(Gn!==void 0){const lr=Yn.map((sr,zn)=>[sr,zn]).filter(([sr])=>Object.keys(sr).includes("required"));if(lr.length>0)for(const[sr,zn]of lr)sr.required!==Gn&&(Yn[zn]={...sr,required:Gn});else Yn.push({required:Gn})}return Yn}),xn=computed(()=>Tn.value.length>0),An=Gn=>Tn.value.filter(er=>!er.trigger||!Gn?!0:Array.isArray(er.trigger)?er.trigger.includes(Gn):er.trigger===Gn).map(({trigger:er,...lr})=>lr),Mn=computed(()=>Tn.value.some(Gn=>Gn.required)),Vn=computed(()=>{var Gn;return _e.value==="error"&&$.showMessage&&((Gn=oe==null?void 0:oe.showMessage)!=null?Gn:!0)}),Bn=computed(()=>`${$.label||""}${(oe==null?void 0:oe.labelSuffix)||""}`),Dn=Gn=>{he.value=Gn},Ln=Gn=>{var Yn,er;const{errors:lr,fields:sr}=Gn;(!lr||!sr)&&console.error(Gn),Dn("error"),$e.value=lr?(er=(Yn=lr==null?void 0:lr[0])==null?void 0:Yn.message)!=null?er:`${$.prop} is required`:"",oe==null||oe.emit("validate",$.prop,!1,$e.value)},Pn=()=>{Dn("success"),oe==null||oe.emit("validate",$.prop,!0,"")},Fn=async Gn=>{const Yn=Cn.value;return new Schema({[Yn]:Gn}).validate({[Yn]:$n.value},{firstFields:!0}).then(()=>(Pn(),!0)).catch(lr=>(Ln(lr),Promise.reject(lr)))},Un=async(Gn,Yn)=>{if(Fe||!$.prop)return!1;const er=isFunction$5(Yn);if(!xn.value)return Yn==null||Yn(!1),!1;const lr=An(Gn);return lr.length===0?(Yn==null||Yn(!0),!0):(Dn("validating"),Fn(lr).then(()=>(Yn==null||Yn(!0),!0)).catch(sr=>{const{fields:zn}=sr;return Yn==null||Yn(!1,zn),er?!1:Promise.reject(zn)}))},Wn=()=>{Dn(""),$e.value="",Fe=!1},Zn=async()=>{const Gn=oe==null?void 0:oe.model;if(!Gn||!$.prop)return;const Yn=getProp(Gn,$.prop);Fe=!0,Yn.value=clone$4(Ve),await nextTick(),Wn(),Fe=!1},or=Gn=>{pe.value.includes(Gn)||pe.value.push(Gn)},br=Gn=>{pe.value=pe.value.filter(Yn=>Yn!==Gn)};watch(()=>$.error,Gn=>{$e.value=Gn||"",Dn(Gn?"error":"")},{immediate:!0}),watch(()=>$.validateStatus,Gn=>Dn(Gn||""));const Qn=reactive({...toRefs($),$el:Ie,size:le,validateState:he,labelId:de,inputIds:pe,isGroup:En,hasLabel:bn,addInputId:or,removeInputId:br,resetField:Zn,clearValidate:Wn,validate:Un});return provide(formItemContextKey,Qn),onMounted(()=>{$.prop&&(oe==null||oe.addField(Qn),Ve=clone$4($n.value))}),onBeforeUnmount(()=>{oe==null||oe.removeField(Qn)}),r({size:le,validateMessage:$e,validateState:he,validate:Un,clearValidate:Wn,resetField:Zn}),(Gn,Yn)=>{var er;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:Ie,class:normalizeClass(unref(Et)),role:unref(En)?"group":void 0,"aria-labelledby":unref(En)?unref(de):void 0},[createVNode(unref(FormLabelWrap),{"is-auto-width":unref(Ue).width==="auto","update-all":((er=unref(oe))==null?void 0:er.labelWidth)==="auto"},{default:withCtx(()=>[unref(bn)?(openBlock(),createBlock(resolveDynamicComponent(unref(Sn)?"label":"div"),{key:0,id:unref(de),for:unref(Sn),class:normalizeClass(unref(ue).e("label")),style:normalizeStyle$1(unref(Ue))},{default:withCtx(()=>[renderSlot(Gn.$slots,"label",{label:unref(Bn)},()=>[createTextVNode(toDisplayString$1(unref(Bn)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(ue).e("content")),style:normalizeStyle$1(unref(qe))},[renderSlot(Gn.$slots,"default"),createVNode(TransitionGroup,{name:`${unref(ue).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(Vn)?renderSlot(Gn.$slots,"error",{key:0,error:$e.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(hn))},toDisplayString$1($e.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,_hoisted_1$15)}}});var FormItem=_export_sfc$1(_sfc_main$2h,[["__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),$=r.getPropertyValue("box-sizing"),V=Number.parseFloat(r.getPropertyValue("padding-bottom"))+Number.parseFloat(r.getPropertyValue("padding-top")),oe=Number.parseFloat(r.getPropertyValue("border-bottom-width"))+Number.parseFloat(r.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(le=>`${le}:${r.getPropertyValue(le)}`).join(";"),paddingSize:V,borderSize:oe,boxSizing:$}}function calcTextareaHeight(t,r=1,$){var V;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:oe,borderSize:ie,boxSizing:le,contextStyle:ue}=calculateNodeStyling(t);hiddenTextarea.setAttribute("style",`${ue};${HIDDEN_STYLE}`),hiddenTextarea.value=t.value||t.placeholder||"";let de=hiddenTextarea.scrollHeight;const pe={};le==="border-box"?de=de+ie:le==="content-box"&&(de=de-oe),hiddenTextarea.value="";const he=hiddenTextarea.scrollHeight-oe;if(isNumber$4(r)){let _e=he*r;le==="border-box"&&(_e=_e+oe+ie),de=Math.max(_e,de),pe.minHeight=`${_e}px`}if(isNumber$4($)){let _e=he*$;le==="border-box"&&(_e=_e+oe+ie),de=Math.min(_e,de)}return pe.height=`${de}px`,(V=hiddenTextarea.parentNode)==null||V.removeChild(hiddenTextarea),hiddenTextarea=void 0,pe}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({})},autofocus:{type:Boolean,default:!1}}),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$14=["role"],_hoisted_2$J=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],_hoisted_3$o=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],__default__$1x=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2g=defineComponent({...__default__$1x,props:inputProps,emits:inputEmits,setup(t,{expose:r,emit:$}){const V=t,oe=useAttrs$1(),ie=useSlots(),le=computed(()=>{const gr={};return V.containerRole==="combobox"&&(gr["aria-haspopup"]=oe["aria-haspopup"],gr["aria-owns"]=oe["aria-owns"],gr["aria-expanded"]=oe["aria-expanded"]),gr}),ue=computed(()=>[V.type==="textarea"?Ue.b():Fe.b(),Fe.m(Ie.value),Fe.is("disabled",Ve.value),Fe.is("exceed",or.value),{[Fe.b("group")]:ie.prepend||ie.append,[Fe.bm("group","append")]:ie.append,[Fe.bm("group","prepend")]:ie.prepend,[Fe.m("prefix")]:ie.prefix||V.prefixIcon,[Fe.m("suffix")]:ie.suffix||V.suffixIcon||V.clearable||V.showPassword,[Fe.bm("suffix","password-clear")]:Fn.value&&Un.value},oe.class]),de=computed(()=>[Fe.e("wrapper"),Fe.is("focus",$n.value)]),pe=useAttrs({excludeKeys:computed(()=>Object.keys(le.value))}),{form:he,formItem:_e}=useFormItem(),{inputId:$e}=useFormItemInputId(V,{formItemContext:_e}),Ie=useFormSize(),Ve=useFormDisabled(),Fe=useNamespace("input"),Ue=useNamespace("textarea"),qe=shallowRef(),Et=shallowRef(),Lt=ref(!1),hn=ref(!1),Cn=ref(!1),bn=ref(),Sn=shallowRef(V.inputStyle),En=computed(()=>qe.value||Et.value),{wrapperRef:wn,isFocused:$n,handleFocus:Tn,handleBlur:xn}=useFocusController(En,{afterBlur(){var gr;V.validateEvent&&((gr=_e==null?void 0:_e.validate)==null||gr.call(_e,"blur").catch($r=>void 0))}}),An=computed(()=>{var gr;return(gr=he==null?void 0:he.statusIcon)!=null?gr:!1}),Mn=computed(()=>(_e==null?void 0:_e.validateState)||""),Vn=computed(()=>Mn.value&&ValidateComponentsMap[Mn.value]),Bn=computed(()=>Cn.value?view_default:hide_default),Dn=computed(()=>[oe.style,V.inputStyle]),Ln=computed(()=>[V.inputStyle,Sn.value,{resize:V.resize}]),Pn=computed(()=>isNil(V.modelValue)?"":String(V.modelValue)),Fn=computed(()=>V.clearable&&!Ve.value&&!V.readonly&&!!Pn.value&&($n.value||Lt.value)),Un=computed(()=>V.showPassword&&!Ve.value&&!V.readonly&&!!Pn.value&&(!!Pn.value||$n.value)),Wn=computed(()=>V.showWordLimit&&!!pe.value.maxlength&&(V.type==="text"||V.type==="textarea")&&!Ve.value&&!V.readonly&&!V.showPassword),Zn=computed(()=>Pn.value.length),or=computed(()=>!!Wn.value&&Zn.value>Number(pe.value.maxlength)),br=computed(()=>!!ie.suffix||!!V.suffixIcon||Fn.value||V.showPassword||Wn.value||!!Mn.value&&An.value),[Qn,Gn]=useCursor(qe);useResizeObserver$1(Et,gr=>{if(lr(),!Wn.value||V.resize!=="both")return;const $r=gr[0],{width:Rr}=$r.contentRect;bn.value={right:`calc(100% - ${Rr+15+6}px)`}});const Yn=()=>{const{type:gr,autosize:$r}=V;if(!(!isClient$1||gr!=="textarea"||!Et.value))if($r){const Rr=isObject$a($r)?$r.minRows:void 0,Lr=isObject$a($r)?$r.maxRows:void 0,Vr=calcTextareaHeight(Et.value,Rr,Lr);Sn.value={overflowY:"hidden",...Vr},nextTick(()=>{Et.value.offsetHeight,Sn.value=Vr})}else Sn.value={minHeight:calcTextareaHeight(Et.value).minHeight}},lr=(gr=>{let $r=!1;return()=>{var Rr;if($r||!V.autosize)return;((Rr=Et.value)==null?void 0:Rr.offsetParent)===null||(gr(),$r=!0)}})(Yn),sr=()=>{const gr=En.value,$r=V.formatter?V.formatter(Pn.value):Pn.value;!gr||gr.value===$r||(gr.value=$r)},zn=async gr=>{Qn();let{value:$r}=gr.target;if(V.formatter&&($r=V.parser?V.parser($r):$r),!hn.value){if($r===Pn.value){sr();return}$(UPDATE_MODEL_EVENT,$r),$("input",$r),await nextTick(),sr(),Gn()}},Kn=gr=>{$("change",gr.target.value)},Jn=gr=>{$("compositionstart",gr),hn.value=!0},cr=gr=>{var $r;$("compositionupdate",gr);const Rr=($r=gr.target)==null?void 0:$r.value,Lr=Rr[Rr.length-1]||"";hn.value=!isKorean(Lr)},_r=gr=>{$("compositionend",gr),hn.value&&(hn.value=!1,zn(gr))},ur=()=>{Cn.value=!Cn.value,wr()},wr=async()=>{var gr;await nextTick(),(gr=En.value)==null||gr.focus()},Cr=()=>{var gr;return(gr=En.value)==null?void 0:gr.blur()},mr=gr=>{Lt.value=!1,$("mouseleave",gr)},Er=gr=>{Lt.value=!0,$("mouseenter",gr)},Tr=gr=>{$("keydown",gr)},nr=()=>{var gr;(gr=En.value)==null||gr.select()},pr=()=>{$(UPDATE_MODEL_EVENT,""),$("change",""),$("clear"),$("input","")};return watch(()=>V.modelValue,()=>{var gr;nextTick(()=>Yn()),V.validateEvent&&((gr=_e==null?void 0:_e.validate)==null||gr.call(_e,"change").catch($r=>void 0))}),watch(Pn,()=>sr()),watch(()=>V.type,async()=>{await nextTick(),sr(),Yn()}),onMounted(()=>{!V.formatter&&V.parser,sr(),nextTick(Yn)}),r({input:qe,textarea:Et,ref:En,textareaStyle:Ln,autosize:toRef(V,"autosize"),focus:wr,blur:Cr,select:nr,clear:pr,resizeTextarea:Yn}),(gr,$r)=>withDirectives((openBlock(),createElementBlock("div",mergeProps(unref(le),{class:unref(ue),style:unref(Dn),role:gr.containerRole,onMouseenter:Er,onMouseleave:mr}),[createCommentVNode(" input "),gr.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),gr.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).be("group","prepend"))},[renderSlot(gr.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"wrapperRef",ref:wn,class:normalizeClass(unref(de))},[createCommentVNode(" prefix slot "),gr.$slots.prefix||gr.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Fe).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(Fe).e("prefix-inner"))},[renderSlot(gr.$slots,"prefix"),gr.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Fe).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(gr.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref($e),ref_key:"input",ref:qe,class:unref(Fe).e("inner")},unref(pe),{type:gr.showPassword?Cn.value?"text":"password":gr.type,disabled:unref(Ve),formatter:gr.formatter,parser:gr.parser,readonly:gr.readonly,autocomplete:gr.autocomplete,tabindex:gr.tabindex,"aria-label":gr.label,placeholder:gr.placeholder,style:gr.inputStyle,form:V.form,autofocus:V.autofocus,onCompositionstart:Jn,onCompositionupdate:cr,onCompositionend:_r,onInput:zn,onFocus:$r[0]||($r[0]=(...Rr)=>unref(Tn)&&unref(Tn)(...Rr)),onBlur:$r[1]||($r[1]=(...Rr)=>unref(xn)&&unref(xn)(...Rr)),onChange:Kn,onKeydown:Tr}),null,16,_hoisted_2$J),createCommentVNode(" suffix slot "),unref(br)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Fe).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(Fe).e("suffix-inner"))},[!unref(Fn)||!unref(Un)||!unref(Wn)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(gr.$slots,"suffix"),gr.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Fe).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(gr.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(Fn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Fe).e("icon"),unref(Fe).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:pr},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(Un)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(Fe).e("icon"),unref(Fe).e("password")]),onClick:ur},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Bn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(Wn)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(Fe).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(Fe).e("count-inner"))},toDisplayString$1(unref(Zn))+" / "+toDisplayString$1(unref(pe).maxlength),3)],2)):createCommentVNode("v-if",!0),unref(Mn)&&unref(Vn)&&unref(An)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(Fe).e("icon"),unref(Fe).e("validateIcon"),unref(Fe).is("loading",unref(Mn)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Vn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),gr.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Fe).be("group","append"))},[renderSlot(gr.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref($e),ref_key:"textarea",ref:Et,class:unref(Ue).e("inner")},unref(pe),{tabindex:gr.tabindex,disabled:unref(Ve),readonly:gr.readonly,autocomplete:gr.autocomplete,style:unref(Ln),"aria-label":gr.label,placeholder:gr.placeholder,form:V.form,autofocus:V.autofocus,onCompositionstart:Jn,onCompositionupdate:cr,onCompositionend:_r,onInput:zn,onFocus:$r[2]||($r[2]=(...Rr)=>unref(Tn)&&unref(Tn)(...Rr)),onBlur:$r[3]||($r[3]=(...Rr)=>unref(xn)&&unref(xn)(...Rr)),onChange:Kn,onKeydown:Tr}),null,16,_hoisted_3$o),unref(Wn)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle$1(bn.value),class:normalizeClass(unref(Fe).e("count"))},toDisplayString$1(unref(Zn))+" / "+toDisplayString$1(unref(pe).maxlength),7)):createCommentVNode("v-if",!0)],64))],16,_hoisted_1$14)),[[vShow,gr.type!=="hidden"]])}});var Input=_export_sfc$1(_sfc_main$2g,[["__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:$})=>({[$.size]:r,transform:`translate${$.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$2f=defineComponent({__name:"thumb",props:thumbProps,setup(t){const r=t,$=inject(scrollbarContextKey),V=useNamespace("scrollbar");$||throwError$1(COMPONENT_NAME$k,"can not inject scrollbar context");const oe=ref(),ie=ref(),le=ref({}),ue=ref(!1);let de=!1,pe=!1,he=isClient$1?document.onselectstart:null;const _e=computed(()=>BAR_MAP[r.vertical?"vertical":"horizontal"]),$e=computed(()=>renderThumbStyle$1({size:r.size,move:r.move,bar:_e.value})),Ie=computed(()=>oe.value[_e.value.offset]**2/$.wrapElement[_e.value.scrollSize]/r.ratio/ie.value[_e.value.offset]),Ve=bn=>{var Sn;if(bn.stopPropagation(),bn.ctrlKey||[1,2].includes(bn.button))return;(Sn=window.getSelection())==null||Sn.removeAllRanges(),Ue(bn);const En=bn.currentTarget;En&&(le.value[_e.value.axis]=En[_e.value.offset]-(bn[_e.value.client]-En.getBoundingClientRect()[_e.value.direction]))},Fe=bn=>{if(!ie.value||!oe.value||!$.wrapElement)return;const Sn=Math.abs(bn.target.getBoundingClientRect()[_e.value.direction]-bn[_e.value.client]),En=ie.value[_e.value.offset]/2,wn=(Sn-En)*100*Ie.value/oe.value[_e.value.offset];$.wrapElement[_e.value.scroll]=wn*$.wrapElement[_e.value.scrollSize]/100},Ue=bn=>{bn.stopImmediatePropagation(),de=!0,document.addEventListener("mousemove",qe),document.addEventListener("mouseup",Et),he=document.onselectstart,document.onselectstart=()=>!1},qe=bn=>{if(!oe.value||!ie.value||de===!1)return;const Sn=le.value[_e.value.axis];if(!Sn)return;const En=(oe.value.getBoundingClientRect()[_e.value.direction]-bn[_e.value.client])*-1,wn=ie.value[_e.value.offset]-Sn,$n=(En-wn)*100*Ie.value/oe.value[_e.value.offset];$.wrapElement[_e.value.scroll]=$n*$.wrapElement[_e.value.scrollSize]/100},Et=()=>{de=!1,le.value[_e.value.axis]=0,document.removeEventListener("mousemove",qe),document.removeEventListener("mouseup",Et),Cn(),pe&&(ue.value=!1)},Lt=()=>{pe=!1,ue.value=!!r.size},hn=()=>{pe=!0,ue.value=de};onBeforeUnmount(()=>{Cn(),document.removeEventListener("mouseup",Et)});const Cn=()=>{document.onselectstart!==he&&(document.onselectstart=he)};return useEventListener$1(toRef($,"scrollbarElement"),"mousemove",Lt),useEventListener$1(toRef($,"scrollbarElement"),"mouseleave",hn),(bn,Sn)=>(openBlock(),createBlock(Transition,{name:unref(V).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:oe,class:normalizeClass([unref(V).e("bar"),unref(V).is(unref(_e).key)]),onMousedown:Fe},[createBaseVNode("div",{ref_key:"thumb",ref:ie,class:normalizeClass(unref(V).e("thumb")),style:normalizeStyle$1(unref($e)),onMousedown:Ve},null,38)],34),[[vShow,bn.always||ue.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$1(_sfc_main$2f,[["__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$2e=defineComponent({__name:"bar",props:barProps,setup(t,{expose:r}){const $=t,V=ref(0),oe=ref(0);return r({handleScroll:le=>{if(le){const ue=le.offsetHeight-GAP,de=le.offsetWidth-GAP;oe.value=le.scrollTop*100/ue*$.ratioY,V.value=le.scrollLeft*100/de*$.ratioX}}}),(le,ue)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(Thumb,{move:V.value,ratio:le.ratioX,size:le.width,always:le.always},null,8,["move","ratio","size","always"]),createVNode(Thumb,{move:oe.value,ratio:le.ratioY,size:le.height,vertical:"",always:le.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$1(_sfc_main$2e,[["__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$2d=defineComponent({...__default__$1w,props:scrollbarProps,emits:scrollbarEmits,setup(t,{expose:r,emit:$}){const V=t,oe=useNamespace("scrollbar");let ie,le;const ue=ref(),de=ref(),pe=ref(),he=ref("0"),_e=ref("0"),$e=ref(),Ie=ref(1),Ve=ref(1),Fe=computed(()=>{const Sn={};return V.height&&(Sn.height=addUnit(V.height)),V.maxHeight&&(Sn.maxHeight=addUnit(V.maxHeight)),[V.wrapStyle,Sn]}),Ue=computed(()=>[V.wrapClass,oe.e("wrap"),{[oe.em("wrap","hidden-default")]:!V.native}]),qe=computed(()=>[oe.e("view"),V.viewClass]),Et=()=>{var Sn;de.value&&((Sn=$e.value)==null||Sn.handleScroll(de.value),$("scroll",{scrollTop:de.value.scrollTop,scrollLeft:de.value.scrollLeft}))};function Lt(Sn,En){isObject$a(Sn)?de.value.scrollTo(Sn):isNumber$4(Sn)&&isNumber$4(En)&&de.value.scrollTo(Sn,En)}const hn=Sn=>{isNumber$4(Sn)&&(de.value.scrollTop=Sn)},Cn=Sn=>{isNumber$4(Sn)&&(de.value.scrollLeft=Sn)},bn=()=>{if(!de.value)return;const Sn=de.value.offsetHeight-GAP,En=de.value.offsetWidth-GAP,wn=Sn**2/de.value.scrollHeight,$n=En**2/de.value.scrollWidth,Tn=Math.max(wn,V.minSize),xn=Math.max($n,V.minSize);Ie.value=wn/(Sn-wn)/(Tn/(Sn-Tn)),Ve.value=$n/(En-$n)/(xn/(En-xn)),_e.value=Tn+GAP<Sn?`${Tn}px`:"",he.value=xn+GAP<En?`${xn}px`:""};return watch(()=>V.noresize,Sn=>{Sn?(ie==null||ie(),le==null||le()):({stop:ie}=useResizeObserver$1(pe,bn),le=useEventListener$1("resize",bn))},{immediate:!0}),watch(()=>[V.maxHeight,V.height],()=>{V.native||nextTick(()=>{var Sn;bn(),de.value&&((Sn=$e.value)==null||Sn.handleScroll(de.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:ue,wrapElement:de})),onMounted(()=>{V.native||nextTick(()=>{bn()})}),onUpdated(()=>bn()),r({wrapRef:de,update:bn,scrollTo:Lt,setScrollTop:hn,setScrollLeft:Cn,handleScroll:Et}),(Sn,En)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:ue,class:normalizeClass(unref(oe).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:de,class:normalizeClass(unref(Ue)),style:normalizeStyle$1(unref(Fe)),onScroll:Et},[(openBlock(),createBlock(resolveDynamicComponent(Sn.tag),{ref_key:"resizeRef",ref:pe,class:normalizeClass(unref(qe)),style:normalizeStyle$1(Sn.viewStyle)},{default:withCtx(()=>[renderSlot(Sn.$slots,"default")]),_:3},8,["class","style"]))],38),Sn.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:$e,height:_e.value,width:he.value,always:Sn.always,"ratio-x":Ve.value,"ratio-y":Ie.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var Scrollbar=_export_sfc$1(_sfc_main$2d,[["__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$2c=defineComponent({...__default__$1v,props:popperProps,setup(t,{expose:r}){const $=t,V=ref(),oe=ref(),ie=ref(),le=ref(),ue=computed(()=>$.role),de={triggerRef:V,popperInstanceRef:oe,contentRef:ie,referenceRef:le,role:ue};return r(de),provide(POPPER_INJECTION_KEY,de),(pe,he)=>renderSlot(pe.$slots,"default")}});var Popper=_export_sfc$1(_sfc_main$2c,[["__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$2b=defineComponent({...__default__$1u,props:popperArrowProps,setup(t,{expose:r}){const $=t,V=useNamespace("popper"),{arrowOffset:oe,arrowRef:ie,arrowStyle:le}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>$.arrowOffset,ue=>{oe.value=ue}),onBeforeUnmount(()=>{ie.value=void 0}),r({arrowRef:ie}),(ue,de)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:ie,class:normalizeClass(unref(V).e("arrow")),style:normalizeStyle$1(unref(le)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$1(_sfc_main$2b,[["__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:$}){var V;const oe=inject(FORWARD_REF_INJECTION_KEY),ie=useForwardRefDirective((V=oe==null?void 0:oe.setForwardRef)!=null?V:NOOP);return()=>{var le;const ue=(le=r.default)==null?void 0:le.call(r,$);if(!ue||ue.length>1)return null;const de=findFirstLegitChild(ue);return de?withDirectives(cloneVNode(de,$),[[ie]]):null}}});function findFirstLegitChild(t){if(!t)return null;const r=t;for(const $ of r){if(isObject$a($))switch($.type){case Comment:continue;case Text$1:case"svg":return wrapTextContent($);case Fragment:return findFirstLegitChild($.children);default:return $}return wrapTextContent($)}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$2a=defineComponent({...__default__$1t,props:popperTriggerProps,setup(t,{expose:r}){const $=t,{role:V,triggerRef:oe}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(oe);const ie=computed(()=>ue.value?$.id:void 0),le=computed(()=>{if(V&&V.value==="tooltip")return $.open&&$.id?$.id:void 0}),ue=computed(()=>{if(V&&V.value!=="tooltip")return V.value}),de=computed(()=>ue.value?`${$.open}`:void 0);let pe;return onMounted(()=>{watch(()=>$.virtualRef,he=>{he&&(oe.value=unrefElement$1(he))},{immediate:!0}),watch(oe,(he,_e)=>{pe==null||pe(),pe=void 0,isElement$2(he)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach($e=>{var Ie;const Ve=$[$e];Ve&&(he.addEventListener($e.slice(2).toLowerCase(),Ve),(Ie=_e==null?void 0:_e.removeEventListener)==null||Ie.call(_e,$e.slice(2).toLowerCase(),Ve))}),pe=watch([ie,le,ue,de],$e=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((Ie,Ve)=>{isNil($e[Ve])?he.removeAttribute(Ie):he.setAttribute(Ie,$e[Ve])})},{immediate:!0})),isElement$2(_e)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach($e=>_e.removeAttribute($e))},{immediate:!0})}),onBeforeUnmount(()=>{pe==null||pe(),pe=void 0}),r({triggerRef:oe}),(he,_e)=>he.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},he.$attrs,{"aria-controls":unref(ie),"aria-describedby":unref(le),"aria-expanded":unref(de),"aria-haspopup":unref(ue)}),{default:withCtx(()=>[renderSlot(he.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$1(_sfc_main$2a,[["__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=[],$=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:V=>{const oe=V.tagName==="INPUT"&&V.type==="hidden";return V.disabled||V.hidden||oe?NodeFilter.FILTER_SKIP:V.tabIndex>=0||V===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;$.nextNode();)r.push($.currentNode);return r},getVisibleElement=(t,r)=>{for(const $ of t)if(!isHidden($,r))return $},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),$=getVisibleElement(r,t),V=getVisibleElement(r.reverse(),t);return[$,V]},isSelectable=t=>t instanceof HTMLInputElement&&"select"in t,tryFocus=(t,r)=>{if(t&&t.focus){const $=document.activeElement;t.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),t!==$&&isSelectable(t)&&r&&t.select()}};function removeFromStack(t,r){const $=[...t],V=t.indexOf(r);return V!==-1&&$.splice(V,1),$}const createFocusableStack=()=>{let t=[];return{push:V=>{const oe=t[0];oe&&V!==oe&&oe.pause(),t=removeFromStack(t,V),t.unshift(V)},remove:V=>{var oe,ie;t=removeFromStack(t,V),(ie=(oe=t[0])==null?void 0:oe.resume)==null||ie.call(oe)}}},focusFirstDescendant=(t,r=!1)=>{const $=document.activeElement;for(const V of t)if(tryFocus(V,r),document.activeElement!==$)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$29=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 $=ref();let V,oe;const{focusReason:ie}=useFocusReason();useEscapeKeydown(Ve=>{t.trapped&&!le.paused&&r("release-requested",Ve)});const le={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},ue=Ve=>{if(!t.loop&&!t.trapped||le.paused)return;const{key:Fe,altKey:Ue,ctrlKey:qe,metaKey:Et,currentTarget:Lt,shiftKey:hn}=Ve,{loop:Cn}=t,bn=Fe===EVENT_CODE.tab&&!Ue&&!qe&&!Et,Sn=document.activeElement;if(bn&&Sn){const En=Lt,[wn,$n]=getEdges(En);if(wn&&$n){if(!hn&&Sn===$n){const xn=createFocusOutPreventedEvent({focusReason:ie.value});r("focusout-prevented",xn),xn.defaultPrevented||(Ve.preventDefault(),Cn&&tryFocus(wn,!0))}else if(hn&&[wn,En].includes(Sn)){const xn=createFocusOutPreventedEvent({focusReason:ie.value});r("focusout-prevented",xn),xn.defaultPrevented||(Ve.preventDefault(),Cn&&tryFocus($n,!0))}}else if(Sn===En){const xn=createFocusOutPreventedEvent({focusReason:ie.value});r("focusout-prevented",xn),xn.defaultPrevented||Ve.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:$,onKeydown:ue}),watch(()=>t.focusTrapEl,Ve=>{Ve&&($.value=Ve)},{immediate:!0}),watch([$],([Ve],[Fe])=>{Ve&&(Ve.addEventListener("keydown",ue),Ve.addEventListener("focusin",he),Ve.addEventListener("focusout",_e)),Fe&&(Fe.removeEventListener("keydown",ue),Fe.removeEventListener("focusin",he),Fe.removeEventListener("focusout",_e))});const de=Ve=>{r(ON_TRAP_FOCUS_EVT,Ve)},pe=Ve=>r(ON_RELEASE_FOCUS_EVT,Ve),he=Ve=>{const Fe=unref($);if(!Fe)return;const Ue=Ve.target,qe=Ve.relatedTarget,Et=Ue&&Fe.contains(Ue);t.trapped||qe&&Fe.contains(qe)||(V=qe),Et&&r("focusin",Ve),!le.paused&&t.trapped&&(Et?oe=Ue:tryFocus(oe,!0))},_e=Ve=>{const Fe=unref($);if(!(le.paused||!Fe))if(t.trapped){const Ue=Ve.relatedTarget;!isNil(Ue)&&!Fe.contains(Ue)&&setTimeout(()=>{if(!le.paused&&t.trapped){const qe=createFocusOutPreventedEvent({focusReason:ie.value});r("focusout-prevented",qe),qe.defaultPrevented||tryFocus(oe,!0)}},0)}else{const Ue=Ve.target;Ue&&Fe.contains(Ue)||r("focusout",Ve)}};async function $e(){await nextTick();const Ve=unref($);if(Ve){focusableStack.push(le);const Fe=Ve.contains(document.activeElement)?V:document.activeElement;if(V=Fe,!Ve.contains(Fe)){const qe=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);Ve.addEventListener(FOCUS_AFTER_TRAPPED,de),Ve.dispatchEvent(qe),qe.defaultPrevented||nextTick(()=>{let Et=t.focusStartEl;isString$6(Et)||(tryFocus(Et),document.activeElement!==Et&&(Et="first")),Et==="first"&&focusFirstDescendant(obtainAllFocusableElements(Ve),!0),(document.activeElement===Fe||Et==="container")&&tryFocus(Ve)})}}}function Ie(){const Ve=unref($);if(Ve){Ve.removeEventListener(FOCUS_AFTER_TRAPPED,de);const Fe=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:ie.value}});Ve.addEventListener(FOCUS_AFTER_RELEASED,pe),Ve.dispatchEvent(Fe),!Fe.defaultPrevented&&(ie.value=="keyboard"||!isFocusCausedByUserEvent()||Ve.contains(document.activeElement))&&tryFocus(V??document.body),Ve.removeEventListener(FOCUS_AFTER_RELEASED,pe),focusableStack.remove(le)}}return onMounted(()=>{t.trapped&&$e(),watch(()=>t.trapped,Ve=>{Ve?$e():Ie()})}),onBeforeUnmount(()=>{t.trapped&&Ie()}),{onKeydown:ue}}});function _sfc_render$w(t,r,$,V,oe,ie){return renderSlot(t.$slots,"default",{handleKeydown:t.onKeydown})}var ElFocusTrap=_export_sfc$1(_sfc_main$29,[["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:$,strategy:V,popperOptions:oe}=t,ie={placement:$,strategy:V,...oe,modifiers:[...genModifiers(t),...r]};return deriveExtraModifiers(ie,oe==null?void 0:oe.modifiers),ie},unwrapMeasurableEl=t=>{if(isClient$1)return unrefElement$1(t)};function genModifiers(t){const{offset:r,gpuAcceleration:$,fallbackPlacements:V}=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:V}},{name:"computeStyles",options:{gpuAcceleration:$}}]}function deriveExtraModifiers(t,r){r&&(t.modifiers=[...t.modifiers,...r??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=t=>{const{popperInstanceRef:r,contentRef:$,triggerRef:V,role:oe}=inject(POPPER_INJECTION_KEY,void 0),ie=ref(),le=ref(),ue=computed(()=>({name:"eventListeners",enabled:!!t.visible})),de=computed(()=>{var qe;const Et=unref(ie),Lt=(qe=unref(le))!=null?qe:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(Et),options:{element:Et,padding:Lt}}}),pe=computed(()=>({onFirstUpdate:()=>{Ve()},...buildPopperOptions(t,[unref(de),unref(ue)])})),he=computed(()=>unwrapMeasurableEl(t.referenceEl)||unref(V)),{attributes:_e,state:$e,styles:Ie,update:Ve,forceUpdate:Fe,instanceRef:Ue}=usePopper(he,$,pe);return watch(Ue,qe=>r.value=qe),onMounted(()=>{watch(()=>{var qe;return(qe=unref(he))==null?void 0:qe.getBoundingClientRect()},()=>{Ve()})}),{attributes:_e,arrowRef:ie,contentRef:$,instanceRef:Ue,state:$e,styles:Ie,role:oe,forceUpdate:Fe,update:Ve}},usePopperContentDOM=(t,{attributes:r,styles:$,role:V})=>{const{nextZIndex:oe}=useZIndex(),ie=useNamespace("popper"),le=computed(()=>unref(r).popper),ue=ref(t.zIndex||oe()),de=computed(()=>[ie.b(),ie.is("pure",t.pure),ie.is(t.effect),t.popperClass]),pe=computed(()=>[{zIndex:unref(ue)},unref($).popper,t.popperStyle||{}]),he=computed(()=>V.value==="dialog"?"false":void 0),_e=computed(()=>unref($).arrow||{});return{ariaModal:he,arrowStyle:_e,contentAttrs:le,contentClass:de,contentStyle:pe,contentZIndex:ue,updateZIndex:()=>{ue.value=t.zIndex||oe()}}},usePopperContentFocusTrap=(t,r)=>{const $=ref(!1),V=ref();return{focusStartRef:V,trapped:$,onFocusAfterReleased:pe=>{var he;((he=pe.detail)==null?void 0:he.focusReason)!=="pointer"&&(V.value="first",r("blur"))},onFocusAfterTrapped:()=>{r("focus")},onFocusInTrap:pe=>{t.visible&&!$.value&&(pe.target&&(V.value=pe.target),$.value=!0)},onFocusoutPrevented:pe=>{t.trapping||(pe.detail.focusReason==="pointer"&&pe.preventDefault(),$.value=!1)},onReleaseRequested:()=>{$.value=!1,r("close")}}},__default__$1s=defineComponent({name:"ElPopperContent"}),_sfc_main$28=defineComponent({...__default__$1s,props:popperContentProps,emits:popperContentEmits,setup(t,{expose:r,emit:$}){const V=t,{focusStartRef:oe,trapped:ie,onFocusAfterReleased:le,onFocusAfterTrapped:ue,onFocusInTrap:de,onFocusoutPrevented:pe,onReleaseRequested:he}=usePopperContentFocusTrap(V,$),{attributes:_e,arrowRef:$e,contentRef:Ie,styles:Ve,instanceRef:Fe,role:Ue,update:qe}=usePopperContent(V),{ariaModal:Et,arrowStyle:Lt,contentAttrs:hn,contentClass:Cn,contentStyle:bn,updateZIndex:Sn}=usePopperContentDOM(V,{styles:Ve,attributes:_e,role:Ue}),En=inject(formItemContextKey,void 0),wn=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:Lt,arrowRef:$e,arrowOffset:wn}),En&&(En.addInputId||En.removeInputId)&&provide(formItemContextKey,{...En,addInputId:NOOP,removeInputId:NOOP});let $n;const Tn=(An=!0)=>{qe(),An&&Sn()},xn=()=>{Tn(!1),V.visible&&V.focusOnShow?ie.value=!0:V.visible===!1&&(ie.value=!1)};return onMounted(()=>{watch(()=>V.triggerTargetEl,(An,Mn)=>{$n==null||$n(),$n=void 0;const Vn=unref(An||Ie.value),Bn=unref(Mn||Ie.value);isElement$2(Vn)&&($n=watch([Ue,()=>V.ariaLabel,Et,()=>V.id],Dn=>{["role","aria-label","aria-modal","id"].forEach((Ln,Pn)=>{isNil(Dn[Pn])?Vn.removeAttribute(Ln):Vn.setAttribute(Ln,Dn[Pn])})},{immediate:!0})),Bn!==Vn&&isElement$2(Bn)&&["role","aria-label","aria-modal","id"].forEach(Dn=>{Bn.removeAttribute(Dn)})},{immediate:!0}),watch(()=>V.visible,xn,{immediate:!0})}),onBeforeUnmount(()=>{$n==null||$n(),$n=void 0}),r({popperContentRef:Ie,popperInstanceRef:Fe,updatePopper:Tn,contentStyle:bn}),(An,Mn)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:Ie},unref(hn),{style:unref(bn),class:unref(Cn),tabindex:"-1",onMouseenter:Mn[0]||(Mn[0]=Vn=>An.$emit("mouseenter",Vn)),onMouseleave:Mn[1]||(Mn[1]=Vn=>An.$emit("mouseleave",Vn))}),[createVNode(unref(ElFocusTrap),{trapped:unref(ie),"trap-on-focus-in":!0,"focus-trap-el":unref(Ie),"focus-start-el":unref(oe),onFocusAfterTrapped:unref(ue),onFocusAfterReleased:unref(le),onFocusin:unref(de),onFocusoutPrevented:unref(pe),onReleaseRequested:unref(he)},{default:withCtx(()=>[renderSlot(An.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc$1(_sfc_main$28,[["__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=>{isTriggerType(unref(t),r)&&$(V)},__default__$1r=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$27=defineComponent({...__default__$1r,props:useTooltipTriggerProps,setup(t,{expose:r}){const $=t,V=useNamespace("tooltip"),{controlled:oe,id:ie,open:le,onOpen:ue,onClose:de,onToggle:pe}=inject(TOOLTIP_INJECTION_KEY,void 0),he=ref(null),_e=()=>{if(unref(oe)||$.disabled)return!0},$e=toRef($,"trigger"),Ie=composeEventHandlers(_e,whenTrigger($e,"hover",ue)),Ve=composeEventHandlers(_e,whenTrigger($e,"hover",de)),Fe=composeEventHandlers(_e,whenTrigger($e,"click",hn=>{hn.button===0&&pe(hn)})),Ue=composeEventHandlers(_e,whenTrigger($e,"focus",ue)),qe=composeEventHandlers(_e,whenTrigger($e,"focus",de)),Et=composeEventHandlers(_e,whenTrigger($e,"contextmenu",hn=>{hn.preventDefault(),pe(hn)})),Lt=composeEventHandlers(_e,hn=>{const{code:Cn}=hn;$.triggerKeys.includes(Cn)&&(hn.preventDefault(),pe(hn))});return r({triggerRef:he}),(hn,Cn)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(ie),"virtual-ref":hn.virtualRef,open:unref(le),"virtual-triggering":hn.virtualTriggering,class:normalizeClass(unref(V).e("trigger")),onBlur:unref(qe),onClick:unref(Fe),onContextmenu:unref(Et),onFocus:unref(Ue),onMouseenter:unref(Ie),onMouseleave:unref(Ve),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$27,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const __default__$1q=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$26=defineComponent({...__default__$1q,props:useTooltipContentProps,setup(t,{expose:r}){const $=t,{selector:V}=usePopperContainerId(),oe=useNamespace("tooltip"),ie=ref(null),le=ref(!1),{controlled:ue,id:de,open:pe,trigger:he,onClose:_e,onOpen:$e,onShow:Ie,onHide:Ve,onBeforeShow:Fe,onBeforeHide:Ue}=inject(TOOLTIP_INJECTION_KEY,void 0),qe=computed(()=>$.transition||`${oe.namespace.value}-fade-in-linear`),Et=computed(()=>$.persistent);onBeforeUnmount(()=>{le.value=!0});const Lt=computed(()=>unref(Et)?!0:unref(pe)),hn=computed(()=>$.disabled?!1:unref(pe)),Cn=computed(()=>$.appendTo||V.value),bn=computed(()=>{var Dn;return(Dn=$.style)!=null?Dn:{}}),Sn=computed(()=>!unref(pe)),En=()=>{Ve()},wn=()=>{if(unref(ue))return!0},$n=composeEventHandlers(wn,()=>{$.enterable&&unref(he)==="hover"&&$e()}),Tn=composeEventHandlers(wn,()=>{unref(he)==="hover"&&_e()}),xn=()=>{var Dn,Ln;(Ln=(Dn=ie.value)==null?void 0:Dn.updatePopper)==null||Ln.call(Dn),Fe==null||Fe()},An=()=>{Ue==null||Ue()},Mn=()=>{Ie(),Bn=onClickOutside$1(computed(()=>{var Dn;return(Dn=ie.value)==null?void 0:Dn.popperContentRef}),()=>{if(unref(ue))return;unref(he)!=="hover"&&_e()})},Vn=()=>{$.virtualTriggering||_e()};let Bn;return watch(()=>unref(pe),Dn=>{Dn||Bn==null||Bn()},{flush:"post"}),watch(()=>$.content,()=>{var Dn,Ln;(Ln=(Dn=ie.value)==null?void 0:Dn.updatePopper)==null||Ln.call(Dn)}),r({contentRef:ie}),(Dn,Ln)=>(openBlock(),createBlock(Teleport,{disabled:!Dn.teleported,to:unref(Cn)},[createVNode(Transition,{name:unref(qe),onAfterLeave:En,onBeforeEnter:xn,onAfterEnter:Mn,onBeforeLeave:An},{default:withCtx(()=>[unref(Lt)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(de),ref_key:"contentRef",ref:ie},Dn.$attrs,{"aria-label":Dn.ariaLabel,"aria-hidden":unref(Sn),"boundaries-padding":Dn.boundariesPadding,"fallback-placements":Dn.fallbackPlacements,"gpu-acceleration":Dn.gpuAcceleration,offset:Dn.offset,placement:Dn.placement,"popper-options":Dn.popperOptions,strategy:Dn.strategy,effect:Dn.effect,enterable:Dn.enterable,pure:Dn.pure,"popper-class":Dn.popperClass,"popper-style":[Dn.popperStyle,unref(bn)],"reference-el":Dn.referenceEl,"trigger-target-el":Dn.triggerTargetEl,visible:unref(hn),"z-index":Dn.zIndex,onMouseenter:unref($n),onMouseleave:unref(Tn),onBlur:Vn,onClose:unref(_e)}),{default:withCtx(()=>[le.value?createCommentVNode("v-if",!0):renderSlot(Dn.$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$26,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const _hoisted_1$13=["innerHTML"],_hoisted_2$I={key:1},__default__$1p=defineComponent({name:"ElTooltip"}),_sfc_main$25=defineComponent({...__default__$1p,props:useTooltipProps,emits:tooltipEmits,setup(t,{expose:r,emit:$}){const V=t;usePopperContainer();const oe=useId(),ie=ref(),le=ref(),ue=()=>{var qe;const Et=unref(ie);Et&&((qe=Et.popperInstanceRef)==null||qe.update())},de=ref(!1),pe=ref(),{show:he,hide:_e,hasUpdateHandler:$e}=useTooltipModelToggle({indicator:de,toggleReason:pe}),{onOpen:Ie,onClose:Ve}=useDelayedToggle({showAfter:toRef(V,"showAfter"),hideAfter:toRef(V,"hideAfter"),autoClose:toRef(V,"autoClose"),open:he,close:_e}),Fe=computed(()=>isBoolean$3(V.visible)&&!$e.value);provide(TOOLTIP_INJECTION_KEY,{controlled:Fe,id:oe,open:readonly(de),trigger:toRef(V,"trigger"),onOpen:qe=>{Ie(qe)},onClose:qe=>{Ve(qe)},onToggle:qe=>{unref(de)?Ve(qe):Ie(qe)},onShow:()=>{$("show",pe.value)},onHide:()=>{$("hide",pe.value)},onBeforeShow:()=>{$("before-show",pe.value)},onBeforeHide:()=>{$("before-hide",pe.value)},updatePopper:ue}),watch(()=>V.disabled,qe=>{qe&&de.value&&(de.value=!1)});const Ue=qe=>{var Et,Lt;const hn=(Lt=(Et=le.value)==null?void 0:Et.contentRef)==null?void 0:Lt.popperContentRef,Cn=(qe==null?void 0:qe.relatedTarget)||document.activeElement;return hn&&hn.contains(Cn)};return onDeactivated(()=>de.value&&_e()),r({popperRef:ie,contentRef:le,isFocusInsideContent:Ue,updatePopper:ue,onOpen:Ie,onClose:Ve,hide:_e}),(qe,Et)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:ie,role:qe.role},{default:withCtx(()=>[createVNode(ElTooltipTrigger,{disabled:qe.disabled,trigger:qe.trigger,"trigger-keys":qe.triggerKeys,"virtual-ref":qe.virtualRef,"virtual-triggering":qe.virtualTriggering},{default:withCtx(()=>[qe.$slots.default?renderSlot(qe.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode(ElTooltipContent,{ref_key:"contentRef",ref:le,"aria-label":qe.ariaLabel,"boundaries-padding":qe.boundariesPadding,content:qe.content,disabled:qe.disabled,effect:qe.effect,enterable:qe.enterable,"fallback-placements":qe.fallbackPlacements,"hide-after":qe.hideAfter,"gpu-acceleration":qe.gpuAcceleration,offset:qe.offset,persistent:qe.persistent,"popper-class":qe.popperClass,"popper-style":qe.popperStyle,placement:qe.placement,"popper-options":qe.popperOptions,pure:qe.pure,"raw-content":qe.rawContent,"reference-el":qe.referenceEl,"trigger-target-el":qe.triggerTargetEl,"show-after":qe.showAfter,strategy:qe.strategy,teleported:qe.teleported,transition:qe.transition,"virtual-triggering":qe.virtualTriggering,"z-index":qe.zIndex,"append-to":qe.appendTo},{default:withCtx(()=>[renderSlot(qe.$slots,"content",{},()=>[qe.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:qe.content},null,8,_hoisted_1$13)):(openBlock(),createElementBlock("span",_hoisted_2$I,toDisplayString$1(qe.content),1))]),qe.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":qe.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$25,[["__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$a(t)},_hoisted_1$12=["aria-expanded","aria-owns"],_hoisted_2$H={key:0},_hoisted_3$n=["id","aria-selected","onClick"],COMPONENT_NAME$i="ElAutocomplete",__default__$1o=defineComponent({name:COMPONENT_NAME$i,inheritAttrs:!1}),_sfc_main$24=defineComponent({...__default__$1o,props:autocompleteProps,emits:autocompleteEmits,setup(t,{expose:r,emit:$}){const V=t,oe=useAttrs(),ie=useAttrs$1(),le=useFormDisabled(),ue=useNamespace("autocomplete"),de=ref(),pe=ref(),he=ref(),_e=ref();let $e=!1,Ie=!1;const Ve=ref([]),Fe=ref(-1),Ue=ref(""),qe=ref(!1),Et=ref(!1),Lt=ref(!1),hn=computed(()=>ue.b(String(generateId()))),Cn=computed(()=>ie.style),bn=computed(()=>(Ve.value.length>0||Lt.value)&&qe.value),Sn=computed(()=>!V.hideLoading&&Lt.value),En=computed(()=>de.value?Array.from(de.value.$el.querySelectorAll("input")):[]),wn=()=>{bn.value&&(Ue.value=`${de.value.$el.offsetWidth}px`)},$n=()=>{Fe.value=-1},xn=debounce(async Qn=>{if(Et.value)return;const Gn=Yn=>{Lt.value=!1,!Et.value&&(isArray$c(Yn)?(Ve.value=Yn,Fe.value=V.highlightFirstItem?0:-1):throwError$1(COMPONENT_NAME$i,"autocomplete suggestions must be an array"))};if(Lt.value=!0,isArray$c(V.fetchSuggestions))Gn(V.fetchSuggestions);else{const Yn=await V.fetchSuggestions(Qn,Gn);isArray$c(Yn)&&Gn(Yn)}},V.debounce),An=Qn=>{const Gn=!!Qn;if($(INPUT_EVENT,Qn),$(UPDATE_MODEL_EVENT,Qn),Et.value=!1,qe.value||(qe.value=Gn),!V.triggerOnFocus&&!Qn){Et.value=!0,Ve.value=[];return}xn(Qn)},Mn=Qn=>{var Gn;le.value||(((Gn=Qn.target)==null?void 0:Gn.tagName)!=="INPUT"||En.value.includes(document.activeElement))&&(qe.value=!0)},Vn=Qn=>{$(CHANGE_EVENT,Qn)},Bn=Qn=>{Ie?Ie=!1:(qe.value=!0,$("focus",Qn),V.triggerOnFocus&&!$e&&xn(String(V.modelValue)))},Dn=Qn=>{setTimeout(()=>{var Gn;if((Gn=he.value)!=null&&Gn.isFocusInsideContent()){Ie=!0;return}qe.value&&Un(),$("blur",Qn)})},Ln=()=>{qe.value=!1,$(UPDATE_MODEL_EVENT,""),$("clear")},Pn=async()=>{bn.value&&Fe.value>=0&&Fe.value<Ve.value.length?or(Ve.value[Fe.value]):V.selectWhenUnmatched&&($("select",{value:V.modelValue}),Ve.value=[],Fe.value=-1)},Fn=Qn=>{bn.value&&(Qn.preventDefault(),Qn.stopPropagation(),Un())},Un=()=>{qe.value=!1},Wn=()=>{var Qn;(Qn=de.value)==null||Qn.focus()},Zn=()=>{var Qn;(Qn=de.value)==null||Qn.blur()},or=async Qn=>{$(INPUT_EVENT,Qn[V.valueKey]),$(UPDATE_MODEL_EVENT,Qn[V.valueKey]),$("select",Qn),Ve.value=[],Fe.value=-1},br=Qn=>{if(!bn.value||Lt.value)return;if(Qn<0){Fe.value=-1;return}Qn>=Ve.value.length&&(Qn=Ve.value.length-1);const Gn=pe.value.querySelector(`.${ue.be("suggestion","wrap")}`),er=Gn.querySelectorAll(`.${ue.be("suggestion","list")} li`)[Qn],lr=Gn.scrollTop,{offsetTop:sr,scrollHeight:zn}=er;sr+zn>lr+Gn.clientHeight&&(Gn.scrollTop+=zn),sr<lr&&(Gn.scrollTop-=zn),Fe.value=Qn,de.value.ref.setAttribute("aria-activedescendant",`${hn.value}-item-${Fe.value}`)};return onClickOutside$1(_e,()=>{bn.value&&Un()}),onMounted(()=>{de.value.ref.setAttribute("role","textbox"),de.value.ref.setAttribute("aria-autocomplete","list"),de.value.ref.setAttribute("aria-controls","id"),de.value.ref.setAttribute("aria-activedescendant",`${hn.value}-item-${Fe.value}`),$e=de.value.ref.hasAttribute("readonly")}),r({highlightedIndex:Fe,activated:qe,loading:Lt,inputRef:de,popperRef:he,suggestions:Ve,handleSelect:or,handleKeyEnter:Pn,focus:Wn,blur:Zn,close:Un,highlight:br}),(Qn,Gn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:he,visible:unref(bn),placement:Qn.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(ue).e("popper"),Qn.popperClass],teleported:Qn.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(ue).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:wn,onHide:$n},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:pe,class:normalizeClass([unref(ue).b("suggestion"),unref(ue).is("loading",unref(Sn))]),style:normalizeStyle$1({[Qn.fitInputWidth?"width":"minWidth"]:Ue.value,outline:"none"}),role:"region"},[createVNode(unref(ElScrollbar),{id:unref(hn),tag:"ul","wrap-class":unref(ue).be("suggestion","wrap"),"view-class":unref(ue).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[unref(Sn)?(openBlock(),createElementBlock("li",_hoisted_2$H,[createVNode(unref(ElIcon),{class:normalizeClass(unref(ue).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(Ve.value,(Yn,er)=>(openBlock(),createElementBlock("li",{id:`${unref(hn)}-item-${er}`,key:er,class:normalizeClass({highlighted:Fe.value===er}),role:"option","aria-selected":Fe.value===er,onClick:lr=>or(Yn)},[renderSlot(Qn.$slots,"default",{item:Yn},()=>[createTextVNode(toDisplayString$1(Yn[Qn.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(ue).b(),Qn.$attrs.class]),style:normalizeStyle$1(unref(Cn)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref(bn),"aria-owns":unref(hn)},[createVNode(unref(ElInput),mergeProps({ref_key:"inputRef",ref:de},unref(oe),{clearable:Qn.clearable,disabled:unref(le),name:Qn.name,"model-value":Qn.modelValue,onInput:An,onChange:Vn,onFocus:Bn,onBlur:Dn,onClear:Ln,onKeydown:[Gn[0]||(Gn[0]=withKeys(withModifiers(Yn=>br(Fe.value-1),["prevent"]),["up"])),Gn[1]||(Gn[1]=withKeys(withModifiers(Yn=>br(Fe.value+1),["prevent"]),["down"])),withKeys(Pn,["enter"]),withKeys(Un,["tab"]),withKeys(Fn,["esc"])],onMousedown:Mn}),createSlots({_:2},[Qn.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot(Qn.$slots,"prepend")])}:void 0,Qn.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot(Qn.$slots,"append")])}:void 0,Qn.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(Qn.$slots,"prefix")])}:void 0,Qn.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(Qn.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","onKeydown"])],14,_hoisted_1$12)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var Autocomplete=_export_sfc$1(_sfc_main$24,[["__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$11=["src","alt","srcset"],__default__$1n=defineComponent({name:"ElAvatar"}),_sfc_main$23=defineComponent({...__default__$1n,props:avatarProps,emits:avatarEmits,setup(t,{emit:r}){const $=t,V=useNamespace("avatar"),oe=ref(!1),ie=computed(()=>{const{size:pe,icon:he,shape:_e}=$,$e=[V.b()];return isString$6(pe)&&$e.push(V.m(pe)),he&&$e.push(V.m("icon")),_e&&$e.push(V.m(_e)),$e}),le=computed(()=>{const{size:pe}=$;return isNumber$4(pe)?V.cssVarBlock({size:addUnit(pe)||""}):void 0}),ue=computed(()=>({objectFit:$.fit}));watch(()=>$.src,()=>oe.value=!1);function de(pe){oe.value=!0,r("error",pe)}return(pe,he)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(ie)),style:normalizeStyle$1(unref(le))},[(pe.src||pe.srcSet)&&!oe.value?(openBlock(),createElementBlock("img",{key:0,src:pe.src,alt:pe.alt,srcset:pe.srcSet,style:normalizeStyle$1(unref(ue)),onError:de},null,44,_hoisted_1$11)):pe.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(pe.icon)))]),_:1})):renderSlot(pe.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc$1(_sfc_main$23,[["__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,$)=>{const V=shallowRef(),oe=shallowRef(),ie=ref(!1),le=()=>{V.value&&(ie.value=V.value.scrollTop>=t.visibilityHeight)},ue=pe=>{var he;(he=V.value)==null||he.scrollTo({top:0,behavior:"smooth"}),r("click",pe)},de=useThrottleFn(le,300,!0);return useEventListener$1(oe,"scroll",de),onMounted(()=>{var pe;oe.value=document,V.value=document.documentElement,t.target&&(V.value=(pe=document.querySelector(t.target))!=null?pe:void 0,V.value||throwError$1($,`target does not exist: ${t.target}`),oe.value=V.value),le()}),{visible:ie,handleClick:ue}},COMPONENT_NAME$h="ElBacktop",__default__$1m=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$22=defineComponent({...__default__$1m,props:backtopProps,emits:backtopEmits,setup(t,{emit:r}){const $=t,V=useNamespace("backtop"),{handleClick:oe,visible:ie}=useBackTop($,r,COMPONENT_NAME$h),le=computed(()=>({right:`${$.right}px`,bottom:`${$.bottom}px`}));return(ue,de)=>(openBlock(),createBlock(Transition,{name:`${unref(V).namespace.value}-fade-in`},{default:withCtx(()=>[unref(ie)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(unref(le)),class:normalizeClass(unref(V).b()),onClick:de[0]||(de[0]=withModifiers((...pe)=>unref(oe)&&unref(oe)(...pe),["stop"]))},[renderSlot(ue.$slots,"default",{},()=>[createVNode(unref(ElIcon),{class:normalizeClass(unref(V).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$22,[["__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$10=["textContent"],__default__$1l=defineComponent({name:"ElBadge"}),_sfc_main$21=defineComponent({...__default__$1l,props:badgeProps,setup(t,{expose:r}){const $=t,V=useNamespace("badge"),oe=computed(()=>$.isDot?"":isNumber$4($.value)&&isNumber$4($.max)?$.max<$.value?`${$.max}+`:`${$.value}`:`${$.value}`);return r({content:oe}),(ie,le)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(V).b())},[renderSlot(ie.$slots,"default"),createVNode(Transition,{name:`${unref(V).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(V).e("content"),unref(V).em("content",ie.type),unref(V).is("fixed",!!ie.$slots.default),unref(V).is("dot",ie.isDot)]),textContent:toDisplayString$1(unref(oe))},null,10,_hoisted_1$10),[[vShow,!ie.hidden&&(unref(oe)||ie.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$1(_sfc_main$21,[["__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$20=defineComponent({...__default__$1k,props:breadcrumbProps,setup(t){const r=t,$=useNamespace("breadcrumb"),V=ref();return provide(breadcrumbKey,r),onMounted(()=>{const oe=V.value.querySelectorAll(`.${$.e("item")}`);oe.length&&oe[oe.length-1].setAttribute("aria-current","page")}),(oe,ie)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:V,class:normalizeClass(unref($).b()),"aria-label":"Breadcrumb",role:"navigation"},[renderSlot(oe.$slots,"default")],2))}});var Breadcrumb=_export_sfc$1(_sfc_main$20,[["__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,$=getCurrentInstance(),V=inject(breadcrumbKey,void 0),oe=useNamespace("breadcrumb"),ie=$.appContext.config.globalProperties.$router,le=ref(),ue=()=>{!r.to||!ie||(r.replace?ie.replace(r.to):ie.push(r.to))};return(de,pe)=>{var he,_e;return openBlock(),createElementBlock("span",{class:normalizeClass(unref(oe).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:le,class:normalizeClass([unref(oe).e("inner"),unref(oe).is("link",!!de.to)]),role:"link",onClick:ue},[renderSlot(de.$slots,"default")],2),(he=unref(V))!=null&&he.separatorIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(oe).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(V).separatorIcon)))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(oe).e("separator")),role:"presentation"},toDisplayString$1((_e=unref(V))==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 $=inject(buttonGroupContextKey,void 0),V=useGlobalConfig("button"),{form:oe}=useFormItem(),ie=useFormSize(computed(()=>$==null?void 0:$.size)),le=useFormDisabled(),ue=ref(),de=useSlots(),pe=computed(()=>t.type||($==null?void 0:$.type)||""),he=computed(()=>{var Ve,Fe,Ue;return(Ue=(Fe=t.autoInsertSpace)!=null?Fe:(Ve=V.value)==null?void 0:Ve.autoInsertSpace)!=null?Ue:!1}),_e=computed(()=>t.tag==="button"?{ariaDisabled:le.value||t.loading,disabled:le.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),$e=computed(()=>{var Ve;const Fe=(Ve=de.default)==null?void 0:Ve.call(de);if(he.value&&(Fe==null?void 0:Fe.length)===1){const Ue=Fe[0];if((Ue==null?void 0:Ue.type)===Text$1){const qe=Ue.children;return/^\p{Unified_Ideograph}{2}$/u.test(qe.trim())}}return!1});return{_disabled:le,_size:ie,_type:pe,_ref:ue,_props:_e,shouldAddSpace:$e,handleClick:Ve=>{t.nativeType==="reset"&&(oe==null||oe.resetFields()),r("click",Ve)}}},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 $=isPercentage$1(t);return t=r===360?t:Math.min(r,Math.max(0,parseFloat(t))),$&&(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,$){return{r:bound01$1(t,255)*255,g:bound01$1(r,255)*255,b:bound01$1($,255)*255}}function rgbToHsl(t,r,$){t=bound01$1(t,255),r=bound01$1(r,255),$=bound01$1($,255);var V=Math.max(t,r,$),oe=Math.min(t,r,$),ie=0,le=0,ue=(V+oe)/2;if(V===oe)le=0,ie=0;else{var de=V-oe;switch(le=ue>.5?de/(2-V-oe):de/(V+oe),V){case t:ie=(r-$)/de+(r<$?6:0);break;case r:ie=($-t)/de+2;break;case $:ie=(t-r)/de+4;break}ie/=6}return{h:ie,s:le,l:ue}}function hue2rgb(t,r,$){return $<0&&($+=1),$>1&&($-=1),$<1/6?t+(r-t)*(6*$):$<1/2?r:$<2/3?t+(r-t)*(2/3-$)*6:t}function hslToRgb(t,r,$){var V,oe,ie;if(t=bound01$1(t,360),r=bound01$1(r,100),$=bound01$1($,100),r===0)oe=$,ie=$,V=$;else{var le=$<.5?$*(1+r):$+r-$*r,ue=2*$-le;V=hue2rgb(ue,le,t+1/3),oe=hue2rgb(ue,le,t),ie=hue2rgb(ue,le,t-1/3)}return{r:V*255,g:oe*255,b:ie*255}}function rgbToHsv(t,r,$){t=bound01$1(t,255),r=bound01$1(r,255),$=bound01$1($,255);var V=Math.max(t,r,$),oe=Math.min(t,r,$),ie=0,le=V,ue=V-oe,de=V===0?0:ue/V;if(V===oe)ie=0;else{switch(V){case t:ie=(r-$)/ue+(r<$?6:0);break;case r:ie=($-t)/ue+2;break;case $:ie=(t-r)/ue+4;break}ie/=6}return{h:ie,s:de,v:le}}function hsvToRgb(t,r,$){t=bound01$1(t,360)*6,r=bound01$1(r,100),$=bound01$1($,100);var V=Math.floor(t),oe=t-V,ie=$*(1-r),le=$*(1-oe*r),ue=$*(1-(1-oe)*r),de=V%6,pe=[$,le,ie,ie,ue,$][de],he=[ue,$,$,le,ie,ie][de],_e=[ie,ie,ue,$,$,le][de];return{r:pe*255,g:he*255,b:_e*255}}function rgbToHex(t,r,$,V){var oe=[pad2(Math.round(t).toString(16)),pad2(Math.round(r).toString(16)),pad2(Math.round($).toString(16))];return V&&oe[0].startsWith(oe[0].charAt(1))&&oe[1].startsWith(oe[1].charAt(1))&&oe[2].startsWith(oe[2].charAt(1))?oe[0].charAt(0)+oe[1].charAt(0)+oe[2].charAt(0):oe.join("")}function rgbaToHex(t,r,$,V,oe){var ie=[pad2(Math.round(t).toString(16)),pad2(Math.round(r).toString(16)),pad2(Math.round($).toString(16)),pad2(convertDecimalToHex(V))];return oe&&ie[0].startsWith(ie[0].charAt(1))&&ie[1].startsWith(ie[1].charAt(1))&&ie[2].startsWith(ie[2].charAt(1))&&ie[3].startsWith(ie[3].charAt(1))?ie[0].charAt(0)+ie[1].charAt(0)+ie[2].charAt(0)+ie[3].charAt(0):ie.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},$=1,V=null,oe=null,ie=null,le=!1,ue=!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),le=!0,ue=String(t.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(t.h)&&isValidCSSUnit(t.s)&&isValidCSSUnit(t.v)?(V=convertToPercentage(t.s),oe=convertToPercentage(t.v),r=hsvToRgb(t.h,V,oe),le=!0,ue="hsv"):isValidCSSUnit(t.h)&&isValidCSSUnit(t.s)&&isValidCSSUnit(t.l)&&(V=convertToPercentage(t.s),ie=convertToPercentage(t.l),r=hslToRgb(t.h,V,ie),le=!0,ue="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&($=t.a)),$=boundAlpha($),{ok:le,format:t.format||ue,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:$}}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 $=matchers.rgb.exec(t);return $?{r:$[1],g:$[2],b:$[3]}:($=matchers.rgba.exec(t),$?{r:$[1],g:$[2],b:$[3],a:$[4]}:($=matchers.hsl.exec(t),$?{h:$[1],s:$[2],l:$[3]}:($=matchers.hsla.exec(t),$?{h:$[1],s:$[2],l:$[3],a:$[4]}:($=matchers.hsv.exec(t),$?{h:$[1],s:$[2],v:$[3]}:($=matchers.hsva.exec(t),$?{h:$[1],s:$[2],v:$[3],a:$[4]}:($=matchers.hex8.exec(t),$?{r:parseIntFromHex($[1]),g:parseIntFromHex($[2]),b:parseIntFromHex($[3]),a:convertHexToDecimal($[4]),format:r?"name":"hex8"}:($=matchers.hex6.exec(t),$?{r:parseIntFromHex($[1]),g:parseIntFromHex($[2]),b:parseIntFromHex($[3]),format:r?"name":"hex"}:($=matchers.hex4.exec(t),$?{r:parseIntFromHex($[1]+$[1]),g:parseIntFromHex($[2]+$[2]),b:parseIntFromHex($[3]+$[3]),a:convertHexToDecimal($[4]+$[4]),format:r?"name":"hex8"}:($=matchers.hex3.exec(t),$?{r:parseIntFromHex($[1]+$[1]),g:parseIntFromHex($[2]+$[2]),b:parseIntFromHex($[3]+$[3]),format:r?"name":"hex"}:!1)))))))))}function isValidCSSUnit(t){return!!matchers.CSS_UNIT.exec(String(t))}var TinyColor=function(){function t(r,$){r===void 0&&(r=""),$===void 0&&($={});var V;if(r instanceof t)return r;typeof r=="number"&&(r=numberInputToObject(r)),this.originalInput=r;var oe=inputToRGB(r);this.originalInput=r,this.r=oe.r,this.g=oe.g,this.b=oe.b,this.a=oe.a,this.roundA=Math.round(100*this.a)/100,this.format=(V=$.format)!==null&&V!==void 0?V:oe.format,this.gradientType=$.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=oe.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=r.r/255,le=r.g/255,ue=r.b/255;return ie<=.03928?$=ie/12.92:$=Math.pow((ie+.055)/1.055,2.4),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),.2126*$+.7152*V+.0722*oe},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),$=Math.round(r.h*360),V=Math.round(r.s*100),oe=Math.round(r.v*100);return this.a===1?"hsv(".concat($,", ").concat(V,"%, ").concat(oe,"%)"):"hsva(".concat($,", ").concat(V,"%, ").concat(oe,"%, ").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),$=Math.round(r.h*360),V=Math.round(r.s*100),oe=Math.round(r.l*100);return this.a===1?"hsl(".concat($,", ").concat(V,"%, ").concat(oe,"%)"):"hsla(".concat($,", ").concat(V,"%, ").concat(oe,"%, ").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),$=Math.round(this.g),V=Math.round(this.b);return this.a===1?"rgb(".concat(r,", ").concat($,", ").concat(V,")"):"rgba(".concat(r,", ").concat($,", ").concat(V,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var r=function($){return"".concat(Math.round(bound01$1($,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($){return Math.round(bound01$1($,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),$=0,V=Object.entries(names);$<V.length;$++){var oe=V[$],ie=oe[0],le=oe[1];if(r===le)return ie}return!1},t.prototype.toString=function(r){var $=!!r;r=r??this.format;var V=!1,oe=this.a<1&&this.a>=0,ie=!$&&oe&&(r.startsWith("hex")||r==="name");return ie?r==="name"&&this.a===0?this.toName():this.toRgbString():(r==="rgb"&&(V=this.toRgbString()),r==="prgb"&&(V=this.toPercentageRgbString()),(r==="hex"||r==="hex6")&&(V=this.toHexString()),r==="hex3"&&(V=this.toHexString(!0)),r==="hex4"&&(V=this.toHex8String(!0)),r==="hex8"&&(V=this.toHex8String()),r==="name"&&(V=this.toName()),r==="hsl"&&(V=this.toHslString()),r==="hsv"&&(V=this.toHsvString()),V||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 $=this.toHsl();return $.l+=r/100,$.l=clamp01($.l),new t($)},t.prototype.brighten=function(r){r===void 0&&(r=10);var $=this.toRgb();return $.r=Math.max(0,Math.min(255,$.r-Math.round(255*-(r/100)))),$.g=Math.max(0,Math.min(255,$.g-Math.round(255*-(r/100)))),$.b=Math.max(0,Math.min(255,$.b-Math.round(255*-(r/100)))),new t($)},t.prototype.darken=function(r){r===void 0&&(r=10);var $=this.toHsl();return $.l-=r/100,$.l=clamp01($.l),new t($)},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 $=this.toHsl();return $.s-=r/100,$.s=clamp01($.s),new t($)},t.prototype.saturate=function(r){r===void 0&&(r=10);var $=this.toHsl();return $.s+=r/100,$.s=clamp01($.s),new t($)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(r){var $=this.toHsl(),V=($.h+r)%360;return $.h=V<0?360+V:V,new t($)},t.prototype.mix=function(r,$){$===void 0&&($=50);var V=this.toRgb(),oe=new t(r).toRgb(),ie=$/100,le={r:(oe.r-V.r)*ie+V.r,g:(oe.g-V.g)*ie+V.g,b:(oe.b-V.b)*ie+V.b,a:(oe.a-V.a)*ie+V.a};return new t(le)},t.prototype.analogous=function(r,$){r===void 0&&(r=6),$===void 0&&($=30);var V=this.toHsl(),oe=360/$,ie=[this];for(V.h=(V.h-(oe*r>>1)+720)%360;--r;)V.h=(V.h+oe)%360,ie.push(new t(V));return ie},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 $=this.toHsv(),V=$.h,oe=$.s,ie=$.v,le=[],ue=1/r;r--;)le.push(new t({h:V,s:oe,v:ie})),ie=(ie+ue)%1;return le},t.prototype.splitcomplement=function(){var r=this.toHsl(),$=r.h;return[this,new t({h:($+72)%360,s:r.s,l:r.l}),new t({h:($+216)%360,s:r.s,l:r.l})]},t.prototype.onBackground=function(r){var $=this.toRgb(),V=new t(r).toRgb(),oe=$.a+V.a*(1-$.a);return new t({r:($.r*$.a+V.r*V.a*(1-$.a))/oe,g:($.g*$.a+V.g*V.a*(1-$.a))/oe,b:($.b*$.a+V.b*V.a*(1-$.a))/oe,a:oe})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(r){for(var $=this.toHsl(),V=$.h,oe=[this],ie=360/r,le=1;le<r;le++)oe.push(new t({h:(V+le*ie)%360,s:$.s,l:$.l}));return oe},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(),$=useNamespace("button");return computed(()=>{let V={};const oe=t.color;if(oe){const ie=new TinyColor(oe),le=t.dark?ie.tint(20).toString():darken(ie,20);if(t.plain)V=$.cssVarBlock({"bg-color":t.dark?darken(ie,90):ie.tint(90).toString(),"text-color":oe,"border-color":t.dark?darken(ie,50):ie.tint(50).toString(),"hover-text-color":`var(${$.cssVarName("color-white")})`,"hover-bg-color":oe,"hover-border-color":oe,"active-bg-color":le,"active-text-color":`var(${$.cssVarName("color-white")})`,"active-border-color":le}),r.value&&(V[$.cssVarBlockName("disabled-bg-color")]=t.dark?darken(ie,90):ie.tint(90).toString(),V[$.cssVarBlockName("disabled-text-color")]=t.dark?darken(ie,50):ie.tint(50).toString(),V[$.cssVarBlockName("disabled-border-color")]=t.dark?darken(ie,80):ie.tint(80).toString());else{const ue=t.dark?darken(ie,30):ie.tint(30).toString(),de=ie.isDark()?`var(${$.cssVarName("color-white")})`:`var(${$.cssVarName("color-black")})`;if(V=$.cssVarBlock({"bg-color":oe,"text-color":de,"border-color":oe,"hover-bg-color":ue,"hover-text-color":de,"hover-border-color":ue,"active-bg-color":le,"active-border-color":le}),r.value){const pe=t.dark?darken(ie,50):ie.tint(50).toString();V[$.cssVarBlockName("disabled-bg-color")]=pe,V[$.cssVarBlockName("disabled-text-color")]=t.dark?"rgba(255, 255, 255, 0.5)":`var(${$.cssVarName("color-white")})`,V[$.cssVarBlockName("disabled-border-color")]=pe}}}return V})}const __default__$1i=defineComponent({name:"ElButton"}),_sfc_main$1_=defineComponent({...__default__$1i,props:buttonProps,emits:buttonEmits,setup(t,{expose:r,emit:$}){const V=t,oe=useButtonCustomStyle(V),ie=useNamespace("button"),{_ref:le,_size:ue,_type:de,_disabled:pe,_props:he,shouldAddSpace:_e,handleClick:$e}=useButton(V,$);return r({ref:le,size:ue,type:de,disabled:pe,shouldAddSpace:_e}),(Ie,Ve)=>(openBlock(),createBlock(resolveDynamicComponent(Ie.tag),mergeProps({ref_key:"_ref",ref:le},unref(he),{class:[unref(ie).b(),unref(ie).m(unref(de)),unref(ie).m(unref(ue)),unref(ie).is("disabled",unref(pe)),unref(ie).is("loading",Ie.loading),unref(ie).is("plain",Ie.plain),unref(ie).is("round",Ie.round),unref(ie).is("circle",Ie.circle),unref(ie).is("text",Ie.text),unref(ie).is("link",Ie.link),unref(ie).is("has-bg",Ie.bg)],style:unref(oe),onClick:unref($e)}),{default:withCtx(()=>[Ie.loading?(openBlock(),createElementBlock(Fragment,{key:0},[Ie.$slots.loading?renderSlot(Ie.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(ie).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ie.loadingIcon)))]),_:1},8,["class"]))],64)):Ie.icon||Ie.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[Ie.icon?(openBlock(),createBlock(resolveDynamicComponent(Ie.icon),{key:0})):renderSlot(Ie.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),Ie.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(ie).em("text","expand")]:unref(_e)})},[renderSlot(Ie.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc$1(_sfc_main$1_,[["__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$1Z=defineComponent({...__default__$1h,props:buttonGroupProps,setup(t){const r=t;provide(buttonGroupContextKey,reactive({size:toRef(r,"size"),type:toRef(r,"type")}));const $=useNamespace("button");return(V,oe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref($).b("group")}`)},[renderSlot(V.$slots,"default")],2))}});var ButtonGroup=_export_sfc$1(_sfc_main$1Z,[["__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 $=function V(){return this instanceof V?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};$.prototype=r.prototype}else $={};return Object.defineProperty($,"__esModule",{value:!0}),Object.keys(t).forEach(function(V){var oe=Object.getOwnPropertyDescriptor(t,V);Object.defineProperty($,V,oe.get?oe:{enumerable:!0,get:function(){return t[V]}})}),$}var dayjs_min={exports:{}};(function(t,r){(function($,V){t.exports=V()})(commonjsGlobal,function(){var $=1e3,V=6e4,oe=36e5,ie="millisecond",le="second",ue="minute",de="hour",pe="day",he="week",_e="month",$e="quarter",Ie="year",Ve="date",Fe="Invalid Date",Ue=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,qe=/\[([^\]]+)]|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,Et={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(Mn){var Vn=["th","st","nd","rd"],Bn=Mn%100;return"["+Mn+(Vn[(Bn-20)%10]||Vn[Bn]||Vn[0])+"]"}},Lt=function(Mn,Vn,Bn){var Dn=String(Mn);return!Dn||Dn.length>=Vn?Mn:""+Array(Vn+1-Dn.length).join(Bn)+Mn},hn={s:Lt,z:function(Mn){var Vn=-Mn.utcOffset(),Bn=Math.abs(Vn),Dn=Math.floor(Bn/60),Ln=Bn%60;return(Vn<=0?"+":"-")+Lt(Dn,2,"0")+":"+Lt(Ln,2,"0")},m:function Mn(Vn,Bn){if(Vn.date()<Bn.date())return-Mn(Bn,Vn);var Dn=12*(Bn.year()-Vn.year())+(Bn.month()-Vn.month()),Ln=Vn.clone().add(Dn,_e),Pn=Bn-Ln<0,Fn=Vn.clone().add(Dn+(Pn?-1:1),_e);return+(-(Dn+(Bn-Ln)/(Pn?Ln-Fn:Fn-Ln))||0)},a:function(Mn){return Mn<0?Math.ceil(Mn)||0:Math.floor(Mn)},p:function(Mn){return{M:_e,y:Ie,w:he,d:pe,D:Ve,h:de,m:ue,s:le,ms:ie,Q:$e}[Mn]||String(Mn||"").toLowerCase().replace(/s$/,"")},u:function(Mn){return Mn===void 0}},Cn="en",bn={};bn[Cn]=Et;var Sn="$isDayjsObject",En=function(Mn){return Mn instanceof xn||!(!Mn||!Mn[Sn])},wn=function Mn(Vn,Bn,Dn){var Ln;if(!Vn)return Cn;if(typeof Vn=="string"){var Pn=Vn.toLowerCase();bn[Pn]&&(Ln=Pn),Bn&&(bn[Pn]=Bn,Ln=Pn);var Fn=Vn.split("-");if(!Ln&&Fn.length>1)return Mn(Fn[0])}else{var Un=Vn.name;bn[Un]=Vn,Ln=Un}return!Dn&&Ln&&(Cn=Ln),Ln||!Dn&&Cn},$n=function(Mn,Vn){if(En(Mn))return Mn.clone();var Bn=typeof Vn=="object"?Vn:{};return Bn.date=Mn,Bn.args=arguments,new xn(Bn)},Tn=hn;Tn.l=wn,Tn.i=En,Tn.w=function(Mn,Vn){return $n(Mn,{locale:Vn.$L,utc:Vn.$u,x:Vn.$x,$offset:Vn.$offset})};var xn=function(){function Mn(Bn){this.$L=wn(Bn.locale,null,!0),this.parse(Bn),this.$x=this.$x||Bn.x||{},this[Sn]=!0}var Vn=Mn.prototype;return Vn.parse=function(Bn){this.$d=function(Dn){var Ln=Dn.date,Pn=Dn.utc;if(Ln===null)return new Date(NaN);if(Tn.u(Ln))return new Date;if(Ln instanceof Date)return new Date(Ln);if(typeof Ln=="string"&&!/Z$/i.test(Ln)){var Fn=Ln.match(Ue);if(Fn){var Un=Fn[2]-1||0,Wn=(Fn[7]||"0").substring(0,3);return Pn?new Date(Date.UTC(Fn[1],Un,Fn[3]||1,Fn[4]||0,Fn[5]||0,Fn[6]||0,Wn)):new Date(Fn[1],Un,Fn[3]||1,Fn[4]||0,Fn[5]||0,Fn[6]||0,Wn)}}return new Date(Ln)}(Bn),this.init()},Vn.init=function(){var Bn=this.$d;this.$y=Bn.getFullYear(),this.$M=Bn.getMonth(),this.$D=Bn.getDate(),this.$W=Bn.getDay(),this.$H=Bn.getHours(),this.$m=Bn.getMinutes(),this.$s=Bn.getSeconds(),this.$ms=Bn.getMilliseconds()},Vn.$utils=function(){return Tn},Vn.isValid=function(){return this.$d.toString()!==Fe},Vn.isSame=function(Bn,Dn){var Ln=$n(Bn);return this.startOf(Dn)<=Ln&&Ln<=this.endOf(Dn)},Vn.isAfter=function(Bn,Dn){return $n(Bn)<this.startOf(Dn)},Vn.isBefore=function(Bn,Dn){return this.endOf(Dn)<$n(Bn)},Vn.$g=function(Bn,Dn,Ln){return Tn.u(Bn)?this[Dn]:this.set(Ln,Bn)},Vn.unix=function(){return Math.floor(this.valueOf()/1e3)},Vn.valueOf=function(){return this.$d.getTime()},Vn.startOf=function(Bn,Dn){var Ln=this,Pn=!!Tn.u(Dn)||Dn,Fn=Tn.p(Bn),Un=function(er,lr){var sr=Tn.w(Ln.$u?Date.UTC(Ln.$y,lr,er):new Date(Ln.$y,lr,er),Ln);return Pn?sr:sr.endOf(pe)},Wn=function(er,lr){return Tn.w(Ln.toDate()[er].apply(Ln.toDate("s"),(Pn?[0,0,0,0]:[23,59,59,999]).slice(lr)),Ln)},Zn=this.$W,or=this.$M,br=this.$D,Qn="set"+(this.$u?"UTC":"");switch(Fn){case Ie:return Pn?Un(1,0):Un(31,11);case _e:return Pn?Un(1,or):Un(0,or+1);case he:var Gn=this.$locale().weekStart||0,Yn=(Zn<Gn?Zn+7:Zn)-Gn;return Un(Pn?br-Yn:br+(6-Yn),or);case pe:case Ve:return Wn(Qn+"Hours",0);case de:return Wn(Qn+"Minutes",1);case ue:return Wn(Qn+"Seconds",2);case le:return Wn(Qn+"Milliseconds",3);default:return this.clone()}},Vn.endOf=function(Bn){return this.startOf(Bn,!1)},Vn.$set=function(Bn,Dn){var Ln,Pn=Tn.p(Bn),Fn="set"+(this.$u?"UTC":""),Un=(Ln={},Ln[pe]=Fn+"Date",Ln[Ve]=Fn+"Date",Ln[_e]=Fn+"Month",Ln[Ie]=Fn+"FullYear",Ln[de]=Fn+"Hours",Ln[ue]=Fn+"Minutes",Ln[le]=Fn+"Seconds",Ln[ie]=Fn+"Milliseconds",Ln)[Pn],Wn=Pn===pe?this.$D+(Dn-this.$W):Dn;if(Pn===_e||Pn===Ie){var Zn=this.clone().set(Ve,1);Zn.$d[Un](Wn),Zn.init(),this.$d=Zn.set(Ve,Math.min(this.$D,Zn.daysInMonth())).$d}else Un&&this.$d[Un](Wn);return this.init(),this},Vn.set=function(Bn,Dn){return this.clone().$set(Bn,Dn)},Vn.get=function(Bn){return this[Tn.p(Bn)]()},Vn.add=function(Bn,Dn){var Ln,Pn=this;Bn=Number(Bn);var Fn=Tn.p(Dn),Un=function(or){var br=$n(Pn);return Tn.w(br.date(br.date()+Math.round(or*Bn)),Pn)};if(Fn===_e)return this.set(_e,this.$M+Bn);if(Fn===Ie)return this.set(Ie,this.$y+Bn);if(Fn===pe)return Un(1);if(Fn===he)return Un(7);var Wn=(Ln={},Ln[ue]=V,Ln[de]=oe,Ln[le]=$,Ln)[Fn]||1,Zn=this.$d.getTime()+Bn*Wn;return Tn.w(Zn,this)},Vn.subtract=function(Bn,Dn){return this.add(-1*Bn,Dn)},Vn.format=function(Bn){var Dn=this,Ln=this.$locale();if(!this.isValid())return Ln.invalidDate||Fe;var Pn=Bn||"YYYY-MM-DDTHH:mm:ssZ",Fn=Tn.z(this),Un=this.$H,Wn=this.$m,Zn=this.$M,or=Ln.weekdays,br=Ln.months,Qn=Ln.meridiem,Gn=function(lr,sr,zn,Kn){return lr&&(lr[sr]||lr(Dn,Pn))||zn[sr].slice(0,Kn)},Yn=function(lr){return Tn.s(Un%12||12,lr,"0")},er=Qn||function(lr,sr,zn){var Kn=lr<12?"AM":"PM";return zn?Kn.toLowerCase():Kn};return Pn.replace(qe,function(lr,sr){return sr||function(zn){switch(zn){case"YY":return String(Dn.$y).slice(-2);case"YYYY":return Tn.s(Dn.$y,4,"0");case"M":return Zn+1;case"MM":return Tn.s(Zn+1,2,"0");case"MMM":return Gn(Ln.monthsShort,Zn,br,3);case"MMMM":return Gn(br,Zn);case"D":return Dn.$D;case"DD":return Tn.s(Dn.$D,2,"0");case"d":return String(Dn.$W);case"dd":return Gn(Ln.weekdaysMin,Dn.$W,or,2);case"ddd":return Gn(Ln.weekdaysShort,Dn.$W,or,3);case"dddd":return or[Dn.$W];case"H":return String(Un);case"HH":return Tn.s(Un,2,"0");case"h":return Yn(1);case"hh":return Yn(2);case"a":return er(Un,Wn,!0);case"A":return er(Un,Wn,!1);case"m":return String(Wn);case"mm":return Tn.s(Wn,2,"0");case"s":return String(Dn.$s);case"ss":return Tn.s(Dn.$s,2,"0");case"SSS":return Tn.s(Dn.$ms,3,"0");case"Z":return Fn}return null}(lr)||Fn.replace(":","")})},Vn.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Vn.diff=function(Bn,Dn,Ln){var Pn,Fn=this,Un=Tn.p(Dn),Wn=$n(Bn),Zn=(Wn.utcOffset()-this.utcOffset())*V,or=this-Wn,br=function(){return Tn.m(Fn,Wn)};switch(Un){case Ie:Pn=br()/12;break;case _e:Pn=br();break;case $e:Pn=br()/3;break;case he:Pn=(or-Zn)/6048e5;break;case pe:Pn=(or-Zn)/864e5;break;case de:Pn=or/oe;break;case ue:Pn=or/V;break;case le:Pn=or/$;break;default:Pn=or}return Ln?Pn:Tn.a(Pn)},Vn.daysInMonth=function(){return this.endOf(_e).$D},Vn.$locale=function(){return bn[this.$L]},Vn.locale=function(Bn,Dn){if(!Bn)return this.$L;var Ln=this.clone(),Pn=wn(Bn,Dn,!0);return Pn&&(Ln.$L=Pn),Ln},Vn.clone=function(){return Tn.w(this.$d,this)},Vn.toDate=function(){return new Date(this.valueOf())},Vn.toJSON=function(){return this.isValid()?this.toISOString():null},Vn.toISOString=function(){return this.$d.toISOString()},Vn.toString=function(){return this.$d.toUTCString()},Mn}(),An=xn.prototype;return $n.prototype=An,[["$ms",ie],["$s",le],["$m",ue],["$H",de],["$W",pe],["$M",_e],["$y",Ie],["$D",Ve]].forEach(function(Mn){An[Mn[1]]=function(Vn){return this.$g(Vn,Mn[0],Mn[1])}}),$n.extend=function(Mn,Vn){return Mn.$i||(Mn(Vn,xn,$n),Mn.$i=!0),$n},$n.locale=wn,$n.isDayjs=En,$n.unix=function(Mn){return $n(1e3*Mn)},$n.en=bn[Cn],$n.Ls=bn,$n.p={},$n})})(dayjs_min);var dayjs_minExports=dayjs_min.exports;const dayjs=getDefaultExportFromCjs(dayjs_minExports);var customParseFormat$1={exports:{}};(function(t,r){(function($,V){t.exports=V()})(commonjsGlobal,function(){var $={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"},V=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,oe=/\d\d/,ie=/\d\d?/,le=/\d*[^-_:/,()\s\d]+/,ue={},de=function(Fe){return(Fe=+Fe)+(Fe>68?1900:2e3)},pe=function(Fe){return function(Ue){this[Fe]=+Ue}},he=[/[+-]\d\d:?(\d\d)?|Z/,function(Fe){(this.zone||(this.zone={})).offset=function(Ue){if(!Ue||Ue==="Z")return 0;var qe=Ue.match(/([+-]|\d\d)/g),Et=60*qe[1]+(+qe[2]||0);return Et===0?0:qe[0]==="+"?-Et:Et}(Fe)}],_e=function(Fe){var Ue=ue[Fe];return Ue&&(Ue.indexOf?Ue:Ue.s.concat(Ue.f))},$e=function(Fe,Ue){var qe,Et=ue.meridiem;if(Et){for(var Lt=1;Lt<=24;Lt+=1)if(Fe.indexOf(Et(Lt,0,Ue))>-1){qe=Lt>12;break}}else qe=Fe===(Ue?"pm":"PM");return qe},Ie={A:[le,function(Fe){this.afternoon=$e(Fe,!1)}],a:[le,function(Fe){this.afternoon=$e(Fe,!0)}],S:[/\d/,function(Fe){this.milliseconds=100*+Fe}],SS:[oe,function(Fe){this.milliseconds=10*+Fe}],SSS:[/\d{3}/,function(Fe){this.milliseconds=+Fe}],s:[ie,pe("seconds")],ss:[ie,pe("seconds")],m:[ie,pe("minutes")],mm:[ie,pe("minutes")],H:[ie,pe("hours")],h:[ie,pe("hours")],HH:[ie,pe("hours")],hh:[ie,pe("hours")],D:[ie,pe("day")],DD:[oe,pe("day")],Do:[le,function(Fe){var Ue=ue.ordinal,qe=Fe.match(/\d+/);if(this.day=qe[0],Ue)for(var Et=1;Et<=31;Et+=1)Ue(Et).replace(/\[|\]/g,"")===Fe&&(this.day=Et)}],M:[ie,pe("month")],MM:[oe,pe("month")],MMM:[le,function(Fe){var Ue=_e("months"),qe=(_e("monthsShort")||Ue.map(function(Et){return Et.slice(0,3)})).indexOf(Fe)+1;if(qe<1)throw new Error;this.month=qe%12||qe}],MMMM:[le,function(Fe){var Ue=_e("months").indexOf(Fe)+1;if(Ue<1)throw new Error;this.month=Ue%12||Ue}],Y:[/[+-]?\d+/,pe("year")],YY:[oe,function(Fe){this.year=de(Fe)}],YYYY:[/\d{4}/,pe("year")],Z:he,ZZ:he};function Ve(Fe){var Ue,qe;Ue=Fe,qe=ue&&ue.formats;for(var Et=(Fe=Ue.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(wn,$n,Tn){var xn=Tn&&Tn.toUpperCase();return $n||qe[Tn]||$[Tn]||qe[xn].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(An,Mn,Vn){return Mn||Vn.slice(1)})})).match(V),Lt=Et.length,hn=0;hn<Lt;hn+=1){var Cn=Et[hn],bn=Ie[Cn],Sn=bn&&bn[0],En=bn&&bn[1];Et[hn]=En?{regex:Sn,parser:En}:Cn.replace(/^\[|\]$/g,"")}return function(wn){for(var $n={},Tn=0,xn=0;Tn<Lt;Tn+=1){var An=Et[Tn];if(typeof An=="string")xn+=An.length;else{var Mn=An.regex,Vn=An.parser,Bn=wn.slice(xn),Dn=Mn.exec(Bn)[0];Vn.call($n,Dn),wn=wn.replace(Dn,"")}}return function(Ln){var Pn=Ln.afternoon;if(Pn!==void 0){var Fn=Ln.hours;Pn?Fn<12&&(Ln.hours+=12):Fn===12&&(Ln.hours=0),delete Ln.afternoon}}($n),$n}}return function(Fe,Ue,qe){qe.p.customParseFormat=!0,Fe&&Fe.parseTwoDigitYear&&(de=Fe.parseTwoDigitYear);var Et=Ue.prototype,Lt=Et.parse;Et.parse=function(hn){var Cn=hn.date,bn=hn.utc,Sn=hn.args;this.$u=bn;var En=Sn[1];if(typeof En=="string"){var wn=Sn[2]===!0,$n=Sn[3]===!0,Tn=wn||$n,xn=Sn[2];$n&&(xn=Sn[2]),ue=this.$locale(),!wn&&xn&&(ue=qe.Ls[xn]),this.$d=function(Bn,Dn,Ln){try{if(["x","X"].indexOf(Dn)>-1)return new Date((Dn==="X"?1e3:1)*Bn);var Pn=Ve(Dn)(Bn),Fn=Pn.year,Un=Pn.month,Wn=Pn.day,Zn=Pn.hours,or=Pn.minutes,br=Pn.seconds,Qn=Pn.milliseconds,Gn=Pn.zone,Yn=new Date,er=Wn||(Fn||Un?1:Yn.getDate()),lr=Fn||Yn.getFullYear(),sr=0;Fn&&!Un||(sr=Un>0?Un-1:Yn.getMonth());var zn=Zn||0,Kn=or||0,Jn=br||0,cr=Qn||0;return Gn?new Date(Date.UTC(lr,sr,er,zn,Kn,Jn,cr+60*Gn.offset*1e3)):Ln?new Date(Date.UTC(lr,sr,er,zn,Kn,Jn,cr)):new Date(lr,sr,er,zn,Kn,Jn,cr)}catch{return new Date("")}}(Cn,En,bn),this.init(),xn&&xn!==!0&&(this.$L=this.locale(xn).$L),Tn&&Cn!=this.format(En)&&(this.$d=new Date("")),ue={}}else if(En instanceof Array)for(var An=En.length,Mn=1;Mn<=An;Mn+=1){Sn[1]=En[Mn-1];var Vn=qe.apply(this,Sn);if(Vn.isValid()){this.$d=Vn.$d,this.$L=Vn.$L,this.init();break}Mn===An&&(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 $=isDate$3(t),V=isDate$3(r);return $&&V?t.getTime()===r.getTime():!$&&!V?t===r:!1},valueEquals=function(t,r){const $=isArray$c(t),V=isArray$c(r);return $&&V?t.length!==r.length?!1:t.every((oe,ie)=>dateEquals(oe,r[ie])):!$&&!V?dateEquals(t,r):!1},parseDate$1=function(t,r,$){const V=isEmpty(r)||r==="x"?dayjs(t).locale($):dayjs(t,r).locale($);return V.isValid()?V:void 0},formatter=function(t,r,$){return isEmpty(r)?t:r==="x"?+t:dayjs(t).locale($).format(r)},makeList=(t,r)=>{var $;const V=[],oe=r==null?void 0:r();for(let ie=0;ie<t;ie++)V.push(($=oe==null?void 0:oe.includes(ie))!=null?$:!1);return V},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$G=["id","name","placeholder","value","disabled","readonly"],__default__$1g=defineComponent({name:"Picker"}),_sfc_main$1Y=defineComponent({...__default__$1g,props:timePickerDefaultProps,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(t,{expose:r,emit:$}){const V=t,oe=useAttrs$1(),{lang:ie}=useLocale(),le=useNamespace("date"),ue=useNamespace("input"),de=useNamespace("range"),{form:pe,formItem:he}=useFormItem(),_e=inject("ElPopperOptions",{}),$e=ref(),Ie=ref(),Ve=ref(!1),Fe=ref(!1),Ue=ref(null);let qe=!1,Et=!1;const Lt=computed(()=>[le.b("editor"),le.bm("editor",V.type),ue.e("wrapper"),le.is("disabled",Wn.value),le.is("active",Ve.value),de.b("editor"),ur?de.bm("editor",ur.value):"",oe.class]),hn=computed(()=>[ue.e("icon"),de.e("close-icon"),er.value?"":de.e("close-icon--hidden")]);watch(Ve,qn=>{qn?nextTick(()=>{qn&&(Ue.value=V.modelValue)}):(mr.value=null,nextTick(()=>{Cn(V.modelValue)}))});const Cn=(qn,kr)=>{(kr||!valueEquals(qn,Ue.value))&&($("change",qn),V.validateEvent&&(he==null||he.validate("change").catch(Dr=>void 0)))},bn=qn=>{if(!valueEquals(V.modelValue,qn)){let kr;isArray$c(qn)?kr=qn.map(Dr=>formatter(Dr,V.valueFormat,ie.value)):qn&&(kr=formatter(qn,V.valueFormat,ie.value)),$("update:modelValue",qn&&kr,ie.value)}},Sn=qn=>{$("keydown",qn)},En=computed(()=>{if(Ie.value){const qn=_r.value?Ie.value:Ie.value.$el;return Array.from(qn.querySelectorAll("input"))}return[]}),wn=(qn,kr,Dr)=>{const Hr=En.value;Hr.length&&(!Dr||Dr==="min"?(Hr[0].setSelectionRange(qn,kr),Hr[0].focus()):Dr==="max"&&(Hr[1].setSelectionRange(qn,kr),Hr[1].focus()))},$n=()=>{Ln(!0,!0),nextTick(()=>{Et=!1})},Tn=(qn="",kr=!1)=>{kr||(Et=!0),Ve.value=kr;let Dr;isArray$c(qn)?Dr=qn.map(Hr=>Hr.toDate()):Dr=qn&&qn.toDate(),mr.value=null,bn(Dr)},xn=()=>{Fe.value=!0},An=()=>{$("visible-change",!0)},Mn=qn=>{(qn==null?void 0:qn.key)===EVENT_CODE.esc&&Ln(!0,!0)},Vn=()=>{Fe.value=!1,Ve.value=!1,Et=!1,$("visible-change",!1)},Bn=()=>{Ve.value=!0},Dn=()=>{Ve.value=!1},Ln=(qn=!0,kr=!1)=>{Et=kr;const[Dr,Hr]=unref(En);let Gr=Dr;!qn&&_r.value&&(Gr=Hr),Gr&&Gr.focus()},Pn=qn=>{V.readonly||Wn.value||Ve.value||Et||(Ve.value=!0,$("focus",qn))};let Fn;const Un=qn=>{const kr=async()=>{setTimeout(()=>{var Dr;Fn===kr&&(!((Dr=$e.value)!=null&&Dr.isFocusInsideContent()&&!qe)&&En.value.filter(Hr=>Hr.contains(document.activeElement)).length===0&&(Er(),Ve.value=!1,$("blur",qn),V.validateEvent&&(he==null||he.validate("blur").catch(Hr=>void 0))),qe=!1)},0)};Fn=kr,kr()},Wn=computed(()=>V.disabled||(pe==null?void 0:pe.disabled)),Zn=computed(()=>{let qn;if(sr.value?dr.value.getDefaultValue&&(qn=dr.value.getDefaultValue()):isArray$c(V.modelValue)?qn=V.modelValue.map(kr=>parseDate$1(kr,V.valueFormat,ie.value)):qn=parseDate$1(V.modelValue,V.valueFormat,ie.value),dr.value.getRangeAvailableTime){const kr=dr.value.getRangeAvailableTime(qn);isEqual$1(kr,qn)||(qn=kr,bn(isArray$c(qn)?qn.map(Dr=>Dr.toDate()):qn.toDate()))}return isArray$c(qn)&&qn.some(kr=>!kr)&&(qn=[]),qn}),or=computed(()=>{if(!dr.value.panelReady)return"";const qn=nr(Zn.value);return isArray$c(mr.value)?[mr.value[0]||qn&&qn[0]||"",mr.value[1]||qn&&qn[1]||""]:mr.value!==null?mr.value:!Qn.value&&sr.value||!Ve.value&&sr.value?"":qn?Gn.value?qn.join(", "):qn:""}),br=computed(()=>V.type.includes("time")),Qn=computed(()=>V.type.startsWith("time")),Gn=computed(()=>V.type==="dates"),Yn=computed(()=>V.prefixIcon||(br.value?clock_default:calendar_default)),er=ref(!1),lr=qn=>{V.readonly||Wn.value||er.value&&(qn.stopPropagation(),$n(),bn(null),Cn(null,!0),er.value=!1,Ve.value=!1,dr.value.handleClear&&dr.value.handleClear())},sr=computed(()=>{const{modelValue:qn}=V;return!qn||isArray$c(qn)&&!qn.filter(Boolean).length}),zn=async qn=>{var kr;V.readonly||Wn.value||(((kr=qn.target)==null?void 0:kr.tagName)!=="INPUT"||En.value.includes(document.activeElement))&&(Ve.value=!0)},Kn=()=>{V.readonly||Wn.value||!sr.value&&V.clearable&&(er.value=!0)},Jn=()=>{er.value=!1},cr=qn=>{var kr;V.readonly||Wn.value||(((kr=qn.touches[0].target)==null?void 0:kr.tagName)!=="INPUT"||En.value.includes(document.activeElement))&&(Ve.value=!0)},_r=computed(()=>V.type.includes("range")),ur=useFormSize(),wr=computed(()=>{var qn,kr;return(kr=(qn=unref($e))==null?void 0:qn.popperRef)==null?void 0:kr.contentRef}),Cr=computed(()=>{var qn;return unref(_r)?unref(Ie):(qn=unref(Ie))==null?void 0:qn.$el});onClickOutside$1(Cr,qn=>{const kr=unref(wr),Dr=unref(Cr);kr&&(qn.target===kr||qn.composedPath().includes(kr))||qn.target===Dr||qn.composedPath().includes(Dr)||(Ve.value=!1)});const mr=ref(null),Er=()=>{if(mr.value){const qn=Tr(or.value);qn&&pr(qn)&&(bn(isArray$c(qn)?qn.map(kr=>kr.toDate()):qn.toDate()),mr.value=null)}mr.value===""&&(bn(null),Cn(null),mr.value=null)},Tr=qn=>qn?dr.value.parseUserInput(qn):null,nr=qn=>qn?dr.value.formatToString(qn):null,pr=qn=>dr.value.isValidValue(qn),gr=async qn=>{if(V.readonly||Wn.value)return;const{code:kr}=qn;if(Sn(qn),kr===EVENT_CODE.esc){Ve.value===!0&&(Ve.value=!1,qn.preventDefault(),qn.stopPropagation());return}if(kr===EVENT_CODE.down&&(dr.value.handleFocusPicker&&(qn.preventDefault(),qn.stopPropagation()),Ve.value===!1&&(Ve.value=!0,await nextTick()),dr.value.handleFocusPicker)){dr.value.handleFocusPicker();return}if(kr===EVENT_CODE.tab){qe=!0;return}if(kr===EVENT_CODE.enter||kr===EVENT_CODE.numpadEnter){(mr.value===null||mr.value===""||pr(Tr(or.value)))&&(Er(),Ve.value=!1),qn.stopPropagation();return}if(mr.value){qn.stopPropagation();return}dr.value.handleKeydownInput&&dr.value.handleKeydownInput(qn)},$r=qn=>{mr.value=qn,Ve.value||(Ve.value=!0)},Rr=qn=>{const kr=qn.target;mr.value?mr.value=[kr.value,mr.value[1]]:mr.value=[kr.value,null]},Lr=qn=>{const kr=qn.target;mr.value?mr.value=[mr.value[0],kr.value]:mr.value=[null,kr.value]},Vr=()=>{var qn;const kr=mr.value,Dr=Tr(kr&&kr[0]),Hr=unref(Zn);if(Dr&&Dr.isValid()){mr.value=[nr(Dr),((qn=or.value)==null?void 0:qn[1])||null];const Gr=[Dr,Hr&&(Hr[1]||null)];pr(Gr)&&(bn(Gr),mr.value=null)}},Nr=()=>{var qn;const kr=unref(mr),Dr=Tr(kr&&kr[1]),Hr=unref(Zn);if(Dr&&Dr.isValid()){mr.value=[((qn=unref(or))==null?void 0:qn[0])||null,nr(Dr)];const Gr=[Hr&&Hr[0],Dr];pr(Gr)&&(bn(Gr),mr.value=null)}},dr=ref({}),ar=qn=>{dr.value[qn[0]]=qn[1],dr.value.panelReady=!0},tr=qn=>{$("calendar-change",qn)},Sr=(qn,kr,Dr)=>{$("panel-change",qn,kr,Dr)};return provide("EP_PICKER_BASE",{props:V}),r({focus:Ln,handleFocusInput:Pn,handleBlurInput:Un,handleOpen:Bn,handleClose:Dn,onPick:Tn}),(qn,kr)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:$e,visible:Ve.value,effect:"light",pure:"",trigger:"click"},qn.$attrs,{role:"dialog",teleported:"",transition:`${unref(le).namespace.value}-zoom-in-top`,"popper-class":[`${unref(le).namespace.value}-picker__popper`,qn.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:An,onHide:Vn}),{default:withCtx(()=>[unref(_r)?(openBlock(),createElementBlock("div",{key:1,ref_key:"inputRef",ref:Ie,class:normalizeClass(unref(Lt)),style:normalizeStyle$1(qn.$attrs.style),onClick:Pn,onMouseenter:Kn,onMouseleave:Jn,onTouchstart:cr,onKeydown:gr},[unref(Yn)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(ue).e("icon"),unref(de).e("icon")]),onMousedown:withModifiers(zn,["prevent"]),onTouchstart:cr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Yn))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),createBaseVNode("input",{id:qn.id&&qn.id[0],autocomplete:"off",name:qn.name&&qn.name[0],placeholder:qn.startPlaceholder,value:unref(or)&&unref(or)[0],disabled:unref(Wn),readonly:!qn.editable||qn.readonly,class:normalizeClass(unref(de).b("input")),onMousedown:zn,onInput:Rr,onChange:Vr,onFocus:Pn,onBlur:Un},null,42,_hoisted_1$$),renderSlot(qn.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(de).b("separator"))},toDisplayString$1(qn.rangeSeparator),3)]),createBaseVNode("input",{id:qn.id&&qn.id[1],autocomplete:"off",name:qn.name&&qn.name[1],placeholder:qn.endPlaceholder,value:unref(or)&&unref(or)[1],disabled:unref(Wn),readonly:!qn.editable||qn.readonly,class:normalizeClass(unref(de).b("input")),onMousedown:zn,onFocus:Pn,onBlur:Un,onInput:Lr,onChange:Nr},null,42,_hoisted_2$G),qn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(hn)),onClick:lr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(qn.clearIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],38)):(openBlock(),createBlock(unref(ElInput),{key:0,id:qn.id,ref_key:"inputRef",ref:Ie,"container-role":"combobox","model-value":unref(or),name:qn.name,size:unref(ur),disabled:unref(Wn),placeholder:qn.placeholder,class:normalizeClass([unref(le).b("editor"),unref(le).bm("editor",qn.type),qn.$attrs.class]),style:normalizeStyle$1(qn.$attrs.style),readonly:!qn.editable||qn.readonly||unref(Gn)||qn.type==="week",label:qn.label,tabindex:qn.tabindex,"validate-event":!1,onInput:$r,onFocus:Pn,onBlur:Un,onKeydown:gr,onChange:Er,onMousedown:zn,onMouseenter:Kn,onMouseleave:Jn,onTouchstart:cr,onClick:kr[0]||(kr[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[unref(Yn)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).e("icon")),onMousedown:withModifiers(zn,["prevent"]),onTouchstart:cr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Yn))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[er.value&&qn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(ue).e("icon")} clear-icon`),onClick:withModifiers(lr,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(qn.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(qn.$slots,"default",{visible:Ve.value,actualVisible:Fe.value,parsedValue:unref(Zn),format:qn.format,unlinkPanels:qn.unlinkPanels,type:qn.type,defaultValue:qn.defaultValue,onPick:Tn,onSelectRange:wn,onSetPickerOption:ar,onCalendarChange:tr,onPanelChange:Sr,onKeydown:Mn,onMousedown:kr[1]||(kr[1]=withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var CommonPicker=_export_sfc$1(_sfc_main$1Y,[["__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:$})=>{const V=(le,ue,de,pe)=>{const he={hour:t,minute:r,second:$};let _e=le;return["hour","minute","second"].forEach($e=>{if(he[$e]){let Ie;const Ve=he[$e];switch($e){case"minute":{Ie=Ve(_e.hour(),ue,pe);break}case"second":{Ie=Ve(_e.hour(),_e.minute(),ue,pe);break}default:{Ie=Ve(ue,pe);break}}if(Ie!=null&&Ie.length&&!Ie.includes(_e[$e]())){const Fe=de?0:Ie.length-1;_e=_e[$e](Ie[Fe])}}}),_e},oe={};return{timePickerOptions:oe,getAvailableTime:V,onSetOption:([le,ue])=>{oe[le]=ue}}},makeAvailableArr=t=>{const r=(V,oe)=>V||oe,$=V=>V!==!0;return t.map(r).filter($)},getTimeLists=(t,r,$)=>({getHoursList:(le,ue)=>makeList(24,t&&(()=>t==null?void 0:t(le,ue))),getMinutesList:(le,ue,de)=>makeList(60,r&&(()=>r==null?void 0:r(le,ue,de))),getSecondsList:(le,ue,de,pe)=>makeList(60,$&&(()=>$==null?void 0:$(le,ue,de,pe)))}),buildAvailableTimeSlotGetter=(t,r,$)=>{const{getHoursList:V,getMinutesList:oe,getSecondsList:ie}=getTimeLists(t,r,$);return{getAvailableHours:(pe,he)=>makeAvailableArr(V(pe,he)),getAvailableMinutes:(pe,he,_e)=>makeAvailableArr(oe(pe,he,_e)),getAvailableSeconds:(pe,he,_e,$e)=>makeAvailableArr(ie(pe,he,_e,$e))}},useOldValue=t=>{const r=ref(t.parsedValue);return watch(()=>t.visible,$=>{$||(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:$}of r)$(t,startClick)}));function createDocumentHandler(t,r){let $=[];return Array.isArray(r.arg)?$=r.arg:isElement$2(r.arg)&&$.push(r.arg),function(V,oe){const ie=r.instance.popperRef,le=V.target,ue=oe==null?void 0:oe.target,de=!r||!r.instance,pe=!le||!ue,he=t.contains(le)||t.contains(ue),_e=t===le,$e=$.length&&$.some(Ve=>Ve==null?void 0:Ve.contains(le))||$.length&&$.includes(ue),Ie=ie&&(ie.contains(le)||ie.contains(ue));de||pe||he||_e||$e||Ie||r.value(V,oe)}}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 $=nodeList.get(t),V=$.findIndex(ie=>ie.bindingFn===r.oldValue),oe={documentHandler:createDocumentHandler(t,r),bindingFn:r.value};V>=0?$.splice(V,1,oe):$.push(oe)},unmounted(t){nodeList.delete(t)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(t,r){const $=r.value,{interval:V=REPEAT_INTERVAL,delay:oe=REPEAT_DELAY}=isFunction$5($)?{}:$;let ie,le;const ue=()=>isFunction$5($)?$():$.handler(),de=()=>{le&&(clearTimeout(le),le=void 0),ie&&(clearInterval(ie),ie=void 0)};t.addEventListener("mousedown",pe=>{pe.button===0&&(de(),ue(),document.addEventListener("mouseup",()=>de(),{once:!0}),le=setTimeout(()=>{ie=setInterval(()=>{ue()},V)},oe))})}},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 $=t.shiftKey,V=t.target===r[0],oe=t.target===r[r.length-1];V&&$&&(t.preventDefault(),r[r.length-1].focus()),oe&&!$&&(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),$=/(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 V=/(?:Trident\/(\d+.\d+))/.exec(t);N$1=V?parseFloat(V[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($){if($[1]){var oe=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);l=oe?parseFloat(oe[1].replace("_",".")):!0}else l=!1;p$1=!!$[2],m$3=!!$[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 $="on"+t,V=$ in document;if(!V){var oe=document.createElement("div");oe.setAttribute($,"return;"),V=typeof oe[$]=="function"}return!V&&X&&t==="wheel"&&(V=document.implementation.hasFeature("Events.wheel","3.0")),V}var b$1=S,O$1=10,I$2=40,P$2=800;function T(t){var r=0,$=0,V=0,oe=0;return"detail"in t&&($=t.detail),"wheelDelta"in t&&($=-t.wheelDelta/120),"wheelDeltaY"in t&&($=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(r=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(r=$,$=0),V=r*O$1,oe=$*O$1,"deltaY"in t&&(oe=t.deltaY),"deltaX"in t&&(V=t.deltaX),(V||oe)&&t.deltaMode&&(t.deltaMode==1?(V*=I$2,oe*=I$2):(V*=P$2,oe*=P$2)),V&&!r&&(r=V<1?-1:1),oe&&!$&&($=oe<1?-1:1),{spinX:r,spinY:$,pixelX:V,pixelY:oe}}T.getEventType=function(){return A$1.firefox()?"DOMMouseScroll":b$1("wheel")?"wheel":"mousewheel"};var Y$1=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 $=function(V){const oe=Y$1(V);r&&Reflect.apply(r,this,[V,oe])};t.addEventListener("wheel",$,{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$_=["onClick"],_hoisted_2$F=["onMouseenter"],_sfc_main$1X=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(t,{emit:r}){const $=t,V=useNamespace("time"),{getHoursList:oe,getMinutesList:ie,getSecondsList:le}=getTimeLists($.disabledHours,$.disabledMinutes,$.disabledSeconds);let ue=!1;const de=ref(),pe=ref(),he=ref(),_e=ref(),$e={hours:pe,minutes:he,seconds:_e},Ie=computed(()=>$.showSeconds?timeUnits$2:timeUnits$2.slice(0,2)),Ve=computed(()=>{const{spinnerDate:Pn}=$,Fn=Pn.hour(),Un=Pn.minute(),Wn=Pn.second();return{hours:Fn,minutes:Un,seconds:Wn}}),Fe=computed(()=>{const{hours:Pn,minutes:Fn}=unref(Ve);return{hours:oe($.role),minutes:ie(Pn,$.role),seconds:le(Pn,Fn,$.role)}}),Ue=computed(()=>{const{hours:Pn,minutes:Fn,seconds:Un}=unref(Ve);return{hours:buildTimeList(Pn,23),minutes:buildTimeList(Fn,59),seconds:buildTimeList(Un,59)}}),qe=debounce(Pn=>{ue=!1,hn(Pn)},200),Et=Pn=>{if(!!!$.amPmMode)return"";const Un=$.amPmMode==="A";let Wn=Pn<12?" am":" pm";return Un&&(Wn=Wn.toUpperCase()),Wn},Lt=Pn=>{let Fn;switch(Pn){case"hours":Fn=[0,2];break;case"minutes":Fn=[3,5];break;case"seconds":Fn=[6,8];break}const[Un,Wn]=Fn;r("select-range",Un,Wn),de.value=Pn},hn=Pn=>{Sn(Pn,unref(Ve)[Pn])},Cn=()=>{hn("hours"),hn("minutes"),hn("seconds")},bn=Pn=>Pn.querySelector(`.${V.namespace.value}-scrollbar__wrap`),Sn=(Pn,Fn)=>{if($.arrowControl)return;const Un=unref($e[Pn]);Un&&Un.$el&&(bn(Un.$el).scrollTop=Math.max(0,Fn*En(Pn)))},En=Pn=>{const Fn=unref($e[Pn]),Un=Fn==null?void 0:Fn.$el.querySelector("li");return Un&&Number.parseFloat(getStyle$1(Un,"height"))||0},wn=()=>{Tn(1)},$n=()=>{Tn(-1)},Tn=Pn=>{de.value||Lt("hours");const Fn=de.value,Un=unref(Ve)[Fn],Wn=de.value==="hours"?24:60,Zn=xn(Fn,Un,Pn,Wn);An(Fn,Zn),Sn(Fn,Zn),nextTick(()=>Lt(Fn))},xn=(Pn,Fn,Un,Wn)=>{let Zn=(Fn+Un+Wn)%Wn;const or=unref(Fe)[Pn];for(;or[Zn]&&Zn!==Fn;)Zn=(Zn+Un+Wn)%Wn;return Zn},An=(Pn,Fn)=>{if(unref(Fe)[Pn][Fn])return;const{hours:Zn,minutes:or,seconds:br}=unref(Ve);let Qn;switch(Pn){case"hours":Qn=$.spinnerDate.hour(Fn).minute(or).second(br);break;case"minutes":Qn=$.spinnerDate.hour(Zn).minute(Fn).second(br);break;case"seconds":Qn=$.spinnerDate.hour(Zn).minute(or).second(Fn);break}r("change",Qn)},Mn=(Pn,{value:Fn,disabled:Un})=>{Un||(An(Pn,Fn),Lt(Pn),Sn(Pn,Fn))},Vn=Pn=>{ue=!0,qe(Pn);const Fn=Math.min(Math.round((bn(unref($e[Pn]).$el).scrollTop-(Bn(Pn)*.5-10)/En(Pn)+3)/En(Pn)),Pn==="hours"?23:59);An(Pn,Fn)},Bn=Pn=>unref($e[Pn]).$el.offsetHeight,Dn=()=>{const Pn=Fn=>{const Un=unref($e[Fn]);Un&&Un.$el&&(bn(Un.$el).onscroll=()=>{Vn(Fn)})};Pn("hours"),Pn("minutes"),Pn("seconds")};onMounted(()=>{nextTick(()=>{!$.arrowControl&&Dn(),Cn(),$.role==="start"&&Lt("hours")})});const Ln=(Pn,Fn)=>{$e[Fn].value=Pn};return r("set-option",[`${$.role}_scrollDown`,Tn]),r("set-option",[`${$.role}_emitSelectRange`,Lt]),watch(()=>$.spinnerDate,()=>{ue||Cn()}),(Pn,Fn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(V).b("spinner"),{"has-seconds":Pn.showSeconds}])},[Pn.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(Ie),Un=>(openBlock(),createBlock(unref(ElScrollbar),{key:Un,ref_for:!0,ref:Wn=>Ln(Wn,Un),class:normalizeClass(unref(V).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(V).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Wn=>Lt(Un),onMousemove:Wn=>hn(Un)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Fe)[Un],(Wn,Zn)=>(openBlock(),createElementBlock("li",{key:Zn,class:normalizeClass([unref(V).be("spinner","item"),unref(V).is("active",Zn===unref(Ve)[Un]),unref(V).is("disabled",Wn)]),onClick:or=>Mn(Un,{value:Zn,disabled:Wn})},[Un==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(("0"+(Pn.amPmMode?Zn%12||12:Zn)).slice(-2))+toDisplayString$1(Et(Zn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString$1(("0"+Zn).slice(-2)),1)],64))],10,_hoisted_1$_))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),Pn.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(Ie),Un=>(openBlock(),createElementBlock("div",{key:Un,class:normalizeClass([unref(V).be("spinner","wrapper"),unref(V).is("arrow")]),onMouseenter:Wn=>Lt(Un)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(V).be("spinner","arrow")])},{default:withCtx(()=>[createVNode(unref(arrow_up_default))]),_:1},8,["class"])),[[unref(vRepeatClick),$n]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(V).be("spinner","arrow")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),wn]]),createBaseVNode("ul",{class:normalizeClass(unref(V).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ue)[Un],(Wn,Zn)=>(openBlock(),createElementBlock("li",{key:Zn,class:normalizeClass([unref(V).be("spinner","item"),unref(V).is("active",Wn===unref(Ve)[Un]),unref(V).is("disabled",unref(Fe)[Un][Wn])])},[typeof Wn=="number"?(openBlock(),createElementBlock(Fragment,{key:0},[Un==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(("0"+(Pn.amPmMode?Wn%12||12:Wn)).slice(-2))+toDisplayString$1(Et(Wn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString$1(("0"+Wn).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2))),128))],2)],42,_hoisted_2$F))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc$1(_sfc_main$1X,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const _sfc_main$1W=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup(t,{emit:r}){const $=t,V=inject("EP_PICKER_BASE"),{arrowControl:oe,disabledHours:ie,disabledMinutes:le,disabledSeconds:ue,defaultValue:de}=V.props,{getAvailableHours:pe,getAvailableMinutes:he,getAvailableSeconds:_e}=buildAvailableTimeSlotGetter(ie,le,ue),$e=useNamespace("time"),{t:Ie,lang:Ve}=useLocale(),Fe=ref([0,2]),Ue=useOldValue($),qe=computed(()=>isUndefined$1($.actualVisible)?`${$e.namespace.value}-zoom-in-top`:""),Et=computed(()=>$.format.includes("ss")),Lt=computed(()=>$.format.includes("A")?"A":$.format.includes("a")?"a":""),hn=Ln=>{const Pn=dayjs(Ln).locale(Ve.value),Fn=Mn(Pn);return Pn.isSame(Fn)},Cn=()=>{r("pick",Ue.value,!1)},bn=(Ln=!1,Pn=!1)=>{Pn||r("pick",$.parsedValue,Ln)},Sn=Ln=>{if(!$.visible)return;const Pn=Mn(Ln).millisecond(0);r("pick",Pn,!0)},En=(Ln,Pn)=>{r("select-range",Ln,Pn),Fe.value=[Ln,Pn]},wn=Ln=>{const Pn=[0,3].concat(Et.value?[6]:[]),Fn=["hours","minutes"].concat(Et.value?["seconds"]:[]),Wn=(Pn.indexOf(Fe.value[0])+Ln+Pn.length)%Pn.length;Tn.start_emitSelectRange(Fn[Wn])},$n=Ln=>{const Pn=Ln.code,{left:Fn,right:Un,up:Wn,down:Zn}=EVENT_CODE;if([Fn,Un].includes(Pn)){wn(Pn===Fn?-1:1),Ln.preventDefault();return}if([Wn,Zn].includes(Pn)){const or=Pn===Wn?-1:1;Tn.start_scrollDown(or),Ln.preventDefault();return}},{timePickerOptions:Tn,onSetOption:xn,getAvailableTime:An}=useTimePanel({getAvailableHours:pe,getAvailableMinutes:he,getAvailableSeconds:_e}),Mn=Ln=>An(Ln,$.datetimeRole||"",!0),Vn=Ln=>Ln?dayjs(Ln,$.format).locale(Ve.value):null,Bn=Ln=>Ln?Ln.format($.format):null,Dn=()=>dayjs(de).locale(Ve.value);return r("set-picker-option",["isValidValue",hn]),r("set-picker-option",["formatToString",Bn]),r("set-picker-option",["parseUserInput",Vn]),r("set-picker-option",["handleKeydownInput",$n]),r("set-picker-option",["getRangeAvailableTime",Mn]),r("set-picker-option",["getDefaultValue",Dn]),(Ln,Pn)=>(openBlock(),createBlock(Transition,{name:unref(qe)},{default:withCtx(()=>[Ln.actualVisible||Ln.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($e).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref($e).be("panel","content"),{"has-seconds":unref(Et)}])},[createVNode(TimeSpinner,{ref:"spinner",role:Ln.datetimeRole||"start","arrow-control":unref(oe),"show-seconds":unref(Et),"am-pm-mode":unref(Lt),"spinner-date":Ln.parsedValue,"disabled-hours":unref(ie),"disabled-minutes":unref(le),"disabled-seconds":unref(ue),onChange:Sn,onSetOption:unref(xn),onSelectRange:En},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($e).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref($e).be("panel","btn"),"cancel"]),onClick:Cn},toDisplayString$1(unref(Ie)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref($e).be("panel","btn"),"confirm"]),onClick:Pn[0]||(Pn[0]=Fn=>bn())},toDisplayString$1(unref(Ie)("el.datepicker.confirm")),3)],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var TimePickPanel=_export_sfc$1(_sfc_main$1W,[["__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$Z=["disabled"],_sfc_main$1V=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup(t,{emit:r}){const $=t,V=(sr,zn)=>{const Kn=[];for(let Jn=sr;Jn<=zn;Jn++)Kn.push(Jn);return Kn},{t:oe,lang:ie}=useLocale(),le=useNamespace("time"),ue=useNamespace("picker"),de=inject("EP_PICKER_BASE"),{arrowControl:pe,disabledHours:he,disabledMinutes:_e,disabledSeconds:$e,defaultValue:Ie}=de.props,Ve=computed(()=>[le.be("range-picker","body"),le.be("panel","content"),le.is("arrow",pe),hn.value?"has-seconds":""]),Fe=computed(()=>[le.be("range-picker","body"),le.be("panel","content"),le.is("arrow",pe),hn.value?"has-seconds":""]),Ue=computed(()=>$.parsedValue[0]),qe=computed(()=>$.parsedValue[1]),Et=useOldValue($),Lt=()=>{r("pick",Et.value,!1)},hn=computed(()=>$.format.includes("ss")),Cn=computed(()=>$.format.includes("A")?"A":$.format.includes("a")?"a":""),bn=(sr=!1)=>{r("pick",[Ue.value,qe.value],sr)},Sn=sr=>{$n(sr.millisecond(0),qe.value)},En=sr=>{$n(Ue.value,sr.millisecond(0))},wn=sr=>{const zn=sr.map(Jn=>dayjs(Jn).locale(ie.value)),Kn=Un(zn);return zn[0].isSame(Kn[0])&&zn[1].isSame(Kn[1])},$n=(sr,zn)=>{r("pick",[sr,zn],!0)},Tn=computed(()=>Ue.value>qe.value),xn=ref([0,2]),An=(sr,zn)=>{r("select-range",sr,zn,"min"),xn.value=[sr,zn]},Mn=computed(()=>hn.value?11:8),Vn=(sr,zn)=>{r("select-range",sr,zn,"max");const Kn=unref(Mn);xn.value=[sr+Kn,zn+Kn]},Bn=sr=>{const zn=hn.value?[0,3,6,11,14,17]:[0,3,8,11],Kn=["hours","minutes"].concat(hn.value?["seconds"]:[]),cr=(zn.indexOf(xn.value[0])+sr+zn.length)%zn.length,_r=zn.length/2;cr<_r?br.start_emitSelectRange(Kn[cr]):br.end_emitSelectRange(Kn[cr-_r])},Dn=sr=>{const zn=sr.code,{left:Kn,right:Jn,up:cr,down:_r}=EVENT_CODE;if([Kn,Jn].includes(zn)){Bn(zn===Kn?-1:1),sr.preventDefault();return}if([cr,_r].includes(zn)){const ur=zn===cr?-1:1,wr=xn.value[0]<Mn.value?"start":"end";br[`${wr}_scrollDown`](ur),sr.preventDefault();return}},Ln=(sr,zn)=>{const Kn=he?he(sr):[],Jn=sr==="start",_r=(zn||(Jn?qe.value:Ue.value)).hour(),ur=Jn?V(_r+1,23):V(0,_r-1);return union$1(Kn,ur)},Pn=(sr,zn,Kn)=>{const Jn=_e?_e(sr,zn):[],cr=zn==="start",_r=Kn||(cr?qe.value:Ue.value),ur=_r.hour();if(sr!==ur)return Jn;const wr=_r.minute(),Cr=cr?V(wr+1,59):V(0,wr-1);return union$1(Jn,Cr)},Fn=(sr,zn,Kn,Jn)=>{const cr=$e?$e(sr,zn,Kn):[],_r=Kn==="start",ur=Jn||(_r?qe.value:Ue.value),wr=ur.hour(),Cr=ur.minute();if(sr!==wr||zn!==Cr)return cr;const mr=ur.second(),Er=_r?V(mr+1,59):V(0,mr-1);return union$1(cr,Er)},Un=([sr,zn])=>[Qn(sr,"start",!0,zn),Qn(zn,"end",!1,sr)],{getAvailableHours:Wn,getAvailableMinutes:Zn,getAvailableSeconds:or}=buildAvailableTimeSlotGetter(Ln,Pn,Fn),{timePickerOptions:br,getAvailableTime:Qn,onSetOption:Gn}=useTimePanel({getAvailableHours:Wn,getAvailableMinutes:Zn,getAvailableSeconds:or}),Yn=sr=>sr?isArray$c(sr)?sr.map(zn=>dayjs(zn,$.format).locale(ie.value)):dayjs(sr,$.format).locale(ie.value):null,er=sr=>sr?isArray$c(sr)?sr.map(zn=>zn.format($.format)):sr.format($.format):null,lr=()=>{if(isArray$c(Ie))return Ie.map(zn=>dayjs(zn).locale(ie.value));const sr=dayjs(Ie).locale(ie.value);return[sr,sr.add(60,"m")]};return r("set-picker-option",["formatToString",er]),r("set-picker-option",["parseUserInput",Yn]),r("set-picker-option",["isValidValue",wn]),r("set-picker-option",["handleKeydownInput",Dn]),r("set-picker-option",["getDefaultValue",lr]),r("set-picker-option",["getRangeAvailableTime",Un]),(sr,zn)=>sr.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(le).b("range-picker"),unref(ue).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(le).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(le).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(le).be("range-picker","header"))},toDisplayString$1(unref(oe)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass(unref(Ve))},[createVNode(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(hn),"am-pm-mode":unref(Cn),"arrow-control":unref(pe),"spinner-date":unref(Ue),"disabled-hours":Ln,"disabled-minutes":Pn,"disabled-seconds":Fn,onChange:Sn,onSetOption:unref(Gn),onSelectRange:An},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(le).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(le).be("range-picker","header"))},toDisplayString$1(unref(oe)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass(unref(Fe))},[createVNode(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(hn),"am-pm-mode":unref(Cn),"arrow-control":unref(pe),"spinner-date":unref(qe),"disabled-hours":Ln,"disabled-minutes":Pn,"disabled-seconds":Fn,onChange:En,onSetOption:unref(Gn),onSelectRange:Vn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(le).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(le).be("panel","btn"),"cancel"]),onClick:zn[0]||(zn[0]=Kn=>Lt())},toDisplayString$1(unref(oe)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(le).be("panel","btn"),"confirm"]),disabled:unref(Tn),onClick:zn[1]||(zn[1]=Kn=>bn())},toDisplayString$1(unref(oe)("el.datepicker.confirm")),11,_hoisted_1$Z)],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc$1(_sfc_main$1V,[["__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 $=ref(),[V,oe]=t.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],ie=le=>r.emit("update:modelValue",le);return provide("ElPopperOptions",t.popperOptions),r.expose({focus:le=>{var ue;(ue=$.value)==null||ue.handleFocusInput(le)},blur:le=>{var ue;(ue=$.value)==null||ue.handleBlurInput(le)},handleOpen:()=>{var le;(le=$.value)==null||le.handleOpen()},handleClose:()=>{var le;(le=$.value)==null||le.handleClose()}}),()=>{var le;const ue=(le=t.format)!=null?le:DEFAULT_FORMATS_TIME;return createVNode(CommonPicker,mergeProps(t,{ref:$,type:V,format:ue,"onUpdate:modelValue":ie}),{default:de=>createVNode(oe,de,null)})}}});const _TimePicker=TimePicker;_TimePicker.install=t=>{t.component(_TimePicker.name,_TimePicker)};const ElTimePicker=_TimePicker,getPrevMonthLastDays=(t,r)=>{const $=t.subtract(1,"month").endOf("month").date();return rangeArr(r).map((V,oe)=>$-(r-oe-1))},getMonthDays=t=>{const r=t.daysInMonth();return rangeArr(r).map(($,V)=>V+1)},toNestedArr=t=>rangeArr(t.length/7).map(r=>{const $=r*7;return t.slice($,$+7)}),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:t=>isObject$a(t)};var localeData$1={exports:{}};(function(t,r){(function($,V){t.exports=V()})(commonjsGlobal,function(){return function($,V,oe){var ie=V.prototype,le=function(_e){return _e&&(_e.indexOf?_e:_e.s)},ue=function(_e,$e,Ie,Ve,Fe){var Ue=_e.name?_e:_e.$locale(),qe=le(Ue[$e]),Et=le(Ue[Ie]),Lt=qe||Et.map(function(Cn){return Cn.slice(0,Ve)});if(!Fe)return Lt;var hn=Ue.weekStart;return Lt.map(function(Cn,bn){return Lt[(bn+(hn||0))%7]})},de=function(){return oe.Ls[oe.locale()]},pe=function(_e,$e){return _e.formats[$e]||function(Ie){return Ie.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Ve,Fe,Ue){return Fe||Ue.slice(1)})}(_e.formats[$e.toUpperCase()])},he=function(){var _e=this;return{months:function($e){return $e?$e.format("MMMM"):ue(_e,"months")},monthsShort:function($e){return $e?$e.format("MMM"):ue(_e,"monthsShort","months",3)},firstDayOfWeek:function(){return _e.$locale().weekStart||0},weekdays:function($e){return $e?$e.format("dddd"):ue(_e,"weekdays")},weekdaysMin:function($e){return $e?$e.format("dd"):ue(_e,"weekdaysMin","weekdays",2)},weekdaysShort:function($e){return $e?$e.format("ddd"):ue(_e,"weekdaysShort","weekdays",3)},longDateFormat:function($e){return pe(_e.$locale(),$e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};ie.localeData=function(){return he.bind(this)()},oe.localeData=function(){var _e=de();return{firstDayOfWeek:function(){return _e.weekStart||0},weekdays:function(){return oe.weekdays()},weekdaysShort:function(){return oe.weekdaysShort()},weekdaysMin:function(){return oe.weekdaysMin()},months:function(){return oe.months()},monthsShort:function(){return oe.monthsShort()},longDateFormat:function($e){return pe(_e,$e)},meridiem:_e.meridiem,ordinal:_e.ordinal}},oe.months=function(){return ue(de(),"months")},oe.monthsShort=function(){return ue(de(),"monthsShort","months",3)},oe.weekdays=function(_e){return ue(de(),"weekdays",null,null,_e)},oe.weekdaysShort=function(_e){return ue(de(),"weekdaysShort","weekdays",3,_e)},oe.weekdaysMin=function(_e){return ue(de(),"weekdaysMin","weekdays",2,_e)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports),useDateTable=(t,r)=>{dayjs.extend(localeData);const $=dayjs.localeData().firstDayOfWeek(),{t:V,lang:oe}=useLocale(),ie=dayjs().locale(oe.value),le=computed(()=>!!t.range&&!!t.range.length),ue=computed(()=>{let $e=[];if(le.value){const[Ie,Ve]=t.range,Fe=rangeArr(Ve.date()-Ie.date()+1).map(Et=>({text:Ie.date()+Et,type:"current"}));let Ue=Fe.length%7;Ue=Ue===0?0:7-Ue;const qe=rangeArr(Ue).map((Et,Lt)=>({text:Lt+1,type:"next"}));$e=Fe.concat(qe)}else{const Ie=t.date.startOf("month").day(),Ve=getPrevMonthLastDays(t.date,(Ie-$+7)%7).map(Et=>({text:Et,type:"prev"})),Fe=getMonthDays(t.date).map(Et=>({text:Et,type:"current"}));$e=[...Ve,...Fe];const Ue=7-($e.length%7||7),qe=rangeArr(Ue).map((Et,Lt)=>({text:Lt+1,type:"next"}));$e=$e.concat(qe)}return toNestedArr($e)}),de=computed(()=>{const $e=$;return $e===0?WEEK_DAYS.map(Ie=>V(`el.datepicker.weeks.${Ie}`)):WEEK_DAYS.slice($e).concat(WEEK_DAYS.slice(0,$e)).map(Ie=>V(`el.datepicker.weeks.${Ie}`))}),pe=($e,Ie)=>{switch(Ie){case"prev":return t.date.startOf("month").subtract(1,"month").date($e);case"next":return t.date.startOf("month").add(1,"month").date($e);case"current":return t.date.date($e)}};return{now:ie,isInRange:le,rows:ue,weekDays:de,getFormattedDate:pe,handlePickDay:({text:$e,type:Ie})=>{const Ve=pe($e,Ie);r("pick",Ve)},getSlotData:({text:$e,type:Ie})=>{const Ve=pe($e,Ie);return{isSelected:Ve.isSame(t.selectedDay),type:`${Ie}-month`,day:Ve.format("YYYY-MM-DD"),date:Ve.toDate()}}}},_hoisted_1$Y={key:0},_hoisted_2$E=["onClick"],__default__$1f=defineComponent({name:"DateTable"}),_sfc_main$1U=defineComponent({...__default__$1f,props:dateTableProps,emits:dateTableEmits,setup(t,{expose:r,emit:$}){const V=t,{isInRange:oe,now:ie,rows:le,weekDays:ue,getFormattedDate:de,handlePickDay:pe,getSlotData:he}=useDateTable(V,$),_e=useNamespace("calendar-table"),$e=useNamespace("calendar-day"),Ie=({text:Ve,type:Fe})=>{const Ue=[Fe];if(Fe==="current"){const qe=de(Ve,Fe);qe.isSame(V.selectedDay,"day")&&Ue.push($e.is("selected")),qe.isSame(ie,"day")&&Ue.push($e.is("today"))}return Ue};return r({getFormattedDate:de}),(Ve,Fe)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref(_e).b(),unref(_e).is("range",unref(oe))]),cellspacing:"0",cellpadding:"0"},[Ve.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$Y,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ue),Ue=>(openBlock(),createElementBlock("th",{key:Ue},toDisplayString$1(Ue),1))),128))])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(le),(Ue,qe)=>(openBlock(),createElementBlock("tr",{key:qe,class:normalizeClass({[unref(_e).e("row")]:!0,[unref(_e).em("row","hide-border")]:qe===0&&Ve.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ue,(Et,Lt)=>(openBlock(),createElementBlock("td",{key:Lt,class:normalizeClass(Ie(Et)),onClick:hn=>unref(pe)(Et)},[createBaseVNode("div",{class:normalizeClass(unref($e).b())},[renderSlot(Ve.$slots,"date-cell",{data:unref(he)(Et)},()=>[createBaseVNode("span",null,toDisplayString$1(Et.text),1)])],2)],10,_hoisted_2$E))),128))],2))),128))])],2))}});var DateTable$1=_export_sfc$1(_sfc_main$1U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/date-table.vue"]]);const adjacentMonth=(t,r)=>{const $=t.endOf("month"),V=r.startOf("month"),ie=$.isSame(V,"week")?V.add(1,"week"):V;return[[t,$],[ie.startOf("week"),r]]},threeConsecutiveMonth=(t,r)=>{const $=t.endOf("month"),V=t.add(1,"month").startOf("month"),oe=$.isSame(V,"week")?V.add(1,"week"):V,ie=oe.endOf("month"),le=r.startOf("month"),ue=ie.isSame(le,"week")?le.add(1,"week"):le;return[[t,$],[oe.startOf("week"),ie],[ue.startOf("week"),r]]},useCalendar=(t,r,$)=>{const V=useSlots(),{lang:oe}=useLocale(),ie=ref(),le=dayjs().locale(oe.value),ue=computed({get(){return t.modelValue?pe.value:ie.value},set(qe){if(!qe)return;ie.value=qe;const Et=qe.toDate();r(INPUT_EVENT,Et),r(UPDATE_MODEL_EVENT,Et)}}),de=computed(()=>{if(!t.range)return[];const qe=t.range.map(hn=>dayjs(hn).locale(oe.value)),[Et,Lt]=qe;return Et.isAfter(Lt)?[]:Et.isSame(Lt,"month")?Ve(Et,Lt):Et.add(1,"month").month()!==Lt.month()?[]:Ve(Et,Lt)}),pe=computed(()=>t.modelValue?dayjs(t.modelValue).locale(oe.value):ue.value||(de.value.length?de.value[0][0]:le)),he=computed(()=>pe.value.subtract(1,"month").date(1)),_e=computed(()=>pe.value.add(1,"month").date(1)),$e=computed(()=>pe.value.subtract(1,"year").date(1)),Ie=computed(()=>pe.value.add(1,"year").date(1)),Ve=(qe,Et)=>{const Lt=qe.startOf("week"),hn=Et.endOf("week"),Cn=Lt.get("month"),bn=hn.get("month");return Cn===bn?[[Lt,hn]]:(Cn+1)%12===bn?adjacentMonth(Lt,hn):Cn+2===bn||(Cn+1)%11===bn?threeConsecutiveMonth(Lt,hn):[]},Fe=qe=>{ue.value=qe},Ue=qe=>{const Lt={"prev-month":he.value,"next-month":_e.value,"prev-year":$e.value,"next-year":Ie.value,today:le}[qe];Lt.isSame(pe.value,"day")||Fe(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(()=>!!V.dateCell)),{calculateValidatedDateRange:Ve,date:pe,realSelectedDay:ue,pickDay:Fe,selectDate:Ue,validatedRange:de}},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$1T=defineComponent({...__default__$1e,props:calendarProps,emits:calendarEmits,setup(t,{expose:r,emit:$}){const V=t,oe=useNamespace("calendar"),{calculateValidatedDateRange:ie,date:le,pickDay:ue,realSelectedDay:de,selectDate:pe,validatedRange:he}=useCalendar(V,$),{t:_e}=useLocale(),$e=computed(()=>{const Ie=`el.datepicker.month${le.value.format("M")}`;return`${le.value.year()} ${_e("el.datepicker.year")} ${_e(Ie)}`});return r({selectedDay:de,pickDay:ue,selectDate:pe,calculateValidatedDateRange:ie}),(Ie,Ve)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(oe).b())},[createBaseVNode("div",{class:normalizeClass(unref(oe).e("header"))},[renderSlot(Ie.$slots,"header",{date:unref($e)},()=>[createBaseVNode("div",{class:normalizeClass(unref(oe).e("title"))},toDisplayString$1(unref($e)),3),unref(he).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("button-group"))},[createVNode(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode(unref(ElButton),{size:"small",onClick:Ve[0]||(Ve[0]=Fe=>unref(pe)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(_e)("el.datepicker.prevMonth")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:Ve[1]||(Ve[1]=Fe=>unref(pe)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(_e)("el.datepicker.today")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:Ve[2]||(Ve[2]=Fe=>unref(pe)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(_e)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):createCommentVNode("v-if",!0)])],2),unref(he).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("body"))},[createVNode(DateTable$1,{date:unref(le),"selected-day":unref(de),onPick:unref(ue)},createSlots({_:2},[Ie.$slots["date-cell"]||Ie.$slots.dateCell?{name:"date-cell",fn:withCtx(Fe=>[Ie.$slots["date-cell"]?renderSlot(Ie.$slots,"date-cell",normalizeProps(mergeProps({key:0},Fe))):renderSlot(Ie.$slots,"dateCell",normalizeProps(mergeProps({key:1},Fe)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(oe).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(he),(Fe,Ue)=>(openBlock(),createBlock(DateTable$1,{key:Ue,date:Fe[0],"selected-day":unref(de),range:Fe,"hide-header":Ue!==0,onPick:unref(ue)},createSlots({_:2},[Ie.$slots["date-cell"]||Ie.$slots.dateCell?{name:"date-cell",fn:withCtx(qe=>[Ie.$slots["date-cell"]?renderSlot(Ie.$slots,"date-cell",normalizeProps(mergeProps({key:0},qe))):renderSlot(Ie.$slots,"dateCell",normalizeProps(mergeProps({key:1},qe)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Calendar=_export_sfc$1(_sfc_main$1T,[["__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$1S=defineComponent({...__default__$1d,props:cardProps,setup(t){const r=useNamespace("card");return($,V)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(r).b(),unref(r).is(`${$.shadow}-shadow`)])},[$.$slots.header||$.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("header"))},[renderSlot($.$slots,"header",{},()=>[createTextVNode(toDisplayString$1($.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([unref(r).e("body"),$.bodyClass]),style:normalizeStyle$1($.bodyStyle)},[renderSlot($.$slots,"default")],6)],2))}});var Card=_export_sfc$1(_sfc_main$1S,[["__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,$)=>{const{children:V,addChild:oe,removeChild:ie}=useOrderedChildren(getCurrentInstance(),"ElCarouselItem"),le=ref(-1),ue=ref(null),de=ref(!1),pe=ref(),he=ref(0),_e=computed(()=>t.arrow!=="never"&&!unref(Ve)),$e=computed(()=>V.value.some(Pn=>Pn.props.label.toString().length>0)),Ie=computed(()=>t.type==="card"),Ve=computed(()=>t.direction==="vertical"),Fe=computed(()=>t.height!=="auto"?{height:t.height}:{height:`${he.value}px`,overflow:"hidden"}),Ue=throttle$1(Pn=>{Cn(Pn)},THROTTLE_TIME,{trailing:!0}),qe=throttle$1(Pn=>{An(Pn)},THROTTLE_TIME);function Et(){ue.value&&(clearInterval(ue.value),ue.value=null)}function Lt(){t.interval<=0||!t.autoplay||ue.value||(ue.value=setInterval(()=>hn(),t.interval))}const hn=()=>{le.value<V.value.length-1?le.value=le.value+1:t.loop&&(le.value=0)};function Cn(Pn){if(isString$6(Pn)){const Wn=V.value.filter(Zn=>Zn.props.name===Pn);Wn.length>0&&(Pn=V.value.indexOf(Wn[0]))}if(Pn=Number(Pn),Number.isNaN(Pn)||Pn!==Math.floor(Pn))return;const Fn=V.value.length,Un=le.value;Pn<0?le.value=t.loop?Fn-1:0:Pn>=Fn?le.value=t.loop?0:Fn-1:le.value=Pn,Un===le.value&&bn(Un),Bn()}function bn(Pn){V.value.forEach((Fn,Un)=>{Fn.translateItem(Un,le.value,Pn)})}function Sn(Pn,Fn){var Un,Wn,Zn,or;const br=unref(V),Qn=br.length;if(Qn===0||!Pn.states.inStage)return!1;const Gn=Fn+1,Yn=Fn-1,er=Qn-1,lr=br[er].states.active,sr=br[0].states.active,zn=(Wn=(Un=br[Gn])==null?void 0:Un.states)==null?void 0:Wn.active,Kn=(or=(Zn=br[Yn])==null?void 0:Zn.states)==null?void 0:or.active;return Fn===er&&sr||zn?"left":Fn===0&&lr||Kn?"right":!1}function En(){de.value=!0,t.pauseOnHover&&Et()}function wn(){de.value=!1,Lt()}function $n(Pn){unref(Ve)||V.value.forEach((Fn,Un)=>{Pn===Sn(Fn,Un)&&(Fn.states.hover=!0)})}function Tn(){unref(Ve)||V.value.forEach(Pn=>{Pn.states.hover=!1})}function xn(Pn){le.value=Pn}function An(Pn){t.trigger==="hover"&&Pn!==le.value&&(le.value=Pn)}function Mn(){Cn(le.value-1)}function Vn(){Cn(le.value+1)}function Bn(){Et(),Lt()}function Dn(Pn){t.height==="auto"&&(he.value=Pn)}watch(()=>le.value,(Pn,Fn)=>{bn(Fn),Fn>-1&&r("change",Pn,Fn)}),watch(()=>t.autoplay,Pn=>{Pn?Lt():Et()}),watch(()=>t.loop,()=>{Cn(le.value)}),watch(()=>t.interval,()=>{Bn()}),watch(()=>V.value,()=>{V.value.length>0&&Cn(t.initialIndex)});const Ln=shallowRef();return onMounted(()=>{Ln.value=useResizeObserver$1(pe.value,()=>{bn()}),Lt()}),onBeforeUnmount(()=>{Et(),pe.value&&Ln.value&&Ln.value.stop()}),provide(carouselContextKey,{root:pe,isCardType:Ie,isVertical:Ve,items:V,loop:t.loop,addItem:oe,removeItem:ie,setActiveItem:Cn,setContainerHeight:Dn}),{root:pe,activeIndex:le,arrowDisplay:_e,hasLabel:$e,hover:de,isCardType:Ie,items:V,isVertical:Ve,containerStyle:Fe,handleButtonEnter:$n,handleButtonLeave:Tn,handleIndicatorClick:xn,handleMouseEnter:En,handleMouseLeave:wn,setActiveItem:Cn,prev:Mn,next:Vn,throttledArrowClick:Ue,throttledIndicatorHover:qe}},_hoisted_1$X=["onMouseenter","onClick"],_hoisted_2$D={key:0},COMPONENT_NAME$f="ElCarousel",__default__$1c=defineComponent({name:COMPONENT_NAME$f}),_sfc_main$1R=defineComponent({...__default__$1c,props:carouselProps,emits:carouselEmits,setup(t,{expose:r,emit:$}){const V=t,{root:oe,activeIndex:ie,arrowDisplay:le,hasLabel:ue,hover:de,isCardType:pe,items:he,isVertical:_e,containerStyle:$e,handleButtonEnter:Ie,handleButtonLeave:Ve,handleIndicatorClick:Fe,handleMouseEnter:Ue,handleMouseLeave:qe,setActiveItem:Et,prev:Lt,next:hn,throttledArrowClick:Cn,throttledIndicatorHover:bn}=useCarousel(V,$),Sn=useNamespace("carousel"),En=computed(()=>{const $n=[Sn.b(),Sn.m(V.direction)];return unref(pe)&&$n.push(Sn.m("card")),$n}),wn=computed(()=>{const $n=[Sn.e("indicators"),Sn.em("indicators",V.direction)];return unref(ue)&&$n.push(Sn.em("indicators","labels")),V.indicatorPosition==="outside"&&$n.push(Sn.em("indicators","outside")),unref(_e)&&$n.push(Sn.em("indicators","right")),$n});return r({setActiveItem:Et,prev:Lt,next:hn}),($n,Tn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:oe,class:normalizeClass(unref(En)),onMouseenter:Tn[6]||(Tn[6]=withModifiers((...xn)=>unref(Ue)&&unref(Ue)(...xn),["stop"])),onMouseleave:Tn[7]||(Tn[7]=withModifiers((...xn)=>unref(qe)&&unref(qe)(...xn),["stop"]))},[createBaseVNode("div",{class:normalizeClass(unref(Sn).e("container")),style:normalizeStyle$1(unref($e))},[unref(le)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("arrow"),unref(Sn).em("arrow","left")]),onMouseenter:Tn[0]||(Tn[0]=xn=>unref(Ie)("left")),onMouseleave:Tn[1]||(Tn[1]=(...xn)=>unref(Ve)&&unref(Ve)(...xn)),onClick:Tn[2]||(Tn[2]=withModifiers(xn=>unref(Cn)(unref(ie)-1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],34),[[vShow,($n.arrow==="always"||unref(de))&&(V.loop||unref(ie)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref(le)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("arrow"),unref(Sn).em("arrow","right")]),onMouseenter:Tn[3]||(Tn[3]=xn=>unref(Ie)("right")),onMouseleave:Tn[4]||(Tn[4]=(...xn)=>unref(Ve)&&unref(Ve)(...xn)),onClick:Tn[5]||(Tn[5]=withModifiers(xn=>unref(Cn)(unref(ie)+1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],34),[[vShow,($n.arrow==="always"||unref(de))&&(V.loop||unref(ie)<unref(he).length-1)]])]),_:1})):createCommentVNode("v-if",!0),renderSlot($n.$slots,"default")],6),$n.indicatorPosition!=="none"?(openBlock(),createElementBlock("ul",{key:0,class:normalizeClass(unref(wn))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(he),(xn,An)=>(openBlock(),createElementBlock("li",{key:An,class:normalizeClass([unref(Sn).e("indicator"),unref(Sn).em("indicator",$n.direction),unref(Sn).is("active",An===unref(ie))]),onMouseenter:Mn=>unref(bn)(An),onClick:withModifiers(Mn=>unref(Fe)(An),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(Sn).e("button"))},[unref(ue)?(openBlock(),createElementBlock("span",_hoisted_2$D,toDisplayString$1(xn.props.label),1)):createCommentVNode("v-if",!0)],2)],42,_hoisted_1$X))),128))],2)):createCommentVNode("v-if",!0)],34))}});var Carousel=_export_sfc$1(_sfc_main$1R,[["__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 $=inject(carouselContextKey),V=getCurrentInstance(),oe=.83,ie=ref(),le=ref(!1),ue=ref(0),de=ref(1),pe=ref(!1),he=ref(!1),_e=ref(!1),$e=ref(!1),{isCardType:Ie,isVertical:Ve}=$;function Fe(hn,Cn,bn){const Sn=bn-1,En=Cn-1,wn=Cn+1,$n=bn/2;return Cn===0&&hn===Sn?-1:Cn===Sn&&hn===0?bn:hn<En&&Cn-hn>=$n?bn+1:hn>wn&&hn-Cn>=$n?-2:hn}function Ue(hn,Cn){var bn,Sn;const En=unref(Ve)?((bn=$.root.value)==null?void 0:bn.offsetHeight)||0:((Sn=$.root.value)==null?void 0:Sn.offsetWidth)||0;return _e.value?En*((2-oe)*(hn-Cn)+1)/4:hn<Cn?-(1+oe)*En/4:(3+oe)*En/4}function qe(hn,Cn,bn){const Sn=$.root.value;return Sn?((bn?Sn.offsetHeight:Sn.offsetWidth)||0)*(hn-Cn):0}const Et=(hn,Cn,bn)=>{var Sn;const En=unref(Ie),wn=(Sn=$.items.value.length)!=null?Sn:Number.NaN,$n=hn===Cn;!En&&!isUndefined$1(bn)&&($e.value=$n||hn===bn),!$n&&wn>2&&$.loop&&(hn=Fe(hn,Cn,wn));const Tn=unref(Ve);pe.value=$n,En?(_e.value=Math.round(Math.abs(hn-Cn))<=1,ue.value=Ue(hn,Cn),de.value=unref(pe)?1:oe):ue.value=qe(hn,Cn,Tn),he.value=!0,$n&&ie.value&&$.setContainerHeight(ie.value.offsetHeight)};function Lt(){if($&&unref(Ie)){const hn=$.items.value.findIndex(({uid:Cn})=>Cn===V.uid);$.setActiveItem(hn)}}return onMounted(()=>{$.addItem({props:t,states:reactive({hover:le,translate:ue,scale:de,active:pe,ready:he,inStage:_e,animating:$e}),uid:V.uid,translateItem:Et})}),onUnmounted(()=>{$.removeItem(V.uid)}),{carouselItemRef:ie,active:pe,animating:$e,hover:le,inStage:_e,isVertical:Ve,translate:ue,isCardType:Ie,scale:de,ready:he,handleItemClick:Lt}},__default__$1b=defineComponent({name:"ElCarouselItem"}),_sfc_main$1Q=defineComponent({...__default__$1b,props:carouselItemProps,setup(t){const r=t,$=useNamespace("carousel"),{carouselItemRef:V,active:oe,animating:ie,hover:le,inStage:ue,isVertical:de,translate:pe,isCardType:he,scale:_e,ready:$e,handleItemClick:Ie}=useCarouselItem(r),Ve=computed(()=>{const Ue=`${`translate${unref(de)?"Y":"X"}`}(${unref(pe)}px)`,qe=`scale(${unref(_e)})`;return{transform:[Ue,qe].join(" ")}});return(Fe,Ue)=>withDirectives((openBlock(),createElementBlock("div",{ref_key:"carouselItemRef",ref:V,class:normalizeClass([unref($).e("item"),unref($).is("active",unref(oe)),unref($).is("in-stage",unref(ue)),unref($).is("hover",unref(le)),unref($).is("animating",unref(ie)),{[unref($).em("item","card")]:unref(he),[unref($).em("item","card-vertical")]:unref(he)&&unref(de)}]),style:normalizeStyle$1(unref(Ve)),onClick:Ue[0]||(Ue[0]=(...qe)=>unref(Ie)&&unref(Ie)(...qe))},[unref(he)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($).e("mask"))},null,2)),[[vShow,!unref(oe)]]):createCommentVNode("v-if",!0),renderSlot(Fe.$slots,"default")],6)),[[vShow,unref($e)]])}});var CarouselItem=_export_sfc$1(_sfc_main$1Q,[["__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 $=inject(checkboxGroupContextKey,void 0),V=computed(()=>{var ie,le;const ue=(ie=$==null?void 0:$.max)==null?void 0:ie.value,de=(le=$==null?void 0:$.min)==null?void 0:le.value;return!isUndefined$1(ue)&&t.value.length>=ue&&!r.value||!isUndefined$1(de)&&t.value.length<=de&&r.value});return{isDisabled:useFormDisabled(computed(()=>($==null?void 0:$.disabled.value)||V.value)),isLimitDisabled:V}},useCheckboxEvent=(t,{model:r,isLimitExceeded:$,hasOwnLabel:V,isDisabled:oe,isLabeledByFormItem:ie})=>{const le=inject(checkboxGroupContextKey,void 0),{formItem:ue}=useFormItem(),{emit:de}=getCurrentInstance();function pe(Ve){var Fe,Ue;return Ve===t.trueLabel||Ve===!0?(Fe=t.trueLabel)!=null?Fe:!0:(Ue=t.falseLabel)!=null?Ue:!1}function he(Ve,Fe){de("change",pe(Ve),Fe)}function _e(Ve){if($.value)return;const Fe=Ve.target;de("change",pe(Fe.checked),Ve)}async function $e(Ve){$.value||!V.value&&!oe.value&&ie.value&&(Ve.composedPath().some(qe=>qe.tagName==="LABEL")||(r.value=pe([!1,t.falseLabel].includes(r.value)),await nextTick(),he(r.value,Ve)))}const Ie=computed(()=>(le==null?void 0:le.validateEvent)||t.validateEvent);return watch(()=>t.modelValue,()=>{Ie.value&&(ue==null||ue.validate("change").catch(Ve=>void 0))}),{handleChange:_e,onClickRoot:$e}},useCheckboxModel=t=>{const r=ref(!1),{emit:$}=getCurrentInstance(),V=inject(checkboxGroupContextKey,void 0),oe=computed(()=>isUndefined$1(V)===!1),ie=ref(!1);return{model:computed({get(){var ue,de;return oe.value?(ue=V==null?void 0:V.modelValue)==null?void 0:ue.value:(de=t.modelValue)!=null?de:r.value},set(ue){var de,pe;oe.value&&isArray$c(ue)?(ie.value=((de=V==null?void 0:V.max)==null?void 0:de.value)!==void 0&&ue.length>(V==null?void 0:V.max.value),ie.value===!1&&((pe=V==null?void 0:V.changeEvent)==null||pe.call(V,ue))):($(UPDATE_MODEL_EVENT,ue),r.value=ue)}}),isGroup:oe,isLimitExceeded:ie}},useCheckboxStatus=(t,r,{model:$})=>{const V=inject(checkboxGroupContextKey,void 0),oe=ref(!1),ie=computed(()=>{const pe=$.value;return isBoolean$3(pe)?pe:isArray$c(pe)?isObject$a(t.label)?pe.map(toRaw).some(he=>isEqual$1(he,t.label)):pe.map(toRaw).includes(t.label):pe!=null?pe===t.trueLabel:!!pe}),le=useFormSize(computed(()=>{var pe;return(pe=V==null?void 0:V.size)==null?void 0:pe.value}),{prop:!0}),ue=useFormSize(computed(()=>{var pe;return(pe=V==null?void 0:V.size)==null?void 0:pe.value})),de=computed(()=>!!(r.default||t.label));return{checkboxButtonSize:le,isChecked:ie,isFocused:oe,checkboxSize:ue,hasOwnLabel:de}},setStoreValue=(t,{model:r})=>{function $(){isArray$c(r.value)&&!r.value.includes(t.label)?r.value.push(t.label):r.value=t.trueLabel||!0}t.checked&&$()},useCheckbox=(t,r)=>{const{formItem:$}=useFormItem(),{model:V,isGroup:oe,isLimitExceeded:ie}=useCheckboxModel(t),{isFocused:le,isChecked:ue,checkboxButtonSize:de,checkboxSize:pe,hasOwnLabel:he}=useCheckboxStatus(t,r,{model:V}),{isDisabled:_e}=useCheckboxDisabled({model:V,isChecked:ue}),{inputId:$e,isLabeledByFormItem:Ie}=useFormItemInputId(t,{formItemContext:$,disableIdGeneration:he,disableIdManagement:oe}),{handleChange:Ve,onClickRoot:Fe}=useCheckboxEvent(t,{model:V,isLimitExceeded:ie,hasOwnLabel:he,isDisabled:_e,isLabeledByFormItem:Ie});return setStoreValue(t,{model:V}),{inputId:$e,isLabeledByFormItem:Ie,isChecked:ue,isDisabled:_e,isFocused:le,checkboxButtonSize:de,checkboxSize:pe,hasOwnLabel:he,model:V,handleChange:Ve,onClickRoot:Fe}},_hoisted_1$W=["tabindex","role","aria-checked"],_hoisted_2$C=["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$1P=defineComponent({...__default__$1a,props:checkboxProps,emits:checkboxEmits,setup(t){const r=t,$=useSlots(),{inputId:V,isLabeledByFormItem:oe,isChecked:ie,isDisabled:le,isFocused:ue,checkboxSize:de,hasOwnLabel:pe,model:he,handleChange:_e,onClickRoot:$e}=useCheckbox(r,$),Ie=useNamespace("checkbox"),Ve=computed(()=>[Ie.b(),Ie.m(de.value),Ie.is("disabled",le.value),Ie.is("bordered",r.border),Ie.is("checked",ie.value)]),Fe=computed(()=>[Ie.e("input"),Ie.is("disabled",le.value),Ie.is("checked",ie.value),Ie.is("indeterminate",r.indeterminate),Ie.is("focus",ue.value)]);return(Ue,qe)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(pe)&&unref(oe)?"span":"label"),{class:normalizeClass(unref(Ve)),"aria-controls":Ue.indeterminate?Ue.controls:null,onClick:unref($e)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(Fe)),tabindex:Ue.indeterminate?0:void 0,role:Ue.indeterminate?"checkbox":void 0,"aria-checked":Ue.indeterminate?"mixed":void 0},[Ue.trueLabel||Ue.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,id:unref(V),"onUpdate:modelValue":qe[0]||(qe[0]=Et=>isRef(he)?he.value=Et:null),class:normalizeClass(unref(Ie).e("original")),type:"checkbox","aria-hidden":Ue.indeterminate?"true":"false",name:Ue.name,tabindex:Ue.tabindex,disabled:unref(le),"true-value":Ue.trueLabel,"false-value":Ue.falseLabel,onChange:qe[1]||(qe[1]=(...Et)=>unref(_e)&&unref(_e)(...Et)),onFocus:qe[2]||(qe[2]=Et=>ue.value=!0),onBlur:qe[3]||(qe[3]=Et=>ue.value=!1),onClick:qe[4]||(qe[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$C)),[[vModelCheckbox,unref(he)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(V),"onUpdate:modelValue":qe[5]||(qe[5]=Et=>isRef(he)?he.value=Et:null),class:normalizeClass(unref(Ie).e("original")),type:"checkbox","aria-hidden":Ue.indeterminate?"true":"false",disabled:unref(le),value:Ue.label,name:Ue.name,tabindex:Ue.tabindex,onChange:qe[6]||(qe[6]=(...Et)=>unref(_e)&&unref(_e)(...Et)),onFocus:qe[7]||(qe[7]=Et=>ue.value=!0),onBlur:qe[8]||(qe[8]=Et=>ue.value=!1),onClick:qe[9]||(qe[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_3$m)),[[vModelCheckbox,unref(he)]]),createBaseVNode("span",{class:normalizeClass(unref(Ie).e("inner"))},null,2)],10,_hoisted_1$W),unref(pe)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ie).e("label"))},[renderSlot(Ue.$slots,"default"),Ue.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(Ue.label),1)],64))],2)):createCommentVNode("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var Checkbox=_export_sfc$1(_sfc_main$1P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const _hoisted_1$V=["name","tabindex","disabled","true-value","false-value"],_hoisted_2$B=["name","tabindex","disabled","value"],__default__$19=defineComponent({name:"ElCheckboxButton"}),_sfc_main$1O=defineComponent({...__default__$19,props:checkboxProps,emits:checkboxEmits,setup(t){const r=t,$=useSlots(),{isFocused:V,isChecked:oe,isDisabled:ie,checkboxButtonSize:le,model:ue,handleChange:de}=useCheckbox(r,$),pe=inject(checkboxGroupContextKey,void 0),he=useNamespace("checkbox"),_e=computed(()=>{var Ie,Ve,Fe,Ue;const qe=(Ve=(Ie=pe==null?void 0:pe.fill)==null?void 0:Ie.value)!=null?Ve:"";return{backgroundColor:qe,borderColor:qe,color:(Ue=(Fe=pe==null?void 0:pe.textColor)==null?void 0:Fe.value)!=null?Ue:"",boxShadow:qe?`-1px 0 0 0 ${qe}`:void 0}}),$e=computed(()=>[he.b("button"),he.bm("button",le.value),he.is("disabled",ie.value),he.is("checked",oe.value),he.is("focus",V.value)]);return(Ie,Ve)=>(openBlock(),createElementBlock("label",{class:normalizeClass(unref($e))},[Ie.trueLabel||Ie.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Ve[0]||(Ve[0]=Fe=>isRef(ue)?ue.value=Fe:null),class:normalizeClass(unref(he).be("button","original")),type:"checkbox",name:Ie.name,tabindex:Ie.tabindex,disabled:unref(ie),"true-value":Ie.trueLabel,"false-value":Ie.falseLabel,onChange:Ve[1]||(Ve[1]=(...Fe)=>unref(de)&&unref(de)(...Fe)),onFocus:Ve[2]||(Ve[2]=Fe=>V.value=!0),onBlur:Ve[3]||(Ve[3]=Fe=>V.value=!1),onClick:Ve[4]||(Ve[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$V)),[[vModelCheckbox,unref(ue)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":Ve[5]||(Ve[5]=Fe=>isRef(ue)?ue.value=Fe:null),class:normalizeClass(unref(he).be("button","original")),type:"checkbox",name:Ie.name,tabindex:Ie.tabindex,disabled:unref(ie),value:Ie.label,onChange:Ve[6]||(Ve[6]=(...Fe)=>unref(de)&&unref(de)(...Fe)),onFocus:Ve[7]||(Ve[7]=Fe=>V.value=!0),onBlur:Ve[8]||(Ve[8]=Fe=>V.value=!1),onClick:Ve[9]||(Ve[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$B)),[[vModelCheckbox,unref(ue)]]),Ie.$slots.default||Ie.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(he).be("button","inner")),style:normalizeStyle$1(unref(oe)?unref(_e):void 0)},[renderSlot(Ie.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Ie.label),1)])],6)):createCommentVNode("v-if",!0)],2))}});var CheckboxButton=_export_sfc$1(_sfc_main$1O,[["__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$1N=defineComponent({...__default__$18,props:checkboxGroupProps,emits:checkboxGroupEmits,setup(t,{emit:r}){const $=t,V=useNamespace("checkbox"),{formItem:oe}=useFormItem(),{inputId:ie,isLabeledByFormItem:le}=useFormItemInputId($,{formItemContext:oe}),ue=async pe=>{r(UPDATE_MODEL_EVENT,pe),await nextTick(),r("change",pe)},de=computed({get(){return $.modelValue},set(pe){ue(pe)}});return provide(checkboxGroupContextKey,{...pick$1(toRefs($),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:de,changeEvent:ue}),watch(()=>$.modelValue,()=>{$.validateEvent&&(oe==null||oe.validate("change").catch(pe=>void 0))}),(pe,he)=>{var _e;return openBlock(),createBlock(resolveDynamicComponent(pe.tag),{id:unref(ie),class:normalizeClass(unref(V).b("group")),role:"group","aria-label":unref(le)?void 0:pe.label||"checkbox-group","aria-labelledby":unref(le)?(_e=unref(oe))==null?void 0:_e.labelId:void 0},{default:withCtx(()=>[renderSlot(pe.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup=_export_sfc$1(_sfc_main$1N,[["__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 $=ref(),V=inject(radioGroupKey,void 0),oe=computed(()=>!!V),ie=computed({get(){return oe.value?V.modelValue:t.modelValue},set(he){oe.value?V.changeEvent(he):r&&r(UPDATE_MODEL_EVENT,he),$.value.checked=t.modelValue===t.label}}),le=useFormSize(computed(()=>V==null?void 0:V.size)),ue=useFormDisabled(computed(()=>V==null?void 0:V.disabled)),de=ref(!1),pe=computed(()=>ue.value||oe.value&&ie.value!==t.label?-1:0);return{radioRef:$,isGroup:oe,radioGroup:V,focus:de,size:le,disabled:ue,tabIndex:pe,modelValue:ie}},_hoisted_1$U=["value","name","disabled"],__default__$17=defineComponent({name:"ElRadio"}),_sfc_main$1M=defineComponent({...__default__$17,props:radioProps,emits:radioEmits,setup(t,{emit:r}){const $=t,V=useNamespace("radio"),{radioRef:oe,radioGroup:ie,focus:le,size:ue,disabled:de,modelValue:pe}=useRadio($,r);function he(){nextTick(()=>r("change",pe.value))}return(_e,$e)=>{var Ie;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(V).b(),unref(V).is("disabled",unref(de)),unref(V).is("focus",unref(le)),unref(V).is("bordered",_e.border),unref(V).is("checked",unref(pe)===_e.label),unref(V).m(unref(ue))])},[createBaseVNode("span",{class:normalizeClass([unref(V).e("input"),unref(V).is("disabled",unref(de)),unref(V).is("checked",unref(pe)===_e.label)])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:oe,"onUpdate:modelValue":$e[0]||($e[0]=Ve=>isRef(pe)?pe.value=Ve:null),class:normalizeClass(unref(V).e("original")),value:_e.label,name:_e.name||((Ie=unref(ie))==null?void 0:Ie.name),disabled:unref(de),type:"radio",onFocus:$e[1]||($e[1]=Ve=>le.value=!0),onBlur:$e[2]||($e[2]=Ve=>le.value=!1),onChange:he,onClick:$e[3]||($e[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$U),[[vModelRadio,unref(pe)]]),createBaseVNode("span",{class:normalizeClass(unref(V).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(V).e("label")),onKeydown:$e[4]||($e[4]=withModifiers(()=>{},["stop"]))},[renderSlot(_e.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(_e.label),1)])],34)],2)}}});var Radio=_export_sfc$1(_sfc_main$1M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase,name:{type:String,default:""}}),_hoisted_1$T=["value","name","disabled"],__default__$16=defineComponent({name:"ElRadioButton"}),_sfc_main$1L=defineComponent({...__default__$16,props:radioButtonProps,setup(t){const r=t,$=useNamespace("radio"),{radioRef:V,focus:oe,size:ie,disabled:le,modelValue:ue,radioGroup:de}=useRadio(r),pe=computed(()=>({backgroundColor:(de==null?void 0:de.fill)||"",borderColor:(de==null?void 0:de.fill)||"",boxShadow:de!=null&&de.fill?`-1px 0 0 0 ${de.fill}`:"",color:(de==null?void 0:de.textColor)||""}));return(he,_e)=>{var $e;return openBlock(),createElementBlock("label",{class:normalizeClass([unref($).b("button"),unref($).is("active",unref(ue)===he.label),unref($).is("disabled",unref(le)),unref($).is("focus",unref(oe)),unref($).bm("button",unref(ie))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:V,"onUpdate:modelValue":_e[0]||(_e[0]=Ie=>isRef(ue)?ue.value=Ie:null),class:normalizeClass(unref($).be("button","original-radio")),value:he.label,type:"radio",name:he.name||(($e=unref(de))==null?void 0:$e.name),disabled:unref(le),onFocus:_e[1]||(_e[1]=Ie=>oe.value=!0),onBlur:_e[2]||(_e[2]=Ie=>oe.value=!1),onClick:_e[3]||(_e[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$T),[[vModelRadio,unref(ue)]]),createBaseVNode("span",{class:normalizeClass(unref($).be("button","inner")),style:normalizeStyle$1(unref(ue)===he.label?unref(pe):{}),onKeydown:_e[4]||(_e[4]=withModifiers(()=>{},["stop"]))},[renderSlot(he.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(he.label),1)])],38)],2)}}});var RadioButton=_export_sfc$1(_sfc_main$1L,[["__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$S=["id","aria-label","aria-labelledby"],__default__$15=defineComponent({name:"ElRadioGroup"}),_sfc_main$1K=defineComponent({...__default__$15,props:radioGroupProps,emits:radioGroupEmits,setup(t,{emit:r}){const $=t,V=useNamespace("radio"),oe=useId(),ie=ref(),{formItem:le}=useFormItem(),{inputId:ue,isLabeledByFormItem:de}=useFormItemInputId($,{formItemContext:le}),pe=_e=>{r(UPDATE_MODEL_EVENT,_e),nextTick(()=>r("change",_e))};onMounted(()=>{const _e=ie.value.querySelectorAll("[type=radio]"),$e=_e[0];!Array.from(_e).some(Ie=>Ie.checked)&&$e&&($e.tabIndex=0)});const he=computed(()=>$.name||oe.value);return provide(radioGroupKey,reactive({...toRefs($),changeEvent:pe,name:he})),watch(()=>$.modelValue,()=>{$.validateEvent&&(le==null||le.validate("change").catch(_e=>void 0))}),(_e,$e)=>(openBlock(),createElementBlock("div",{id:unref(ue),ref_key:"radioGroupRef",ref:ie,class:normalizeClass(unref(V).b("group")),role:"radiogroup","aria-label":unref(de)?void 0:_e.label||"radio-group","aria-labelledby":unref(de)?unref(le).labelId:void 0},[renderSlot(_e.$slots,"default")],10,_hoisted_1$S))}});var RadioGroup=_export_sfc$1(_sfc_main$1K,[["__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:$}=this.$parent,{data:V,label:oe}=r,{renderLabelFn:ie}=$;return h$2("span",{class:t.e("label")},ie?ie({node:r,data:V}):oe)}});const CASCADER_PANEL_INJECTION_KEY=Symbol(),_sfc_main$1J=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 $=inject(CASCADER_PANEL_INJECTION_KEY),V=useNamespace("cascader-node"),oe=computed(()=>$.isHoverMenu),ie=computed(()=>$.config.multiple),le=computed(()=>$.config.checkStrictly),ue=computed(()=>{var bn;return(bn=$.checkedNodes[0])==null?void 0:bn.uid}),de=computed(()=>t.node.isDisabled),pe=computed(()=>t.node.isLeaf),he=computed(()=>le.value&&!pe.value||!de.value),_e=computed(()=>Ie($.expandingNode)),$e=computed(()=>le.value&&$.checkedNodes.some(Ie)),Ie=bn=>{var Sn;const{level:En,uid:wn}=t.node;return((Sn=bn==null?void 0:bn.pathNodes[En-1])==null?void 0:Sn.uid)===wn},Ve=()=>{_e.value||$.expandNode(t.node)},Fe=bn=>{const{node:Sn}=t;bn!==Sn.checked&&$.handleCheckChange(Sn,bn)},Ue=()=>{$.lazyLoad(t.node,()=>{pe.value||Ve()})},qe=bn=>{oe.value&&(Et(),!pe.value&&r("expand",bn))},Et=()=>{const{node:bn}=t;!he.value||bn.loading||(bn.loaded?Ve():Ue())},Lt=()=>{oe.value&&!pe.value||(pe.value&&!de.value&&!le.value&&!ie.value?Cn(!0):Et())},hn=bn=>{le.value?(Fe(bn),t.node.loaded&&Ve()):Cn(bn)},Cn=bn=>{t.node.loaded?(Fe(bn),!le.value&&Ve()):Ue()};return{panel:$,isHoverMenu:oe,multiple:ie,checkStrictly:le,checkedNodeId:ue,isDisabled:de,isLeaf:pe,expandable:he,inExpandingPath:_e,inCheckedPath:$e,ns:V,handleHoverExpand:qe,handleExpand:Et,handleClick:Lt,handleCheck:Cn,handleSelectCheck:hn}}}),_hoisted_1$R=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],_hoisted_2$A=createBaseVNode("span",null,null,-1);function _sfc_render$v(t,r,$,V,oe,ie){const le=resolveComponent("el-checkbox"),ue=resolveComponent("el-radio"),de=resolveComponent("check"),pe=resolveComponent("el-icon"),he=resolveComponent("node-content"),_e=resolveComponent("loading"),$e=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]=(...Ie)=>t.handleHoverExpand&&t.handleHoverExpand(...Ie)),onFocus:r[3]||(r[3]=(...Ie)=>t.handleHoverExpand&&t.handleHoverExpand(...Ie)),onClick:r[4]||(r[4]=(...Ie)=>t.handleClick&&t.handleClick(...Ie))},[createCommentVNode(" prefix "),t.multiple?(openBlock(),createBlock(le,{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(ue,{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$A]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):t.isLeaf&&t.node.checked?(openBlock(),createBlock(pe,{key:2,class:normalizeClass(t.ns.e("prefix"))},{default:withCtx(()=>[createVNode(de)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode(he),createCommentVNode(" postfix "),t.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[t.node.loading?(openBlock(),createBlock(pe,{key:0,class:normalizeClass([t.ns.is("loading"),t.ns.e("postfix")])},{default:withCtx(()=>[createVNode(_e)]),_:1},8,["class"])):(openBlock(),createBlock(pe,{key:1,class:normalizeClass(["arrow-right",t.ns.e("postfix")])},{default:withCtx(()=>[createVNode($e)]),_:1},8,["class"]))],64))],42,_hoisted_1$R)}var ElCascaderNode=_export_sfc$1(_sfc_main$1J,[["render",_sfc_render$v],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]);const _sfc_main$1I=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(),$=useNamespace("cascader-menu"),{t:V}=useLocale(),oe=generateId();let ie=null,le=null;const ue=inject(CASCADER_PANEL_INJECTION_KEY),de=ref(null),pe=computed(()=>!t.nodes.length),he=computed(()=>!ue.initialLoaded),_e=computed(()=>`cascader-menu-${oe}-${t.index}`),$e=Ue=>{ie=Ue.target},Ie=Ue=>{if(!(!ue.isHoverMenu||!ie||!de.value))if(ie.contains(Ue.target)){Ve();const qe=r.vnode.el,{left:Et}=qe.getBoundingClientRect(),{offsetWidth:Lt,offsetHeight:hn}=qe,Cn=Ue.clientX-Et,bn=ie.offsetTop,Sn=bn+ie.offsetHeight;de.value.innerHTML=`
|
||
<path style="pointer-events: auto;" fill="transparent" d="M${Cn} ${bn} L${Lt} 0 V${bn} Z" />
|
||
<path style="pointer-events: auto;" fill="transparent" d="M${Cn} ${Sn} L${Lt} ${hn} V${Sn} Z" />
|
||
`}else le||(le=window.setTimeout(Fe,ue.config.hoverThreshold))},Ve=()=>{le&&(clearTimeout(le),le=null)},Fe=()=>{de.value&&(de.value.innerHTML="",Ve())};return{ns:$,panel:ue,hoverZone:de,isEmpty:pe,isLoading:he,menuId:_e,t:V,handleExpand:$e,handleMouseMove:Ie,clearHoverZone:Fe}}});function _sfc_render$u(t,r,$,V,oe,ie){const le=resolveComponent("el-cascader-node"),ue=resolveComponent("loading"),de=resolveComponent("el-icon"),pe=resolveComponent("el-scrollbar");return openBlock(),createBlock(pe,{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 he;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.nodes,_e=>(openBlock(),createBlock(le,{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(de,{size:"14",class:normalizeClass(t.ns.is("loading"))},{default:withCtx(()=>[createVNode(ue)]),_: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)):(he=t.panel)!=null&&he.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$1I,[["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:$}=t;for(;$;)r.unshift($),$=$.parent;return r};let Node$2=class Co{constructor(r,$,V,oe=!1){this.data=r,this.config=$,this.parent=V,this.root=oe,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:ie,label:le,children:ue}=$,de=r[ue],pe=calculatePathNodes(this);this.level=oe?0:V?V.level+1:1,this.value=r[ie],this.label=r[le],this.pathNodes=pe,this.pathValues=pe.map(he=>he.value),this.pathLabels=pe.map(he=>he.label),this.childrenData=de,this.children=(de||[]).map(he=>new Co(he,$,this)),this.loaded=!$.lazy||this.isLeaf||!isEmpty(de)}get isDisabled(){const{data:r,parent:$,config:V}=this,{disabled:oe,checkStrictly:ie}=V;return(isFunction$5(oe)?oe(r,this):!!r[oe])||!ie&&($==null?void 0:$.isDisabled)}get isLeaf(){const{data:r,config:$,childrenData:V,loaded:oe}=this,{lazy:ie,leaf:le}=$,ue=isFunction$5(le)?le(r,this):r[le];return isUndefined$1(ue)?ie&&!oe?!1:!(Array.isArray(V)&&V.length):!!ue}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(r){const{childrenData:$,children:V}=this,oe=new Co(r,this.config,this);return Array.isArray($)?$.push(r):this.childrenData=[r],V.push(oe),oe}calcText(r,$){const V=r?this.pathLabels.join($):this.label;return this.text=V,V}broadcast(r,...$){const V=`onParent${capitalize$1(r)}`;this.children.forEach(oe=>{oe&&(oe.broadcast(r,...$),oe[V]&&oe[V](...$))})}emit(r,...$){const{parent:V}=this,oe=`onChild${capitalize$1(r)}`;V&&(V[oe]&&V[oe](...$),V.emit(r,...$))}onParentCheck(r){this.isDisabled||this.setCheckState(r)}onChildCheck(){const{children:r}=this,$=r.filter(oe=>!oe.isDisabled),V=$.length?$.every(oe=>oe.checked):!1;this.setCheckState(V)}setCheckState(r){const $=this.children.length,V=this.children.reduce((oe,ie)=>{const le=ie.checked?1:ie.indeterminate?.5:0;return oe+le},0);this.checked=this.loaded&&this.children.filter(oe=>!oe.isDisabled).every(oe=>oe.loaded&&oe.checked)&&r,this.indeterminate=this.loaded&&V!==$&&V>0}doCheck(r){if(this.checked===r)return;const{checkStrictly:$,multiple:V}=this.config;$||!V?this.checked=r:(this.broadcast("check",r),this.setCheckState(r),this.emit("check"))}};const flatNodes=(t,r)=>t.reduce(($,V)=>(V.isLeaf?$.push(V):(!r&&$.push(V),$=$.concat(flatNodes(V.children,r))),$),[]);class Store{constructor(r,$){this.config=$;const V=(r||[]).map(oe=>new Node$2(oe,this.config));this.nodes=V,this.allNodes=flatNodes(V,!1),this.leafNodes=flatNodes(V,!0)}getNodes(){return this.nodes}getFlattedNodes(r){return r?this.leafNodes:this.allNodes}appendNode(r,$){const V=$?$.appendChild(r):new Node$2(r,this.config);$||this.nodes.push(V),this.allNodes.push(V),V.isLeaf&&this.leafNodes.push(V)}appendNodes(r,$){r.forEach(V=>this.appendNode(V,$))}getNodeByValue(r,$=!1){return!r&&r!==0?null:this.getFlattedNodes($).find(oe=>isEqual$1(oe.value,r)||isEqual$1(oe.pathValues,r))||null}getSameNode(r){return r&&this.getFlattedNodes(!1).find(({value:V,level:oe})=>isEqual$1(r.value,V)&&r.level===oe)||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 $=r.slice(0),V=$.map(ie=>ie.uid),oe=t.reduce((ie,le)=>{const ue=V.indexOf(le.uid);return ue>-1&&(ie.push(le),$.splice(ue,1),V.splice(ue,1)),ie},[]);return oe.push(...$),oe},_sfc_main$1H=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:$}){let V=!1;const oe=useNamespace("cascader"),ie=useCascaderConfig(t);let le=null;const ue=ref(!0),de=ref([]),pe=ref(null),he=ref([]),_e=ref(null),$e=ref([]),Ie=computed(()=>ie.value.expandTrigger==="hover"),Ve=computed(()=>t.renderLabel||$.default),Fe=()=>{const{options:xn}=t,An=ie.value;V=!1,le=new Store(xn,An),he.value=[le.getNodes()],An.lazy&&isEmpty(t.options)?(ue.value=!1,Ue(void 0,Mn=>{Mn&&(le=new Store(Mn,An),he.value=[le.getNodes()]),ue.value=!0,En(!1,!0)})):En(!1,!0)},Ue=(xn,An)=>{const Mn=ie.value;xn=xn||new Node$2({},Mn,void 0,!0),xn.loading=!0;const Vn=Bn=>{const Dn=xn,Ln=Dn.root?null:Dn;Bn&&(le==null||le.appendNodes(Bn,Ln)),Dn.loading=!1,Dn.loaded=!0,Dn.childrenData=Dn.childrenData||[],An&&An(Bn)};Mn.lazyLoad(xn,Vn)},qe=(xn,An)=>{var Mn;const{level:Vn}=xn,Bn=he.value.slice(0,Vn);let Dn;xn.isLeaf?Dn=xn.pathNodes[Vn-2]:(Dn=xn,Bn.push(xn.children)),((Mn=_e.value)==null?void 0:Mn.uid)!==(Dn==null?void 0:Dn.uid)&&(_e.value=xn,he.value=Bn,!An&&r("expand-change",(xn==null?void 0:xn.pathValues)||[]))},Et=(xn,An,Mn=!0)=>{const{checkStrictly:Vn,multiple:Bn}=ie.value,Dn=$e.value[0];V=!0,!Bn&&(Dn==null||Dn.doCheck(!1)),xn.doCheck(An),Sn(),Mn&&!Bn&&!Vn&&r("close"),!Mn&&!Bn&&!Vn&&Lt(xn)},Lt=xn=>{xn&&(xn=xn.parent,Lt(xn),xn&&qe(xn))},hn=xn=>le==null?void 0:le.getFlattedNodes(xn),Cn=xn=>{var An;return(An=hn(xn))==null?void 0:An.filter(Mn=>Mn.checked!==!1)},bn=()=>{$e.value.forEach(xn=>xn.doCheck(!1)),Sn(),he.value=he.value.slice(0,1),_e.value=null,r("expand-change",[])},Sn=()=>{var xn;const{checkStrictly:An,multiple:Mn}=ie.value,Vn=$e.value,Bn=Cn(!An),Dn=sortByOriginalOrder(Vn,Bn),Ln=Dn.map(Pn=>Pn.valueByOption);$e.value=Dn,pe.value=Mn?Ln:(xn=Ln[0])!=null?xn:null},En=(xn=!1,An=!1)=>{const{modelValue:Mn}=t,{lazy:Vn,multiple:Bn,checkStrictly:Dn}=ie.value,Ln=!Dn;if(!(!ue.value||V||!An&&isEqual$1(Mn,pe.value)))if(Vn&&!xn){const Fn=unique(flattenDeep(castArray(Mn))).map(Un=>le==null?void 0:le.getNodeByValue(Un)).filter(Un=>!!Un&&!Un.loaded&&!Un.loading);Fn.length?Fn.forEach(Un=>{Ue(Un,()=>En(!1,An))}):En(!0,An)}else{const Pn=Bn?castArray(Mn):[Mn],Fn=unique(Pn.map(Un=>le==null?void 0:le.getNodeByValue(Un,Ln)));wn(Fn,An),pe.value=cloneDeep(Mn)}},wn=(xn,An=!0)=>{const{checkStrictly:Mn}=ie.value,Vn=$e.value,Bn=xn.filter(Pn=>!!Pn&&(Mn||Pn.isLeaf)),Dn=le==null?void 0:le.getSameNode(_e.value),Ln=An&&Dn||Bn[0];Ln?Ln.pathNodes.forEach(Pn=>qe(Pn,!0)):_e.value=null,Vn.forEach(Pn=>Pn.doCheck(!1)),t.props.multiple?reactive(Bn).forEach(Pn=>Pn.doCheck(!0)):Bn.forEach(Pn=>Pn.doCheck(!0)),$e.value=Bn,nextTick($n)},$n=()=>{isClient$1&&de.value.forEach(xn=>{const An=xn==null?void 0:xn.$el;if(An){const Mn=An.querySelector(`.${oe.namespace.value}-scrollbar__wrap`),Vn=An.querySelector(`.${oe.b("node")}.${oe.is("active")}`)||An.querySelector(`.${oe.b("node")}.in-active-path`);scrollIntoView(Mn,Vn)}})},Tn=xn=>{const An=xn.target,{code:Mn}=xn;switch(Mn){case EVENT_CODE.up:case EVENT_CODE.down:{xn.preventDefault();const Vn=Mn===EVENT_CODE.up?-1:1;focusNode(getSibling(An,Vn,`.${oe.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{xn.preventDefault();const Vn=de.value[getMenuIndex(An)-1],Bn=Vn==null?void 0:Vn.$el.querySelector(`.${oe.b("node")}[aria-expanded="true"]`);focusNode(Bn);break}case EVENT_CODE.right:{xn.preventDefault();const Vn=de.value[getMenuIndex(An)+1],Bn=Vn==null?void 0:Vn.$el.querySelector(`.${oe.b("node")}[tabindex="-1"]`);focusNode(Bn);break}case EVENT_CODE.enter:checkNode(An);break}};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:ie,expandingNode:_e,checkedNodes:$e,isHoverMenu:Ie,initialLoaded:ue,renderLabelFn:Ve,lazyLoad:Ue,expandNode:qe,handleCheckChange:Et})),watch([ie,()=>t.options],Fe,{deep:!0,immediate:!0}),watch(()=>t.modelValue,()=>{V=!1,En()},{deep:!0}),watch(()=>pe.value,xn=>{isEqual$1(xn,t.modelValue)||(r(UPDATE_MODEL_EVENT,xn),r(CHANGE_EVENT,xn))}),onBeforeUpdate(()=>de.value=[]),onMounted(()=>!isEmpty(t.modelValue)&&En()),{ns:oe,menuList:de,menus:he,checkedNodes:$e,handleKeyDown:Tn,handleCheckChange:Et,getFlattedNodes:hn,getCheckedNodes:Cn,clearCheckedNodes:bn,calculateCheckedValue:Sn,scrollToExpandingNode:$n}}});function _sfc_render$t(t,r,$,V,oe,ie){const le=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]=(...ue)=>t.handleKeyDown&&t.handleKeyDown(...ue))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.menus,(ue,de)=>(openBlock(),createBlock(le,{key:de,ref_for:!0,ref:pe=>t.menuList[de]=pe,index:de,nodes:[...ue]},null,8,["index","nodes"]))),128))],34)}var CascaderPanel=_export_sfc$1(_sfc_main$1H,[["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$1G=defineComponent({...__default__$14,props:tagProps,emits:tagEmits,setup(t,{emit:r}){const $=t,V=useFormSize(),oe=useNamespace("tag"),ie=computed(()=>{const{type:de,hit:pe,effect:he,closable:_e,round:$e}=$;return[oe.b(),oe.is("closable",_e),oe.m(de),oe.m(V.value),oe.m(he),oe.is("hit",pe),oe.is("round",$e)]}),le=de=>{r("close",de)},ue=de=>{r("click",de)};return(de,pe)=>de.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(ie)),style:normalizeStyle$1({backgroundColor:de.color}),onClick:ue},[createBaseVNode("span",{class:normalizeClass(unref(oe).e("content"))},[renderSlot(de.$slots,"default")],2),de.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(oe).e("close")),onClick:withModifiers(le,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(oe).namespace.value}-zoom-in-center`,appear:""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(ie)),style:normalizeStyle$1({backgroundColor:de.color}),onClick:ue},[createBaseVNode("span",{class:normalizeClass(unref(oe).e("content"))},[renderSlot(de.$slots,"default")],2),de.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(oe).e("close")),onClick:withModifiers(le,["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$1G,[["__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$Q={key:0},_hoisted_2$z=["placeholder","onKeydown"],_hoisted_3$l=["onClick"],COMPONENT_NAME$e="ElCascader",__default__$13=defineComponent({name:COMPONENT_NAME$e}),_sfc_main$1F=defineComponent({...__default__$13,props:cascaderProps,emits:cascaderEmits,setup(t,{expose:r,emit:$}){const V=t,oe={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:ar})=>{const{modifiersData:tr,placement:Sr}=ar;["right","left","bottom","top"].includes(Sr)||(tr.arrow.x=35)},requires:["arrow"]}]},ie=useAttrs$1();let le=0,ue=0;const de=useNamespace("cascader"),pe=useNamespace("input"),{t:he}=useLocale(),{form:_e,formItem:$e}=useFormItem(),Ie=ref(null),Ve=ref(null),Fe=ref(null),Ue=ref(null),qe=ref(null),Et=ref(!1),Lt=ref(!1),hn=ref(!1),Cn=ref(!1),bn=ref(""),Sn=ref(""),En=ref([]),wn=ref([]),$n=ref([]),Tn=ref(!1),xn=computed(()=>ie.style),An=computed(()=>V.disabled||(_e==null?void 0:_e.disabled)),Mn=computed(()=>V.placeholder||he("el.cascader.placeholder")),Vn=computed(()=>Sn.value||En.value.length>0||Tn.value?"":Mn.value),Bn=useFormSize(),Dn=computed(()=>["small"].includes(Bn.value)?"small":"default"),Ln=computed(()=>!!V.props.multiple),Pn=computed(()=>!V.filterable||Ln.value),Fn=computed(()=>Ln.value?Sn.value:bn.value),Un=computed(()=>{var ar;return((ar=Ue.value)==null?void 0:ar.checkedNodes)||[]}),Wn=computed(()=>!V.clearable||An.value||hn.value||!Lt.value?!1:!!Un.value.length),Zn=computed(()=>{const{showAllLevels:ar,separator:tr}=V,Sr=Un.value;return Sr.length?Ln.value?"":Sr[0].calcText(ar,tr):""}),or=computed({get(){return cloneDeep(V.modelValue)},set(ar){$(UPDATE_MODEL_EVENT,ar),$(CHANGE_EVENT,ar),V.validateEvent&&($e==null||$e.validate("change").catch(tr=>void 0))}}),br=computed(()=>[de.b(),de.m(Bn.value),de.is("disabled",An.value),ie.class]),Qn=computed(()=>[pe.e("icon"),"icon-arrow-down",de.is("reverse",Et.value)]),Gn=computed(()=>de.is("focus",Et.value||Cn.value)),Yn=computed(()=>{var ar,tr;return(tr=(ar=Ie.value)==null?void 0:ar.popperRef)==null?void 0:tr.contentRef}),er=ar=>{var tr,Sr,qn;An.value||(ar=ar??!Et.value,ar!==Et.value&&(Et.value=ar,(Sr=(tr=Ve.value)==null?void 0:tr.input)==null||Sr.setAttribute("aria-expanded",`${ar}`),ar?(lr(),nextTick((qn=Ue.value)==null?void 0:qn.scrollToExpandingNode)):V.filterable&&nr(),$("visibleChange",ar)))},lr=()=>{nextTick(()=>{var ar;(ar=Ie.value)==null||ar.updatePopper()})},sr=()=>{hn.value=!1},zn=ar=>{const{showAllLevels:tr,separator:Sr}=V;return{node:ar,key:ar.uid,text:ar.calcText(tr,Sr),hitState:!1,closable:!An.value&&!ar.isDisabled,isCollapseTag:!1}},Kn=ar=>{var tr;const Sr=ar.node;Sr.doCheck(!1),(tr=Ue.value)==null||tr.calculateCheckedValue(),$("removeTag",Sr.valueByOption)},Jn=()=>{if(!Ln.value)return;const ar=Un.value,tr=[],Sr=[];if(ar.forEach(qn=>Sr.push(zn(qn))),wn.value=Sr,ar.length){ar.slice(0,V.maxCollapseTags).forEach(Dr=>tr.push(zn(Dr)));const qn=ar.slice(V.maxCollapseTags),kr=qn.length;kr&&(V.collapseTags?tr.push({key:-1,text:`+ ${kr}`,closable:!1,isCollapseTag:!0}):qn.forEach(Dr=>tr.push(zn(Dr))))}En.value=tr},cr=()=>{var ar,tr;const{filterMethod:Sr,showAllLevels:qn,separator:kr}=V,Dr=(tr=(ar=Ue.value)==null?void 0:ar.getFlattedNodes(!V.props.checkStrictly))==null?void 0:tr.filter(Hr=>Hr.isDisabled?!1:(Hr.calcText(qn,kr),Sr(Hr,Fn.value)));Ln.value&&(En.value.forEach(Hr=>{Hr.hitState=!1}),wn.value.forEach(Hr=>{Hr.hitState=!1})),hn.value=!0,$n.value=Dr,lr()},_r=()=>{var ar;let tr;hn.value&&qe.value?tr=qe.value.$el.querySelector(`.${de.e("suggestion-item")}`):tr=(ar=Ue.value)==null?void 0:ar.$el.querySelector(`.${de.b("node")}[tabindex="-1"]`),tr&&(tr.focus(),!hn.value&&tr.click())},ur=()=>{var ar,tr;const Sr=(ar=Ve.value)==null?void 0:ar.input,qn=Fe.value,kr=(tr=qe.value)==null?void 0:tr.$el;if(!(!isClient$1||!Sr)){if(kr){const Dr=kr.querySelector(`.${de.e("suggestion-list")}`);Dr.style.minWidth=`${Sr.offsetWidth}px`}if(qn){const{offsetHeight:Dr}=qn,Hr=En.value.length>0?`${Math.max(Dr+6,le)}px`:`${le}px`;Sr.style.height=Hr,lr()}}},wr=ar=>{var tr;return(tr=Ue.value)==null?void 0:tr.getCheckedNodes(ar)},Cr=ar=>{lr(),$("expandChange",ar)},mr=ar=>{var tr;const Sr=(tr=ar.target)==null?void 0:tr.value;if(ar.type==="compositionend")Tn.value=!1,nextTick(()=>Nr(Sr));else{const qn=Sr[Sr.length-1]||"";Tn.value=!isKorean(qn)}},Er=ar=>{if(!Tn.value)switch(ar.code){case EVENT_CODE.enter:er();break;case EVENT_CODE.down:er(!0),nextTick(_r),ar.preventDefault();break;case EVENT_CODE.esc:Et.value===!0&&(ar.preventDefault(),ar.stopPropagation(),er(!1));break;case EVENT_CODE.tab:er(!1);break}},Tr=()=>{var ar;(ar=Ue.value)==null||ar.clearCheckedNodes(),!Et.value&&V.filterable&&nr(),er(!1)},nr=()=>{const{value:ar}=Zn;bn.value=ar,Sn.value=ar},pr=ar=>{var tr,Sr;const{checked:qn}=ar;Ln.value?(tr=Ue.value)==null||tr.handleCheckChange(ar,!qn,!1):(!qn&&((Sr=Ue.value)==null||Sr.handleCheckChange(ar,!0,!1)),er(!1))},gr=ar=>{const tr=ar.target,{code:Sr}=ar;switch(Sr){case EVENT_CODE.up:case EVENT_CODE.down:{const qn=Sr===EVENT_CODE.up?-1:1;focusNode(getSibling(tr,qn,`.${de.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:tr.click();break}},$r=()=>{const ar=En.value,tr=ar[ar.length-1];ue=Sn.value?0:ue+1,!(!tr||!ue||V.collapseTags&&ar.length>1)&&(tr.hitState?Kn(tr):tr.hitState=!0)},Rr=ar=>{const tr=ar.target,Sr=de.e("search-input");tr.className===Sr&&(Cn.value=!0),$("focus",ar)},Lr=ar=>{Cn.value=!1,$("blur",ar)},Vr=debounce(()=>{const{value:ar}=Fn;if(!ar)return;const tr=V.beforeFilter(ar);isPromise(tr)?tr.then(cr).catch(()=>{}):tr!==!1?cr():sr()},V.debounce),Nr=(ar,tr)=>{!Et.value&&er(!0),!(tr!=null&&tr.isComposing)&&(ar?Vr():sr())},dr=ar=>Number.parseFloat(useCssVar(pe.cssVarName("input-height"),ar).value)-2;return watch(hn,lr),watch([Un,An],Jn),watch(En,()=>{nextTick(()=>ur())}),watch(Bn,async()=>{await nextTick();const ar=Ve.value.input;le=dr(ar)||le,ur()}),watch(Zn,nr,{immediate:!0}),onMounted(()=>{const ar=Ve.value.input,tr=dr(ar);le=ar.offsetHeight||tr,useResizeObserver$1(ar,ur)}),r({getCheckedNodes:wr,cascaderPanelRef:Ue,togglePopperVisible:er,contentRef:Yn}),(ar,tr)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:Ie,visible:Et.value,teleported:ar.teleported,"popper-class":[unref(de).e("dropdown"),ar.popperClass],"popper-options":oe,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${unref(de).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:sr},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(br)),style:normalizeStyle$1(unref(xn)),onClick:tr[5]||(tr[5]=()=>er(unref(Pn)?void 0:!0)),onKeydown:Er,onMouseenter:tr[6]||(tr[6]=Sr=>Lt.value=!0),onMouseleave:tr[7]||(tr[7]=Sr=>Lt.value=!1)},[createVNode(unref(ElInput),{ref_key:"input",ref:Ve,modelValue:bn.value,"onUpdate:modelValue":tr[1]||(tr[1]=Sr=>bn.value=Sr),placeholder:unref(Vn),readonly:unref(Pn),disabled:unref(An),"validate-event":!1,size:unref(Bn),class:normalizeClass(unref(Gn)),tabindex:unref(Ln)&&ar.filterable&&!unref(An)?-1:void 0,onCompositionstart:mr,onCompositionupdate:mr,onCompositionend:mr,onFocus:Rr,onBlur:Lr,onInput:Nr},{suffix:withCtx(()=>[unref(Wn)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(pe).e("icon"),"icon-circle-close"]),onClick:withModifiers(Tr,["stop"])},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(Qn)),onClick:tr[0]||(tr[0]=withModifiers(Sr=>er(),["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:Fe,class:normalizeClass(unref(de).e("tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(En.value,Sr=>(openBlock(),createBlock(unref(ElTag),{key:Sr.key,type:ar.tagType,size:unref(Dn),hit:Sr.hitState,closable:Sr.closable,"disable-transitions":"",onClose:qn=>Kn(Sr)},{default:withCtx(()=>[Sr.isCollapseTag===!1?(openBlock(),createElementBlock("span",_hoisted_1$Q,toDisplayString$1(Sr.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:Et.value||!ar.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(Sr.text),1)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(de).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(wn.value.slice(ar.maxCollapseTags),(qn,kr)=>(openBlock(),createElementBlock("div",{key:kr,class:normalizeClass(unref(de).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:qn.key,class:"in-tooltip",type:ar.tagType,size:unref(Dn),hit:qn.hitState,closable:qn.closable,"disable-transitions":"",onClose:Dr=>Kn(qn)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(qn.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),ar.filterable&&!unref(An)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":tr[2]||(tr[2]=Sr=>Sn.value=Sr),type:"text",class:normalizeClass(unref(de).e("search-input")),placeholder:unref(Zn)?"":unref(Mn),onInput:tr[3]||(tr[3]=Sr=>Nr(Sn.value,Sr)),onClick:tr[4]||(tr[4]=withModifiers(Sr=>er(!0),["stop"])),onKeydown:withKeys($r,["delete"]),onCompositionstart:mr,onCompositionupdate:mr,onCompositionend:mr,onFocus:Rr,onBlur:Lr},null,42,_hoisted_2$z)),[[vModelText,Sn.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),()=>er(!1),unref(Yn)]])]),content:withCtx(()=>[withDirectives(createVNode(unref(_CascaderPanel),{ref_key:"cascaderPanelRef",ref:Ue,modelValue:unref(or),"onUpdate:modelValue":tr[8]||(tr[8]=Sr=>isRef(or)?or.value=Sr:null),options:ar.options,props:V.props,border:!1,"render-label":ar.$slots.default,onExpandChange:Cr,onClose:tr[9]||(tr[9]=Sr=>ar.$nextTick(()=>er(!1)))},null,8,["modelValue","options","props","render-label"]),[[vShow,!hn.value]]),ar.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:0,ref_key:"suggestionPanel",ref:qe,tag:"ul",class:normalizeClass(unref(de).e("suggestion-panel")),"view-class":unref(de).e("suggestion-list"),onKeydown:gr},{default:withCtx(()=>[$n.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList($n.value,Sr=>(openBlock(),createElementBlock("li",{key:Sr.uid,class:normalizeClass([unref(de).e("suggestion-item"),unref(de).is("checked",Sr.checked)]),tabindex:-1,onClick:qn=>pr(Sr)},[createBaseVNode("span",null,toDisplayString$1(Sr.text),1),Sr.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)],10,_hoisted_3$l))),128)):renderSlot(ar.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref(de).e("empty-text"))},toDisplayString$1(unref(he)("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$1F,[["__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$1E=defineComponent({...__default__$12,props:checkTagProps,emits:checkTagEmits,setup(t,{emit:r}){const $=t,V=useNamespace("check-tag"),oe=computed(()=>[V.b(),V.is("checked",$.checked)]),ie=()=>{const le=!$.checked;r(CHANGE_EVENT,le),r("update:checked",le)};return(le,ue)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(oe)),onClick:ie},[renderSlot(le.$slots,"default")],2))}});var CheckTag=_export_sfc$1(_sfc_main$1E,[["__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$1D=defineComponent({...__default__$11,props:rowProps,setup(t){const r=t,$=useNamespace("row"),V=computed(()=>r.gutter);provide(rowContextKey,{gutter:V});const oe=computed(()=>{const le={};return r.gutter&&(le.marginRight=le.marginLeft=`-${r.gutter/2}px`),le}),ie=computed(()=>[$.b(),$.is(`justify-${r.justify}`,r.justify!=="start"),$.is(`align-${r.align}`,!!r.align)]);return(le,ue)=>(openBlock(),createBlock(resolveDynamicComponent(le.tag),{class:normalizeClass(unref(ie)),style:normalizeStyle$1(unref(oe))},{default:withCtx(()=>[renderSlot(le.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$1(_sfc_main$1D,[["__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$1C=defineComponent({...__default__$10,props:colProps,setup(t){const r=t,{gutter:$}=inject(rowContextKey,{gutter:computed(()=>0)}),V=useNamespace("col"),oe=computed(()=>{const le={};return $.value&&(le.paddingLeft=le.paddingRight=`${$.value/2}px`),le}),ie=computed(()=>{const le=[];return["span","offset","pull","push"].forEach(pe=>{const he=r[pe];isNumber$4(he)&&(pe==="span"?le.push(V.b(`${r[pe]}`)):he>0&&le.push(V.b(`${pe}-${r[pe]}`)))}),["xs","sm","md","lg","xl"].forEach(pe=>{isNumber$4(r[pe])?le.push(V.b(`${pe}-${r[pe]}`)):isObject$a(r[pe])&&Object.entries(r[pe]).forEach(([he,_e])=>{le.push(he!=="span"?V.b(`${pe}-${he}-${_e}`):V.b(`${pe}-${_e}`))})}),$.value&&le.push(V.is("guttered")),[V.b(),le]});return(le,ue)=>(openBlock(),createBlock(resolveDynamicComponent(le.tag),{class:normalizeClass(unref(ie)),style:normalizeStyle$1(unref(oe))},{default:withCtx(()=>[renderSlot(le.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$1(_sfc_main$1C,[["__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 $=ref(castArray$1(t.modelValue)),V=ie=>{$.value=ie;const le=t.accordion?$.value[0]:$.value;r(UPDATE_MODEL_EVENT,le),r(CHANGE_EVENT,le)},oe=ie=>{if(t.accordion)V([$.value[0]===ie?"":ie]);else{const le=[...$.value],ue=le.indexOf(ie);ue>-1?le.splice(ue,1):le.push(ie),V(le)}};return watch(()=>t.modelValue,()=>$.value=castArray$1(t.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:$,handleItemClick:oe}),{activeNames:$,setActiveNames:V}},useCollapseDOM=()=>{const t=useNamespace("collapse");return{rootKls:computed(()=>t.b())}},__default__$$=defineComponent({name:"ElCollapse"}),_sfc_main$1B=defineComponent({...__default__$$,props:collapseProps,emits:collapseEmits,setup(t,{expose:r,emit:$}){const V=t,{activeNames:oe,setActiveNames:ie}=useCollapse(V,$),{rootKls:le}=useCollapseDOM();return r({activeNames:oe,setActiveNames:ie}),(ue,de)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(le))},[renderSlot(ue.$slots,"default")],2))}});var Collapse=_export_sfc$1(_sfc_main$1B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const __default__$_=defineComponent({name:"ElCollapseTransition"}),_sfc_main$1A=defineComponent({...__default__$_,setup(t){const r=useNamespace("collapse-transition"),$=oe=>{oe.style.maxHeight="",oe.style.overflow=oe.dataset.oldOverflow,oe.style.paddingTop=oe.dataset.oldPaddingTop,oe.style.paddingBottom=oe.dataset.oldPaddingBottom},V={beforeEnter(oe){oe.dataset||(oe.dataset={}),oe.dataset.oldPaddingTop=oe.style.paddingTop,oe.dataset.oldPaddingBottom=oe.style.paddingBottom,oe.style.maxHeight=0,oe.style.paddingTop=0,oe.style.paddingBottom=0},enter(oe){oe.dataset.oldOverflow=oe.style.overflow,oe.scrollHeight!==0?oe.style.maxHeight=`${oe.scrollHeight}px`:oe.style.maxHeight=0,oe.style.paddingTop=oe.dataset.oldPaddingTop,oe.style.paddingBottom=oe.dataset.oldPaddingBottom,oe.style.overflow="hidden"},afterEnter(oe){oe.style.maxHeight="",oe.style.overflow=oe.dataset.oldOverflow},enterCancelled(oe){$(oe)},beforeLeave(oe){oe.dataset||(oe.dataset={}),oe.dataset.oldPaddingTop=oe.style.paddingTop,oe.dataset.oldPaddingBottom=oe.style.paddingBottom,oe.dataset.oldOverflow=oe.style.overflow,oe.style.maxHeight=`${oe.scrollHeight}px`,oe.style.overflow="hidden"},leave(oe){oe.scrollHeight!==0&&(oe.style.maxHeight=0,oe.style.paddingTop=0,oe.style.paddingBottom=0)},afterLeave(oe){$(oe)},leaveCancelled(oe){$(oe)}};return(oe,ie)=>(openBlock(),createBlock(Transition,mergeProps({name:unref(r).b()},toHandlers(V)),{default:withCtx(()=>[renderSlot(oe.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc$1(_sfc_main$1A,[["__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),$=ref(!1),V=ref(!1),oe=ref(generateId()),ie=computed(()=>r==null?void 0:r.activeNames.value.includes(t.name));return{focusing:$,id:oe,isActive:ie,handleFocus:()=>{setTimeout(()=>{V.value?V.value=!1:$.value=!0},50)},handleHeaderClick:()=>{t.disabled||(r==null||r.handleItemClick(t.name),$.value=!1,V.value=!0)},handleEnterClick:()=>{r==null||r.handleItemClick(t.name)}}},useCollapseItemDOM=(t,{focusing:r,isActive:$,id:V})=>{const oe=useNamespace("collapse"),ie=computed(()=>[oe.b("item"),oe.is("active",unref($)),oe.is("disabled",t.disabled)]),le=computed(()=>[oe.be("item","header"),oe.is("active",unref($)),{focusing:unref(r)&&!t.disabled}]),ue=computed(()=>[oe.be("item","arrow"),oe.is("active",unref($))]),de=computed(()=>oe.be("item","wrap")),pe=computed(()=>oe.be("item","content")),he=computed(()=>oe.b(`content-${unref(V)}`)),_e=computed(()=>oe.b(`head-${unref(V)}`));return{arrowKls:ue,headKls:le,rootKls:ie,itemWrapperKls:de,itemContentKls:pe,scopedContentId:he,scopedHeadId:_e}},_hoisted_1$P=["id","aria-expanded","aria-controls","aria-describedby","tabindex"],_hoisted_2$y=["id","aria-hidden","aria-labelledby"],__default__$Z=defineComponent({name:"ElCollapseItem"}),_sfc_main$1z=defineComponent({...__default__$Z,props:collapseItemProps,setup(t,{expose:r}){const $=t,{focusing:V,id:oe,isActive:ie,handleFocus:le,handleHeaderClick:ue,handleEnterClick:de}=useCollapseItem($),{arrowKls:pe,headKls:he,rootKls:_e,itemWrapperKls:$e,itemContentKls:Ie,scopedContentId:Ve,scopedHeadId:Fe}=useCollapseItemDOM($,{focusing:V,isActive:ie,id:oe});return r({isActive:ie}),(Ue,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(_e))},[createBaseVNode("button",{id:unref(Fe),class:normalizeClass(unref(he)),"aria-expanded":unref(ie),"aria-controls":unref(Ve),"aria-describedby":unref(Ve),tabindex:Ue.disabled?-1:0,onClick:qe[0]||(qe[0]=(...Et)=>unref(ue)&&unref(ue)(...Et)),onKeydown:qe[1]||(qe[1]=withKeys(withModifiers((...Et)=>unref(de)&&unref(de)(...Et),["stop","prevent"]),["space","enter"])),onFocus:qe[2]||(qe[2]=(...Et)=>unref(le)&&unref(le)(...Et)),onBlur:qe[3]||(qe[3]=Et=>V.value=!1)},[renderSlot(Ue.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(Ue.title),1)]),createVNode(unref(ElIcon),{class:normalizeClass(unref(pe))},{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1},8,["class"])],42,_hoisted_1$P),createVNode(unref(_CollapseTransition),null,{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:unref(Ve),role:"region",class:normalizeClass(unref($e)),"aria-hidden":!unref(ie),"aria-labelledby":unref(Fe)},[createBaseVNode("div",{class:normalizeClass(unref(Ie))},[renderSlot(Ue.$slots,"default")],2)],10,_hoisted_2$y),[[vShow,unref(ie)]])]),_:3})],2))}});var CollapseItem=_export_sfc$1(_sfc_main$1z,[["__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 $=function(ie){var le;(le=r.drag)==null||le.call(r,ie)},V=function(ie){var le;document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",V),document.removeEventListener("touchmove",$),document.removeEventListener("touchend",V),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(le=r.end)==null||le.call(r,ie)},oe=function(ie){var le;isDragging||(ie.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",$),document.addEventListener("mouseup",V),document.addEventListener("touchmove",$),document.addEventListener("touchend",V),isDragging=!0,(le=r.start)==null||le.call(r,ie))};t.addEventListener("mousedown",oe),t.addEventListener("touchstart",oe)}const useAlphaSlider=t=>{const r=getCurrentInstance(),$=shallowRef(),V=shallowRef();function oe(le){le.target!==$.value&&ie(le)}function ie(le){if(!V.value||!$.value)return;const de=r.vnode.el.getBoundingClientRect(),{clientX:pe,clientY:he}=getClientXY(le);if(t.vertical){let _e=he-de.top;_e=Math.max($.value.offsetHeight/2,_e),_e=Math.min(_e,de.height-$.value.offsetHeight/2),t.color.set("alpha",Math.round((_e-$.value.offsetHeight/2)/(de.height-$.value.offsetHeight)*100))}else{let _e=pe-de.left;_e=Math.max($.value.offsetWidth/2,_e),_e=Math.min(_e,de.width-$.value.offsetWidth/2),t.color.set("alpha",Math.round((_e-$.value.offsetWidth/2)/(de.width-$.value.offsetWidth)*100))}}return{thumb:$,bar:V,handleDrag:ie,handleClick:oe}},useAlphaSliderDOM=(t,{bar:r,thumb:$,handleDrag:V})=>{const oe=getCurrentInstance(),ie=useNamespace("color-alpha-slider"),le=ref(0),ue=ref(0),de=ref();function pe(){if(!$.value||t.vertical)return 0;const Et=oe.vnode.el,Lt=t.color.get("alpha");return Et?Math.round(Lt*(Et.offsetWidth-$.value.offsetWidth/2)/100):0}function he(){if(!$.value)return 0;const Et=oe.vnode.el;if(!t.vertical)return 0;const Lt=t.color.get("alpha");return Et?Math.round(Lt*(Et.offsetHeight-$.value.offsetHeight/2)/100):0}function _e(){if(t.color&&t.color.value){const{r:Et,g:Lt,b:hn}=t.color.toRgb();return`linear-gradient(to right, rgba(${Et}, ${Lt}, ${hn}, 0) 0%, rgba(${Et}, ${Lt}, ${hn}, 1) 100%)`}return""}function $e(){le.value=pe(),ue.value=he(),de.value=_e()}onMounted(()=>{if(!r.value||!$.value)return;const Et={drag:Lt=>{V(Lt)},end:Lt=>{V(Lt)}};draggable(r.value,Et),draggable($.value,Et),$e()}),watch(()=>t.color.get("alpha"),()=>$e()),watch(()=>t.color.value,()=>$e());const Ie=computed(()=>[ie.b(),ie.is("vertical",t.vertical)]),Ve=computed(()=>ie.e("bar")),Fe=computed(()=>ie.e("thumb")),Ue=computed(()=>({background:de.value})),qe=computed(()=>({left:addUnit(le.value),top:addUnit(ue.value)}));return{rootKls:Ie,barKls:Ve,barStyle:Ue,thumbKls:Fe,thumbStyle:qe,update:$e}},COMPONENT_NAME$d="ElColorAlphaSlider",__default__$Y=defineComponent({name:COMPONENT_NAME$d}),_sfc_main$1y=defineComponent({...__default__$Y,props:alphaSliderProps,setup(t,{expose:r}){const $=t,{bar:V,thumb:oe,handleDrag:ie,handleClick:le}=useAlphaSlider($),{rootKls:ue,barKls:de,barStyle:pe,thumbKls:he,thumbStyle:_e,update:$e}=useAlphaSliderDOM($,{bar:V,thumb:oe,handleDrag:ie});return r({update:$e,bar:V,thumb:oe}),(Ie,Ve)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ue))},[createBaseVNode("div",{ref_key:"bar",ref:V,class:normalizeClass(unref(de)),style:normalizeStyle$1(unref(pe)),onClick:Ve[0]||(Ve[0]=(...Fe)=>unref(le)&&unref(le)(...Fe))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:oe,class:normalizeClass(unref(he)),style:normalizeStyle$1(unref(_e))},null,6)],2))}});var AlphaSlider=_export_sfc$1(_sfc_main$1y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/alpha-slider.vue"]]);const _sfc_main$1x=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(t){const r=useNamespace("color-hue-slider"),$=getCurrentInstance(),V=ref(),oe=ref(),ie=ref(0),le=ref(0),ue=computed(()=>t.color.get("hue"));watch(()=>ue.value,()=>{$e()});function de(Ie){Ie.target!==V.value&&pe(Ie)}function pe(Ie){if(!oe.value||!V.value)return;const Fe=$.vnode.el.getBoundingClientRect(),{clientX:Ue,clientY:qe}=getClientXY(Ie);let Et;if(t.vertical){let Lt=qe-Fe.top;Lt=Math.min(Lt,Fe.height-V.value.offsetHeight/2),Lt=Math.max(V.value.offsetHeight/2,Lt),Et=Math.round((Lt-V.value.offsetHeight/2)/(Fe.height-V.value.offsetHeight)*360)}else{let Lt=Ue-Fe.left;Lt=Math.min(Lt,Fe.width-V.value.offsetWidth/2),Lt=Math.max(V.value.offsetWidth/2,Lt),Et=Math.round((Lt-V.value.offsetWidth/2)/(Fe.width-V.value.offsetWidth)*360)}t.color.set("hue",Et)}function he(){if(!V.value)return 0;const Ie=$.vnode.el;if(t.vertical)return 0;const Ve=t.color.get("hue");return Ie?Math.round(Ve*(Ie.offsetWidth-V.value.offsetWidth/2)/360):0}function _e(){if(!V.value)return 0;const Ie=$.vnode.el;if(!t.vertical)return 0;const Ve=t.color.get("hue");return Ie?Math.round(Ve*(Ie.offsetHeight-V.value.offsetHeight/2)/360):0}function $e(){ie.value=he(),le.value=_e()}return onMounted(()=>{if(!oe.value||!V.value)return;const Ie={drag:Ve=>{pe(Ve)},end:Ve=>{pe(Ve)}};draggable(oe.value,Ie),draggable(V.value,Ie),$e()}),{bar:oe,thumb:V,thumbLeft:ie,thumbTop:le,hueValue:ue,handleClick:de,update:$e,ns:r}}});function _sfc_render$s(t,r,$,V,oe,ie){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]=(...le)=>t.handleClick&&t.handleClick(...le))},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$1x,[["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,$){return[t,r*$/((t=(2-r)*$)<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 $=isPercentage(t);return t=Math.min(r,Math.max(0,Number.parseFloat(`${t}`))),$&&(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),$=t%16;return`${INT_HEX_MAP[r]||r}${INT_HEX_MAP[$]||$}`},toHex$1=function({r:t,g:r,b:$}){return Number.isNaN(+t)||Number.isNaN(+r)||Number.isNaN(+$)?"":`#${hexOne(t)}${hexOne(r)}${hexOne($)}`},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,$){r=r/100,$=$/100;let V=r;const oe=Math.max($,.01);$*=2,r*=$<=1?$:2-$,V*=oe<=1?oe:2-oe;const ie=($+r)/2,le=$===0?2*V/(oe+V):2*r/($+r);return{h:t,s:le*100,v:ie*100}},rgb2hsv=(t,r,$)=>{t=bound01(t,255),r=bound01(r,255),$=bound01($,255);const V=Math.max(t,r,$),oe=Math.min(t,r,$);let ie;const le=V,ue=V-oe,de=V===0?0:ue/V;if(V===oe)ie=0;else{switch(V){case t:{ie=(r-$)/ue+(r<$?6:0);break}case r:{ie=($-t)/ue+2;break}case $:{ie=(t-r)/ue+4;break}}ie/=6}return{h:ie*360,s:de*100,v:le*100}},hsv2rgb=function(t,r,$){t=bound01(t,360)*6,r=bound01(r,100),$=bound01($,100);const V=Math.floor(t),oe=t-V,ie=$*(1-r),le=$*(1-oe*r),ue=$*(1-(1-oe)*r),de=V%6,pe=[$,le,ie,ie,ue,$][de],he=[ue,$,$,le,ie,ie][de],_e=[ie,ie,ue,$,$,le][de];return{r:Math.round(pe*255),g:Math.round(he*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 $ in r)hasOwn$4(r,$)&&(this[$]=r[$]);r.value?this.fromString(r.value):this.doOnChange()}set(r,$){if(arguments.length===1&&typeof r=="object"){for(const V in r)hasOwn$4(r,V)&&this.set(V,r[V]);return}this[`_${r}`]=$,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)=>{this._hue=Math.max(0,Math.min(360,V)),this._saturation=Math.max(0,Math.min(100,oe)),this._value=Math.max(0,Math.min(100,ie)),this.doOnChange()};if(r.includes("hsl")){const V=r.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(oe=>oe!=="").map((oe,ie)=>ie>2?Number.parseFloat(oe):Number.parseInt(oe,10));if(V.length===4?this._alpha=Number.parseFloat(V[3])*100:V.length===3&&(this._alpha=100),V.length>=3){const{h:oe,s:ie,v:le}=hsl2hsv(V[0],V[1],V[2]);$(oe,ie,le)}}else if(r.includes("hsv")){const V=r.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(oe=>oe!=="").map((oe,ie)=>ie>2?Number.parseFloat(oe):Number.parseInt(oe,10));V.length===4?this._alpha=Number.parseFloat(V[3])*100:V.length===3&&(this._alpha=100),V.length>=3&&$(V[0],V[1],V[2])}else if(r.includes("rgb")){const V=r.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(oe=>oe!=="").map((oe,ie)=>ie>2?Number.parseFloat(oe):Number.parseInt(oe,10));if(V.length===4?this._alpha=Number.parseFloat(V[3])*100:V.length===3&&(this._alpha=100),V.length>=3){const{h:oe,s:ie,v:le}=rgb2hsv(V[0],V[1],V[2]);$(oe,ie,le)}}else if(r.includes("#")){const V=r.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(V))return;let oe,ie,le;V.length===3?(oe=parseHexChannel(V[0]+V[0]),ie=parseHexChannel(V[1]+V[1]),le=parseHexChannel(V[2]+V[2])):(V.length===6||V.length===8)&&(oe=parseHexChannel(V.slice(0,2)),ie=parseHexChannel(V.slice(2,4)),le=parseHexChannel(V.slice(4,6))),V.length===8?this._alpha=parseHexChannel(V.slice(6))/255*100:(V.length===3||V.length===6)&&(this._alpha=100);const{h:ue,s:de,v:pe}=rgb2hsv(oe,ie,le);$(ue,de,pe)}}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:$,_value:V,_alpha:oe,format:ie}=this;if(this.enableAlpha)switch(ie){case"hsl":{const le=hsv2hsl(r,$/100,V/100);this.value=`hsla(${r}, ${Math.round(le[1]*100)}%, ${Math.round(le[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${r}, ${Math.round($)}%, ${Math.round(V)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex$1(hsv2rgb(r,$,V))}${hexOne(oe*255/100)}`;break}default:{const{r:le,g:ue,b:de}=hsv2rgb(r,$,V);this.value=`rgba(${le}, ${ue}, ${de}, ${this.get("alpha")/100})`}}else switch(ie){case"hsl":{const le=hsv2hsl(r,$/100,V/100);this.value=`hsl(${r}, ${Math.round(le[1]*100)}%, ${Math.round(le[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${r}, ${Math.round($)}%, ${Math.round(V)}%)`;break}case"rgb":{const{r:le,g:ue,b:de}=hsv2rgb(r,$,V);this.value=`rgb(${le}, ${ue}, ${de})`;break}default:this.value=toHex$1(hsv2rgb(r,$,V))}}}const _sfc_main$1w=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(t){const r=useNamespace("color-predefine"),{currentColor:$}=inject(colorPickerContextKey),V=ref(ie(t.colors,t.color));watch(()=>$.value,le=>{const ue=new Color;ue.fromString(le),V.value.forEach(de=>{de.selected=ue.compare(de)})}),watchEffect(()=>{V.value=ie(t.colors,t.color)});function oe(le){t.color.fromString(t.colors[le])}function ie(le,ue){return le.map(de=>{const pe=new Color;return pe.enableAlpha=!0,pe.format="rgba",pe.fromString(de),pe.selected=pe.value===ue.value,pe})}return{rgbaColors:V,handleSelect:oe,ns:r}}}),_hoisted_1$O=["onClick"];function _sfc_render$r(t,r,$,V,oe,ie){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,(le,ue)=>(openBlock(),createElementBlock("div",{key:t.colors[ue],class:normalizeClass([t.ns.e("color-selector"),t.ns.is("alpha",le._alpha<100),{selected:le.selected}]),onClick:de=>t.handleSelect(ue)},[createBaseVNode("div",{style:normalizeStyle$1({backgroundColor:le.value})},null,4)],10,_hoisted_1$O))),128))],2)],2)}var Predefine=_export_sfc$1(_sfc_main$1w,[["render",_sfc_render$r],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]);const _sfc_main$1v=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(t){const r=useNamespace("color-svpanel"),$=getCurrentInstance(),V=ref(0),oe=ref(0),ie=ref("hsl(0, 100%, 50%)"),le=computed(()=>{const pe=t.color.get("hue"),he=t.color.get("value");return{hue:pe,value:he}});function ue(){const pe=t.color.get("saturation"),he=t.color.get("value"),_e=$.vnode.el,{clientWidth:$e,clientHeight:Ie}=_e;oe.value=pe*$e/100,V.value=(100-he)*Ie/100,ie.value=`hsl(${t.color.get("hue")}, 100%, 50%)`}function de(pe){const _e=$.vnode.el.getBoundingClientRect(),{clientX:$e,clientY:Ie}=getClientXY(pe);let Ve=$e-_e.left,Fe=Ie-_e.top;Ve=Math.max(0,Ve),Ve=Math.min(Ve,_e.width),Fe=Math.max(0,Fe),Fe=Math.min(Fe,_e.height),oe.value=Ve,V.value=Fe,t.color.set({saturation:Ve/_e.width*100,value:100-Fe/_e.height*100})}return watch(()=>le.value,()=>{ue()}),onMounted(()=>{draggable($.vnode.el,{drag:pe=>{de(pe)},end:pe=>{de(pe)}}),ue()}),{cursorTop:V,cursorLeft:oe,background:ie,colorValue:le,handleDrag:de,update:ue,ns:r}}}),_hoisted_1$N=createBaseVNode("div",null,null,-1),_hoisted_2$x=[_hoisted_1$N];function _sfc_render$q(t,r,$,V,oe,ie){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$x,6)],6)}var SvPanel=_export_sfc$1(_sfc_main$1v,[["render",_sfc_render$q],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]);const _hoisted_1$M=["id","aria-label","aria-labelledby","aria-description","tabindex","onKeydown"],__default__$X=defineComponent({name:"ElColorPicker"}),_sfc_main$1u=defineComponent({...__default__$X,props:colorPickerProps,emits:colorPickerEmits,setup(t,{expose:r,emit:$}){const V=t,{t:oe}=useLocale(),ie=useNamespace("color"),{formItem:le}=useFormItem(),ue=useFormSize(),de=useFormDisabled(),{inputId:pe,isLabeledByFormItem:he}=useFormItemInputId(V,{formItemContext:le}),_e=ref(),$e=ref(),Ie=ref(),Ve=ref();let Fe=!0;const Ue=reactive(new Color({enableAlpha:V.showAlpha,format:V.colorFormat||"",value:V.modelValue})),qe=ref(!1),Et=ref(!1),Lt=ref(""),hn=computed(()=>!V.modelValue&&!Et.value?"transparent":wn(Ue,V.showAlpha)),Cn=computed(()=>!V.modelValue&&!Et.value?"":Ue.value),bn=computed(()=>he.value?void 0:V.label||oe("el.colorpicker.defaultLabel")),Sn=computed(()=>he.value?le==null?void 0:le.labelId:void 0),En=computed(()=>[ie.b("picker"),ie.is("disabled",de.value),ie.bm("picker",ue.value)]);function wn(Pn,Fn){if(!(Pn instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:Un,g:Wn,b:Zn}=Pn.toRgb();return Fn?`rgba(${Un}, ${Wn}, ${Zn}, ${Pn.get("alpha")/100})`:`rgb(${Un}, ${Wn}, ${Zn})`}function $n(Pn){qe.value=Pn}const Tn=debounce($n,100);function xn(){de.value||$n(!0)}function An(){Tn(!1),Mn()}function Mn(){nextTick(()=>{V.modelValue?Ue.fromString(V.modelValue):(Ue.value="",nextTick(()=>{Et.value=!1}))})}function Vn(){de.value||Tn(!qe.value)}function Bn(){Ue.fromString(Lt.value)}function Dn(){const Pn=Ue.value;$(UPDATE_MODEL_EVENT,Pn),$("change",Pn),V.validateEvent&&(le==null||le.validate("change").catch(Fn=>void 0)),Tn(!1),nextTick(()=>{const Fn=new Color({enableAlpha:V.showAlpha,format:V.colorFormat||"",value:V.modelValue});Ue.compare(Fn)||Mn()})}function Ln(){Tn(!1),$(UPDATE_MODEL_EVENT,null),$("change",null),V.modelValue!==null&&V.validateEvent&&(le==null||le.validate("change").catch(Pn=>void 0)),Mn()}return onMounted(()=>{V.modelValue&&(Lt.value=Cn.value)}),watch(()=>V.modelValue,Pn=>{Pn?Pn&&Pn!==Ue.value&&(Fe=!1,Ue.fromString(Pn)):Et.value=!1}),watch(()=>Cn.value,Pn=>{Lt.value=Pn,Fe&&$("activeChange",Pn),Fe=!0}),watch(()=>Ue.value,()=>{!V.modelValue&&!Et.value&&(Et.value=!0)}),watch(()=>qe.value,()=>{nextTick(()=>{var Pn,Fn,Un;(Pn=_e.value)==null||Pn.update(),(Fn=$e.value)==null||Fn.update(),(Un=Ie.value)==null||Un.update()})}),provide(colorPickerContextKey,{currentColor:Cn}),r({color:Ue,show:xn,hide:An}),(Pn,Fn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:Ve,visible:qe.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(ie).be("picker","panel"),unref(ie).b("dropdown"),Pn.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:`${unref(ie).namespace.value}-zoom-in-top`,persistent:""},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",null,[createBaseVNode("div",{class:normalizeClass(unref(ie).be("dropdown","main-wrapper"))},[createVNode(HueSlider,{ref_key:"hue",ref:_e,class:"hue-slider",color:unref(Ue),vertical:""},null,8,["color"]),createVNode(SvPanel,{ref_key:"sv",ref:$e,color:unref(Ue)},null,8,["color"])],2),Pn.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:Ie,color:unref(Ue)},null,8,["color"])):createCommentVNode("v-if",!0),Pn.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine",color:unref(Ue),colors:Pn.predefine},null,8,["color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(ie).be("dropdown","value"))},[createVNode(unref(ElInput),{modelValue:Lt.value,"onUpdate:modelValue":Fn[0]||(Fn[0]=Un=>Lt.value=Un),"validate-event":!1,size:"small",onKeyup:withKeys(Bn,["enter"]),onBlur:Bn},null,8,["modelValue","onKeyup"])],2),createVNode(unref(ElButton),{class:normalizeClass(unref(ie).be("dropdown","link-btn")),text:"",size:"small",onClick:Ln},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(oe)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(ie).be("dropdown","btn")),onClick:Dn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(oe)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)])),[[unref(ClickOutside),An]])]),default:withCtx(()=>[createBaseVNode("div",{id:unref(pe),class:normalizeClass(unref(En)),role:"button","aria-label":unref(bn),"aria-labelledby":unref(Sn),"aria-description":unref(oe)("el.colorpicker.description",{color:Pn.modelValue||""}),tabindex:Pn.tabindex,onKeydown:withKeys(Vn,["enter"])},[unref(de)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).be("picker","trigger")),onClick:Vn},[createBaseVNode("span",{class:normalizeClass([unref(ie).be("picker","color"),unref(ie).is("alpha",Pn.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(ie).be("picker","color-inner")),style:normalizeStyle$1({backgroundColor:unref(hn)})},[withDirectives(createVNode(unref(ElIcon),{class:normalizeClass([unref(ie).be("picker","icon"),unref(ie).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,Pn.modelValue||Et.value]]),withDirectives(createVNode(unref(ElIcon),{class:normalizeClass([unref(ie).be("picker","empty"),unref(ie).is("icon-close")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"]),[[vShow,!Pn.modelValue&&!Et.value]])],6)],2)],2)],42,_hoisted_1$M)]),_:1},8,["visible","popper-class","transition"]))}});var ColorPicker=_export_sfc$1(_sfc_main$1u,[["__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$1t=defineComponent({...__default__$W,props:{direction:{type:String}},setup(t){const r=t,$=useSlots(),V=useNamespace("container"),oe=computed(()=>r.direction==="vertical"?!0:r.direction==="horizontal"?!1:$&&$.default?$.default().some(le=>{const ue=le.type.name;return ue==="ElHeader"||ue==="ElFooter"}):!1);return(ie,le)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(V).b(),unref(V).is("vertical",unref(oe))])},[renderSlot(ie.$slots,"default")],2))}});var Container=_export_sfc$1(_sfc_main$1t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const __default__$V=defineComponent({name:"ElAside"}),_sfc_main$1s=defineComponent({...__default__$V,props:{width:{type:String,default:null}},setup(t){const r=t,$=useNamespace("aside"),V=computed(()=>r.width?$.cssVarBlock({width:r.width}):{});return(oe,ie)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref($).b()),style:normalizeStyle$1(unref(V))},[renderSlot(oe.$slots,"default")],6))}});var Aside=_export_sfc$1(_sfc_main$1s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const __default__$U=defineComponent({name:"ElFooter"}),_sfc_main$1r=defineComponent({...__default__$U,props:{height:{type:String,default:null}},setup(t){const r=t,$=useNamespace("footer"),V=computed(()=>r.height?$.cssVarBlock({height:r.height}):{});return(oe,ie)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref($).b()),style:normalizeStyle$1(unref(V))},[renderSlot(oe.$slots,"default")],6))}});var Footer$2=_export_sfc$1(_sfc_main$1r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const __default__$T=defineComponent({name:"ElHeader"}),_sfc_main$1q=defineComponent({...__default__$T,props:{height:{type:String,default:null}},setup(t){const r=t,$=useNamespace("header"),V=computed(()=>r.height?$.cssVarBlock({height:r.height}):{});return(oe,ie)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref($).b()),style:normalizeStyle$1(unref(V))},[renderSlot(oe.$slots,"default")],6))}});var Header=_export_sfc$1(_sfc_main$1q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const __default__$S=defineComponent({name:"ElMain"}),_sfc_main$1p=defineComponent({...__default__$S,setup(t){const r=useNamespace("main");return($,V)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref(r).b())},[renderSlot($.$slots,"default")],2))}});var Main=_export_sfc$1(_sfc_main$1p,[["__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){t.exports=V()})(commonjsGlobal,function(){return function($,V){var oe=V.prototype,ie=oe.format;oe.format=function(le){var ue=this,de=this.$locale();if(!this.isValid())return ie.bind(this)(le);var pe=this.$utils(),he=(le||"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((ue.$M+1)/3);case"Do":return de.ordinal(ue.$D);case"gggg":return ue.weekYear();case"GGGG":return ue.isoWeekYear();case"wo":return de.ordinal(ue.week(),"W");case"w":case"ww":return pe.s(ue.week(),_e==="w"?1:2,"0");case"W":case"WW":return pe.s(ue.isoWeek(),_e==="W"?1:2,"0");case"k":case"kk":return pe.s(String(ue.$H===0?24:ue.$H),_e==="k"?1:2,"0");case"X":return Math.floor(ue.$d.getTime()/1e3);case"x":return ue.$d.getTime();case"z":return"["+ue.offsetName()+"]";case"zzz":return"["+ue.offsetName("long")+"]";default:return _e}});return ie.bind(this)(he)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$1={exports:{}};(function(t,r){(function($,V){t.exports=V()})(commonjsGlobal,function(){var $="week",V="year";return function(oe,ie,le){var ue=ie.prototype;ue.week=function(de){if(de===void 0&&(de=null),de!==null)return this.add(7*(de-this.week()),"day");var pe=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var he=le(this).startOf(V).add(1,V).date(pe),_e=le(this).endOf($);if(he.isBefore(_e))return 1}var $e=le(this).startOf(V).date(pe).startOf($).subtract(1,"millisecond"),Ie=this.diff($e,$,!0);return Ie<0?le(this).startOf("week").week():Math.ceil(Ie)},ue.weeks=function(de){return de===void 0&&(de=null),this.week(de)}}})})(weekOfYear$1);var weekOfYearExports=weekOfYear$1.exports;const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$1={exports:{}};(function(t,r){(function($,V){t.exports=V()})(commonjsGlobal,function(){return function($,V){V.prototype.weekYear=function(){var oe=this.month(),ie=this.week(),le=this.year();return ie===1&&oe===11?le+1:oe===0&&ie>=52?le-1:le}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$1={exports:{}};(function(t,r){(function($,V){t.exports=V()})(commonjsGlobal,function(){return function($,V,oe){V.prototype.dayOfYear=function(ie){var le=Math.round((oe(this).startOf("day")-oe(this).startOf("year"))/864e5)+1;return ie==null?le:this.add(ie-le,"day")}}})})(dayOfYear$1);var dayOfYearExports=dayOfYear$1.exports;const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$1={exports:{}};(function(t,r){(function($,V){t.exports=V()})(commonjsGlobal,function(){return function($,V){V.prototype.isSameOrAfter=function(oe,ie){return this.isSame(oe,ie)||this.isAfter(oe,ie)}}})})(isSameOrAfter$1);var isSameOrAfterExports=isSameOrAfter$1.exports;const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$1={exports:{}};(function(t,r){(function($,V){t.exports=V()})(commonjsGlobal,function(){return function($,V){V.prototype.isSameOrBefore=function(oe,ie){return this.isSame(oe,ie)||this.isBefore(oe,ie)}}})})(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")}),basicDateTableEmits=["changerange","pick","select"],isValidRange=t=>{if(!isArray$c(t))return!1;const[r,$]=t;return dayjs.isDayjs(r)&&dayjs.isDayjs($)&&r.isSameOrBefore($)},getDefaultValue=(t,{lang:r,unit:$,unlinkPanels:V})=>{let oe;if(isArray$c(t)){let[ie,le]=t.map(ue=>dayjs(ue).locale(r));return V||(le=ie.add(1,$)),[ie,le]}else t?oe=dayjs(t):oe=dayjs();return oe=oe.locale(r),[oe,oe.add(1,$)]},buildPickerTable=(t,r,{columnIndexOffset:$,startDate:V,nextEndDate:oe,now:ie,unit:le,relativeDateGetter:ue,setCellMetadata:de,setRowMetadata:pe})=>{for(let he=0;he<t.row;he++){const _e=r[he];for(let $e=0;$e<t.column;$e++){let Ie=_e[$e+$];Ie||(Ie={row:he,column:$e,type:"normal",inRange:!1,start:!1,end:!1});const Ve=he*t.column+$e,Fe=ue(Ve);Ie.dayjs=Fe,Ie.date=Fe.toDate(),Ie.timestamp=Fe.valueOf(),Ie.type="normal",Ie.inRange=!!(V&&Fe.isSameOrAfter(V,le)&&oe&&Fe.isSameOrBefore(oe,le))||!!(V&&Fe.isSameOrBefore(V,le)&&oe&&Fe.isSameOrAfter(oe,le)),V!=null&&V.isSameOrAfter(oe)?(Ie.start=!!oe&&Fe.isSame(oe,le),Ie.end=V&&Fe.isSame(V,le)):(Ie.start=!!V&&Fe.isSame(V,le),Ie.end=!!oe&&Fe.isSame(oe,le)),Fe.isSame(ie,le)&&(Ie.type="today"),de==null||de(Ie,{rowIndex:he,columnIndex:$e}),_e[$e+$]=Ie}pe==null||pe(_e)}},isNormalDay=(t="")=>["normal","today"].includes(t),useBasicDateTable=(t,r)=>{const{lang:$}=useLocale(),V=ref(),oe=ref(),ie=ref(),le=ref(),ue=ref([[],[],[],[],[],[]]);let de=!1;const pe=t.date.$locale().weekStart||7,he=t.date.locale("en").localeData().weekdaysShort().map(Pn=>Pn.toLowerCase()),_e=computed(()=>pe>3?7-pe:-pe),$e=computed(()=>{const Pn=t.date.startOf("month");return Pn.subtract(Pn.day()||7,"day")}),Ie=computed(()=>he.concat(he).slice(pe,pe+7)),Ve=computed(()=>flatten(unref(hn)).some(Pn=>Pn.isCurrent)),Fe=computed(()=>{const Pn=t.date.startOf("month"),Fn=Pn.day()||7,Un=Pn.daysInMonth(),Wn=Pn.subtract(1,"month").daysInMonth();return{startOfMonthDay:Fn,dateCountOfMonth:Un,dateCountOfLastMonth:Wn}}),Ue=computed(()=>t.selectionMode==="dates"?castArray(t.parsedValue):[]),qe=(Pn,{count:Fn,rowIndex:Un,columnIndex:Wn})=>{const{startOfMonthDay:Zn,dateCountOfMonth:or,dateCountOfLastMonth:br}=unref(Fe),Qn=unref(_e);if(Un>=0&&Un<=1){const Gn=Zn+Qn<0?7+Zn+Qn:Zn+Qn;if(Wn+Un*7>=Gn)return Pn.text=Fn,!0;Pn.text=br-(Gn-Wn%7)+1+Un*7,Pn.type="prev-month"}else return Fn<=or?Pn.text=Fn:(Pn.text=Fn-or,Pn.type="next-month"),!0;return!1},Et=(Pn,{columnIndex:Fn,rowIndex:Un},Wn)=>{const{disabledDate:Zn,cellClassName:or}=t,br=unref(Ue),Qn=qe(Pn,{count:Wn,rowIndex:Un,columnIndex:Fn}),Gn=Pn.dayjs.toDate();return Pn.selected=br.find(Yn=>Yn.valueOf()===Pn.dayjs.valueOf()),Pn.isSelected=!!Pn.selected,Pn.isCurrent=bn(Pn),Pn.disabled=Zn==null?void 0:Zn(Gn),Pn.customClass=or==null?void 0:or(Gn),Qn},Lt=Pn=>{if(t.selectionMode==="week"){const[Fn,Un]=t.showWeekNumber?[1,7]:[0,6],Wn=Ln(Pn[Fn+1]);Pn[Fn].inRange=Wn,Pn[Fn].start=Wn,Pn[Un].inRange=Wn,Pn[Un].end=Wn}},hn=computed(()=>{const{minDate:Pn,maxDate:Fn,rangeState:Un,showWeekNumber:Wn}=t,Zn=unref(_e),or=unref(ue),br="day";let Qn=1;if(Wn)for(let Gn=0;Gn<6;Gn++)or[Gn][0]||(or[Gn][0]={type:"week",text:unref($e).add(Gn*7+1,br).week()});return buildPickerTable({row:6,column:7},or,{startDate:Pn,columnIndexOffset:Wn?1:0,nextEndDate:Un.endDate||Fn||Un.selecting&&Pn||null,now:dayjs().locale(unref($)).startOf(br),unit:br,relativeDateGetter:Gn=>unref($e).add(Gn-Zn,br),setCellMetadata:(...Gn)=>{Et(...Gn,Qn)&&(Qn+=1)},setRowMetadata:Lt}),or});watch(()=>t.date,async()=>{var Pn;(Pn=unref(V))!=null&&Pn.contains(document.activeElement)&&(await nextTick(),await Cn())});const Cn=async()=>{var Pn;return(Pn=unref(oe))==null?void 0:Pn.focus()},bn=Pn=>t.selectionMode==="date"&&isNormalDay(Pn.type)&&Sn(Pn,t.parsedValue),Sn=(Pn,Fn)=>Fn?dayjs(Fn).locale(unref($)).isSame(t.date.date(Number(Pn.text)),"day"):!1,En=(Pn,Fn)=>{const Un=Pn*7+(Fn-(t.showWeekNumber?1:0))-unref(_e);return unref($e).add(Un,"day")},wn=Pn=>{var Fn;if(!t.rangeState.selecting)return;let Un=Pn.target;if(Un.tagName==="SPAN"&&(Un=(Fn=Un.parentNode)==null?void 0:Fn.parentNode),Un.tagName==="DIV"&&(Un=Un.parentNode),Un.tagName!=="TD")return;const Wn=Un.parentNode.rowIndex-1,Zn=Un.cellIndex;unref(hn)[Wn][Zn].disabled||(Wn!==unref(ie)||Zn!==unref(le))&&(ie.value=Wn,le.value=Zn,r("changerange",{selecting:!0,endDate:En(Wn,Zn)}))},$n=Pn=>!unref(Ve)&&(Pn==null?void 0:Pn.text)===1&&Pn.type==="normal"||Pn.isCurrent,Tn=Pn=>{de||unref(Ve)||t.selectionMode!=="date"||Dn(Pn,!0)},xn=Pn=>{Pn.target.closest("td")&&(de=!0)},An=Pn=>{Pn.target.closest("td")&&(de=!1)},Mn=Pn=>{!t.rangeState.selecting||!t.minDate?(r("pick",{minDate:Pn,maxDate:null}),r("select",!0)):(Pn>=t.minDate?r("pick",{minDate:t.minDate,maxDate:Pn}):r("pick",{minDate:Pn,maxDate:t.minDate}),r("select",!1))},Vn=Pn=>{const Fn=Pn.week(),Un=`${Pn.year()}w${Fn}`;r("pick",{year:Pn.year(),week:Fn,value:Un,date:Pn.startOf("week")})},Bn=(Pn,Fn)=>{const Un=Fn?castArray(t.parsedValue).filter(Wn=>(Wn==null?void 0:Wn.valueOf())!==Pn.valueOf()):castArray(t.parsedValue).concat([Pn]);r("pick",Un)},Dn=(Pn,Fn=!1)=>{const Un=Pn.target.closest("td");if(!Un)return;const Wn=Un.parentNode.rowIndex-1,Zn=Un.cellIndex,or=unref(hn)[Wn][Zn];if(or.disabled||or.type==="week")return;const br=En(Wn,Zn);switch(t.selectionMode){case"range":{Mn(br);break}case"date":{r("pick",br,Fn);break}case"week":{Vn(br);break}case"dates":{Bn(br,!!or.selected);break}}},Ln=Pn=>{if(t.selectionMode!=="week")return!1;let Fn=t.date.startOf("day");if(Pn.type==="prev-month"&&(Fn=Fn.subtract(1,"month")),Pn.type==="next-month"&&(Fn=Fn.add(1,"month")),Fn=Fn.date(Number.parseInt(Pn.text,10)),t.parsedValue&&!Array.isArray(t.parsedValue)){const Un=(t.parsedValue.day()-pe+7)%7-1;return t.parsedValue.subtract(Un,"day").isSame(Fn,"day")}return!1};return{WEEKS:Ie,rows:hn,tbodyRef:V,currentCellRef:oe,focus:Cn,isCurrent:bn,isWeekActive:Ln,isSelectedCell:$n,handlePickDate:Dn,handleMouseUp:An,handleMouseDown:xn,handleMouseMove:wn,handleFocus:Tn}},useBasicDateTableDOM=(t,{isCurrent:r,isWeekActive:$})=>{const V=useNamespace("date-table"),{t:oe}=useLocale(),ie=computed(()=>[V.b(),{"is-week-mode":t.selectionMode==="week"}]),le=computed(()=>oe("el.datepicker.dateTablePrompt")),ue=computed(()=>oe("el.datepicker.week"));return{tableKls:ie,tableLabel:le,weekLabel:ue,getCellClasses:he=>{const _e=[];return isNormalDay(he.type)&&!he.disabled?(_e.push("available"),he.type==="today"&&_e.push("today")):_e.push(he.type),r(he)&&_e.push("current"),he.inRange&&(isNormalDay(he.type)||t.selectionMode==="week")&&(_e.push("in-range"),he.start&&_e.push("start-date"),he.end&&_e.push("end-date")),he.disabled&&_e.push("disabled"),he.selected&&_e.push("selected"),he.customClass&&_e.push(he.customClass),_e.join(" ")},getRowKls:he=>[V.e("row"),{current:$(he)}],t:oe}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup(t){const r=useNamespace("date-table-cell"),{slots:$}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:V}=t;if($.default){const oe=$.default(V).filter(ie=>ie.patchFlag!==-2&&ie.type.toString()!=="Symbol(Comment)");if(oe.length)return oe}return createVNode("div",{class:r.b()},[createVNode("span",{class:r.e("text")},[V==null?void 0:V.text])])}}});const _hoisted_1$L=["aria-label"],_hoisted_2$w={key:0,scope:"col"},_hoisted_3$k=["aria-label"],_hoisted_4$d=["aria-current","aria-selected","tabindex"],_sfc_main$1o=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:basicDateTableEmits,setup(t,{expose:r,emit:$}){const V=t,{WEEKS:oe,rows:ie,tbodyRef:le,currentCellRef:ue,focus:de,isCurrent:pe,isWeekActive:he,isSelectedCell:_e,handlePickDate:$e,handleMouseUp:Ie,handleMouseDown:Ve,handleMouseMove:Fe,handleFocus:Ue}=useBasicDateTable(V,$),{tableLabel:qe,tableKls:Et,weekLabel:Lt,getCellClasses:hn,getRowKls:Cn,t:bn}=useBasicDateTableDOM(V,{isCurrent:pe,isWeekActive:he});return r({focus:de}),(Sn,En)=>(openBlock(),createElementBlock("table",{"aria-label":unref(qe),class:normalizeClass(unref(Et)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:En[1]||(En[1]=(...wn)=>unref($e)&&unref($e)(...wn)),onMousemove:En[2]||(En[2]=(...wn)=>unref(Fe)&&unref(Fe)(...wn)),onMousedown:En[3]||(En[3]=withModifiers((...wn)=>unref(Ve)&&unref(Ve)(...wn),["prevent"])),onMouseup:En[4]||(En[4]=(...wn)=>unref(Ie)&&unref(Ie)(...wn))},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:le},[createBaseVNode("tr",null,[Sn.showWeekNumber?(openBlock(),createElementBlock("th",_hoisted_2$w,toDisplayString$1(unref(Lt)),1)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(oe),(wn,$n)=>(openBlock(),createElementBlock("th",{key:$n,"aria-label":unref(bn)("el.datepicker.weeksFull."+wn),scope:"col"},toDisplayString$1(unref(bn)("el.datepicker.weeks."+wn)),9,_hoisted_3$k))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ie),(wn,$n)=>(openBlock(),createElementBlock("tr",{key:$n,class:normalizeClass(unref(Cn)(wn[1]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(wn,(Tn,xn)=>(openBlock(),createElementBlock("td",{key:`${$n}.${xn}`,ref_for:!0,ref:An=>unref(_e)(Tn)&&(ue.value=An),class:normalizeClass(unref(hn)(Tn)),"aria-current":Tn.isCurrent?"date":void 0,"aria-selected":Tn.isCurrent,tabindex:unref(_e)(Tn)?0:-1,onFocus:En[0]||(En[0]=(...An)=>unref(Ue)&&unref(Ue)(...An))},[createVNode(unref(ElDatePickerCell),{cell:Tn},null,8,["cell"])],42,_hoisted_4$d))),128))],2))),128))],512)],42,_hoisted_1$L))}});var DateTable=_export_sfc$1(_sfc_main$1o,[["__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$K=["aria-label"],_hoisted_2$v=["aria-selected","aria-label","tabindex","onKeydown"],_hoisted_3$j={class:"cell"},_sfc_main$1n=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup(t,{expose:r,emit:$}){const V=t,oe=(hn,Cn,bn)=>{const Sn=dayjs().locale(bn).startOf("month").month(Cn).year(hn),En=Sn.daysInMonth();return rangeArr(En).map(wn=>Sn.add(wn,"day").toDate())},ie=useNamespace("month-table"),{t:le,lang:ue}=useLocale(),de=ref(),pe=ref(),he=ref(V.date.locale("en").localeData().monthsShort().map(hn=>hn.toLowerCase())),_e=ref([[],[],[]]),$e=ref(),Ie=ref(),Ve=computed(()=>{var hn,Cn;const bn=_e.value,Sn=dayjs().locale(ue.value).startOf("month");for(let En=0;En<3;En++){const wn=bn[En];for(let $n=0;$n<4;$n++){const Tn=wn[$n]||(wn[$n]={row:En,column:$n,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});Tn.type="normal";const xn=En*4+$n,An=V.date.startOf("year").month(xn),Mn=V.rangeState.endDate||V.maxDate||V.rangeState.selecting&&V.minDate||null;Tn.inRange=!!(V.minDate&&An.isSameOrAfter(V.minDate,"month")&&Mn&&An.isSameOrBefore(Mn,"month"))||!!(V.minDate&&An.isSameOrBefore(V.minDate,"month")&&Mn&&An.isSameOrAfter(Mn,"month")),(hn=V.minDate)!=null&&hn.isSameOrAfter(Mn)?(Tn.start=!!(Mn&&An.isSame(Mn,"month")),Tn.end=V.minDate&&An.isSame(V.minDate,"month")):(Tn.start=!!(V.minDate&&An.isSame(V.minDate,"month")),Tn.end=!!(Mn&&An.isSame(Mn,"month"))),Sn.isSame(An)&&(Tn.type="today"),Tn.text=xn,Tn.disabled=((Cn=V.disabledDate)==null?void 0:Cn.call(V,An.toDate()))||!1}}return bn}),Fe=()=>{var hn;(hn=pe.value)==null||hn.focus()},Ue=hn=>{const Cn={},bn=V.date.year(),Sn=new Date,En=hn.text;return Cn.disabled=V.disabledDate?oe(bn,En,ue.value).every(V.disabledDate):!1,Cn.current=castArray(V.parsedValue).findIndex(wn=>dayjs.isDayjs(wn)&&wn.year()===bn&&wn.month()===En)>=0,Cn.today=Sn.getFullYear()===bn&&Sn.getMonth()===En,hn.inRange&&(Cn["in-range"]=!0,hn.start&&(Cn["start-date"]=!0),hn.end&&(Cn["end-date"]=!0)),Cn},qe=hn=>{const Cn=V.date.year(),bn=hn.text;return castArray(V.date).findIndex(Sn=>Sn.year()===Cn&&Sn.month()===bn)>=0},Et=hn=>{var Cn;if(!V.rangeState.selecting)return;let bn=hn.target;if(bn.tagName==="A"&&(bn=(Cn=bn.parentNode)==null?void 0:Cn.parentNode),bn.tagName==="DIV"&&(bn=bn.parentNode),bn.tagName!=="TD")return;const Sn=bn.parentNode.rowIndex,En=bn.cellIndex;Ve.value[Sn][En].disabled||(Sn!==$e.value||En!==Ie.value)&&($e.value=Sn,Ie.value=En,$("changerange",{selecting:!0,endDate:V.date.startOf("year").month(Sn*4+En)}))},Lt=hn=>{var Cn;const bn=(Cn=hn.target)==null?void 0:Cn.closest("td");if((bn==null?void 0:bn.tagName)!=="TD"||hasClass(bn,"disabled"))return;const Sn=bn.cellIndex,wn=bn.parentNode.rowIndex*4+Sn,$n=V.date.startOf("year").month(wn);V.selectionMode==="range"?V.rangeState.selecting?(V.minDate&&$n>=V.minDate?$("pick",{minDate:V.minDate,maxDate:$n}):$("pick",{minDate:$n,maxDate:V.minDate}),$("select",!1)):($("pick",{minDate:$n,maxDate:null}),$("select",!0)):$("pick",wn)};return watch(()=>V.date,async()=>{var hn,Cn;(hn=de.value)!=null&&hn.contains(document.activeElement)&&(await nextTick(),(Cn=pe.value)==null||Cn.focus())}),r({focus:Fe}),(hn,Cn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(le)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref(ie).b()),onClick:Lt,onMousemove:Et},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:de},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ve),(bn,Sn)=>(openBlock(),createElementBlock("tr",{key:Sn},[(openBlock(!0),createElementBlock(Fragment,null,renderList(bn,(En,wn)=>(openBlock(),createElementBlock("td",{key:wn,ref_for:!0,ref:$n=>qe(En)&&(pe.value=$n),class:normalizeClass(Ue(En)),"aria-selected":`${qe(En)}`,"aria-label":unref(le)(`el.datepicker.month${+En.text+1}`),tabindex:qe(En)?0:-1,onKeydown:[withKeys(withModifiers(Lt,["prevent","stop"]),["space"]),withKeys(withModifiers(Lt,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$j,toDisplayString$1(unref(le)("el.datepicker.months."+he.value[En.text])),1)])],42,_hoisted_2$v))),128))]))),128))],512)],42,_hoisted_1$K))}});var MonthTable=_export_sfc$1(_sfc_main$1n,[["__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$J=["aria-label"],_hoisted_2$u=["aria-selected","tabindex","onKeydown"],_hoisted_3$i={class:"cell"},_hoisted_4$c={key:1},_sfc_main$1m=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["pick"],setup(t,{expose:r,emit:$}){const V=t,oe=(Fe,Ue)=>{const qe=dayjs(String(Fe)).locale(Ue).startOf("year"),Lt=qe.endOf("year").dayOfYear();return rangeArr(Lt).map(hn=>qe.add(hn,"day").toDate())},ie=useNamespace("year-table"),{t:le,lang:ue}=useLocale(),de=ref(),pe=ref(),he=computed(()=>Math.floor(V.date.year()/10)*10),_e=()=>{var Fe;(Fe=pe.value)==null||Fe.focus()},$e=Fe=>{const Ue={},qe=dayjs().locale(ue.value);return Ue.disabled=V.disabledDate?oe(Fe,ue.value).every(V.disabledDate):!1,Ue.current=castArray(V.parsedValue).findIndex(Et=>Et.year()===Fe)>=0,Ue.today=qe.year()===Fe,Ue},Ie=Fe=>Fe===he.value&&V.date.year()<he.value&&V.date.year()>he.value+9||castArray(V.date).findIndex(Ue=>Ue.year()===Fe)>=0,Ve=Fe=>{const qe=Fe.target.closest("td");if(qe&&qe.textContent){if(hasClass(qe,"disabled"))return;const Et=qe.textContent||qe.innerText;$("pick",Number(Et))}};return watch(()=>V.date,async()=>{var Fe,Ue;(Fe=de.value)!=null&&Fe.contains(document.activeElement)&&(await nextTick(),(Ue=pe.value)==null||Ue.focus())}),r({focus:_e}),(Fe,Ue)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(le)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(ie).b()),onClick:Ve},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:de},[(openBlock(),createElementBlock(Fragment,null,renderList(3,(qe,Et)=>createBaseVNode("tr",{key:Et},[(openBlock(),createElementBlock(Fragment,null,renderList(4,(Lt,hn)=>(openBlock(),createElementBlock(Fragment,{key:Et+"_"+hn},[Et*4+hn<10?(openBlock(),createElementBlock("td",{key:0,ref_for:!0,ref:Cn=>Ie(unref(he)+Et*4+hn)&&(pe.value=Cn),class:normalizeClass(["available",$e(unref(he)+Et*4+hn)]),"aria-selected":`${Ie(unref(he)+Et*4+hn)}`,tabindex:Ie(unref(he)+Et*4+hn)?0:-1,onKeydown:[withKeys(withModifiers(Ve,["prevent","stop"]),["space"]),withKeys(withModifiers(Ve,["prevent","stop"]),["enter"])]},[createBaseVNode("span",_hoisted_3$i,toDisplayString$1(unref(he)+Et*4+hn),1)],42,_hoisted_2$u)):(openBlock(),createElementBlock("td",_hoisted_4$c))],64))),64))])),64))],512)],10,_hoisted_1$J))}});var YearTable=_export_sfc$1(_sfc_main$1m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const _hoisted_1$I=["onClick"],_hoisted_2$t=["aria-label"],_hoisted_3$h=["aria-label"],_hoisted_4$b=["aria-label"],_hoisted_5$8=["aria-label"],_sfc_main$1l=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup(t,{emit:r}){const $=t,V=(dr,ar,tr)=>!0,oe=useNamespace("picker-panel"),ie=useNamespace("date-picker"),le=useAttrs$1(),ue=useSlots(),{t:de,lang:pe}=useLocale(),he=inject("EP_PICKER_BASE"),_e=inject(TOOLTIP_INJECTION_KEY),{shortcuts:$e,disabledDate:Ie,cellClassName:Ve,defaultTime:Fe}=he.props,Ue=toRef(he.props,"defaultValue"),qe=ref(),Et=ref(dayjs().locale(pe.value)),Lt=ref(!1);let hn=!1;const Cn=computed(()=>dayjs(Fe).locale(pe.value)),bn=computed(()=>Et.value.month()),Sn=computed(()=>Et.value.year()),En=ref([]),wn=ref(null),$n=ref(null),Tn=dr=>En.value.length>0?V(dr,En.value,$.format||"HH:mm:ss"):!0,xn=dr=>Fe&&!Jn.value&&!Lt.value&&!hn?Cn.value.year(dr.year()).month(dr.month()).date(dr.date()):Qn.value?dr.millisecond(0):dr.startOf("day"),An=(dr,...ar)=>{if(!dr)r("pick",dr,...ar);else if(isArray$c(dr)){const tr=dr.map(xn);r("pick",tr,...ar)}else r("pick",xn(dr),...ar);wn.value=null,$n.value=null,Lt.value=!1,hn=!1},Mn=(dr,ar)=>{if(Fn.value==="date"){dr=dr;let tr=$.parsedValue?$.parsedValue.year(dr.year()).month(dr.month()).date(dr.date()):dr;Tn(tr)||(tr=En.value[0][0].year(dr.year()).month(dr.month()).date(dr.date())),Et.value=tr,An(tr,Qn.value||ar)}else Fn.value==="week"?An(dr.date):Fn.value==="dates"&&An(dr,!0)},Vn=dr=>{const ar=dr?"add":"subtract";Et.value=Et.value[ar](1,"month"),Nr("month")},Bn=dr=>{const ar=Et.value,tr=dr?"add":"subtract";Et.value=Dn.value==="year"?ar[tr](10,"year"):ar[tr](1,"year"),Nr("year")},Dn=ref("date"),Ln=computed(()=>{const dr=de("el.datepicker.year");if(Dn.value==="year"){const ar=Math.floor(Sn.value/10)*10;return dr?`${ar} ${dr} - ${ar+9} ${dr}`:`${ar} - ${ar+9}`}return`${Sn.value} ${dr}`}),Pn=dr=>{const ar=isFunction$5(dr.value)?dr.value():dr.value;if(ar){hn=!0,An(dayjs(ar).locale(pe.value));return}dr.onClick&&dr.onClick({attrs:le,slots:ue,emit:r})},Fn=computed(()=>{const{type:dr}=$;return["week","month","year","dates"].includes(dr)?dr:"date"}),Un=computed(()=>Fn.value==="date"?Dn.value:Fn.value),Wn=computed(()=>!!$e.length),Zn=async dr=>{Et.value=Et.value.startOf("month").month(dr),Fn.value==="month"?An(Et.value,!1):(Dn.value="date",["month","year","date","week"].includes(Fn.value)&&(An(Et.value,!0),await nextTick(),Rr())),Nr("month")},or=async dr=>{Fn.value==="year"?(Et.value=Et.value.startOf("year").year(dr),An(Et.value,!1)):(Et.value=Et.value.year(dr),Dn.value="month",["month","year","date","week"].includes(Fn.value)&&(An(Et.value,!0),await nextTick(),Rr())),Nr("year")},br=async dr=>{Dn.value=dr,await nextTick(),Rr()},Qn=computed(()=>$.type==="datetime"||$.type==="datetimerange"),Gn=computed(()=>Qn.value||Fn.value==="dates"),Yn=computed(()=>Ie?$.parsedValue?isArray$c($.parsedValue)?Ie($.parsedValue[0].toDate()):Ie($.parsedValue.toDate()):!0:!1),er=()=>{if(Fn.value==="dates")An($.parsedValue);else{let dr=$.parsedValue;if(!dr){const ar=dayjs(Fe).locale(pe.value),tr=$r();dr=ar.year(tr.year()).month(tr.month()).date(tr.date())}Et.value=dr,An(dr)}},lr=computed(()=>Ie?Ie(dayjs().locale(pe.value).toDate()):!1),sr=()=>{const ar=dayjs().locale(pe.value).toDate();Lt.value=!0,(!Ie||!Ie(ar))&&Tn(ar)&&(Et.value=dayjs().locale(pe.value),An(Et.value))},zn=computed(()=>extractTimeFormat($.format)),Kn=computed(()=>extractDateFormat($.format)),Jn=computed(()=>{if($n.value)return $n.value;if(!(!$.parsedValue&&!Ue.value))return($.parsedValue||Et.value).format(zn.value)}),cr=computed(()=>{if(wn.value)return wn.value;if(!(!$.parsedValue&&!Ue.value))return($.parsedValue||Et.value).format(Kn.value)}),_r=ref(!1),ur=()=>{_r.value=!0},wr=()=>{_r.value=!1},Cr=dr=>({hour:dr.hour(),minute:dr.minute(),second:dr.second(),year:dr.year(),month:dr.month(),date:dr.date()}),mr=(dr,ar,tr)=>{const{hour:Sr,minute:qn,second:kr}=Cr(dr),Dr=$.parsedValue?$.parsedValue.hour(Sr).minute(qn).second(kr):dr;Et.value=Dr,An(Et.value,!0),tr||(_r.value=ar)},Er=dr=>{const ar=dayjs(dr,zn.value).locale(pe.value);if(ar.isValid()&&Tn(ar)){const{year:tr,month:Sr,date:qn}=Cr(Et.value);Et.value=ar.year(tr).month(Sr).date(qn),$n.value=null,_r.value=!1,An(Et.value,!0)}},Tr=dr=>{const ar=dayjs(dr,Kn.value).locale(pe.value);if(ar.isValid()){if(Ie&&Ie(ar.toDate()))return;const{hour:tr,minute:Sr,second:qn}=Cr(Et.value);Et.value=ar.hour(tr).minute(Sr).second(qn),wn.value=null,An(Et.value,!0)}},nr=dr=>dayjs.isDayjs(dr)&&dr.isValid()&&(Ie?!Ie(dr.toDate()):!0),pr=dr=>Fn.value==="dates"?dr.map(ar=>ar.format($.format)):dr.format($.format),gr=dr=>dayjs(dr,$.format).locale(pe.value),$r=()=>{const dr=dayjs(Ue.value).locale(pe.value);if(!Ue.value){const ar=Cn.value;return dayjs().hour(ar.hour()).minute(ar.minute()).second(ar.second()).locale(pe.value)}return dr},Rr=async()=>{var dr;["week","month","year","date"].includes(Fn.value)&&((dr=qe.value)==null||dr.focus(),Fn.value==="week"&&Vr(EVENT_CODE.down))},Lr=dr=>{const{code:ar}=dr;[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(ar)&&(Vr(ar),dr.stopPropagation(),dr.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(ar)&&wn.value===null&&$n.value===null&&(dr.preventDefault(),An(Et.value,!1))},Vr=dr=>{var ar;const{up:tr,down:Sr,left:qn,right:kr,home:Dr,end:Hr,pageUp:Gr,pageDown:Kr}=EVENT_CODE,to={year:{[tr]:-4,[Sr]:4,[qn]:-1,[kr]:1,offset:(hr,xr)=>hr.setFullYear(hr.getFullYear()+xr)},month:{[tr]:-4,[Sr]:4,[qn]:-1,[kr]:1,offset:(hr,xr)=>hr.setMonth(hr.getMonth()+xr)},week:{[tr]:-1,[Sr]:1,[qn]:-1,[kr]:1,offset:(hr,xr)=>hr.setDate(hr.getDate()+xr*7)},date:{[tr]:-7,[Sr]:7,[qn]:-1,[kr]:1,[Dr]:hr=>-hr.getDay(),[Hr]:hr=>-hr.getDay()+6,[Gr]:hr=>-new Date(hr.getFullYear(),hr.getMonth(),0).getDate(),[Kr]:hr=>new Date(hr.getFullYear(),hr.getMonth()+1,0).getDate(),offset:(hr,xr)=>hr.setDate(hr.getDate()+xr)}},Zr=Et.value.toDate();for(;Math.abs(Et.value.diff(Zr,"year",!0))<1;){const hr=to[Un.value];if(!hr)return;if(hr.offset(Zr,isFunction$5(hr[dr])?hr[dr](Zr):(ar=hr[dr])!=null?ar:0),Ie&&Ie(Zr))break;const xr=dayjs(Zr).locale(pe.value);Et.value=xr,r("pick",xr,!0);break}},Nr=dr=>{r("panel-change",Et.value.toDate(),dr,Dn.value)};return watch(()=>Fn.value,dr=>{if(["month","year"].includes(dr)){Dn.value=dr;return}Dn.value="date"},{immediate:!0}),watch(()=>Dn.value,()=>{_e==null||_e.updatePopper()}),watch(()=>Ue.value,dr=>{dr&&(Et.value=$r())},{immediate:!0}),watch(()=>$.parsedValue,dr=>{if(dr){if(Fn.value==="dates"||Array.isArray(dr))return;Et.value=dr}else Et.value=$r()},{immediate:!0}),r("set-picker-option",["isValidValue",nr]),r("set-picker-option",["formatToString",pr]),r("set-picker-option",["parseUserInput",gr]),r("set-picker-option",["handleFocusPicker",Rr]),(dr,ar)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(oe).b(),unref(ie).b(),{"has-sidebar":dr.$slots.sidebar||unref(Wn),"has-time":unref(Qn)}])},[createBaseVNode("div",{class:normalizeClass(unref(oe).e("body-wrapper"))},[renderSlot(dr.$slots,"sidebar",{class:normalizeClass(unref(oe).e("sidebar"))}),unref(Wn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref($e),(tr,Sr)=>(openBlock(),createElementBlock("button",{key:Sr,type:"button",class:normalizeClass(unref(oe).e("shortcut")),onClick:qn=>Pn(tr)},toDisplayString$1(tr.text),11,_hoisted_1$I))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(oe).e("body"))},[unref(Qn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(ie).e("editor-wrap"))},[createVNode(unref(ElInput),{placeholder:unref(de)("el.datepicker.selectDate"),"model-value":unref(cr),size:"small","validate-event":!1,onInput:ar[0]||(ar[0]=tr=>wn.value=tr),onChange:Tr},null,8,["placeholder","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(ie).e("editor-wrap"))},[createVNode(unref(ElInput),{placeholder:unref(de)("el.datepicker.selectTime"),"model-value":unref(Jn),size:"small","validate-event":!1,onFocus:ur,onInput:ar[1]||(ar[1]=tr=>$n.value=tr),onChange:Er},null,8,["placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:_r.value,format:unref(zn),"parsed-value":Et.value,onPick:mr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),wr]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(ie).e("header"),(Dn.value==="year"||Dn.value==="month")&&unref(ie).e("header--bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(ie).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref(de)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref(oe).e("icon-btn")]),onClick:ar[2]||(ar[2]=tr=>Bn(!1))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$t),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(de)("el.datepicker.prevMonth"),class:normalizeClass([unref(oe).e("icon-btn"),"arrow-left"]),onClick:ar[3]||(ar[3]=tr=>Vn(!1))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_3$h),[[vShow,Dn.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(ie).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:ar[4]||(ar[4]=withKeys(tr=>br("year"),["enter"])),onClick:ar[5]||(ar[5]=tr=>br("year"))},toDisplayString$1(unref(Ln)),35),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(ie).e("header-label"),{active:Dn.value==="month"}]),onKeydown:ar[6]||(ar[6]=withKeys(tr=>br("month"),["enter"])),onClick:ar[7]||(ar[7]=tr=>br("month"))},toDisplayString$1(unref(de)(`el.datepicker.month${unref(bn)+1}`)),35),[[vShow,Dn.value==="date"]]),createBaseVNode("span",{class:normalizeClass(unref(ie).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(de)("el.datepicker.nextMonth"),class:normalizeClass([unref(oe).e("icon-btn"),"arrow-right"]),onClick:ar[8]||(ar[8]=tr=>Vn(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_4$b),[[vShow,Dn.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref(de)("el.datepicker.nextYear"),class:normalizeClass([unref(oe).e("icon-btn"),"d-arrow-right"]),onClick:ar[9]||(ar[9]=tr=>Bn(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_5$8)],2)],2),[[vShow,Dn.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref(oe).e("content")),onKeydown:Lr},[Dn.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:qe,"selection-mode":unref(Fn),date:Et.value,"parsed-value":dr.parsedValue,"disabled-date":unref(Ie),"cell-class-name":unref(Ve),onPick:Mn},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),Dn.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:qe,date:Et.value,"disabled-date":unref(Ie),"parsed-value":dr.parsedValue,onPick:or},null,8,["date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),Dn.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:qe,date:Et.value,"parsed-value":dr.parsedValue,"disabled-date":unref(Ie),onPick:Zn},null,8,["date","parsed-value","disabled-date"])):createCommentVNode("v-if",!0)],34)],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(oe).e("footer"))},[withDirectives(createVNode(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(oe).e("link-btn")),disabled:unref(lr),onClick:sr},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(de)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[vShow,unref(Fn)!=="dates"]]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(oe).e("link-btn")),disabled:unref(Yn),onClick:er},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(de)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[vShow,unref(Gn)&&Dn.value==="date"]])],2))}});var DatePickPanel=_export_sfc$1(_sfc_main$1l,[["__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(),$=useAttrs$1(),V=useSlots();return ie=>{const le=isFunction$5(ie.value)?ie.value():ie.value;if(le){r("pick",[dayjs(le[0]).locale(t.value),dayjs(le[1]).locale(t.value)]);return}ie.onClick&&ie.onClick({attrs:$,slots:V,emit:r})}},useRangePicker=(t,{defaultValue:r,leftDate:$,rightDate:V,unit:oe,onParsedValueChanged:ie})=>{const{emit:le}=getCurrentInstance(),{pickerNs:ue}=inject(ROOT_PICKER_INJECTION_KEY),de=useNamespace("date-range-picker"),{t:pe,lang:he}=useLocale(),_e=useShortcut(he),$e=ref(),Ie=ref(),Ve=ref({endDate:null,selecting:!1}),Fe=Lt=>{Ve.value=Lt},Ue=(Lt=!1)=>{const hn=unref($e),Cn=unref(Ie);isValidRange([hn,Cn])&&le("pick",[hn,Cn],Lt)},qe=Lt=>{Ve.value.selecting=Lt,Lt||(Ve.value.endDate=null)},Et=()=>{const[Lt,hn]=getDefaultValue(unref(r),{lang:unref(he),unit:oe,unlinkPanels:t.unlinkPanels});$e.value=void 0,Ie.value=void 0,$.value=Lt,V.value=hn};return watch(r,Lt=>{Lt&&Et()},{immediate:!0}),watch(()=>t.parsedValue,Lt=>{if(isArray$c(Lt)&&Lt.length===2){const[hn,Cn]=Lt;$e.value=hn,$.value=hn,Ie.value=Cn,ie(unref($e),unref(Ie))}else Et()},{immediate:!0}),{minDate:$e,maxDate:Ie,rangeState:Ve,lang:he,ppNs:ue,drpNs:de,handleChangeRange:Fe,handleRangeConfirm:Ue,handleShortcutClick:_e,onSelect:qe,t:pe}},_hoisted_1$H=["onClick"],_hoisted_2$s=["aria-label"],_hoisted_3$g=["aria-label"],_hoisted_4$a=["disabled","aria-label"],_hoisted_5$7=["disabled","aria-label"],_hoisted_6$3=["disabled","aria-label"],_hoisted_7$1=["disabled","aria-label"],_hoisted_8$1=["aria-label"],_hoisted_9$1=["aria-label"],unit$1="month",_sfc_main$1k=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(t,{emit:r}){const $=t,V=inject("EP_PICKER_BASE"),{disabledDate:oe,cellClassName:ie,format:le,defaultTime:ue,clearable:de}=V.props,pe=toRef(V.props,"shortcuts"),he=toRef(V.props,"defaultValue"),{lang:_e}=useLocale(),$e=ref(dayjs().locale(_e.value)),Ie=ref(dayjs().locale(_e.value).add(1,unit$1)),{minDate:Ve,maxDate:Fe,rangeState:Ue,ppNs:qe,drpNs:Et,handleChangeRange:Lt,handleRangeConfirm:hn,handleShortcutClick:Cn,onSelect:bn,t:Sn}=useRangePicker($,{defaultValue:he,leftDate:$e,rightDate:Ie,unit:unit$1,onParsedValueChanged:ar}),En=ref({min:null,max:null}),wn=ref({min:null,max:null}),$n=computed(()=>`${$e.value.year()} ${Sn("el.datepicker.year")} ${Sn(`el.datepicker.month${$e.value.month()+1}`)}`),Tn=computed(()=>`${Ie.value.year()} ${Sn("el.datepicker.year")} ${Sn(`el.datepicker.month${Ie.value.month()+1}`)}`),xn=computed(()=>$e.value.year()),An=computed(()=>$e.value.month()),Mn=computed(()=>Ie.value.year()),Vn=computed(()=>Ie.value.month()),Bn=computed(()=>!!pe.value.length),Dn=computed(()=>En.value.min!==null?En.value.min:Ve.value?Ve.value.format(Wn.value):""),Ln=computed(()=>En.value.max!==null?En.value.max:Fe.value||Ve.value?(Fe.value||Ve.value).format(Wn.value):""),Pn=computed(()=>wn.value.min!==null?wn.value.min:Ve.value?Ve.value.format(Un.value):""),Fn=computed(()=>wn.value.max!==null?wn.value.max:Fe.value||Ve.value?(Fe.value||Ve.value).format(Un.value):""),Un=computed(()=>extractTimeFormat(le)),Wn=computed(()=>extractDateFormat(le)),Zn=tr=>isValidRange(tr)&&(oe?!oe(tr[0].toDate())&&!oe(tr[1].toDate()):!0),or=()=>{$e.value=$e.value.subtract(1,"year"),$.unlinkPanels||(Ie.value=$e.value.add(1,"month")),zn("year")},br=()=>{$e.value=$e.value.subtract(1,"month"),$.unlinkPanels||(Ie.value=$e.value.add(1,"month")),zn("month")},Qn=()=>{$.unlinkPanels?Ie.value=Ie.value.add(1,"year"):($e.value=$e.value.add(1,"year"),Ie.value=$e.value.add(1,"month")),zn("year")},Gn=()=>{$.unlinkPanels?Ie.value=Ie.value.add(1,"month"):($e.value=$e.value.add(1,"month"),Ie.value=$e.value.add(1,"month")),zn("month")},Yn=()=>{$e.value=$e.value.add(1,"year"),zn("year")},er=()=>{$e.value=$e.value.add(1,"month"),zn("month")},lr=()=>{Ie.value=Ie.value.subtract(1,"year"),zn("year")},sr=()=>{Ie.value=Ie.value.subtract(1,"month"),zn("month")},zn=tr=>{r("panel-change",[$e.value.toDate(),Ie.value.toDate()],tr)},Kn=computed(()=>{const tr=(An.value+1)%12,Sr=An.value+1>=12?1:0;return $.unlinkPanels&&new Date(xn.value+Sr,tr)<new Date(Mn.value,Vn.value)}),Jn=computed(()=>$.unlinkPanels&&Mn.value*12+Vn.value-(xn.value*12+An.value+1)>=12),cr=computed(()=>!(Ve.value&&Fe.value&&!Ue.value.selecting&&isValidRange([Ve.value,Fe.value]))),_r=computed(()=>$.type==="datetime"||$.type==="datetimerange"),ur=(tr,Sr)=>{if(tr)return ue?dayjs(ue[Sr]||ue).locale(_e.value).year(tr.year()).month(tr.month()).date(tr.date()):tr},wr=(tr,Sr=!0)=>{const qn=tr.minDate,kr=tr.maxDate,Dr=ur(qn,0),Hr=ur(kr,1);Fe.value===Hr&&Ve.value===Dr||(r("calendar-change",[qn.toDate(),kr&&kr.toDate()]),Fe.value=Hr,Ve.value=Dr,!(!Sr||_r.value)&&hn())},Cr=ref(!1),mr=ref(!1),Er=()=>{Cr.value=!1},Tr=()=>{mr.value=!1},nr=(tr,Sr)=>{En.value[Sr]=tr;const qn=dayjs(tr,Wn.value).locale(_e.value);if(qn.isValid()){if(oe&&oe(qn.toDate()))return;Sr==="min"?($e.value=qn,Ve.value=(Ve.value||$e.value).year(qn.year()).month(qn.month()).date(qn.date()),!$.unlinkPanels&&(!Fe.value||Fe.value.isBefore(Ve.value))&&(Ie.value=qn.add(1,"month"),Fe.value=Ve.value.add(1,"month"))):(Ie.value=qn,Fe.value=(Fe.value||Ie.value).year(qn.year()).month(qn.month()).date(qn.date()),!$.unlinkPanels&&(!Ve.value||Ve.value.isAfter(Fe.value))&&($e.value=qn.subtract(1,"month"),Ve.value=Fe.value.subtract(1,"month")))}},pr=(tr,Sr)=>{En.value[Sr]=null},gr=(tr,Sr)=>{wn.value[Sr]=tr;const qn=dayjs(tr,Un.value).locale(_e.value);qn.isValid()&&(Sr==="min"?(Cr.value=!0,Ve.value=(Ve.value||$e.value).hour(qn.hour()).minute(qn.minute()).second(qn.second()),(!Fe.value||Fe.value.isBefore(Ve.value))&&(Fe.value=Ve.value)):(mr.value=!0,Fe.value=(Fe.value||Ie.value).hour(qn.hour()).minute(qn.minute()).second(qn.second()),Ie.value=Fe.value,Fe.value&&Fe.value.isBefore(Ve.value)&&(Ve.value=Fe.value)))},$r=(tr,Sr)=>{wn.value[Sr]=null,Sr==="min"?($e.value=Ve.value,Cr.value=!1):(Ie.value=Fe.value,mr.value=!1)},Rr=(tr,Sr,qn)=>{wn.value.min||(tr&&($e.value=tr,Ve.value=(Ve.value||$e.value).hour(tr.hour()).minute(tr.minute()).second(tr.second())),qn||(Cr.value=Sr),(!Fe.value||Fe.value.isBefore(Ve.value))&&(Fe.value=Ve.value,Ie.value=tr))},Lr=(tr,Sr,qn)=>{wn.value.max||(tr&&(Ie.value=tr,Fe.value=(Fe.value||Ie.value).hour(tr.hour()).minute(tr.minute()).second(tr.second())),qn||(mr.value=Sr),Fe.value&&Fe.value.isBefore(Ve.value)&&(Ve.value=Fe.value))},Vr=()=>{$e.value=getDefaultValue(unref(he),{lang:unref(_e),unit:"month",unlinkPanels:$.unlinkPanels})[0],Ie.value=$e.value.add(1,"month"),r("pick",null)},Nr=tr=>isArray$c(tr)?tr.map(Sr=>Sr.format(le)):tr.format(le),dr=tr=>isArray$c(tr)?tr.map(Sr=>dayjs(Sr,le).locale(_e.value)):dayjs(tr,le).locale(_e.value);function ar(tr,Sr){if($.unlinkPanels&&Sr){const qn=(tr==null?void 0:tr.year())||0,kr=(tr==null?void 0:tr.month())||0,Dr=Sr.year(),Hr=Sr.month();Ie.value=qn===Dr&&kr===Hr?Sr.add(1,unit$1):Sr}else Ie.value=$e.value.add(1,unit$1),Sr&&(Ie.value=Ie.value.hour(Sr.hour()).minute(Sr.minute()).second(Sr.second()))}return r("set-picker-option",["isValidValue",Zn]),r("set-picker-option",["parseUserInput",dr]),r("set-picker-option",["formatToString",Nr]),r("set-picker-option",["handleClear",Vr]),(tr,Sr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(qe).b(),unref(Et).b(),{"has-sidebar":tr.$slots.sidebar||unref(Bn),"has-time":unref(_r)}])},[createBaseVNode("div",{class:normalizeClass(unref(qe).e("body-wrapper"))},[renderSlot(tr.$slots,"sidebar",{class:normalizeClass(unref(qe).e("sidebar"))}),unref(Bn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(pe),(qn,kr)=>(openBlock(),createElementBlock("button",{key:kr,type:"button",class:normalizeClass(unref(qe).e("shortcut")),onClick:Dr=>unref(Cn)(qn)},toDisplayString$1(qn.text),11,_hoisted_1$H))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).e("body"))},[unref(_r)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Et).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(Et).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(Et).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",disabled:unref(Ue).selecting,placeholder:unref(Sn)("el.datepicker.startDate"),class:normalizeClass(unref(Et).e("editor")),"model-value":unref(Dn),"validate-event":!1,onInput:Sr[0]||(Sr[0]=qn=>nr(qn,"min")),onChange:Sr[1]||(Sr[1]=qn=>pr(qn,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(Et).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(Et).e("editor")),disabled:unref(Ue).selecting,placeholder:unref(Sn)("el.datepicker.startTime"),"model-value":unref(Pn),"validate-event":!1,onFocus:Sr[2]||(Sr[2]=qn=>Cr.value=!0),onInput:Sr[3]||(Sr[3]=qn=>gr(qn,"min")),onChange:Sr[4]||(Sr[4]=qn=>$r(qn,"min"))},null,8,["class","disabled","placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:Cr.value,format:unref(Un),"datetime-role":"start","parsed-value":$e.value,onPick:Rr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),Er]])],2),createBaseVNode("span",null,[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(Et).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(Et).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(Et).e("editor")),disabled:unref(Ue).selecting,placeholder:unref(Sn)("el.datepicker.endDate"),"model-value":unref(Ln),readonly:!unref(Ve),"validate-event":!1,onInput:Sr[5]||(Sr[5]=qn=>nr(qn,"max")),onChange:Sr[6]||(Sr[6]=qn=>pr(qn,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(Et).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(Et).e("editor")),disabled:unref(Ue).selecting,placeholder:unref(Sn)("el.datepicker.endTime"),"model-value":unref(Fn),readonly:!unref(Ve),"validate-event":!1,onFocus:Sr[7]||(Sr[7]=qn=>unref(Ve)&&(mr.value=!0)),onInput:Sr[8]||(Sr[8]=qn=>gr(qn,"max")),onChange:Sr[9]||(Sr[9]=qn=>$r(qn,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode(unref(TimePickPanel),{"datetime-role":"end",visible:mr.value,format:unref(Un),"parsed-value":Ie.value,onPick:Lr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),Tr]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(qe).e("content"),unref(Et).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(Et).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(qe).e("icon-btn"),"d-arrow-left"]),"aria-label":unref(Sn)("el.datepicker.prevYear"),onClick:or},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$s),createBaseVNode("button",{type:"button",class:normalizeClass([unref(qe).e("icon-btn"),"arrow-left"]),"aria-label":unref(Sn)("el.datepicker.prevMonth"),onClick:br},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_3$g),tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Jn),class:normalizeClass([[unref(qe).e("icon-btn"),{"is-disabled":!unref(Jn)}],"d-arrow-right"]),"aria-label":unref(Sn)("el.datepicker.nextYear"),onClick:Yn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_4$a)):createCommentVNode("v-if",!0),tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Kn),class:normalizeClass([[unref(qe).e("icon-btn"),{"is-disabled":!unref(Kn)}],"arrow-right"]),"aria-label":unref(Sn)("el.datepicker.nextMonth"),onClick:er},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_5$7)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString$1(unref($n)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:$e.value,"min-date":unref(Ve),"max-date":unref(Fe),"range-state":unref(Ue),"disabled-date":unref(oe),"cell-class-name":unref(ie),onChangerange:unref(Lt),onPick:wr,onSelect:unref(bn)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(qe).e("content"),unref(Et).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(Et).e("header"))},[tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Jn),class:normalizeClass([[unref(qe).e("icon-btn"),{"is-disabled":!unref(Jn)}],"d-arrow-left"]),"aria-label":unref(Sn)("el.datepicker.prevYear"),onClick:lr},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_6$3)):createCommentVNode("v-if",!0),tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Kn),class:normalizeClass([[unref(qe).e("icon-btn"),{"is-disabled":!unref(Kn)}],"arrow-left"]),"aria-label":unref(Sn)("el.datepicker.prevMonth"),onClick:sr},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_7$1)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button","aria-label":unref(Sn)("el.datepicker.nextYear"),class:normalizeClass([unref(qe).e("icon-btn"),"d-arrow-right"]),onClick:Qn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_8$1),createBaseVNode("button",{type:"button",class:normalizeClass([unref(qe).e("icon-btn"),"arrow-right"]),"aria-label":unref(Sn)("el.datepicker.nextMonth"),onClick:Gn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_9$1),createBaseVNode("div",null,toDisplayString$1(unref(Tn)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:Ie.value,"min-date":unref(Ve),"max-date":unref(Fe),"range-state":unref(Ue),"disabled-date":unref(oe),"cell-class-name":unref(ie),onChangerange:unref(Lt),onPick:wr,onSelect:unref(bn)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(_r)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("footer"))},[unref(de)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(qe).e("link-btn")),onClick:Vr},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Sn)("el.datepicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(qe).e("link-btn")),disabled:unref(cr),onClick:Sr[10]||(Sr[10]=qn=>unref(hn)(!1))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Sn)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc$1(_sfc_main$1k,[["__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","calendar-change"],useMonthRangeHeader=({unlinkPanels:t,leftDate:r,rightDate:$})=>{const{t:V}=useLocale(),oe=()=>{r.value=r.value.subtract(1,"year"),t.value||($.value=$.value.subtract(1,"year"))},ie=()=>{t.value||(r.value=r.value.add(1,"year")),$.value=$.value.add(1,"year")},le=()=>{r.value=r.value.add(1,"year")},ue=()=>{$.value=$.value.subtract(1,"year")},de=computed(()=>`${r.value.year()} ${V("el.datepicker.year")}`),pe=computed(()=>`${$.value.year()} ${V("el.datepicker.year")}`),he=computed(()=>r.value.year()),_e=computed(()=>$.value.year()===r.value.year()?r.value.year()+1:$.value.year());return{leftPrevYear:oe,rightNextYear:ie,leftNextYear:le,rightPrevYear:ue,leftLabel:de,rightLabel:pe,leftYear:he,rightYear:_e}},_hoisted_1$G=["onClick"],_hoisted_2$r=["disabled"],_hoisted_3$f=["disabled"],unit="year",__default__$R=defineComponent({name:"DatePickerMonthRange"}),_sfc_main$1j=defineComponent({...__default__$R,props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup(t,{emit:r}){const $=t,{lang:V}=useLocale(),oe=inject("EP_PICKER_BASE"),{shortcuts:ie,disabledDate:le,format:ue}=oe.props,de=toRef(oe.props,"defaultValue"),pe=ref(dayjs().locale(V.value)),he=ref(dayjs().locale(V.value).add(1,unit)),{minDate:_e,maxDate:$e,rangeState:Ie,ppNs:Ve,drpNs:Fe,handleChangeRange:Ue,handleRangeConfirm:qe,handleShortcutClick:Et,onSelect:Lt}=useRangePicker($,{defaultValue:de,leftDate:pe,rightDate:he,unit,onParsedValueChanged:Bn}),hn=computed(()=>!!ie.length),{leftPrevYear:Cn,rightNextYear:bn,leftNextYear:Sn,rightPrevYear:En,leftLabel:wn,rightLabel:$n,leftYear:Tn,rightYear:xn}=useMonthRangeHeader({unlinkPanels:toRef($,"unlinkPanels"),leftDate:pe,rightDate:he}),An=computed(()=>$.unlinkPanels&&xn.value>Tn.value+1),Mn=(Dn,Ln=!0)=>{const Pn=Dn.minDate,Fn=Dn.maxDate;$e.value===Fn&&_e.value===Pn||(r("calendar-change",[Pn.toDate(),Fn&&Fn.toDate()]),$e.value=Fn,_e.value=Pn,Ln&&qe())},Vn=Dn=>Dn.map(Ln=>Ln.format(ue));function Bn(Dn,Ln){if($.unlinkPanels&&Ln){const Pn=(Dn==null?void 0:Dn.year())||0,Fn=Ln.year();he.value=Pn===Fn?Ln.add(1,unit):Ln}else he.value=pe.value.add(1,unit)}return r("set-picker-option",["formatToString",Vn]),(Dn,Ln)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ve).b(),unref(Fe).b(),{"has-sidebar":!!Dn.$slots.sidebar||unref(hn)}])},[createBaseVNode("div",{class:normalizeClass(unref(Ve).e("body-wrapper"))},[renderSlot(Dn.$slots,"sidebar",{class:normalizeClass(unref(Ve).e("sidebar"))}),unref(hn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ve).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ie),(Pn,Fn)=>(openBlock(),createElementBlock("button",{key:Fn,type:"button",class:normalizeClass(unref(Ve).e("shortcut")),onClick:Un=>unref(Et)(Pn)},toDisplayString$1(Pn.text),11,_hoisted_1$G))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ve).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(Ve).e("content"),unref(Fe).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ve).e("icon-btn"),"d-arrow-left"]),onClick:Ln[0]||(Ln[0]=(...Pn)=>unref(Cn)&&unref(Cn)(...Pn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],2),Dn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(An),class:normalizeClass([[unref(Ve).e("icon-btn"),{[unref(Ve).is("disabled")]:!unref(An)}],"d-arrow-right"]),onClick:Ln[1]||(Ln[1]=(...Pn)=>unref(Sn)&&unref(Sn)(...Pn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$r)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString$1(unref(wn)),1)],2),createVNode(MonthTable,{"selection-mode":"range",date:pe.value,"min-date":unref(_e),"max-date":unref($e),"range-state":unref(Ie),"disabled-date":unref(le),onChangerange:unref(Ue),onPick:Mn,onSelect:unref(Lt)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(Ve).e("content"),unref(Fe).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("header"))},[Dn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(An),class:normalizeClass([[unref(Ve).e("icon-btn"),{"is-disabled":!unref(An)}],"d-arrow-left"]),onClick:Ln[2]||(Ln[2]=(...Pn)=>unref(En)&&unref(En)(...Pn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_3$f)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ve).e("icon-btn"),"d-arrow-right"]),onClick:Ln[3]||(Ln[3]=(...Pn)=>unref(bn)&&unref(bn)(...Pn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString$1(unref($n)),1)],2),createVNode(MonthTable,{"selection-mode":"range",date:he.value,"min-date":unref(_e),"max-date":unref($e),"range-state":unref(Ie),"disabled-date":unref(le),onChangerange:unref(Ue),onPick:Mn,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$1j,[["__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:$,slots:V}){const oe=useNamespace("picker-panel");provide("ElPopperOptions",reactive(toRef(t,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:V,pickerNs:oe});const ie=ref();r({focus:(de=!0)=>{var pe;(pe=ie.value)==null||pe.focus(de)},handleOpen:()=>{var de;(de=ie.value)==null||de.handleOpen()},handleClose:()=>{var de;(de=ie.value)==null||de.handleClose()}});const ue=de=>{$("update:modelValue",de)};return()=>{var de;const pe=(de=t.format)!=null?de:DEFAULT_FORMATS_DATEPICKER[t.type]||DEFAULT_FORMATS_DATE,he=getPanel(t.type);return createVNode(CommonPicker,mergeProps(t,{format:pe,type:t.type,ref:ie,"onUpdate:modelValue":ue}),{default:_e=>createVNode(he,_e,null),"range-separator":V["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;const le=getNormalizedProps(this.cell),{border:ue,direction:de}=this.descriptions,pe=de==="vertical",he=(($=(r=(t=this.cell)==null?void 0:t.children)==null?void 0:r.label)==null?void 0:$.call(r))||le.label,_e=(ie=(oe=(V=this.cell)==null?void 0:V.children)==null?void 0:oe.default)==null?void 0:ie.call(oe),$e=le.span,Ie=le.align?`is-${le.align}`:"",Ve=le.labelAlign?`is-${le.labelAlign}`:Ie,Fe=le.className,Ue=le.labelClassName,qe={width:addUnit(le.width),minWidth:addUnit(le.minWidth)},Et=useNamespace("descriptions");switch(this.type){case"label":return h$2(this.tag,{style:qe,class:[Et.e("cell"),Et.e("label"),Et.is("bordered-label",ue),Et.is("vertical-label",pe),Ve,Ue],colSpan:pe?$e:1},he);case"content":return h$2(this.tag,{style:qe,class:[Et.e("cell"),Et.e("content"),Et.is("bordered-content",ue),Et.is("vertical-content",pe),Ie,Fe],colSpan:pe?$e:$e*2-1},_e);default:return h$2("td",{style:qe,class:[Et.e("cell"),Ie],colSpan:$e},[isNil(he)?void 0:h$2("span",{class:[Et.e("label"),Ue]},he),h$2("span",{class:[Et.e("content"),Fe]},_e)])}}});const descriptionsRowProps=buildProps({row:{type:Array,default:()=>[]}}),_hoisted_1$F={key:1},__default__$Q=defineComponent({name:"ElDescriptionsRow"}),_sfc_main$1i=defineComponent({...__default__$Q,props:descriptionsRowProps,setup(t){const r=inject(descriptionsKey,{});return($,V)=>unref(r).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList($.row,(oe,ie)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${ie}`,cell:oe,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList($.row,(oe,ie)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${ie}`,cell:oe,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$F,[(openBlock(!0),createElementBlock(Fragment,null,renderList($.row,(oe,ie)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${ie}`},[unref(r).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode(unref(ElDescriptionsCell),{cell:oe,tag:"td",type:"label"},null,8,["cell"]),createVNode(unref(ElDescriptionsCell),{cell:oe,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:oe,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var ElDescriptionsRow=_export_sfc$1(_sfc_main$1i,[["__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$1h=defineComponent({...__default__$P,props:descriptionProps,setup(t){const r=t,$=useNamespace("descriptions"),V=useFormSize(),oe=useSlots();provide(descriptionsKey,r);const ie=computed(()=>[$.b(),$.m(V.value)]),le=(de,pe,he,_e=!1)=>(de.props||(de.props={}),pe>he&&(de.props.span=he),_e&&(de.props.span=pe),de),ue=()=>{var de;const pe=flattedChildren((de=oe.default)==null?void 0:de.call(oe)).filter(Ve=>{var Fe;return((Fe=Ve==null?void 0:Ve.type)==null?void 0:Fe.name)==="ElDescriptionsItem"}),he=[];let _e=[],$e=r.column,Ie=0;return pe.forEach((Ve,Fe)=>{var Ue;const qe=((Ue=Ve.props)==null?void 0:Ue.span)||1;if(Fe<pe.length-1&&(Ie+=qe>$e?$e:qe),Fe===pe.length-1){const Et=r.column-Ie%r.column;_e.push(le(Ve,Et,$e,!0)),he.push(_e);return}qe<$e?($e-=qe,_e.push(Ve)):(_e.push(le(Ve,qe,$e)),he.push(_e),$e=r.column,_e=[])}),he};return(de,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ie))},[de.title||de.extra||de.$slots.title||de.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref($).e("title"))},[renderSlot(de.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(de.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref($).e("extra"))},[renderSlot(de.$slots,"extra",{},()=>[createTextVNode(toDisplayString$1(de.extra),1)])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref($).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref($).e("table"),unref($).is("bordered",de.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(ue(),(he,_e)=>(openBlock(),createBlock(ElDescriptionsRow,{key:_e,row:he},null,8,["row"]))),128))])],2)],2)],2))}});var Descriptions=_export_sfc$1(_sfc_main$1h,[["__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:$}){const V=useNamespace(BLOCK),oe=de=>{$("click",de)},{onClick:ie,onMousedown:le,onMouseup:ue}=useSameTarget(t.customMaskEvent?void 0:oe);return()=>t.mask?createVNode("div",{class:[V.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:ie,onMousedown:le,onMouseup:ue},[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$E=["aria-level"],_hoisted_2$q=["aria-label"],_hoisted_3$e=["id"],__default__$O=defineComponent({name:"ElDialogContent"}),_sfc_main$1g=defineComponent({...__default__$O,props:dialogContentProps,emits:dialogContentEmits,setup(t){const r=t,{t:$}=useLocale(),{Close:V}=CloseComponents,{dialogRef:oe,headerRef:ie,bodyId:le,ns:ue,style:de}=inject(dialogInjectionKey),{focusTrapRef:pe}=inject(FOCUS_TRAP_INJECTION_KEY),he=computed(()=>[ue.b(),ue.is("fullscreen",r.fullscreen),ue.is("draggable",r.draggable),ue.is("align-center",r.alignCenter),{[ue.m("center")]:r.center},r.customClass]),_e=composeRefs(pe,oe),$e=computed(()=>r.draggable);return useDraggable(oe,ie,$e),(Ie,Ve)=>(openBlock(),createElementBlock("div",{ref:unref(_e),class:normalizeClass(unref(he)),style:normalizeStyle$1(unref(de)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:ie,class:normalizeClass(unref(ue).e("header"))},[renderSlot(Ie.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading","aria-level":Ie.ariaLevel,class:normalizeClass(unref(ue).e("title"))},toDisplayString$1(Ie.title),11,_hoisted_1$E)]),Ie.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref($)("el.dialog.close"),class:normalizeClass(unref(ue).e("headerbtn")),type:"button",onClick:Ve[0]||(Ve[0]=Fe=>Ie.$emit("close"))},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ue).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ie.closeIcon||unref(V))))]),_:1},8,["class"])],10,_hoisted_2$q)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(le),class:normalizeClass(unref(ue).e("body"))},[renderSlot(Ie.$slots,"default")],10,_hoisted_3$e),Ie.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass(unref(ue).e("footer"))},[renderSlot(Ie.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc$1(_sfc_main$1g,[["__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 V=getCurrentInstance().emit,{nextZIndex:oe}=useZIndex();let ie="";const le=useId(),ue=useId(),de=ref(!1),pe=ref(!1),he=ref(!1),_e=ref(t.zIndex||oe());let $e,Ie;const Ve=useGlobalConfig("namespace",defaultNamespace),Fe=computed(()=>{const Mn={},Vn=`--${Ve.value}-dialog`;return t.fullscreen||(t.top&&(Mn[`${Vn}-margin-top`]=t.top),t.width&&(Mn[`${Vn}-width`]=addUnit(t.width))),Mn}),Ue=computed(()=>t.alignCenter?{display:"flex"}:{});function qe(){V("opened")}function Et(){V("closed"),V(UPDATE_MODEL_EVENT,!1),t.destroyOnClose&&(he.value=!1)}function Lt(){V("close")}function hn(){Ie==null||Ie(),$e==null||$e(),t.openDelay&&t.openDelay>0?{stop:$e}=useTimeoutFn$1(()=>En(),t.openDelay):En()}function Cn(){$e==null||$e(),Ie==null||Ie(),t.closeDelay&&t.closeDelay>0?{stop:Ie}=useTimeoutFn$1(()=>wn(),t.closeDelay):wn()}function bn(){function Mn(Vn){Vn||(pe.value=!0,de.value=!1)}t.beforeClose?t.beforeClose(Mn):Cn()}function Sn(){t.closeOnClickModal&&bn()}function En(){isClient$1&&(de.value=!0)}function wn(){de.value=!1}function $n(){V("openAutoFocus")}function Tn(){V("closeAutoFocus")}function xn(Mn){var Vn;((Vn=Mn.detail)==null?void 0:Vn.focusReason)==="pointer"&&Mn.preventDefault()}t.lockScroll&&useLockscreen(de);function An(){t.closeOnPressEscape&&bn()}return watch(()=>t.modelValue,Mn=>{Mn?(pe.value=!1,hn(),he.value=!0,_e.value=t.zIndex?_e.value++:oe(),nextTick(()=>{V("open"),r.value&&(r.value.scrollTop=0)})):de.value&&Cn()}),watch(()=>t.fullscreen,Mn=>{r.value&&(Mn?(ie=r.value.style.transform,r.value.style.transform=""):r.value.style.transform=ie)}),onMounted(()=>{t.modelValue&&(de.value=!0,he.value=!0,hn())}),{afterEnter:qe,afterLeave:Et,beforeLeave:Lt,handleClose:bn,onModalClick:Sn,close:Cn,doClose:wn,onOpenAutoFocus:$n,onCloseAutoFocus:Tn,onCloseRequested:An,onFocusoutPrevented:xn,titleId:le,bodyId:ue,closed:pe,style:Fe,overlayDialogStyle:Ue,rendered:he,visible:de,zIndex:_e}},_hoisted_1$D=["aria-label","aria-labelledby","aria-describedby"],__default__$N=defineComponent({name:"ElDialog",inheritAttrs:!1}),_sfc_main$1f=defineComponent({...__default__$N,props:dialogProps,emits:dialogEmits,setup(t,{expose:r}){const $=t,V=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(()=>!!V.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(()=>!!$.customClass));const oe=useNamespace("dialog"),ie=ref(),le=ref(),ue=ref(),{visible:de,titleId:pe,bodyId:he,style:_e,overlayDialogStyle:$e,rendered:Ie,zIndex:Ve,afterEnter:Fe,afterLeave:Ue,beforeLeave:qe,handleClose:Et,onModalClick:Lt,onOpenAutoFocus:hn,onCloseAutoFocus:Cn,onCloseRequested:bn,onFocusoutPrevented:Sn}=useDialog($,ie);provide(dialogInjectionKey,{dialogRef:ie,headerRef:le,bodyId:he,ns:oe,rendered:Ie,style:_e});const En=useSameTarget(Lt),wn=computed(()=>$.draggable&&!$.fullscreen);return r({visible:de,dialogContentRef:ue}),($n,Tn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!$n.appendToBody},[createVNode(Transition,{name:"dialog-fade",onAfterEnter:unref(Fe),onAfterLeave:unref(Ue),onBeforeLeave:unref(qe),persisted:""},{default:withCtx(()=>[withDirectives(createVNode(unref(ElOverlay),{"custom-mask-event":"",mask:$n.modal,"overlay-class":$n.modalClass,"z-index":unref(Ve)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":$n.title||void 0,"aria-labelledby":$n.title?void 0:unref(pe),"aria-describedby":unref(he),class:normalizeClass(`${unref(oe).namespace.value}-overlay-dialog`),style:normalizeStyle$1(unref($e)),onClick:Tn[0]||(Tn[0]=(...xn)=>unref(En).onClick&&unref(En).onClick(...xn)),onMousedown:Tn[1]||(Tn[1]=(...xn)=>unref(En).onMousedown&&unref(En).onMousedown(...xn)),onMouseup:Tn[2]||(Tn[2]=(...xn)=>unref(En).onMouseup&&unref(En).onMouseup(...xn))},[createVNode(unref(ElFocusTrap),{loop:"",trapped:unref(de),"focus-start-el":"container",onFocusAfterTrapped:unref(hn),onFocusAfterReleased:unref(Cn),onFocusoutPrevented:unref(Sn),onReleaseRequested:unref(bn)},{default:withCtx(()=>[unref(Ie)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:ue},$n.$attrs,{"custom-class":$n.customClass,center:$n.center,"align-center":$n.alignCenter,"close-icon":$n.closeIcon,draggable:unref(wn),fullscreen:$n.fullscreen,"show-close":$n.showClose,title:$n.title,"aria-level":$n.headerAriaLevel,onClose:unref(Et)}),createSlots({header:withCtx(()=>[$n.$slots.title?renderSlot($n.$slots,"title",{key:1}):renderSlot($n.$slots,"header",{key:0,close:unref(Et),titleId:unref(pe),titleClass:unref(oe).e("title")})]),default:withCtx(()=>[renderSlot($n.$slots,"default")]),_:2},[$n.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot($n.$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$D)]),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref(de)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Dialog=_export_sfc$1(_sfc_main$1f,[["__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$1e=defineComponent({...__default__$M,props:dividerProps,setup(t){const r=t,$=useNamespace("divider"),V=computed(()=>$.cssVar({"border-style":r.borderStyle}));return(oe,ie)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($).b(),unref($).m(oe.direction)]),style:normalizeStyle$1(unref(V)),role:"separator"},[oe.$slots.default&&oe.direction!=="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref($).e("text"),unref($).is(oe.contentPosition)])},[renderSlot(oe.$slots,"default")],2)):createCommentVNode("v-if",!0)],6))}});var Divider=_export_sfc$1(_sfc_main$1e,[["__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$1d=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 $=ref(),V=ref(),oe=useNamespace("drawer"),{t:ie}=useLocale(),le=computed(()=>t.direction==="rtl"||t.direction==="ltr"),ue=computed(()=>addUnit(t.size));return{...useDialog(t,$),drawerRef:$,focusStartRef:V,isHorizontal:le,drawerSize:ue,ns:oe,t:ie}}}),_hoisted_1$C=["aria-label","aria-labelledby","aria-describedby"],_hoisted_2$p=["id","aria-level"],_hoisted_3$d=["aria-label"],_hoisted_4$9=["id"];function _sfc_render$p(t,r,$,V,oe,ie){const le=resolveComponent("close"),ue=resolveComponent("el-icon"),de=resolveComponent("el-focus-trap"),pe=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(pe,{mask:t.modal,"overlay-class":t.modalClass,"z-index":t.zIndex,onClick:t.onModalClick},{default:withCtx(()=>[createVNode(de,{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$p))]),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]=(...he)=>t.handleClose&&t.handleClose(...he))},[createVNode(ue,{class:normalizeClass(t.ns.e("close"))},{default:withCtx(()=>[createVNode(le)]),_:1},8,["class"])],10,_hoisted_3$d)):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$9)):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$C)]),_: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$1d,[["render",_sfc_render$p],["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const ElDrawer=withInstall(Drawer),_sfc_main$1c=defineComponent({inheritAttrs:!1});function _sfc_render$o(t,r,$,V,oe,ie){return renderSlot(t.$slots,"default")}var Collection=_export_sfc$1(_sfc_main$1c,[["render",_sfc_render$o],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const _sfc_main$1b=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$n(t,r,$,V,oe,ie){return renderSlot(t.$slots,"default")}var CollectionItem=_export_sfc$1(_sfc_main$1b,[["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`,$=`${r}Item`,V=Symbol(r),oe=Symbol($),ie={...Collection,name:r,setup(){const ue=ref(null),de=new Map;provide(V,{itemMap:de,getItems:()=>{const he=unref(ue);if(!he)return[];const _e=Array.from(he.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...de.values()].sort((Ie,Ve)=>_e.indexOf(Ie.ref)-_e.indexOf(Ve.ref))},collectionRef:ue})}},le={...CollectionItem,name:$,setup(ue,{attrs:de}){const pe=ref(null),he=inject(V,void 0);provide(oe,{collectionItemRef:pe}),onMounted(()=>{const _e=unref(pe);_e&&he.itemMap.set(_e,{ref:_e,...de})}),onBeforeUnmount(()=>{const _e=unref(pe);he.itemMap.delete(_e)})}};return{COLLECTION_INJECTION_KEY:V,COLLECTION_ITEM_INJECTION_KEY:oe,ElCollection:ie,ElCollectionItem:le}},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,$)=>{const V=getDirectionAwareKey(t.key,$);if(!(r==="vertical"&&[EVENT_CODE.left,EVENT_CODE.right].includes(V))&&!(r==="horizontal"&&[EVENT_CODE.up,EVENT_CODE.down].includes(V)))return MAP_KEY_TO_FOCUS_INTENT[V]},reorderArray=(t,r)=>t.map(($,V)=>t[(V+r)%t.length]),focusFirst=t=>{const{activeElement:r}=document;for(const $ of t)if($===r||($.focus(),r!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$1a=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(t,{emit:r}){var $;const V=ref(($=t.currentTabId||t.defaultCurrentTabId)!=null?$:null),oe=ref(!1),ie=ref(!1),le=ref(null),{getItems:ue}=inject(COLLECTION_INJECTION_KEY$1,void 0),de=computed(()=>[{outline:"none"},t.style]),pe=Fe=>{r(CURRENT_TAB_ID_CHANGE_EVT,Fe)},he=()=>{oe.value=!0},_e=composeEventHandlers(Fe=>{var Ue;(Ue=t.onMousedown)==null||Ue.call(t,Fe)},()=>{ie.value=!0}),$e=composeEventHandlers(Fe=>{var Ue;(Ue=t.onFocus)==null||Ue.call(t,Fe)},Fe=>{const Ue=!unref(ie),{target:qe,currentTarget:Et}=Fe;if(qe===Et&&Ue&&!unref(oe)){const Lt=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(Et==null||Et.dispatchEvent(Lt),!Lt.defaultPrevented){const hn=ue().filter(wn=>wn.focusable),Cn=hn.find(wn=>wn.active),bn=hn.find(wn=>wn.id===unref(V)),En=[Cn,bn,...hn].filter(Boolean).map(wn=>wn.ref);focusFirst(En)}}ie.value=!1}),Ie=composeEventHandlers(Fe=>{var Ue;(Ue=t.onBlur)==null||Ue.call(t,Fe)},()=>{oe.value=!1}),Ve=(...Fe)=>{r("entryFocus",...Fe)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(V),loop:toRef(t,"loop"),tabIndex:computed(()=>unref(oe)?-1:0),rovingFocusGroupRef:le,rovingFocusGroupRootStyle:de,orientation:toRef(t,"orientation"),dir:toRef(t,"dir"),onItemFocus:pe,onItemShiftTab:he,onBlur:Ie,onFocus:$e,onMousedown:_e}),watch(()=>t.currentTabId,Fe=>{V.value=Fe??null}),useEventListener$1(le,ENTRY_FOCUS_EVT,Ve)}});function _sfc_render$m(t,r,$,V,oe,ie){return renderSlot(t.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc$1(_sfc_main$1a,[["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$19=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl}});function _sfc_render$l(t,r,$,V,oe,ie){const le=resolveComponent("el-roving-focus-group-impl"),ue=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(ue,null,{default:withCtx(()=>[createVNode(le,normalizeProps(guardReactiveProps(t.$attrs)),{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc$1(_sfc_main$19,[["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$18=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:$,loop:V,onItemFocus:oe,onItemShiftTab:ie}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:le}=inject(COLLECTION_INJECTION_KEY$1,void 0),ue=useId(),de=ref(null),pe=composeEventHandlers(Ie=>{r("mousedown",Ie)},Ie=>{t.focusable?oe(unref(ue)):Ie.preventDefault()}),he=composeEventHandlers(Ie=>{r("focus",Ie)},()=>{oe(unref(ue))}),_e=composeEventHandlers(Ie=>{r("keydown",Ie)},Ie=>{const{key:Ve,shiftKey:Fe,target:Ue,currentTarget:qe}=Ie;if(Ve===EVENT_CODE.tab&&Fe){ie();return}if(Ue!==qe)return;const Et=getFocusIntent(Ie);if(Et){Ie.preventDefault();let hn=le().filter(Cn=>Cn.focusable).map(Cn=>Cn.ref);switch(Et){case"last":{hn.reverse();break}case"prev":case"next":{Et==="prev"&&hn.reverse();const Cn=hn.indexOf(qe);hn=V.value?reorderArray(hn,Cn+1):hn.slice(Cn+1);break}}nextTick(()=>{focusFirst(hn)})}}),$e=computed(()=>$.value===unref(ue));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:de,tabIndex:computed(()=>unref($e)?0:-1),handleMousedown:pe,handleFocus:he,handleKeydown:_e}),{id:ue,handleKeydown:_e,handleFocus:he,handleMousedown:pe}}});function _sfc_render$k(t,r,$,V,oe,ie){const le=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(le,{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$18,[["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$17=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 $=getCurrentInstance(),V=useNamespace("dropdown"),{t:oe}=useLocale(),ie=ref(),le=ref(),ue=ref(null),de=ref(null),pe=ref(null),he=ref(null),_e=ref(!1),$e=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],Ie=computed(()=>({maxHeight:addUnit(t.maxHeight)})),Ve=computed(()=>[V.m(Cn.value)]),Fe=computed(()=>castArray$1(t.trigger)),Ue=useId().value,qe=computed(()=>t.id||Ue);watch([ie,Fe],([Dn,Ln],[Pn])=>{var Fn,Un,Wn;(Fn=Pn==null?void 0:Pn.$el)!=null&&Fn.removeEventListener&&Pn.$el.removeEventListener("pointerenter",Sn),(Un=Dn==null?void 0:Dn.$el)!=null&&Un.removeEventListener&&Dn.$el.removeEventListener("pointerenter",Sn),(Wn=Dn==null?void 0:Dn.$el)!=null&&Wn.addEventListener&&Ln.includes("hover")&&Dn.$el.addEventListener("pointerenter",Sn)},{immediate:!0}),onBeforeUnmount(()=>{var Dn,Ln;(Ln=(Dn=ie.value)==null?void 0:Dn.$el)!=null&&Ln.removeEventListener&&ie.value.$el.removeEventListener("pointerenter",Sn)});function Et(){Lt()}function Lt(){var Dn;(Dn=ue.value)==null||Dn.onClose()}function hn(){var Dn;(Dn=ue.value)==null||Dn.onOpen()}const Cn=useFormSize();function bn(...Dn){r("command",...Dn)}function Sn(){var Dn,Ln;(Ln=(Dn=ie.value)==null?void 0:Dn.$el)==null||Ln.focus()}function En(){}function wn(){const Dn=unref(de);Fe.value.includes("hover")&&(Dn==null||Dn.focus()),he.value=null}function $n(Dn){he.value=Dn}function Tn(Dn){_e.value||(Dn.preventDefault(),Dn.stopImmediatePropagation())}function xn(){r("visible-change",!0)}function An(Dn){(Dn==null?void 0:Dn.type)==="keydown"&&de.value.focus()}function Mn(){r("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:de,role:computed(()=>t.role),triggerId:qe,isUsingKeyboard:_e,onItemEnter:En,onItemLeave:wn}),provide("elDropdown",{instance:$,dropdownSize:Cn,handleClick:Et,commandHandler:bn,trigger:toRef(t,"trigger"),hideOnClick:toRef(t,"hideOnClick")}),{t:oe,ns:V,scrollbar:pe,wrapStyle:Ie,dropdownTriggerKls:Ve,dropdownSize:Cn,triggerId:qe,triggerKeys:$e,currentTabId:he,handleCurrentTabIdChange:$n,handlerMainButtonClick:Dn=>{r("click",Dn)},handleEntryFocus:Tn,handleClose:Lt,handleOpen:hn,handleBeforeShowTooltip:xn,handleShowTooltip:An,handleBeforeHideTooltip:Mn,onFocusAfterTrapped:Dn=>{var Ln,Pn;Dn.preventDefault(),(Pn=(Ln=de.value)==null?void 0:Ln.focus)==null||Pn.call(Ln,{preventScroll:!0})},popperRef:ue,contentRef:de,triggeringElementRef:ie,referenceElementRef:le}}});function _sfc_render$j(t,r,$,V,oe,ie){var le;const ue=resolveComponent("el-dropdown-collection"),de=resolveComponent("el-roving-focus-group"),pe=resolveComponent("el-scrollbar"),he=resolveComponent("el-only-child"),_e=resolveComponent("el-tooltip"),$e=resolveComponent("el-button"),Ie=resolveComponent("arrow-down"),Ve=resolveComponent("el-icon"),Fe=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":(le=t.referenceElementRef)==null?void 0:le.$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(pe,{ref:"scrollbar","wrap-style":t.wrapStyle,tag:"div","view-class":t.ns.e("list")},{default:withCtx(()=>[createVNode(de,{loop:t.loop,"current-tab-id":t.currentTabId,orientation:"horizontal",onCurrentTabIdChange:t.handleCurrentTabIdChange,onEntryFocus:t.handleEntryFocus},{default:withCtx(()=>[createVNode(ue,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(he,{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(Fe,{key:0},{default:withCtx(()=>[createVNode($e,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($e,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(Ve,{class:normalizeClass(t.ns.e("icon"))},{default:withCtx(()=>[createVNode(Ie)]),_: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$17,[["render",_sfc_render$j],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const _sfc_main$16=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(t,{emit:r}){const $=useNamespace("dropdown"),{role:V}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:oe}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:ie}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:le,tabIndex:ue,handleFocus:de,handleKeydown:pe,handleMousedown:he}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),_e=composeRefs(oe,ie,le),$e=computed(()=>V.value==="menu"?"menuitem":V.value==="navigation"?"link":"button"),Ie=composeEventHandlers(Ve=>{const{code:Fe}=Ve;if(Fe===EVENT_CODE.enter||Fe===EVENT_CODE.space)return Ve.preventDefault(),Ve.stopImmediatePropagation(),r("clickimpl",Ve),!0},pe);return{ns:$,itemRef:_e,dataset:{[COLLECTION_ITEM_SIGN]:""},role:$e,tabIndex:ue,handleFocus:de,handleKeydown:Ie,handleMousedown:he}}}),_hoisted_1$B=["aria-disabled","tabindex","role"];function _sfc_render$i(t,r,$,V,oe,ie){const le=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]=ue=>t.$emit("clickimpl",ue)),onFocus:r[1]||(r[1]=(...ue)=>t.handleFocus&&t.handleFocus(...ue)),onKeydown:r[2]||(r[2]=withModifiers((...ue)=>t.handleKeydown&&t.handleKeydown(...ue),["self"])),onMousedown:r[3]||(r[3]=(...ue)=>t.handleMousedown&&t.handleMousedown(...ue)),onPointermove:r[4]||(r[4]=ue=>t.$emit("pointermove",ue)),onPointerleave:r[5]||(r[5]=ue=>t.$emit("pointerleave",ue))}),[t.icon?(openBlock(),createBlock(le,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot(t.$slots,"default")],16,_hoisted_1$B)],64)}var ElDropdownItemImpl=_export_sfc$1(_sfc_main$16,[["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$15=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(t,{emit:r,attrs:$}){const{elDropdown:V}=useDropdown(),oe=getCurrentInstance(),ie=ref(null),le=computed(()=>{var Ie,Ve;return(Ve=(Ie=unref(ie))==null?void 0:Ie.textContent)!=null?Ve:""}),{onItemEnter:ue,onItemLeave:de}=inject(DROPDOWN_INJECTION_KEY,void 0),pe=composeEventHandlers(Ie=>(r("pointermove",Ie),Ie.defaultPrevented),whenMouse(Ie=>{if(t.disabled){de(Ie);return}const Ve=Ie.currentTarget;Ve===document.activeElement||Ve.contains(document.activeElement)||(ue(Ie),Ie.defaultPrevented||Ve==null||Ve.focus())})),he=composeEventHandlers(Ie=>(r("pointerleave",Ie),Ie.defaultPrevented),whenMouse(Ie=>{de(Ie)})),_e=composeEventHandlers(Ie=>{if(!t.disabled)return r("click",Ie),Ie.type!=="keydown"&&Ie.defaultPrevented},Ie=>{var Ve,Fe,Ue;if(t.disabled){Ie.stopImmediatePropagation();return}(Ve=V==null?void 0:V.hideOnClick)!=null&&Ve.value&&((Fe=V.handleClick)==null||Fe.call(V)),(Ue=V.commandHandler)==null||Ue.call(V,t.command,oe,Ie)}),$e=computed(()=>({...t,...$}));return{handleClick:_e,handlePointerMove:pe,handlePointerLeave:he,textContent:le,propsAndAttrs:$e}}});function _sfc_render$h(t,r,$,V,oe,ie){var le;const ue=resolveComponent("el-dropdown-item-impl"),de=resolveComponent("el-roving-focus-item"),pe=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(pe,{disabled:t.disabled,"text-value":(le=t.textValue)!=null?le:t.textContent},{default:withCtx(()=>[createVNode(de,{focusable:!t.disabled},{default:withCtx(()=>[createVNode(ue,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$15,[["render",_sfc_render$h],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const _sfc_main$14=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(t){const r=useNamespace("dropdown"),{_elDropdownSize:$}=useDropdown(),V=$.value,{focusTrapRef:oe,onKeydown:ie}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:le,role:ue,triggerId:de}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:pe,getItems:he}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:_e,rovingFocusGroupRootStyle:$e,tabIndex:Ie,onBlur:Ve,onFocus:Fe,onMousedown:Ue}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:qe}=inject(COLLECTION_INJECTION_KEY$1,void 0),Et=computed(()=>[r.b("menu"),r.bm("menu",V==null?void 0:V.value)]),Lt=composeRefs(le,pe,oe,_e,qe),hn=composeEventHandlers(bn=>{var Sn;(Sn=t.onKeydown)==null||Sn.call(t,bn)},bn=>{const{currentTarget:Sn,code:En,target:wn}=bn;if(Sn.contains(wn),EVENT_CODE.tab===En&&bn.stopImmediatePropagation(),bn.preventDefault(),wn!==unref(le)||!FIRST_LAST_KEYS.includes(En))return;const Tn=he().filter(xn=>!xn.disabled).map(xn=>xn.ref);LAST_KEYS.includes(En)&&Tn.reverse(),focusFirst(Tn)});return{size:V,rovingFocusGroupRootStyle:$e,tabIndex:Ie,dropdownKls:Et,role:ue,triggerId:de,dropdownListWrapperRef:Lt,handleKeydown:bn=>{hn(bn),ie(bn)},onBlur:Ve,onFocus:Fe,onMousedown:Ue}}}),_hoisted_1$A=["role","aria-labelledby"];function _sfc_render$g(t,r,$,V,oe,ie){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]=(...le)=>t.onBlur&&t.onBlur(...le)),onFocus:r[1]||(r[1]=(...le)=>t.onFocus&&t.onFocus(...le)),onKeydown:r[2]||(r[2]=withModifiers((...le)=>t.handleKeydown&&t.handleKeydown(...le),["self"])),onMousedown:r[3]||(r[3]=withModifiers((...le)=>t.onMousedown&&t.onMousedown(...le),["self"]))},[renderSlot(t.$slots,"default")],46,_hoisted_1$A)}var DropdownMenu=_export_sfc$1(_sfc_main$14,[["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$z={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$o=["id"],_hoisted_3$c=["stop-color"],_hoisted_4$8=["stop-color"],_hoisted_5$6=["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$13=defineComponent({...__default__$L,setup(t){const r=useNamespace("empty"),$=useId();return(V,oe)=>(openBlock(),createElementBlock("svg",_hoisted_1$z,[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref($)}`,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$c),createBaseVNode("stop",{"stop-color":`var(${unref(r).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$8)],8,_hoisted_2$o),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref($)}`,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$6),createBaseVNode("rect",{id:`path-3-${unref($)}`,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($)})`,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($)})`,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($)}`},null,8,_hoisted_21),createBaseVNode("polygon",{id:"Rectangle-Copy",fill:`var(${unref(r).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref($)})`,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$13,[["__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$y=["src"],_hoisted_2$n={key:1},__default__$K=defineComponent({name:"ElEmpty"}),_sfc_main$12=defineComponent({...__default__$K,props:emptyProps,setup(t){const r=t,{t:$}=useLocale(),V=useNamespace("empty"),oe=computed(()=>r.description||$("el.table.emptyText")),ie=computed(()=>({width:addUnit(r.imageSize)}));return(le,ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(V).b())},[createBaseVNode("div",{class:normalizeClass(unref(V).e("image")),style:normalizeStyle$1(unref(ie))},[le.image?(openBlock(),createElementBlock("img",{key:0,src:le.image,ondragstart:"return false"},null,8,_hoisted_1$y)):renderSlot(le.$slots,"image",{key:1},()=>[createVNode(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(V).e("description"))},[le.$slots.description?renderSlot(le.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$n,toDisplayString$1(unref(oe)),1))],2),le.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).e("bottom"))},[renderSlot(le.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty=_export_sfc$1(_sfc_main$12,[["__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),rotate:t=>isNumber$4(t)},_hoisted_1$x=["src"],__default__$J=defineComponent({name:"ElImageViewer"}),_sfc_main$11=defineComponent({...__default__$J,props:imageViewerProps,emits:imageViewerEmits,setup(t,{expose:r,emit:$}){const V=t,oe={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},{t:ie}=useLocale(),le=useNamespace("image-viewer"),{nextZIndex:ue}=useZIndex(),de=ref(),pe=ref([]),he=effectScope(),_e=ref(!0),$e=ref(V.initialIndex),Ie=shallowRef(oe.CONTAIN),Ve=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),Fe=computed(()=>{const{urlList:Pn}=V;return Pn.length<=1}),Ue=computed(()=>$e.value===0),qe=computed(()=>$e.value===V.urlList.length-1),Et=computed(()=>V.urlList[$e.value]),Lt=computed(()=>[le.e("btn"),le.e("prev"),le.is("disabled",!V.infinite&&Ue.value)]),hn=computed(()=>[le.e("btn"),le.e("next"),le.is("disabled",!V.infinite&&qe.value)]),Cn=computed(()=>{const{scale:Pn,deg:Fn,offsetX:Un,offsetY:Wn,enableTransition:Zn}=Ve.value;let or=Un/Pn,br=Wn/Pn;switch(Fn%360){case 90:case-270:[or,br]=[br,-or];break;case 180:case-180:[or,br]=[-or,-br];break;case 270:case-90:[or,br]=[-br,or];break}const Qn={transform:`scale(${Pn}) rotate(${Fn}deg) translate(${or}px, ${br}px)`,transition:Zn?"transform .3s":""};return Ie.value.name===oe.CONTAIN.name&&(Qn.maxWidth=Qn.maxHeight="100%"),Qn}),bn=computed(()=>isNumber$4(V.zIndex)?V.zIndex:ue());function Sn(){wn(),$("close")}function En(){const Pn=throttle$1(Un=>{switch(Un.code){case EVENT_CODE.esc:V.closeOnPressEscape&&Sn();break;case EVENT_CODE.space:Mn();break;case EVENT_CODE.left:Bn();break;case EVENT_CODE.up:Ln("zoomIn");break;case EVENT_CODE.right:Dn();break;case EVENT_CODE.down:Ln("zoomOut");break}}),Fn=throttle$1(Un=>{const Wn=Un.deltaY||Un.deltaX;Ln(Wn<0?"zoomIn":"zoomOut",{zoomRate:V.zoomRate,enableTransition:!1})});he.run(()=>{useEventListener$1(document,"keydown",Pn),useEventListener$1(document,"wheel",Fn)})}function wn(){he.stop()}function $n(){_e.value=!1}function Tn(Pn){_e.value=!1,Pn.target.alt=ie("el.image.error")}function xn(Pn){if(_e.value||Pn.button!==0||!de.value)return;Ve.value.enableTransition=!1;const{offsetX:Fn,offsetY:Un}=Ve.value,Wn=Pn.pageX,Zn=Pn.pageY,or=throttle$1(Qn=>{Ve.value={...Ve.value,offsetX:Fn+Qn.pageX-Wn,offsetY:Un+Qn.pageY-Zn}}),br=useEventListener$1(document,"mousemove",or);useEventListener$1(document,"mouseup",()=>{br()}),Pn.preventDefault()}function An(){Ve.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Mn(){if(_e.value)return;const Pn=keysOf(oe),Fn=Object.values(oe),Un=Ie.value.name,Zn=(Fn.findIndex(or=>or.name===Un)+1)%Pn.length;Ie.value=oe[Pn[Zn]],An()}function Vn(Pn){const Fn=V.urlList.length;$e.value=(Pn+Fn)%Fn}function Bn(){Ue.value&&!V.infinite||Vn($e.value-1)}function Dn(){qe.value&&!V.infinite||Vn($e.value+1)}function Ln(Pn,Fn={}){if(_e.value)return;const{zoomRate:Un,rotateDeg:Wn,enableTransition:Zn}={zoomRate:V.zoomRate,rotateDeg:90,enableTransition:!0,...Fn};switch(Pn){case"zoomOut":Ve.value.scale>.2&&(Ve.value.scale=Number.parseFloat((Ve.value.scale/Un).toFixed(3)));break;case"zoomIn":Ve.value.scale<7&&(Ve.value.scale=Number.parseFloat((Ve.value.scale*Un).toFixed(3)));break;case"clockwise":Ve.value.deg+=Wn,$("rotate",Ve.value.deg);break;case"anticlockwise":Ve.value.deg-=Wn,$("rotate",Ve.value.deg);break}Ve.value.enableTransition=Zn}return watch(Et,()=>{nextTick(()=>{const Pn=pe.value[0];Pn!=null&&Pn.complete||(_e.value=!0)})}),watch($e,Pn=>{An(),$("switch",Pn)}),onMounted(()=>{var Pn,Fn;En(),(Fn=(Pn=de.value)==null?void 0:Pn.focus)==null||Fn.call(Pn)}),r({setActiveItem:Vn}),(Pn,Fn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!Pn.teleported},[createVNode(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:de,tabindex:-1,class:normalizeClass(unref(le).e("wrapper")),style:normalizeStyle$1({zIndex:unref(bn)})},[createBaseVNode("div",{class:normalizeClass(unref(le).e("mask")),onClick:Fn[0]||(Fn[0]=withModifiers(Un=>Pn.hideOnClickModal&&Sn(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(le).e("btn"),unref(le).e("close")]),onClick:Sn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),unref(Fe)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass(unref(Lt)),onClick:Bn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass(unref(hn)),onClick:Dn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],2)],64)),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(le).e("btn"),unref(le).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(le).e("actions__inner"))},[createVNode(unref(ElIcon),{onClick:Fn[1]||(Fn[1]=Un=>Ln("zoomOut"))},{default:withCtx(()=>[createVNode(unref(zoom_out_default))]),_:1}),createVNode(unref(ElIcon),{onClick:Fn[2]||(Fn[2]=Un=>Ln("zoomIn"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(le).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:Mn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ie).icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(le).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:Fn[3]||(Fn[3]=Un=>Ln("anticlockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_left_default))]),_:1}),createVNode(unref(ElIcon),{onClick:Fn[4]||(Fn[4]=Un=>Ln("clockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_right_default))]),_:1})],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(le).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Pn.urlList,(Un,Wn)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:Zn=>pe.value[Wn]=Zn,key:Un,src:Un,style:normalizeStyle$1(unref(Cn)),class:normalizeClass(unref(le).e("img")),onLoad:$n,onError:Tn,onMousedown:xn},null,46,_hoisted_1$x)),[[vShow,Wn===$e.value]])),128))],2),renderSlot(Pn.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var ImageViewer=_export_sfc$1(_sfc_main$11,[["__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$w=["src","loading"],_hoisted_2$m={key:0},__default__$I=defineComponent({name:"ElImage",inheritAttrs:!1}),_sfc_main$10=defineComponent({...__default__$I,props:imageProps,emits:imageEmits,setup(t,{emit:r}){const $=t;let V="";const{t:oe}=useLocale(),ie=useNamespace("image"),le=useAttrs$1(),ue=useAttrs(),de=ref(),pe=ref(!1),he=ref(!0),_e=ref(!1),$e=ref(),Ie=ref(),Ve=isClient$1&&"loading"in HTMLImageElement.prototype;let Fe,Ue;const qe=computed(()=>[ie.e("inner"),hn.value&&ie.e("preview"),he.value&&ie.is("loading")]),Et=computed(()=>le.style),Lt=computed(()=>{const{fit:Ln}=$;return isClient$1&&Ln?{objectFit:Ln}:{}}),hn=computed(()=>{const{previewSrcList:Ln}=$;return Array.isArray(Ln)&&Ln.length>0}),Cn=computed(()=>{const{previewSrcList:Ln,initialIndex:Pn}=$;let Fn=Pn;return Pn>Ln.length-1&&(Fn=0),Fn}),bn=computed(()=>$.loading==="eager"?!1:!Ve&&$.loading==="lazy"||$.lazy),Sn=()=>{isClient$1&&(he.value=!0,pe.value=!1,de.value=$.src)};function En(Ln){he.value=!1,pe.value=!1,r("load",Ln)}function wn(Ln){he.value=!1,pe.value=!0,r("error",Ln)}function $n(){isInContainer($e.value,Ie.value)&&(Sn(),An())}const Tn=useThrottleFn($n,200,!0);async function xn(){var Ln;if(!isClient$1)return;await nextTick();const{scrollContainer:Pn}=$;isElement$2(Pn)?Ie.value=Pn:isString$6(Pn)&&Pn!==""?Ie.value=(Ln=document.querySelector(Pn))!=null?Ln:void 0:$e.value&&(Ie.value=getScrollContainer($e.value)),Ie.value&&(Fe=useEventListener$1(Ie,"scroll",Tn),setTimeout(()=>$n(),100))}function An(){!isClient$1||!Ie.value||!Tn||(Fe==null||Fe(),Ie.value=void 0)}function Mn(Ln){if(Ln.ctrlKey){if(Ln.deltaY<0)return Ln.preventDefault(),!1;if(Ln.deltaY>0)return Ln.preventDefault(),!1}}function Vn(){hn.value&&(Ue=useEventListener$1("wheel",Mn,{passive:!1}),V=document.body.style.overflow,document.body.style.overflow="hidden",_e.value=!0,r("show"))}function Bn(){Ue==null||Ue(),document.body.style.overflow=V,_e.value=!1,r("close")}function Dn(Ln){r("switch",Ln)}return watch(()=>$.src,()=>{bn.value?(he.value=!0,pe.value=!1,An(),xn()):Sn()}),onMounted(()=>{bn.value?xn():Sn()}),(Ln,Pn)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:$e,class:normalizeClass([unref(ie).b(),Ln.$attrs.class]),style:normalizeStyle$1(unref(Et))},[pe.value?renderSlot(Ln.$slots,"error",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(ie).e("error"))},toDisplayString$1(unref(oe)("el.image.error")),3)]):(openBlock(),createElementBlock(Fragment,{key:1},[de.value!==void 0?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(ue),{src:de.value,loading:Ln.loading,style:unref(Lt),class:unref(qe),onClick:Vn,onLoad:En,onError:wn}),null,16,_hoisted_1$w)):createCommentVNode("v-if",!0),he.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ie).e("wrapper"))},[renderSlot(Ln.$slots,"placeholder",{},()=>[createBaseVNode("div",{class:normalizeClass(unref(ie).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(Cn),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:Bn,onSwitch:Dn},{default:withCtx(()=>[Ln.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$m,[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$10,[["__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$v=["aria-label","onKeydown"],_hoisted_2$l=["aria-label","onKeydown"],__default__$H=defineComponent({name:"ElInputNumber"}),_sfc_main$$=defineComponent({...__default__$H,props:inputNumberProps,emits:inputNumberEmits,setup(t,{expose:r,emit:$}){const V=t,{t:oe}=useLocale(),ie=useNamespace("input-number"),le=ref(),ue=reactive({currentValue:V.modelValue,userInput:null}),{formItem:de}=useFormItem(),pe=computed(()=>isNumber$4(V.modelValue)&&V.modelValue<=V.min),he=computed(()=>isNumber$4(V.modelValue)&&V.modelValue>=V.max),_e=computed(()=>{const An=qe(V.step);return isUndefined$1(V.precision)?Math.max(qe(V.modelValue),An):(An>V.precision,V.precision)}),$e=computed(()=>V.controls&&V.controlsPosition==="right"),Ie=useFormSize(),Ve=useFormDisabled(),Fe=computed(()=>{if(ue.userInput!==null)return ue.userInput;let An=ue.currentValue;if(isNil(An))return"";if(isNumber$4(An)){if(Number.isNaN(An))return"";isUndefined$1(V.precision)||(An=An.toFixed(V.precision))}return An}),Ue=(An,Mn)=>{if(isUndefined$1(Mn)&&(Mn=_e.value),Mn===0)return Math.round(An);let Vn=String(An);const Bn=Vn.indexOf(".");if(Bn===-1||!Vn.replace(".","").split("")[Bn+Mn])return An;const Pn=Vn.length;return Vn.charAt(Pn-1)==="5"&&(Vn=`${Vn.slice(0,Math.max(0,Pn-1))}6`),Number.parseFloat(Number(Vn).toFixed(Mn))},qe=An=>{if(isNil(An))return 0;const Mn=An.toString(),Vn=Mn.indexOf(".");let Bn=0;return Vn!==-1&&(Bn=Mn.length-Vn-1),Bn},Et=(An,Mn=1)=>isNumber$4(An)?Ue(An+V.step*Mn):ue.currentValue,Lt=()=>{if(V.readonly||Ve.value||he.value)return;const An=Number(Fe.value)||0,Mn=Et(An);bn(Mn),$(INPUT_EVENT,ue.currentValue)},hn=()=>{if(V.readonly||Ve.value||pe.value)return;const An=Number(Fe.value)||0,Mn=Et(An,-1);bn(Mn),$(INPUT_EVENT,ue.currentValue)},Cn=(An,Mn)=>{const{max:Vn,min:Bn,step:Dn,precision:Ln,stepStrictly:Pn,valueOnClear:Fn}=V;Vn<Bn&&throwError$1("InputNumber","min should not be greater than max.");let Un=Number(An);if(isNil(An)||Number.isNaN(Un))return null;if(An===""){if(Fn===null)return null;Un=isString$6(Fn)?{min:Bn,max:Vn}[Fn]:Fn}return Pn&&(Un=Ue(Math.round(Un/Dn)*Dn,Ln)),isUndefined$1(Ln)||(Un=Ue(Un,Ln)),(Un>Vn||Un<Bn)&&(Un=Un>Vn?Vn:Bn,Mn&&$(UPDATE_MODEL_EVENT,Un)),Un},bn=(An,Mn=!0)=>{var Vn;const Bn=ue.currentValue,Dn=Cn(An);if(!Mn){$(UPDATE_MODEL_EVENT,Dn);return}Bn!==Dn&&(ue.userInput=null,$(UPDATE_MODEL_EVENT,Dn),$(CHANGE_EVENT,Dn,Bn),V.validateEvent&&((Vn=de==null?void 0:de.validate)==null||Vn.call(de,"change").catch(Ln=>void 0)),ue.currentValue=Dn)},Sn=An=>{ue.userInput=An;const Mn=An===""?null:Number(An);$(INPUT_EVENT,Mn),bn(Mn,!1)},En=An=>{const Mn=An!==""?Number(An):"";(isNumber$4(Mn)&&!Number.isNaN(Mn)||An==="")&&bn(Mn),ue.userInput=null},wn=()=>{var An,Mn;(Mn=(An=le.value)==null?void 0:An.focus)==null||Mn.call(An)},$n=()=>{var An,Mn;(Mn=(An=le.value)==null?void 0:An.blur)==null||Mn.call(An)},Tn=An=>{$("focus",An)},xn=An=>{var Mn;$("blur",An),V.validateEvent&&((Mn=de==null?void 0:de.validate)==null||Mn.call(de,"blur").catch(Vn=>void 0))};return watch(()=>V.modelValue,An=>{const Mn=Cn(ue.userInput),Vn=Cn(An,!0);!isNumber$4(Mn)&&(!Mn||Mn!==Vn)&&(ue.currentValue=Vn,ue.userInput=null)},{immediate:!0}),onMounted(()=>{var An;const{min:Mn,max:Vn,modelValue:Bn}=V,Dn=(An=le.value)==null?void 0:An.input;if(Dn.setAttribute("role","spinbutton"),Number.isFinite(Vn)?Dn.setAttribute("aria-valuemax",String(Vn)):Dn.removeAttribute("aria-valuemax"),Number.isFinite(Mn)?Dn.setAttribute("aria-valuemin",String(Mn)):Dn.removeAttribute("aria-valuemin"),Dn.setAttribute("aria-valuenow",ue.currentValue||ue.currentValue===0?String(ue.currentValue):""),Dn.setAttribute("aria-disabled",String(Ve.value)),!isNumber$4(Bn)&&Bn!=null){let Ln=Number(Bn);Number.isNaN(Ln)&&(Ln=null),$(UPDATE_MODEL_EVENT,Ln)}}),onUpdated(()=>{var An,Mn;const Vn=(An=le.value)==null?void 0:An.input;Vn==null||Vn.setAttribute("aria-valuenow",`${(Mn=ue.currentValue)!=null?Mn:""}`)}),r({focus:wn,blur:$n}),(An,Mn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ie).b(),unref(ie).m(unref(Ie)),unref(ie).is("disabled",unref(Ve)),unref(ie).is("without-controls",!An.controls),unref(ie).is("controls-right",unref($e))]),onDragstart:Mn[1]||(Mn[1]=withModifiers(()=>{},["prevent"]))},[An.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(oe)("el.inputNumber.decrease"),class:normalizeClass([unref(ie).e("decrease"),unref(ie).is("disabled",unref(pe))]),onKeydown:withKeys(hn,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref($e)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})],42,_hoisted_1$v)),[[unref(vRepeatClick),hn]]):createCommentVNode("v-if",!0),An.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(oe)("el.inputNumber.increase"),class:normalizeClass([unref(ie).e("increase"),unref(ie).is("disabled",unref(he))]),onKeydown:withKeys(Lt,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref($e)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})],42,_hoisted_2$l)),[[unref(vRepeatClick),Lt]]):createCommentVNode("v-if",!0),createVNode(unref(ElInput),{id:An.id,ref_key:"input",ref:le,type:"number",step:An.step,"model-value":unref(Fe),placeholder:An.placeholder,readonly:An.readonly,disabled:unref(Ve),size:unref(Ie),max:An.max,min:An.min,name:An.name,label:An.label,"validate-event":!1,onWheel:Mn[0]||(Mn[0]=withModifiers(()=>{},["prevent"])),onKeydown:[withKeys(withModifiers(Lt,["prevent"]),["up"]),withKeys(withModifiers(hn,["prevent"]),["down"])],onBlur:xn,onFocus:Tn,onInput:Sn,onChange:En},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$u=["href"],__default__$G=defineComponent({name:"ElLink"}),_sfc_main$_=defineComponent({...__default__$G,props:linkProps,emits:linkEmits,setup(t,{emit:r}){const $=t,V=useNamespace("link"),oe=computed(()=>[V.b(),V.m($.type),V.is("disabled",$.disabled),V.is("underline",$.underline&&!$.disabled)]);function ie(le){$.disabled||r("click",le)}return(le,ue)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(oe)),href:le.disabled||!le.href?void 0:le.href,onClick:ie},[le.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(le.icon)))]),_:1})):createCommentVNode("v-if",!0),le.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(V).e("inner"))},[renderSlot(le.$slots,"default")],2)):createCommentVNode("v-if",!0),le.$slots.icon?renderSlot(le.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,_hoisted_1$u))}});var Link=_export_sfc$1(_sfc_main$_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);const ElLink=withInstall(Link);let SubMenu$1=class{constructor(r,$){this.parent=r,this.domNode=$,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,$=>{$.addEventListener("keydown",V=>{let oe=!1;switch(V.code){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),oe=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),oe=!0;break}case EVENT_CODE.tab:{triggerEvent(r,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{oe=!0,V.currentTarget.click();break}}return oe&&(V.preventDefault(),V.stopPropagation()),!1})})}},MenuItem$1=class{constructor(r,$){this.domNode=r,this.submenu=null,this.submenu=null,this.init($)}init(r){this.domNode.setAttribute("tabindex","0");const $=this.domNode.querySelector(`.${r}-menu`);$&&(this.submenu=new SubMenu$1(this,$)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",r=>{let $=!1;switch(r.code){case EVENT_CODE.down:{triggerEvent(r.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),$=!0;break}case EVENT_CODE.up:{triggerEvent(r.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),$=!0;break}case EVENT_CODE.tab:{triggerEvent(r.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{$=!0,r.currentTarget.click();break}}$&&r.preventDefault()})}},Menu$1=class{constructor(r,$){this.domNode=r,this.init($)}init(r){const $=this.domNode.childNodes;Array.from($).forEach(V=>{V.nodeType===1&&new MenuItem$1(V,r)})}};const _sfc_main$Z=defineComponent({name:"ElMenuCollapseTransition",setup(){const t=useNamespace("menu");return{listeners:{onBeforeEnter:$=>$.style.opacity="0.2",onEnter($,V){addClass($,`${t.namespace.value}-opacity-transition`),$.style.opacity="1",V()},onAfterEnter($){removeClass($,`${t.namespace.value}-opacity-transition`),$.style.opacity=""},onBeforeLeave($){$.dataset||($.dataset={}),hasClass($,t.m("collapse"))?(removeClass($,t.m("collapse")),$.dataset.oldOverflow=$.style.overflow,$.dataset.scrollWidth=$.clientWidth.toString(),addClass($,t.m("collapse"))):(addClass($,t.m("collapse")),$.dataset.oldOverflow=$.style.overflow,$.dataset.scrollWidth=$.clientWidth.toString(),removeClass($,t.m("collapse"))),$.style.width=`${$.scrollWidth}px`,$.style.overflow="hidden"},onLeave($){addClass($,"horizontal-collapse-transition"),$.style.width=`${$.dataset.scrollWidth}px`}}}}});function _sfc_render$f(t,r,$,V,oe,ie){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$Z,[["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 $=computed(()=>{let oe=t.parent;const ie=[r.value];for(;oe.type.name!=="ElMenu";)oe.props.index&&ie.unshift(oe.props.index),oe=oe.parent;return ie});return{parentMenu:computed(()=>{let oe=t.parent;for(;oe&&!["ElMenu","ElSubMenu"].includes(oe.type.name);)oe=oe.parent;return oe}),indexPath:$}}function useMenuColor(t){return computed(()=>{const $=t.backgroundColor;return $?new TinyColor($).shade(20).toString():""})}const useMenuCssVar=(t,r)=>{const $=useNamespace("menu");return computed(()=>$.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:$}){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 V=getCurrentInstance(),{indexPath:oe,parentMenu:ie}=useMenu(V,computed(()=>t.index)),le=useNamespace("menu"),ue=useNamespace("sub-menu"),de=inject("rootMenu");de||throwError$1(COMPONENT_NAME$c,"can not inject root menu");const pe=inject(`subMenu:${ie.value.uid}`);pe||throwError$1(COMPONENT_NAME$c,"can not inject sub menu");const he=ref({}),_e=ref({});let $e;const Ie=ref(!1),Ve=ref(),Fe=ref(null),Ue=computed(()=>Tn.value==="horizontal"&&Et.value?"bottom-start":"right-start"),qe=computed(()=>Tn.value==="horizontal"&&Et.value||Tn.value==="vertical"&&!de.props.collapse?t.expandCloseIcon&&t.expandOpenIcon?bn.value?t.expandOpenIcon:t.expandCloseIcon:arrow_down_default:t.collapseCloseIcon&&t.collapseOpenIcon?bn.value?t.collapseOpenIcon:t.collapseCloseIcon:arrow_right_default),Et=computed(()=>pe.level===0),Lt=computed(()=>{var Fn;const Un=(Fn=t.teleported)!=null?Fn:t.popperAppendToBody;return Un===void 0?Et.value:Un}),hn=computed(()=>de.props.collapse?`${le.namespace.value}-zoom-in-left`:`${le.namespace.value}-zoom-in-top`),Cn=computed(()=>Tn.value==="horizontal"&&Et.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"]),bn=computed(()=>de.openedMenus.includes(t.index)),Sn=computed(()=>{let Fn=!1;return Object.values(he.value).forEach(Un=>{Un.active&&(Fn=!0)}),Object.values(_e.value).forEach(Un=>{Un.active&&(Fn=!0)}),Fn}),En=computed(()=>de.props.backgroundColor||""),wn=computed(()=>de.props.activeTextColor||""),$n=computed(()=>de.props.textColor||""),Tn=computed(()=>de.props.mode),xn=reactive({index:t.index,indexPath:oe,active:Sn}),An=useMenuCssVar(de.props,pe.level+1),Mn=computed(()=>Tn.value!=="horizontal"?{color:$n.value}:{borderBottomColor:Sn.value?de.props.activeTextColor?wn.value:"":"transparent",color:Sn.value?wn.value:$n.value}),Vn=()=>{var Fn,Un,Wn;return(Wn=(Un=(Fn=Fe.value)==null?void 0:Fn.popperRef)==null?void 0:Un.popperInstanceRef)==null?void 0:Wn.destroy()},Bn=Fn=>{Fn||Vn()},Dn=()=>{de.props.menuTrigger==="hover"&&de.props.mode==="horizontal"||de.props.collapse&&de.props.mode==="vertical"||t.disabled||de.handleSubMenuClick({index:t.index,indexPath:oe.value,active:Sn.value})},Ln=(Fn,Un=t.showTimeout)=>{var Wn;Fn.type!=="focus"&&(de.props.menuTrigger==="click"&&de.props.mode==="horizontal"||!de.props.collapse&&de.props.mode==="vertical"||t.disabled||(pe.mouseInChild.value=!0,$e==null||$e(),{stop:$e}=useTimeoutFn$1(()=>{de.openMenu(t.index,oe.value)},Un),Lt.value&&((Wn=ie.value.vnode.el)==null||Wn.dispatchEvent(new MouseEvent("mouseenter")))))},Pn=(Fn=!1)=>{var Un,Wn;de.props.menuTrigger==="click"&&de.props.mode==="horizontal"||!de.props.collapse&&de.props.mode==="vertical"||($e==null||$e(),pe.mouseInChild.value=!1,{stop:$e}=useTimeoutFn$1(()=>!Ie.value&&de.closeMenu(t.index,oe.value),t.hideTimeout),Lt.value&&Fn&&((Un=V.parent)==null?void 0:Un.type.name)==="ElSubMenu"&&((Wn=pe.handleMouseleave)==null||Wn.call(pe,!0)))};watch(()=>de.props.collapse,Fn=>Bn(!!Fn));{const Fn=Wn=>{_e.value[Wn.index]=Wn},Un=Wn=>{delete _e.value[Wn.index]};provide(`subMenu:${V.uid}`,{addSubMenu:Fn,removeSubMenu:Un,handleMouseleave:Pn,mouseInChild:Ie,level:pe.level+1})}return $({opened:bn}),onMounted(()=>{de.addSubMenu(xn),pe.addSubMenu(xn)}),onBeforeUnmount(()=>{pe.removeSubMenu(xn),de.removeSubMenu(xn)}),()=>{var Fn;const Un=[(Fn=r.title)==null?void 0:Fn.call(r),h$2(ElIcon,{class:ue.e("icon-arrow"),style:{transform:bn.value?t.expandCloseIcon&&t.expandOpenIcon||t.collapseCloseIcon&&t.collapseOpenIcon&&de.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$6(qe.value)?h$2(V.appContext.components[qe.value]):h$2(qe.value)})],Wn=de.isMenuPopup?h$2(ElTooltip,{ref:Fe,visible:bn.value,effect:"light",pure:!0,offset:t.popperOffset,showArrow:!1,persistent:!0,popperClass:t.popperClass,placement:Ue.value,teleported:Lt.value,fallbackPlacements:Cn.value,transition:hn.value,gpuAcceleration:!1},{content:()=>{var Zn;return h$2("div",{class:[le.m(Tn.value),le.m("popup-container"),t.popperClass],onMouseenter:or=>Ln(or,100),onMouseleave:()=>Pn(!0),onFocus:or=>Ln(or,100)},[h$2("ul",{class:[le.b(),le.m("popup"),le.m(`popup-${Ue.value}`)],style:An.value},[(Zn=r.default)==null?void 0:Zn.call(r)])])},default:()=>h$2("div",{class:ue.e("title"),style:[Mn.value,{backgroundColor:En.value}],onClick:Dn},Un)}):h$2(Fragment,{},[h$2("div",{class:ue.e("title"),style:[Mn.value,{backgroundColor:En.value}],ref:Ve,onClick:Dn},Un),h$2(_CollapseTransition,{},{default:()=>{var Zn;return withDirectives(h$2("ul",{role:"menu",class:[le.b(),le.m("inline")],style:An.value},[(Zn=r.default)==null?void 0:Zn.call(r)]),[[vShow,bn.value]])}})]);return h$2("li",{class:[ue.b(),ue.is("active",Sn.value),ue.is("opened",bn.value),ue.is("disabled",t.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:bn.value,onMouseenter:Ln,onMouseleave:()=>Pn(!0),onFocus:Ln},[Wn])}}});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)=>isString$6(t)&&checkIndexPath(r)&&isObject$a($)&&(V===void 0||V instanceof Promise)};var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(t,{emit:r,slots:$,expose:V}){const oe=getCurrentInstance(),ie=oe.appContext.config.globalProperties.$router,le=ref(),ue=useNamespace("menu"),de=useNamespace("sub-menu"),pe=ref(-1),he=ref(t.defaultOpeneds&&!t.collapse?t.defaultOpeneds.slice(0):[]),_e=ref(t.defaultActive),$e=ref({}),Ie=ref({}),Ve=computed(()=>t.mode==="horizontal"||t.mode==="vertical"&&t.collapse),Fe=()=>{const Tn=_e.value&&$e.value[_e.value];if(!Tn||t.mode==="horizontal"||t.collapse)return;Tn.indexPath.forEach(An=>{const Mn=Ie.value[An];Mn&&Ue(An,Mn.indexPath)})},Ue=(Tn,xn)=>{he.value.includes(Tn)||(t.uniqueOpened&&(he.value=he.value.filter(An=>xn.includes(An))),he.value.push(Tn),r("open",Tn,xn))},qe=Tn=>{const xn=he.value.indexOf(Tn);xn!==-1&&he.value.splice(xn,1)},Et=(Tn,xn)=>{qe(Tn),r("close",Tn,xn)},Lt=({index:Tn,indexPath:xn})=>{he.value.includes(Tn)?Et(Tn,xn):Ue(Tn,xn)},hn=Tn=>{(t.mode==="horizontal"||t.collapse)&&(he.value=[]);const{index:xn,indexPath:An}=Tn;if(!(isNil(xn)||isNil(An)))if(t.router&&ie){const Mn=Tn.route||xn,Vn=ie.push(Mn).then(Bn=>(Bn||(_e.value=xn),Bn));r("select",xn,An,{index:xn,indexPath:An,route:Mn},Vn)}else _e.value=xn,r("select",xn,An,{index:xn,indexPath:An})},Cn=Tn=>{const xn=$e.value,An=xn[Tn]||_e.value&&xn[_e.value]||xn[t.defaultActive];An?_e.value=An.index:_e.value=Tn},bn=()=>{var Tn,xn;if(!le.value)return-1;const An=Array.from((xn=(Tn=le.value)==null?void 0:Tn.childNodes)!=null?xn:[]).filter(Fn=>Fn.nodeName!=="#comment"&&(Fn.nodeName!=="#text"||Fn.nodeValue)),Mn=64,Vn=Number.parseInt(getComputedStyle(le.value).paddingLeft,10),Bn=Number.parseInt(getComputedStyle(le.value).paddingRight,10),Dn=le.value.clientWidth-Vn-Bn;let Ln=0,Pn=0;return An.forEach((Fn,Un)=>{Ln+=Fn.offsetWidth||0,Ln<=Dn-Mn&&(Pn=Un+1)}),Pn===An.length?-1:Pn},Sn=(Tn,xn=33.34)=>{let An;return()=>{An&&clearTimeout(An),An=setTimeout(()=>{Tn()},xn)}};let En=!0;const wn=()=>{const Tn=()=>{pe.value=-1,nextTick(()=>{pe.value=bn()})};En?Tn():Sn(Tn)(),En=!1};watch(()=>t.defaultActive,Tn=>{$e.value[Tn]||(_e.value=""),Cn(Tn)}),watch(()=>t.collapse,Tn=>{Tn&&(he.value=[])}),watch($e.value,Fe);let $n;watchEffect(()=>{t.mode==="horizontal"&&t.ellipsis?$n=useResizeObserver$1(le,wn).stop:$n==null||$n()});{const Tn=Vn=>{Ie.value[Vn.index]=Vn},xn=Vn=>{delete Ie.value[Vn.index]};provide("rootMenu",reactive({props:t,openedMenus:he,items:$e,subMenus:Ie,activeIndex:_e,isMenuPopup:Ve,addMenuItem:Vn=>{$e.value[Vn.index]=Vn},removeMenuItem:Vn=>{delete $e.value[Vn.index]},addSubMenu:Tn,removeSubMenu:xn,openMenu:Ue,closeMenu:Et,handleMenuItemClick:hn,handleSubMenuClick:Lt})),provide(`subMenu:${oe.uid}`,{addSubMenu:Tn,removeSubMenu:xn,mouseInChild:ref(!1),level:0})}return onMounted(()=>{t.mode==="horizontal"&&new Menu$1(oe.vnode.el,ue.namespace.value)}),V({open:xn=>{const{indexPath:An}=Ie.value[xn];An.forEach(Mn=>Ue(Mn,An))},close:qe,handleResize:wn}),()=>{var Tn,xn;let An=(xn=(Tn=$.default)==null?void 0:Tn.call($))!=null?xn:[];const Mn=[];if(t.mode==="horizontal"&&le.value){const Dn=flattedChildren(An),Ln=pe.value===-1?Dn:Dn.slice(0,pe.value),Pn=pe.value===-1?[]:Dn.slice(pe.value);Pn!=null&&Pn.length&&t.ellipsis&&(An=Ln,Mn.push(h$2(SubMenu,{index:"sub-menu-more",class:de.e("hide-arrow")},{title:()=>h$2(ElIcon,{class:de.e("icon-more")},{default:()=>h$2(more_default)}),default:()=>Pn})))}const Vn=useMenuCssVar(t,0),Bn=h$2("ul",{key:String(t.collapse),role:"menubar",ref:le,style:Vn.value,class:{[ue.b()]:!0,[ue.m(t.mode)]:!0,[ue.m("collapse")]:t.collapse}},[...An,...Mn]);return t.collapseTransition&&t.mode==="vertical"?h$2(ElMenuCollapseTransition,()=>Bn):Bn}}});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$Y=defineComponent({name:COMPONENT_NAME$b,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup(t,{emit:r}){const $=getCurrentInstance(),V=inject("rootMenu"),oe=useNamespace("menu"),ie=useNamespace("menu-item");V||throwError$1(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:le,indexPath:ue}=useMenu($,toRef(t,"index")),de=inject(`subMenu:${le.value.uid}`);de||throwError$1(COMPONENT_NAME$b,"can not inject sub menu");const pe=computed(()=>t.index===V.activeIndex),he=reactive({index:t.index,indexPath:ue,active:pe}),_e=()=>{t.disabled||(V.handleMenuItemClick({index:t.index,indexPath:ue.value,route:t.route}),r("click",he))};return onMounted(()=>{de.addSubMenu(he),V.addMenuItem(he)}),onBeforeUnmount(()=>{de.removeSubMenu(he),V.removeMenuItem(he)}),{parentMenu:le,rootMenu:V,active:pe,nsMenu:oe,nsMenuItem:ie,handleClick:_e}}});function _sfc_render$e(t,r,$,V,oe,ie){const le=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]=(...ue)=>t.handleClick&&t.handleClick(...ue))},[t.parentMenu.type.name==="ElMenu"&&t.rootMenu.props.collapse&&t.$slots.title?(openBlock(),createBlock(le,{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$Y,[["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$X=defineComponent({name:COMPONENT_NAME$a,props:menuItemGroupProps,setup(){return{ns:useNamespace("menu-item-group")}}});function _sfc_render$d(t,r,$,V,oe,ie){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$X,[["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$t=["aria-label"],__default__$F=defineComponent({name:"ElPageHeader"}),_sfc_main$W=defineComponent({...__default__$F,props:pageHeaderProps,emits:pageHeaderEmits,setup(t,{emit:r}){const $=useSlots(),{t:V}=useLocale(),oe=useNamespace("page-header"),ie=computed(()=>[oe.b(),{[oe.m("has-breadcrumb")]:!!$.breadcrumb,[oe.m("has-extra")]:!!$.extra,[oe.is("contentful")]:!!$.default}]);function le(){r("back")}return(ue,de)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ie))},[ue.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("breadcrumb"))},[renderSlot(ue.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(oe).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(oe).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(oe).e("back")),role:"button",tabindex:"0",onClick:le},[ue.icon||ue.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":ue.title||unref(V)("el.pageHeader.title"),class:normalizeClass(unref(oe).e("icon"))},[renderSlot(ue.$slots,"icon",{},()=>[ue.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ue.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$t)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(oe).e("title"))},[renderSlot(ue.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(ue.title||unref(V)("el.pageHeader.title")),1)])],2)],2),createVNode(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(oe).e("content"))},[renderSlot(ue.$slots,"content",{},()=>[createTextVNode(toDisplayString$1(ue.content),1)])],2)],2),ue.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("extra"))},[renderSlot(ue.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),ue.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(oe).e("main"))},[renderSlot(ue.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc$1(_sfc_main$W,[["__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$s=["disabled","aria-label","aria-disabled"],_hoisted_2$k={key:0},__default__$E=defineComponent({name:"ElPaginationPrev"}),_sfc_main$V=defineComponent({...__default__$E,props:paginationPrevProps,emits:paginationPrevEmits,setup(t){const r=t,{t:$}=useLocale(),V=computed(()=>r.disabled||r.currentPage<=1);return(oe,ie)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(V),"aria-label":oe.prevText||unref($)("el.pagination.prev"),"aria-disabled":unref(V),onClick:ie[0]||(ie[0]=le=>oe.$emit("click",le))},[oe.prevText?(openBlock(),createElementBlock("span",_hoisted_2$k,toDisplayString$1(oe.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.prevIcon)))]),_:1}))],8,_hoisted_1$s))}});var Prev=_export_sfc$1(_sfc_main$V,[["__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$r=["disabled","aria-label","aria-disabled"],_hoisted_2$j={key:0},__default__$D=defineComponent({name:"ElPaginationNext"}),_sfc_main$U=defineComponent({...__default__$D,props:paginationNextProps,emits:["click"],setup(t){const r=t,{t:$}=useLocale(),V=computed(()=>r.disabled||r.currentPage===r.pageCount||r.pageCount===0);return(oe,ie)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(V),"aria-label":oe.nextText||unref($)("el.pagination.next"),"aria-disabled":unref(V),onClick:ie[0]||(ie[0]=le=>oe.$emit("click",le))},[oe.nextText?(openBlock(),createElementBlock("span",_hoisted_2$j,toDisplayString$1(oe.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.nextIcon)))]),_:1}))],8,_hoisted_1$r))}});var Next=_export_sfc$1(_sfc_main$U,[["__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 $=inject(selectKey),V=inject(selectGroupKey,{disabled:!1}),oe=computed(()=>Object.prototype.toString.call(t.value).toLowerCase()==="[object object]"),ie=computed(()=>$.props.multiple?_e($.props.modelValue,t.value):$e(t.value,$.props.modelValue)),le=computed(()=>{if($.props.multiple){const Fe=$.props.modelValue||[];return!ie.value&&Fe.length>=$.props.multipleLimit&&$.props.multipleLimit>0}else return!1}),ue=computed(()=>t.label||(oe.value?"":t.value)),de=computed(()=>t.value||t.label||""),pe=computed(()=>t.disabled||r.groupDisabled||le.value),he=getCurrentInstance(),_e=(Fe=[],Ue)=>{if(oe.value){const qe=$.props.valueKey;return Fe&&Fe.some(Et=>toRaw(get$1(Et,qe))===get$1(Ue,qe))}else return Fe&&Fe.includes(Ue)},$e=(Fe,Ue)=>{if(oe.value){const{valueKey:qe}=$.props;return get$1(Fe,qe)===get$1(Ue,qe)}else return Fe===Ue},Ie=()=>{!t.disabled&&!V.disabled&&($.hoverIndex=$.optionsArray.indexOf(he.proxy))};watch(()=>ue.value,()=>{!t.created&&!$.props.remote&&$.setSelected()}),watch(()=>t.value,(Fe,Ue)=>{const{remote:qe,valueKey:Et}=$.props;if(Object.is(Fe,Ue)||($.onOptionDestroy(Ue,he.proxy),$.onOptionCreate(he.proxy)),!t.created&&!qe){if(Et&&typeof Fe=="object"&&typeof Ue=="object"&&Fe[Et]===Ue[Et])return;$.setSelected()}}),watch(()=>V.disabled,()=>{r.groupDisabled=V.disabled},{immediate:!0});const{queryChange:Ve}=toRaw($);return watch(Ve,Fe=>{const{query:Ue}=unref(Fe),qe=new RegExp(escapeStringRegexp(Ue),"i");r.visible=qe.test(ue.value)||t.created,r.visible||$.filteredOptionsCount--},{immediate:!0}),{select:$,currentLabel:ue,currentValue:de,itemSelected:ie,isDisabled:pe,hoverItem:Ie}}const _sfc_main$T=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"),$=computed(()=>[r.be("dropdown","item"),r.is("disabled",unref(le)),{selected:unref(ie),hover:unref(he)}]),V=reactive({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:oe,itemSelected:ie,isDisabled:le,select:ue,hoverItem:de}=useOption$1(t,V),{visible:pe,hover:he}=toRefs(V),_e=getCurrentInstance().proxy;ue.onOptionCreate(_e),onBeforeUnmount(()=>{const Ie=_e.value,{selected:Ve}=ue,Ue=(ue.props.multiple?Ve:[Ve]).some(qe=>qe.value===_e.value);nextTick(()=>{ue.cachedOptions.get(Ie)===_e&&!Ue&&ue.cachedOptions.delete(Ie)}),ue.onOptionDestroy(Ie,_e)});function $e(){t.disabled!==!0&&V.groupDisabled!==!0&&ue.handleOptionSelect(_e)}return{ns:r,containerKls:$,currentLabel:oe,itemSelected:ie,isDisabled:le,select:ue,hoverItem:de,visible:pe,hover:he,selectOptionClick:$e,states:V}}});function _sfc_render$c(t,r,$,V,oe,ie){return withDirectives((openBlock(),createElementBlock("li",{class:normalizeClass(t.containerKls),onMouseenter:r[0]||(r[0]=(...le)=>t.hoverItem&&t.hoverItem(...le)),onClick:r[1]||(r[1]=withModifiers((...le)=>t.selectOptionClick&&t.selectOptionClick(...le),["stop"]))},[renderSlot(t.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString$1(t.currentLabel),1)])],34)),[[vShow,t.visible]])}var Option=_export_sfc$1(_sfc_main$T,[["render",_sfc_render$c],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const _sfc_main$S=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const t=inject(selectKey),r=useNamespace("select"),$=computed(()=>t.props.popperClass),V=computed(()=>t.props.multiple),oe=computed(()=>t.props.fitInputWidth),ie=ref("");function le(){var ue;ie.value=`${(ue=t.selectWrapper)==null?void 0:ue.offsetWidth}px`}return onMounted(()=>{le(),useResizeObserver$1(t.selectWrapper,le)}),{ns:r,minWidth:ie,popperClass:$,isMultiple:V,isFitInputWidth:oe}}});function _sfc_render$b(t,r,$,V,oe,ie){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$S,[["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,$)=>{const{t:V}=useLocale(),oe=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 ie=ref(null),le=ref(null),ue=ref(null),de=ref(null),pe=ref(null),he=ref(null),_e=ref(null),$e=ref(null),Ie=ref(-1),Ve=shallowRef({query:""}),Fe=shallowRef(""),Ue=ref([]);let qe=0;const{form:Et,formItem:Lt}=useFormItem(),hn=computed(()=>!t.filterable||t.multiple||!r.visible),Cn=computed(()=>t.disabled||(Et==null?void 0:Et.disabled)),bn=computed(()=>{const hr=t.multiple?Array.isArray(t.modelValue)&&t.modelValue.length>0:t.modelValue!==void 0&&t.modelValue!==null&&t.modelValue!=="";return t.clearable&&!Cn.value&&r.inputHovering&&hr}),Sn=computed(()=>t.remote&&t.filterable&&!t.remoteShowSuffix?"":t.suffixIcon),En=computed(()=>oe.is("reverse",Sn.value&&r.visible&&t.suffixTransition)),wn=computed(()=>(Et==null?void 0:Et.statusIcon)&&(Lt==null?void 0:Lt.validateState)&&ValidateComponentsMap[Lt==null?void 0:Lt.validateState]),$n=computed(()=>t.remote?300:0),Tn=computed(()=>t.loading?t.loadingText||V("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||V("el.select.noMatch"):r.options.size===0?t.noDataText||V("el.select.noData"):null),xn=computed(()=>{const hr=Array.from(r.options.values()),xr=[];return Ue.value.forEach(ir=>{const Pr=hr.findIndex(zr=>zr.currentLabel===ir);Pr>-1&&xr.push(hr[Pr])}),xr.length>=hr.length?xr:hr}),An=computed(()=>Array.from(r.cachedOptions.values())),Mn=computed(()=>{const hr=xn.value.filter(xr=>!xr.created).some(xr=>xr.currentLabel===r.query);return t.filterable&&t.allowCreate&&r.query!==""&&!hr}),Vn=useFormSize(),Bn=computed(()=>["small"].includes(Vn.value)?"small":"default"),Dn=computed({get(){return r.visible&&Tn.value!==!1},set(hr){r.visible=hr}});watch([()=>Cn.value,()=>Vn.value,()=>Et==null?void 0:Et.size],()=>{nextTick(()=>{Ln()})}),watch(()=>t.placeholder,hr=>{r.cachedPlaceHolder=r.currentPlaceholder=hr,t.multiple&&Array.isArray(t.modelValue)&&t.modelValue.length>0&&(r.currentPlaceholder="")}),watch(()=>t.modelValue,(hr,xr)=>{t.multiple&&(Ln(),hr&&hr.length>0||le.value&&r.query!==""?r.currentPlaceholder="":r.currentPlaceholder=r.cachedPlaceHolder,t.filterable&&!t.reserveKeyword&&(r.query="",Pn(r.query))),Wn(),t.filterable&&!t.multiple&&(r.inputLength=20),!isEqual$1(hr,xr)&&t.validateEvent&&(Lt==null||Lt.validate("change").catch(ir=>void 0))},{flush:"post",deep:!0}),watch(()=>r.visible,hr=>{var xr,ir,Pr,zr,Ir;hr?((ir=(xr=de.value)==null?void 0:xr.updatePopper)==null||ir.call(xr),t.filterable&&(r.filteredOptionsCount=r.optionsCount,r.query=t.remote?"":r.selectedLabel,(zr=(Pr=ue.value)==null?void 0:Pr.focus)==null||zr.call(Pr),t.multiple?(Ir=le.value)==null||Ir.focus():r.selectedLabel&&(r.currentPlaceholder=`${r.selectedLabel}`,r.selectedLabel=""),Pn(r.query),!t.multiple&&!t.remote&&(Ve.value.query="",triggerRef(Ve),triggerRef(Fe)))):(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,or(),nextTick(()=>{le.value&&le.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))),$.emit("visible-change",hr)}),watch(()=>r.options.entries(),()=>{var hr,xr,ir;if(!isClient$1)return;(xr=(hr=de.value)==null?void 0:hr.updatePopper)==null||xr.call(hr),t.multiple&&Ln();const Pr=((ir=_e.value)==null?void 0:ir.querySelectorAll("input"))||[];(!t.filterable&&!t.defaultFirstOption&&!isUndefined$1(t.modelValue)||!Array.from(Pr).includes(document.activeElement))&&Wn(),t.defaultFirstOption&&(t.filterable||t.remote)&&r.filteredOptionsCount&&Un()},{flush:"post"}),watch(()=>r.hoverIndex,hr=>{isNumber$4(hr)&&hr>-1?Ie.value=xn.value[hr]||{}:Ie.value={},xn.value.forEach(xr=>{xr.hover=Ie.value===xr})});const Ln=()=>{nextTick(()=>{var hr,xr;if(!ie.value)return;const ir=ie.value.$el.querySelector("input");qe=qe||(ir.clientHeight>0?ir.clientHeight+2:0);const Pr=he.value,zr=getComponentSize(Vn.value||(Et==null?void 0:Et.size)),Ir=Vn.value||zr===qe||qe<=0?zr:qe;!(ir.offsetParent===null)&&(ir.style.height=`${(r.selected.length===0?Ir:Math.max(Pr?Pr.clientHeight+(Pr.clientHeight>Ir?6:0):0,Ir))-2}px`),r.visible&&Tn.value!==!1&&((xr=(hr=de.value)==null?void 0:hr.updatePopper)==null||xr.call(hr))})},Pn=async hr=>{if(!(r.previousQuery===hr||r.isOnComposition)){if(r.previousQuery===null&&(isFunction$5(t.filterMethod)||isFunction$5(t.remoteMethod))){r.previousQuery=hr;return}r.previousQuery=hr,nextTick(()=>{var xr,ir;r.visible&&((ir=(xr=de.value)==null?void 0:xr.updatePopper)==null||ir.call(xr))}),r.hoverIndex=-1,t.multiple&&t.filterable&&nextTick(()=>{if(!Cn.value){const xr=le.value.value.length*15+20;r.inputLength=t.collapseTags?Math.min(50,xr):xr,Fn()}Ln()}),t.remote&&isFunction$5(t.remoteMethod)?(r.hoverIndex=-1,t.remoteMethod(hr)):isFunction$5(t.filterMethod)?(t.filterMethod(hr),triggerRef(Fe)):(r.filteredOptionsCount=r.optionsCount,Ve.value.query=hr,triggerRef(Ve),triggerRef(Fe)),t.defaultFirstOption&&(t.filterable||t.remote)&&r.filteredOptionsCount&&(await nextTick(),Un())}},Fn=()=>{r.currentPlaceholder!==""&&(r.currentPlaceholder=le.value.value?"":r.cachedPlaceHolder)},Un=()=>{const hr=xn.value.filter(Pr=>Pr.visible&&!Pr.disabled&&!Pr.states.groupDisabled),xr=hr.find(Pr=>Pr.created),ir=hr[0];r.hoverIndex=_r(xn.value,xr||ir)},Wn=()=>{var hr;if(t.multiple)r.selectedLabel="";else{const ir=Zn(t.modelValue);(hr=ir.props)!=null&&hr.created?(r.createdLabel=ir.props.value,r.createdSelected=!0):r.createdSelected=!1,r.selectedLabel=ir.currentLabel,r.selected=ir,t.filterable&&(r.query=r.selectedLabel);return}const xr=[];Array.isArray(t.modelValue)&&t.modelValue.forEach(ir=>{xr.push(Zn(ir))}),r.selected=xr,nextTick(()=>{Ln()})},Zn=hr=>{let xr;const ir=toRawType(hr).toLowerCase()==="object",Pr=toRawType(hr).toLowerCase()==="null",zr=toRawType(hr).toLowerCase()==="undefined";for(let Yr=r.cachedOptions.size-1;Yr>=0;Yr--){const Jr=An.value[Yr];if(ir?get$1(Jr.value,t.valueKey)===get$1(hr,t.valueKey):Jr.value===hr){xr={value:hr,currentLabel:Jr.currentLabel,isDisabled:Jr.isDisabled};break}}if(xr)return xr;const Ir=ir?hr.label:!Pr&&!zr?hr:"",Wr={value:hr,currentLabel:Ir};return t.multiple&&(Wr.hitState=!1),Wr},or=()=>{setTimeout(()=>{const hr=t.valueKey;t.multiple?r.selected.length>0?r.hoverIndex=Math.min.apply(null,r.selected.map(xr=>xn.value.findIndex(ir=>get$1(ir,hr)===get$1(xr,hr)))):r.hoverIndex=-1:r.hoverIndex=xn.value.findIndex(xr=>Sr(xr)===Sr(r.selected))},300)},br=()=>{var hr,xr;Qn(),(xr=(hr=de.value)==null?void 0:hr.updatePopper)==null||xr.call(hr),t.multiple&&Ln()},Qn=()=>{var hr;r.inputWidth=(hr=ie.value)==null?void 0:hr.$el.offsetWidth},Gn=()=>{t.filterable&&r.query!==r.selectedLabel&&(r.query=r.selectedLabel,Pn(r.query))},Yn=debounce(()=>{Gn()},$n.value),er=debounce(hr=>{Pn(hr.target.value)},$n.value),lr=hr=>{isEqual$1(t.modelValue,hr)||$.emit(CHANGE_EVENT,hr)},sr=hr=>findLastIndex(hr,xr=>!r.disabledOptions.has(xr)),zn=hr=>{if(hr.code!==EVENT_CODE.delete){if(hr.target.value.length<=0&&!Tr()){const xr=t.modelValue.slice(),ir=sr(xr);if(ir<0)return;xr.splice(ir,1),$.emit(UPDATE_MODEL_EVENT,xr),lr(xr)}hr.target.value.length===1&&t.modelValue.length===0&&(r.currentPlaceholder=r.cachedPlaceHolder)}},Kn=(hr,xr)=>{const ir=r.selected.indexOf(xr);if(ir>-1&&!Cn.value){const Pr=t.modelValue.slice();Pr.splice(ir,1),$.emit(UPDATE_MODEL_EVENT,Pr),lr(Pr),$.emit("remove-tag",xr.value)}hr.stopPropagation(),$r()},Jn=hr=>{hr.stopPropagation();const xr=t.multiple?[]:"";if(!isString$6(xr))for(const ir of r.selected)ir.isDisabled&&xr.push(ir.value);$.emit(UPDATE_MODEL_EVENT,xr),lr(xr),r.hoverIndex=-1,r.visible=!1,$.emit("clear"),$r()},cr=hr=>{var xr;if(t.multiple){const ir=(t.modelValue||[]).slice(),Pr=_r(ir,hr.value);Pr>-1?ir.splice(Pr,1):(t.multipleLimit<=0||ir.length<t.multipleLimit)&&ir.push(hr.value),$.emit(UPDATE_MODEL_EVENT,ir),lr(ir),hr.created&&(r.query="",Pn(""),r.inputLength=20),t.filterable&&((xr=le.value)==null||xr.focus())}else $.emit(UPDATE_MODEL_EVENT,hr.value),lr(hr.value),r.visible=!1;ur(),!r.visible&&nextTick(()=>{wr(hr)})},_r=(hr=[],xr)=>{if(!isObject$a(xr))return hr.indexOf(xr);const ir=t.valueKey;let Pr=-1;return hr.some((zr,Ir)=>toRaw(get$1(zr,ir))===get$1(xr,ir)?(Pr=Ir,!0):!1),Pr},ur=()=>{const hr=le.value||ie.value;hr&&(hr==null||hr.focus())},wr=hr=>{var xr,ir,Pr,zr,Ir;const Wr=Array.isArray(hr)?hr[0]:hr;let Yr=null;if(Wr!=null&&Wr.value){const Jr=xn.value.filter(Qr=>Qr.value===Wr.value);Jr.length>0&&(Yr=Jr[0].$el)}if(de.value&&Yr){const Jr=(zr=(Pr=(ir=(xr=de.value)==null?void 0:xr.popperRef)==null?void 0:ir.contentRef)==null?void 0:Pr.querySelector)==null?void 0:zr.call(Pr,`.${oe.be("dropdown","wrap")}`);Jr&&scrollIntoView(Jr,Yr)}(Ir=$e.value)==null||Ir.handleScroll()},Cr=hr=>{r.optionsCount++,r.filteredOptionsCount++,r.options.set(hr.value,hr),r.cachedOptions.set(hr.value,hr),hr.disabled&&r.disabledOptions.set(hr.value,hr)},mr=(hr,xr)=>{r.options.get(hr)===xr&&(r.optionsCount--,r.filteredOptionsCount--,r.options.delete(hr))},Er=hr=>{hr.code!==EVENT_CODE.backspace&&Tr(!1),r.inputLength=le.value.value.length*15+20,Ln()},Tr=hr=>{if(!Array.isArray(r.selected))return;const xr=sr(r.selected.map(Pr=>Pr.value)),ir=r.selected[xr];if(ir)return hr===!0||hr===!1?(ir.hitState=hr,hr):(ir.hitState=!ir.hitState,ir.hitState)},nr=hr=>{const xr=hr.target.value;if(hr.type==="compositionend")r.isOnComposition=!1,nextTick(()=>Pn(xr));else{const ir=xr[xr.length-1]||"";r.isOnComposition=!isKorean(ir)}},pr=()=>{nextTick(()=>wr(r.selected))},gr=hr=>{r.focused||((t.automaticDropdown||t.filterable)&&(t.filterable&&!r.visible&&(r.menuVisibleOnFocus=!0),r.visible=!0),r.focused=!0,$.emit("focus",hr))},$r=()=>{var hr,xr;r.visible?(hr=le.value||ie.value)==null||hr.focus():(xr=ie.value)==null||xr.focus()},Rr=()=>{var hr,xr,ir;r.visible=!1,(hr=ie.value)==null||hr.blur(),(ir=(xr=ue.value)==null?void 0:xr.blur)==null||ir.call(xr)},Lr=hr=>{var xr,ir,Pr;(xr=de.value)!=null&&xr.isFocusInsideContent(hr)||(ir=pe.value)!=null&&ir.isFocusInsideContent(hr)||(Pr=_e.value)!=null&&Pr.contains(hr.relatedTarget)||(r.visible&&Nr(),r.focused=!1,$.emit("blur",hr))},Vr=hr=>{Jn(hr)},Nr=()=>{r.visible=!1},dr=hr=>{r.visible&&(hr.preventDefault(),hr.stopPropagation(),r.visible=!1)},ar=hr=>{hr&&!r.mouseEnter||Cn.value||(r.menuVisibleOnFocus?r.menuVisibleOnFocus=!1:(!de.value||!de.value.isFocusInsideContent())&&(r.visible=!r.visible),$r())},tr=()=>{r.visible?xn.value[r.hoverIndex]&&cr(xn.value[r.hoverIndex]):ar()},Sr=hr=>isObject$a(hr.value)?get$1(hr.value,t.valueKey):hr.value,qn=computed(()=>xn.value.filter(hr=>hr.visible).every(hr=>hr.disabled)),kr=computed(()=>t.multiple?r.selected.slice(0,t.maxCollapseTags):[]),Dr=computed(()=>t.multiple?r.selected.slice(t.maxCollapseTags):[]),Hr=hr=>{if(!r.visible){r.visible=!0;return}if(!(r.options.size===0||r.filteredOptionsCount===0)&&!r.isOnComposition&&!qn.value){hr==="next"?(r.hoverIndex++,r.hoverIndex===r.options.size&&(r.hoverIndex=0)):hr==="prev"&&(r.hoverIndex--,r.hoverIndex<0&&(r.hoverIndex=r.options.size-1));const xr=xn.value[r.hoverIndex];(xr.disabled===!0||xr.states.groupDisabled===!0||!xr.visible)&&Hr(hr),nextTick(()=>wr(Ie.value))}},Gr=()=>{r.mouseEnter=!0},Kr=()=>{r.mouseEnter=!1},to=(hr,xr)=>{var ir,Pr;Kn(hr,xr),(Pr=(ir=pe.value)==null?void 0:ir.updatePopper)==null||Pr.call(ir)},Zr=computed(()=>({maxWidth:`${unref(r.inputWidth)-32-(wn.value?22:0)}px`,width:"100%"}));return{optionList:Ue,optionsArray:xn,selectSize:Vn,handleResize:br,debouncedOnInputChange:Yn,debouncedQueryChange:er,deletePrevTag:zn,deleteTag:Kn,deleteSelected:Jn,handleOptionSelect:cr,scrollToOption:wr,readonly:hn,resetInputHeight:Ln,showClose:bn,iconComponent:Sn,iconReverse:En,showNewOption:Mn,collapseTagSize:Bn,setSelected:Wn,managePlaceholder:Fn,selectDisabled:Cn,emptyText:Tn,toggleLastOptionHitState:Tr,resetInputState:Er,handleComposition:nr,onOptionCreate:Cr,onOptionDestroy:mr,handleMenuEnter:pr,handleFocus:gr,focus:$r,blur:Rr,handleBlur:Lr,handleClearClick:Vr,handleClose:Nr,handleKeydownEscape:dr,toggleMenu:ar,selectOption:tr,getValueKey:Sr,navigateOptions:Hr,handleDeleteTooltipTag:to,dropMenuVisible:Dn,queryChange:Ve,groupQueryChange:Fe,showTagList:kr,collapseTagList:Dr,selectTagsStyle:Zr,reference:ie,input:le,iOSInput:ue,tooltipRef:de,tagTooltipRef:pe,tags:he,selectWrapper:_e,scrollbar:$e,handleMouseEnter:Gr,handleMouseLeave:Kr}};var ElOptions=defineComponent({name:"ElOptions",emits:["update-options"],setup(t,{slots:r,emit:$}){let V=[];function oe(ie,le){if(ie.length!==le.length)return!1;for(const[ue]of ie.entries())if(ie[ue]!=le[ue])return!1;return!0}return()=>{var ie,le;const ue=(ie=r.default)==null?void 0:ie.call(r),de=[];function pe(he){Array.isArray(he)&&he.forEach(_e=>{var $e,Ie,Ve,Fe;const Ue=($e=(_e==null?void 0:_e.type)||{})==null?void 0:$e.name;Ue==="ElOptionGroup"?pe(!isString$6(_e.children)&&!Array.isArray(_e.children)&&isFunction$5((Ie=_e.children)==null?void 0:Ie.default)?(Ve=_e.children)==null?void 0:Ve.default():_e.children):Ue==="ElOption"?de.push((Fe=_e.props)==null?void 0:Fe.label):Array.isArray(_e.children)&&pe(_e.children)})}return ue.length&&pe((le=ue[0])==null?void 0:le.children),oe(de,V)||(V=de,$("update-options",de)),ue}}});const COMPONENT_NAME$9="ElSelect",_sfc_main$R=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 $=useNamespace("select"),V=useNamespace("input"),{t:oe}=useLocale(),ie=useSelectStates(t),{optionList:le,optionsArray:ue,selectSize:de,readonly:pe,handleResize:he,collapseTagSize:_e,debouncedOnInputChange:$e,debouncedQueryChange:Ie,deletePrevTag:Ve,deleteTag:Fe,deleteSelected:Ue,handleOptionSelect:qe,scrollToOption:Et,setSelected:Lt,resetInputHeight:hn,managePlaceholder:Cn,showClose:bn,selectDisabled:Sn,iconComponent:En,iconReverse:wn,showNewOption:$n,emptyText:Tn,toggleLastOptionHitState:xn,resetInputState:An,handleComposition:Mn,onOptionCreate:Vn,onOptionDestroy:Bn,handleMenuEnter:Dn,handleFocus:Ln,focus:Pn,blur:Fn,handleBlur:Un,handleClearClick:Wn,handleClose:Zn,handleKeydownEscape:or,toggleMenu:br,selectOption:Qn,getValueKey:Gn,navigateOptions:Yn,handleDeleteTooltipTag:er,dropMenuVisible:lr,reference:sr,input:zn,iOSInput:Kn,tooltipRef:Jn,tagTooltipRef:cr,tags:_r,selectWrapper:ur,scrollbar:wr,queryChange:Cr,groupQueryChange:mr,handleMouseEnter:Er,handleMouseLeave:Tr,showTagList:nr,collapseTagList:pr,selectTagsStyle:gr}=useSelect$2(t,ie,r),{inputWidth:$r,selected:Rr,inputLength:Lr,filteredOptionsCount:Vr,visible:Nr,selectedLabel:dr,hoverIndex:ar,query:tr,inputHovering:Sr,currentPlaceholder:qn,menuVisibleOnFocus:kr,isOnComposition:Dr,options:Hr,cachedOptions:Gr,optionsCount:Kr,prefixWidth:to}=toRefs(ie),Zr=computed(()=>{const Qr=[$.b()],no=unref(de);return no&&Qr.push($.m(no)),t.disabled&&Qr.push($.m("disabled")),Qr}),hr=computed(()=>[$.e("tags"),$.is("disabled",unref(Sn))]),xr=computed(()=>[$.b("tags-wrapper"),{"has-prefix":unref(to)&&unref(Rr).length}]),ir=computed(()=>[$.e("input"),$.is(unref(de)),$.is("disabled",unref(Sn))]),Pr=computed(()=>[$.e("input"),$.is(unref(de)),$.em("input","iOS")]),zr=computed(()=>[$.is("empty",!t.allowCreate&&!!unref(tr)&&unref(Vr)===0)]),Ir=computed(()=>({maxWidth:`${unref($r)>123?unref($r)-123:unref($r)-75}px`})),Wr=computed(()=>({marginLeft:`${unref(to)}px`,flexGrow:1,width:`${unref(Lr)/(unref($r)-32)}%`,maxWidth:`${unref($r)-42}px`}));provide(selectKey,reactive({props:t,options:Hr,optionsArray:ue,cachedOptions:Gr,optionsCount:Kr,filteredOptionsCount:Vr,hoverIndex:ar,handleOptionSelect:qe,onOptionCreate:Vn,onOptionDestroy:Bn,selectWrapper:ur,selected:Rr,setSelected:Lt,queryChange:Cr,groupQueryChange:mr})),onMounted(()=>{ie.cachedPlaceHolder=qn.value=t.placeholder||(()=>oe("el.select.placeholder")),t.multiple&&Array.isArray(t.modelValue)&&t.modelValue.length>0&&(qn.value=""),useResizeObserver$1(ur,he),t.remote&&t.multiple&&hn(),nextTick(()=>{const Qr=sr.value&&sr.value.$el;if(Qr&&($r.value=Qr.getBoundingClientRect().width,r.slots.prefix)){const no=Qr.querySelector(`.${V.e("prefix")}`);to.value=Math.max(no.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 Yr=computed(()=>{var Qr,no;return(no=(Qr=Jn.value)==null?void 0:Qr.popperRef)==null?void 0:no.contentRef});return{isIOS:isIOS$1,onOptionsRendered:Qr=>{le.value=Qr},prefixWidth:to,selectSize:de,readonly:pe,handleResize:he,collapseTagSize:_e,debouncedOnInputChange:$e,debouncedQueryChange:Ie,deletePrevTag:Ve,deleteTag:Fe,handleDeleteTooltipTag:er,deleteSelected:Ue,handleOptionSelect:qe,scrollToOption:Et,inputWidth:$r,selected:Rr,inputLength:Lr,filteredOptionsCount:Vr,visible:Nr,selectedLabel:dr,hoverIndex:ar,query:tr,inputHovering:Sr,currentPlaceholder:qn,menuVisibleOnFocus:kr,isOnComposition:Dr,options:Hr,resetInputHeight:hn,managePlaceholder:Cn,showClose:bn,selectDisabled:Sn,iconComponent:En,iconReverse:wn,showNewOption:$n,emptyText:Tn,toggleLastOptionHitState:xn,resetInputState:An,handleComposition:Mn,handleMenuEnter:Dn,handleFocus:Ln,focus:Pn,blur:Fn,handleBlur:Un,handleClearClick:Wn,handleClose:Zn,handleKeydownEscape:or,toggleMenu:br,selectOption:Qn,getValueKey:Gn,navigateOptions:Yn,dropMenuVisible:lr,reference:sr,input:zn,iOSInput:Kn,tooltipRef:Jn,popperPaneRef:Yr,tags:_r,selectWrapper:ur,scrollbar:wr,wrapperKls:Zr,tagsKls:hr,tagWrapperKls:xr,inputKls:ir,iOSInputKls:Pr,scrollbarKls:zr,selectTagsStyle:gr,nsSelect:$,tagTextStyle:Ir,inputStyle:Wr,handleMouseEnter:Er,handleMouseLeave:Tr,showTagList:nr,collapseTagList:pr,tagTooltipRef:cr}}}),_hoisted_1$q=["disabled","autocomplete","aria-label"],_hoisted_2$i=["disabled"],_hoisted_3$b={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function _sfc_render$a(t,r,$,V,oe,ie){const le=resolveComponent("el-tag"),ue=resolveComponent("el-tooltip"),de=resolveComponent("el-icon"),pe=resolveComponent("el-input"),he=resolveComponent("el-option"),_e=resolveComponent("el-options"),$e=resolveComponent("el-scrollbar"),Ie=resolveComponent("el-select-menu"),Ve=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectWrapper",class:normalizeClass(t.wrapperKls),onMouseenter:r[22]||(r[22]=(...Fe)=>t.handleMouseEnter&&t.handleMouseEnter(...Fe)),onMouseleave:r[23]||(r[23]=(...Fe)=>t.handleMouseLeave&&t.handleMouseLeave(...Fe)),onClick:r[24]||(r[24]=withModifiers((...Fe)=>t.toggleMenu&&t.toggleMenu(...Fe),["stop"]))},[createVNode(ue,{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]=Fe=>t.inputHovering=!0),onMouseleave:r[21]||(r[21]=Fe=>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]=(...Fe)=>t.focus&&t.focus(...Fe))},[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,Fe=>(openBlock(),createBlock(le,{key:t.getValueKey(Fe),closable:!t.selectDisabled&&!Fe.isDisabled,size:t.collapseTagSize,hit:Fe.hitState,type:t.tagType,"disable-transitions":"",onClose:Ue=>t.deleteTag(Ue,Fe)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelect.e("tags-text")),style:normalizeStyle$1(t.tagTextStyle)},toDisplayString$1(Fe.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),t.selected.length>t.maxCollapseTags?(openBlock(),createBlock(le,{key:0,closable:!1,size:t.collapseTagSize,type:t.tagType,"disable-transitions":""},{default:withCtx(()=>[t.collapseTagsTooltip?(openBlock(),createBlock(ue,{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,Fe=>(openBlock(),createElementBlock("div",{key:t.getValueKey(Fe),class:normalizeClass(t.nsSelect.e("collapse-tag"))},[createVNode(le,{class:"in-tooltip",closable:!t.selectDisabled&&!Fe.isDisabled,size:t.collapseTagSize,hit:Fe.hitState,type:t.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:Ue=>t.handleDeleteTooltipTag(Ue,Fe)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelect.e("tags-text")),style:normalizeStyle$1({maxWidth:t.inputWidth-75+"px"})},toDisplayString$1(Fe.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,Fe=>(openBlock(),createBlock(le,{key:t.getValueKey(Fe),closable:!t.selectDisabled&&!Fe.isDisabled,size:t.collapseTagSize,hit:Fe.hitState,type:t.tagType,"disable-transitions":"",onClose:Ue=>t.deleteTag(Ue,Fe)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelect.e("tags-text")),style:normalizeStyle$1({maxWidth:t.inputWidth-75+"px"})},toDisplayString$1(Fe.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]=Fe=>t.query=Fe),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]=(...Fe)=>t.handleFocus&&t.handleFocus(...Fe)),onBlur:r[2]||(r[2]=(...Fe)=>t.handleBlur&&t.handleBlur(...Fe)),onKeyup:r[3]||(r[3]=(...Fe)=>t.managePlaceholder&&t.managePlaceholder(...Fe)),onKeydown:[r[4]||(r[4]=(...Fe)=>t.resetInputState&&t.resetInputState(...Fe)),r[5]||(r[5]=withKeys(withModifiers(Fe=>t.navigateOptions("next"),["prevent"]),["down"])),r[6]||(r[6]=withKeys(withModifiers(Fe=>t.navigateOptions("prev"),["prevent"]),["up"])),r[7]||(r[7]=withKeys((...Fe)=>t.handleKeydownEscape&&t.handleKeydownEscape(...Fe),["esc"])),r[8]||(r[8]=withKeys(withModifiers((...Fe)=>t.selectOption&&t.selectOption(...Fe),["stop","prevent"]),["enter"])),r[9]||(r[9]=withKeys((...Fe)=>t.deletePrevTag&&t.deletePrevTag(...Fe),["delete"])),r[10]||(r[10]=withKeys(Fe=>t.visible=!1,["tab"]))],onCompositionstart:r[11]||(r[11]=(...Fe)=>t.handleComposition&&t.handleComposition(...Fe)),onCompositionupdate:r[12]||(r[12]=(...Fe)=>t.handleComposition&&t.handleComposition(...Fe)),onCompositionend:r[13]||(r[13]=(...Fe)=>t.handleComposition&&t.handleComposition(...Fe)),onInput:r[14]||(r[14]=(...Fe)=>t.debouncedQueryChange&&t.debouncedQueryChange(...Fe))},null,46,_hoisted_1$q)),[[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$i)):createCommentVNode("v-if",!0),createVNode(pe,{id:t.id,ref:"reference",modelValue:t.selectedLabel,"onUpdate:modelValue":r[16]||(r[16]=Fe=>t.selectedLabel=Fe),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(Fe=>t.navigateOptions("next"),["stop","prevent"]),["down"])),r[18]||(r[18]=withKeys(withModifiers(Fe=>t.navigateOptions("prev"),["stop","prevent"]),["up"])),withKeys(withModifiers(t.selectOption,["stop","prevent"]),["enter"]),withKeys(t.handleKeydownEscape,["esc"]),r[19]||(r[19]=withKeys(Fe=>t.visible=!1,["tab"]))]},createSlots({suffix:withCtx(()=>[t.iconComponent&&!t.showClose?(openBlock(),createBlock(de,{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(de,{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$b,[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(Ie,null,{default:withCtx(()=>[withDirectives(createVNode($e,{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(he,{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)),[[Ve,t.handleClose,t.popperPaneRef]])}var Select$1=_export_sfc$1(_sfc_main$R,[["render",_sfc_render$a],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const _sfc_main$Q=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(t){const r=useNamespace("select"),$=ref(!0),V=getCurrentInstance(),oe=ref([]);provide(selectGroupKey,reactive({...toRefs(t)}));const ie=inject(selectKey);onMounted(()=>{oe.value=le(V.subTree)});const le=de=>{const pe=[];return Array.isArray(de.children)&&de.children.forEach(he=>{var _e;he.type&&he.type.name==="ElOption"&&he.component&&he.component.proxy?pe.push(he.component.proxy):(_e=he.children)!=null&&_e.length&&pe.push(...le(he))}),pe},{groupQueryChange:ue}=toRaw(ie);return watch(ue,()=>{$.value=oe.value.some(de=>de.visible===!0)},{flush:"post"}),{visible:$,ns:r}}});function _sfc_render$9(t,r,$,V,oe,ie){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$Q,[["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,teleported:Boolean,size:{type:String,values:componentSizes}}),__default__$C=defineComponent({name:"ElPaginationSizes"}),_sfc_main$P=defineComponent({...__default__$C,props:paginationSizesProps,emits:["page-size-change"],setup(t,{emit:r}){const $=t,{t:V}=useLocale(),oe=useNamespace("pagination"),ie=usePagination(),le=ref($.pageSize);watch(()=>$.pageSizes,(pe,he)=>{if(!isEqual$1(pe,he)&&Array.isArray(pe)){const _e=pe.includes($.pageSize)?$.pageSize:$.pageSizes[0];r("page-size-change",_e)}}),watch(()=>$.pageSize,pe=>{le.value=pe});const ue=computed(()=>$.pageSizes);function de(pe){var he;pe!==le.value&&(le.value=pe,(he=ie.handleSizeChange)==null||he.call(ie,Number(pe)))}return(pe,he)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(oe).e("sizes"))},[createVNode(unref(ElSelect),{"model-value":le.value,disabled:pe.disabled,"popper-class":pe.popperClass,size:pe.size,teleported:pe.teleported,"validate-event":!1,onChange:de},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ue),_e=>(openBlock(),createBlock(unref(ElOption),{key:_e,value:_e,label:_e+unref(V)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported"])],2))}});var Sizes=_export_sfc$1(_sfc_main$P,[["__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$p=["disabled"],__default__$B=defineComponent({name:"ElPaginationJumper"}),_sfc_main$O=defineComponent({...__default__$B,props:paginationJumperProps,setup(t){const{t:r}=useLocale(),$=useNamespace("pagination"),{pageCount:V,disabled:oe,currentPage:ie,changeEvent:le}=usePagination(),ue=ref(),de=computed(()=>{var _e;return(_e=ue.value)!=null?_e:ie==null?void 0:ie.value});function pe(_e){ue.value=_e?+_e:""}function he(_e){_e=Math.trunc(+_e),le==null||le(_e),ue.value=void 0}return(_e,$e)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref($).e("jump")),disabled:unref(oe)},[createBaseVNode("span",{class:normalizeClass([unref($).e("goto")])},toDisplayString$1(unref(r)("el.pagination.goto")),3),createVNode(unref(ElInput),{size:_e.size,class:normalizeClass([unref($).e("editor"),unref($).is("in-pagination")]),min:1,max:unref(V),disabled:unref(oe),"model-value":unref(de),"validate-event":!1,label:unref(r)("el.pagination.page"),type:"number","onUpdate:modelValue":pe,onChange:he},null,8,["size","class","max","disabled","model-value","label"]),createBaseVNode("span",{class:normalizeClass([unref($).e("classifier")])},toDisplayString$1(unref(r)("el.pagination.pageClassifier")),3)],10,_hoisted_1$p))}});var Jumper=_export_sfc$1(_sfc_main$O,[["__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$o=["disabled"],__default__$A=defineComponent({name:"ElPaginationTotal"}),_sfc_main$N=defineComponent({...__default__$A,props:paginationTotalProps,setup(t){const{t:r}=useLocale(),$=useNamespace("pagination"),{disabled:V}=usePagination();return(oe,ie)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref($).e("total")),disabled:unref(V)},toDisplayString$1(unref(r)("el.pagination.total",{total:oe.total})),11,_hoisted_1$o))}});var Total=_export_sfc$1(_sfc_main$N,[["__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$n=["onKeyup"],_hoisted_2$h=["aria-current","aria-label","tabindex"],_hoisted_3$a=["tabindex","aria-label"],_hoisted_4$7=["aria-current","aria-label","tabindex"],_hoisted_5$5=["tabindex","aria-label"],_hoisted_6$1=["aria-current","aria-label","tabindex"],__default__$z=defineComponent({name:"ElPaginationPager"}),_sfc_main$M=defineComponent({...__default__$z,props:paginationPagerProps,emits:["change"],setup(t,{emit:r}){const $=t,V=useNamespace("pager"),oe=useNamespace("icon"),{t:ie}=useLocale(),le=ref(!1),ue=ref(!1),de=ref(!1),pe=ref(!1),he=ref(!1),_e=ref(!1),$e=computed(()=>{const hn=$.pagerCount,Cn=(hn-1)/2,bn=Number($.currentPage),Sn=Number($.pageCount);let En=!1,wn=!1;Sn>hn&&(bn>hn-Cn&&(En=!0),bn<Sn-Cn&&(wn=!0));const $n=[];if(En&&!wn){const Tn=Sn-(hn-2);for(let xn=Tn;xn<Sn;xn++)$n.push(xn)}else if(!En&&wn)for(let Tn=2;Tn<hn;Tn++)$n.push(Tn);else if(En&&wn){const Tn=Math.floor(hn/2)-1;for(let xn=bn-Tn;xn<=bn+Tn;xn++)$n.push(xn)}else for(let Tn=2;Tn<Sn;Tn++)$n.push(Tn);return $n}),Ie=computed(()=>["more","btn-quickprev",oe.b(),V.is("disabled",$.disabled)]),Ve=computed(()=>["more","btn-quicknext",oe.b(),V.is("disabled",$.disabled)]),Fe=computed(()=>$.disabled?-1:0);watchEffect(()=>{const hn=($.pagerCount-1)/2;le.value=!1,ue.value=!1,$.pageCount>$.pagerCount&&($.currentPage>$.pagerCount-hn&&(le.value=!0),$.currentPage<$.pageCount-hn&&(ue.value=!0))});function Ue(hn=!1){$.disabled||(hn?de.value=!0:pe.value=!0)}function qe(hn=!1){hn?he.value=!0:_e.value=!0}function Et(hn){const Cn=hn.target;if(Cn.tagName.toLowerCase()==="li"&&Array.from(Cn.classList).includes("number")){const bn=Number(Cn.textContent);bn!==$.currentPage&&r("change",bn)}else Cn.tagName.toLowerCase()==="li"&&Array.from(Cn.classList).includes("more")&&Lt(hn)}function Lt(hn){const Cn=hn.target;if(Cn.tagName.toLowerCase()==="ul"||$.disabled)return;let bn=Number(Cn.textContent);const Sn=$.pageCount,En=$.currentPage,wn=$.pagerCount-2;Cn.className.includes("more")&&(Cn.className.includes("quickprev")?bn=En-wn:Cn.className.includes("quicknext")&&(bn=En+wn)),Number.isNaN(+bn)||(bn<1&&(bn=1),bn>Sn&&(bn=Sn)),bn!==En&&r("change",bn)}return(hn,Cn)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(V).b()),onClick:Lt,onKeyup:withKeys(Et,["enter"])},[hn.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(V).is("active",hn.currentPage===1),unref(V).is("disabled",hn.disabled)],"number"]),"aria-current":hn.currentPage===1,"aria-label":unref(ie)("el.pagination.currentPage",{pager:1}),tabindex:unref(Fe)}," 1 ",10,_hoisted_2$h)):createCommentVNode("v-if",!0),le.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(unref(Ie)),tabindex:unref(Fe),"aria-label":unref(ie)("el.pagination.prevPages",{pager:hn.pagerCount-2}),onMouseenter:Cn[0]||(Cn[0]=bn=>Ue(!0)),onMouseleave:Cn[1]||(Cn[1]=bn=>de.value=!1),onFocus:Cn[2]||(Cn[2]=bn=>qe(!0)),onBlur:Cn[3]||(Cn[3]=bn=>he.value=!1)},[(de.value||he.value)&&!hn.disabled?(openBlock(),createBlock(unref(d_arrow_left_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_3$a)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref($e),bn=>(openBlock(),createElementBlock("li",{key:bn,class:normalizeClass([[unref(V).is("active",hn.currentPage===bn),unref(V).is("disabled",hn.disabled)],"number"]),"aria-current":hn.currentPage===bn,"aria-label":unref(ie)("el.pagination.currentPage",{pager:bn}),tabindex:unref(Fe)},toDisplayString$1(bn),11,_hoisted_4$7))),128)),ue.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(unref(Ve)),tabindex:unref(Fe),"aria-label":unref(ie)("el.pagination.nextPages",{pager:hn.pagerCount-2}),onMouseenter:Cn[4]||(Cn[4]=bn=>Ue()),onMouseleave:Cn[5]||(Cn[5]=bn=>pe.value=!1),onFocus:Cn[6]||(Cn[6]=bn=>qe()),onBlur:Cn[7]||(Cn[7]=bn=>_e.value=!1)},[(pe.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$5)):createCommentVNode("v-if",!0),hn.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(V).is("active",hn.currentPage===hn.pageCount),unref(V).is("disabled",hn.disabled)],"number"]),"aria-current":hn.currentPage===hn.pageCount,"aria-label":unref(ie)("el.pagination.currentPage",{pager:hn.pageCount}),tabindex:unref(Fe)},toDisplayString$1(hn.pageCount),11,_hoisted_6$1)):createCommentVNode("v-if",!0)],42,_hoisted_1$n))}});var Pager=_export_sfc$1(_sfc_main$M,[["__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},teleported:{type:Boolean,default:!0},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:$}){const{t:V}=useLocale(),oe=useNamespace("pagination"),ie=getCurrentInstance().vnode.props||{},le="onUpdate:currentPage"in ie||"onUpdate:current-page"in ie||"onCurrentChange"in ie,ue="onUpdate:pageSize"in ie||"onUpdate:page-size"in ie||"onSizeChange"in ie,de=computed(()=>{if(isAbsent(t.total)&&isAbsent(t.pageCount)||!isAbsent(t.currentPage)&&!le)return!1;if(t.layout.includes("sizes")){if(isAbsent(t.pageCount)){if(!isAbsent(t.total)&&!isAbsent(t.pageSize)&&!ue)return!1}else if(!ue)return!1}return!0}),pe=ref(isAbsent(t.defaultPageSize)?10:t.defaultPageSize),he=ref(isAbsent(t.defaultCurrentPage)?1:t.defaultCurrentPage),_e=computed({get(){return isAbsent(t.pageSize)?pe.value:t.pageSize},set(Lt){isAbsent(t.pageSize)&&(pe.value=Lt),ue&&(r("update:page-size",Lt),r("size-change",Lt))}}),$e=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}),Ie=computed({get(){return isAbsent(t.currentPage)?he.value:t.currentPage},set(Lt){let hn=Lt;Lt<1?hn=1:Lt>$e.value&&(hn=$e.value),isAbsent(t.currentPage)&&(he.value=hn),le&&(r("update:current-page",hn),r("current-change",hn))}});watch($e,Lt=>{Ie.value>Lt&&(Ie.value=Lt)});function Ve(Lt){Ie.value=Lt}function Fe(Lt){_e.value=Lt;const hn=$e.value;Ie.value>hn&&(Ie.value=hn)}function Ue(){t.disabled||(Ie.value-=1,r("prev-click",Ie.value))}function qe(){t.disabled||(Ie.value+=1,r("next-click",Ie.value))}function Et(Lt,hn){Lt&&(Lt.props||(Lt.props={}),Lt.props.class=[Lt.props.class,hn].join(" "))}return provide(elPaginationKey,{pageCount:$e,disabled:computed(()=>t.disabled),currentPage:Ie,changeEvent:Ve,handleSizeChange:Fe}),()=>{var Lt,hn;if(!de.value)return V("el.pagination.deprecationWarning"),null;if(!t.layout||t.hideOnSinglePage&&$e.value<=1)return null;const Cn=[],bn=[],Sn=h$2("div",{class:oe.e("rightwrapper")},bn),En={prev:h$2(Prev,{disabled:t.disabled,currentPage:Ie.value,prevText:t.prevText,prevIcon:t.prevIcon,onClick:Ue}),jumper:h$2(Jumper,{size:t.small?"small":"default"}),pager:h$2(Pager,{currentPage:Ie.value,pageCount:$e.value,pagerCount:t.pagerCount,onChange:Ve,disabled:t.disabled}),next:h$2(Next,{disabled:t.disabled,currentPage:Ie.value,pageCount:$e.value,nextText:t.nextText,nextIcon:t.nextIcon,onClick:qe}),sizes:h$2(Sizes,{pageSize:_e.value,pageSizes:t.pageSizes,popperClass:t.popperClass,disabled:t.disabled,teleported:t.teleported,size:t.small?"small":"default"}),slot:(hn=(Lt=$==null?void 0:$.default)==null?void 0:Lt.call($))!=null?hn:null,total:h$2(Total,{total:isAbsent(t.total)?0:t.total})},wn=t.layout.split(",").map(Tn=>Tn.trim());let $n=!1;return wn.forEach(Tn=>{if(Tn==="->"){$n=!0;return}$n?bn.push(En[Tn]):Cn.push(En[Tn])}),Et(Cn[0],oe.is("first")),Et(Cn[Cn.length-1],oe.is("last")),$n&&bn.length>0&&(Et(bn[0],oe.is("first")),Et(bn[bn.length-1],oe.is("last")),Cn.push(Sn)),h$2("div",{class:[oe.b(),oe.is("background",t.background),{[oe.m("small")]:t.small}]},Cn)}}});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$L=defineComponent({...__default__$y,props:popconfirmProps,emits:popconfirmEmits,setup(t,{emit:r}){const $=t,{t:V}=useLocale(),oe=useNamespace("popconfirm"),ie=ref(),le=()=>{var $e,Ie;(Ie=($e=ie.value)==null?void 0:$e.onClose)==null||Ie.call($e)},ue=computed(()=>({width:addUnit($.width)})),de=$e=>{r("confirm",$e),le()},pe=$e=>{r("cancel",$e),le()},he=computed(()=>$.confirmButtonText||V("el.popconfirm.confirmButtonText")),_e=computed(()=>$.cancelButtonText||V("el.popconfirm.cancelButtonText"));return($e,Ie)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:ie,trigger:"click",effect:"light"},$e.$attrs,{"popper-class":`${unref(oe).namespace.value}-popover`,"popper-style":unref(ue),teleported:$e.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":$e.hideAfter,persistent:$e.persistent}),{content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(oe).b())},[createBaseVNode("div",{class:normalizeClass(unref(oe).e("main"))},[!$e.hideIcon&&$e.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(oe).e("icon")),style:normalizeStyle$1({color:$e.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($e.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString$1($e.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(oe).e("action"))},[createVNode(unref(ElButton),{size:"small",type:$e.cancelButtonType==="text"?"":$e.cancelButtonType,text:$e.cancelButtonType==="text",onClick:pe},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(_e)),1)]),_:1},8,["type","text"]),createVNode(unref(ElButton),{size:"small",type:$e.confirmButtonType==="text"?"":$e.confirmButtonType,text:$e.confirmButtonType==="text",onClick:de},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(he)),1)]),_:1},8,["type","text"])],2)],2)]),default:withCtx(()=>[$e.$slots.reference?renderSlot($e.$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$L,[["__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$K=defineComponent({...__default__$x,props:popoverProps,emits:popoverEmits,setup(t,{expose:r,emit:$}){const V=t,oe=computed(()=>V[updateEventKeyRaw]),ie=useNamespace("popover"),le=ref(),ue=computed(()=>{var Ue;return(Ue=unref(le))==null?void 0:Ue.popperRef}),de=computed(()=>[{width:addUnit(V.width)},V.popperStyle]),pe=computed(()=>[ie.b(),V.popperClass,{[ie.m("plain")]:!!V.content}]),he=computed(()=>V.transition===`${ie.namespace.value}-fade-in-linear`),_e=()=>{var Ue;(Ue=le.value)==null||Ue.hide()},$e=()=>{$("before-enter")},Ie=()=>{$("before-leave")},Ve=()=>{$("after-enter")},Fe=()=>{$("update:visible",!1),$("after-leave")};return r({popperRef:ue,hide:_e}),(Ue,qe)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:le},Ue.$attrs,{trigger:Ue.trigger,placement:Ue.placement,disabled:Ue.disabled,visible:Ue.visible,transition:Ue.transition,"popper-options":Ue.popperOptions,tabindex:Ue.tabindex,content:Ue.content,offset:Ue.offset,"show-after":Ue.showAfter,"hide-after":Ue.hideAfter,"auto-close":Ue.autoClose,"show-arrow":Ue.showArrow,"aria-label":Ue.title,effect:Ue.effect,enterable:Ue.enterable,"popper-class":unref(pe),"popper-style":unref(de),teleported:Ue.teleported,persistent:Ue.persistent,"gpu-acceleration":unref(he),"onUpdate:visible":unref(oe),onBeforeShow:$e,onBeforeHide:Ie,onShow:Ve,onHide:Fe}),{content:withCtx(()=>[Ue.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("title")),role:"title"},toDisplayString$1(Ue.title),3)):createCommentVNode("v-if",!0),renderSlot(Ue.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Ue.content),1)])]),default:withCtx(()=>[Ue.$slots.reference?renderSlot(Ue.$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$K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const attachEvents=(t,r)=>{const $=r.arg||r.value,V=$==null?void 0:$.popperRef;V&&(V.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$m=["aria-valuenow"],_hoisted_2$g={viewBox:"0 0 100 100"},_hoisted_3$9=["d","stroke","stroke-linecap","stroke-width"],_hoisted_4$6=["d","stroke","opacity","stroke-linecap","stroke-width"],_hoisted_5$4={key:0},__default__$w=defineComponent({name:"ElProgress"}),_sfc_main$J=defineComponent({...__default__$w,props:progressProps,setup(t){const r=t,$={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},V=useNamespace("progress"),oe=computed(()=>({width:`${r.percentage}%`,animationDuration:`${r.duration}s`,backgroundColor:Et(r.percentage)})),ie=computed(()=>(r.strokeWidth/r.width*100).toFixed(1)),le=computed(()=>["circle","dashboard"].includes(r.type)?Number.parseInt(`${50-Number.parseFloat(ie.value)/2}`,10):0),ue=computed(()=>{const Lt=le.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}
|
||
`}),de=computed(()=>2*Math.PI*le.value),pe=computed(()=>r.type==="dashboard"?.75:1),he=computed(()=>`${-1*de.value*(1-pe.value)/2}px`),_e=computed(()=>({strokeDasharray:`${de.value*pe.value}px, ${de.value}px`,strokeDashoffset:he.value})),$e=computed(()=>({strokeDasharray:`${de.value*pe.value*(r.percentage/100)}px, ${de.value}px`,strokeDashoffset:he.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),Ie=computed(()=>{let Lt;return r.color?Lt=Et(r.percentage):Lt=$[r.status]||$.default,Lt}),Ve=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),Fe=computed(()=>r.type==="line"?12+r.strokeWidth*.4:r.width*.111111+2),Ue=computed(()=>r.format(r.percentage));function qe(Lt){const hn=100/Lt.length;return Lt.map((bn,Sn)=>isString$6(bn)?{color:bn,percentage:(Sn+1)*hn}:bn).sort((bn,Sn)=>bn.percentage-Sn.percentage)}const Et=Lt=>{var hn;const{color:Cn}=r;if(isFunction$5(Cn))return Cn(Lt);if(isString$6(Cn))return Cn;{const bn=qe(Cn);for(const Sn of bn)if(Sn.percentage>Lt)return Sn.color;return(hn=bn[bn.length-1])==null?void 0:hn.color}};return(Lt,hn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(V).b(),unref(V).m(Lt.type),unref(V).is(Lt.status),{[unref(V).m("without-text")]:!Lt.showText,[unref(V).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(V).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(V).be("bar","outer")),style:normalizeStyle$1({height:`${Lt.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(V).be("bar","inner"),{[unref(V).bem("bar","inner","indeterminate")]:Lt.indeterminate},{[unref(V).bem("bar","inner","striped")]:Lt.striped},{[unref(V).bem("bar","inner","striped-flow")]:Lt.stripedFlow}]),style:normalizeStyle$1(unref(oe))},[(Lt.showText||Lt.$slots.default)&&Lt.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).be("bar","innerText"))},[renderSlot(Lt.$slots,"default",{percentage:Lt.percentage},()=>[createBaseVNode("span",null,toDisplayString$1(unref(Ue)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(V).b("circle")),style:normalizeStyle$1({height:`${Lt.width}px`,width:`${Lt.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$g,[createBaseVNode("path",{class:normalizeClass(unref(V).be("circle","track")),d:unref(ue),stroke:`var(${unref(V).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":Lt.strokeLinecap,"stroke-width":unref(ie),fill:"none",style:normalizeStyle$1(unref(_e))},null,14,_hoisted_3$9),createBaseVNode("path",{class:normalizeClass(unref(V).be("circle","path")),d:unref(ue),stroke:unref(Ie),fill:"none",opacity:Lt.percentage?1:0,"stroke-linecap":Lt.strokeLinecap,"stroke-width":unref(ie),style:normalizeStyle$1(unref($e))},null,14,_hoisted_4$6)]))],6)),(Lt.showText||Lt.$slots.default)&&!Lt.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(V).e("text")),style:normalizeStyle$1({fontSize:`${unref(Fe)}px`})},[renderSlot(Lt.$slots,"default",{percentage:Lt.percentage},()=>[Lt.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ve))))]),_:1})):(openBlock(),createElementBlock("span",_hoisted_5$4,toDisplayString$1(unref(Ue)),1))])],6)):createCommentVNode("v-if",!0)],10,_hoisted_1$m))}});var Progress=_export_sfc$1(_sfc_main$J,[["__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$l=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_hoisted_2$f=["onMousemove","onClick"],__default__$v=defineComponent({name:"ElRate"}),_sfc_main$I=defineComponent({...__default__$v,props:rateProps,emits:rateEmits,setup(t,{expose:r,emit:$}){const V=t;function oe(Bn,Dn){const Ln=Un=>isObject$a(Un),Pn=Object.keys(Dn).map(Un=>+Un).filter(Un=>{const Wn=Dn[Un];return(Ln(Wn)?Wn.excluded:!1)?Bn<Un:Bn<=Un}).sort((Un,Wn)=>Un-Wn),Fn=Dn[Pn[0]];return Ln(Fn)&&Fn.value||Fn}const ie=inject(formContextKey,void 0),le=inject(formItemContextKey,void 0),ue=useFormSize(),de=useNamespace("rate"),{inputId:pe,isLabeledByFormItem:he}=useFormItemInputId(V,{formItemContext:le}),_e=ref(V.modelValue),$e=ref(-1),Ie=ref(!0),Ve=computed(()=>[de.b(),de.m(ue.value)]),Fe=computed(()=>V.disabled||(ie==null?void 0:ie.disabled)),Ue=computed(()=>de.cssVarBlock({"void-color":V.voidColor,"disabled-void-color":V.disabledVoidColor,"fill-color":hn.value})),qe=computed(()=>{let Bn="";return V.showScore?Bn=V.scoreTemplate.replace(/\{\s*value\s*\}/,Fe.value?`${V.modelValue}`:`${_e.value}`):V.showText&&(Bn=V.texts[Math.ceil(_e.value)-1]),Bn}),Et=computed(()=>V.modelValue*100-Math.floor(V.modelValue)*100),Lt=computed(()=>isArray$c(V.colors)?{[V.lowThreshold]:V.colors[0],[V.highThreshold]:{value:V.colors[1],excluded:!0},[V.max]:V.colors[2]}:V.colors),hn=computed(()=>{const Bn=oe(_e.value,Lt.value);return isObject$a(Bn)?"":Bn}),Cn=computed(()=>{let Bn="";return Fe.value?Bn=`${Et.value}%`:V.allowHalf&&(Bn="50%"),{color:hn.value,width:Bn}}),bn=computed(()=>{let Bn=isArray$c(V.icons)?[...V.icons]:{...V.icons};return Bn=markRaw(Bn),isArray$c(Bn)?{[V.lowThreshold]:Bn[0],[V.highThreshold]:{value:Bn[1],excluded:!0},[V.max]:Bn[2]}:Bn}),Sn=computed(()=>oe(V.modelValue,bn.value)),En=computed(()=>Fe.value?isString$6(V.disabledVoidIcon)?V.disabledVoidIcon:markRaw(V.disabledVoidIcon):isString$6(V.voidIcon)?V.voidIcon:markRaw(V.voidIcon)),wn=computed(()=>oe(_e.value,bn.value));function $n(Bn){const Dn=Fe.value&&Et.value>0&&Bn-1<V.modelValue&&Bn>V.modelValue,Ln=V.allowHalf&&Ie.value&&Bn-.5<=_e.value&&Bn>_e.value;return Dn||Ln}function Tn(Bn){V.clearable&&Bn===V.modelValue&&(Bn=0),$(UPDATE_MODEL_EVENT,Bn),V.modelValue!==Bn&&$("change",Bn)}function xn(Bn){Fe.value||(V.allowHalf&&Ie.value?Tn(_e.value):Tn(Bn))}function An(Bn){if(Fe.value)return;let Dn=_e.value;const Ln=Bn.code;return Ln===EVENT_CODE.up||Ln===EVENT_CODE.right?(V.allowHalf?Dn+=.5:Dn+=1,Bn.stopPropagation(),Bn.preventDefault()):(Ln===EVENT_CODE.left||Ln===EVENT_CODE.down)&&(V.allowHalf?Dn-=.5:Dn-=1,Bn.stopPropagation(),Bn.preventDefault()),Dn=Dn<0?0:Dn,Dn=Dn>V.max?V.max:Dn,$(UPDATE_MODEL_EVENT,Dn),$("change",Dn),Dn}function Mn(Bn,Dn){if(!Fe.value){if(V.allowHalf&&Dn){let Ln=Dn.target;hasClass(Ln,de.e("item"))&&(Ln=Ln.querySelector(`.${de.e("icon")}`)),(Ln.clientWidth===0||hasClass(Ln,de.e("decimal")))&&(Ln=Ln.parentNode),Ie.value=Dn.offsetX*2<=Ln.clientWidth,_e.value=Ie.value?Bn-.5:Bn}else _e.value=Bn;$e.value=Bn}}function Vn(){Fe.value||(V.allowHalf&&(Ie.value=V.modelValue!==Math.floor(V.modelValue)),_e.value=V.modelValue,$e.value=-1)}return watch(()=>V.modelValue,Bn=>{_e.value=Bn,Ie.value=V.modelValue!==Math.floor(V.modelValue)}),V.modelValue||$(UPDATE_MODEL_EVENT,0),r({setCurrentValue:Mn,resetCurrentValue:Vn}),(Bn,Dn)=>{var Ln;return openBlock(),createElementBlock("div",{id:unref(pe),class:normalizeClass([unref(Ve),unref(de).is("disabled",unref(Fe))]),role:"slider","aria-label":unref(he)?void 0:Bn.label||"rating","aria-labelledby":unref(he)?(Ln=unref(le))==null?void 0:Ln.labelId:void 0,"aria-valuenow":_e.value,"aria-valuetext":unref(qe)||void 0,"aria-valuemin":"0","aria-valuemax":Bn.max,tabindex:"0",style:normalizeStyle$1(unref(Ue)),onKeydown:An},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Bn.max,(Pn,Fn)=>(openBlock(),createElementBlock("span",{key:Fn,class:normalizeClass(unref(de).e("item")),onMousemove:Un=>Mn(Pn,Un),onMouseleave:Vn,onClick:Un=>xn(Pn)},[createVNode(unref(ElIcon),{class:normalizeClass([unref(de).e("icon"),{hover:$e.value===Pn},unref(de).is("active",Pn<=_e.value)])},{default:withCtx(()=>[$n(Pn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(wn)),null,null,512)),[[vShow,Pn<=_e.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(En)),null,null,512)),[[vShow,!(Pn<=_e.value)]])],64)),$n(Pn)?(openBlock(),createBlock(unref(ElIcon),{key:1,style:normalizeStyle$1(unref(Cn)),class:normalizeClass([unref(de).e("icon"),unref(de).e("decimal")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Sn))))]),_:1},8,["style","class"])):createCommentVNode("v-if",!0)]),_:2},1032,["class"])],42,_hoisted_2$f))),128)),Bn.showText||Bn.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(de).e("text")),style:normalizeStyle$1({color:Bn.textColor})},toDisplayString$1(unref(qe)),7)):createCommentVNode("v-if",!0)],46,_hoisted_1$l)}}});var Rate=_export_sfc$1(_sfc_main$I,[["__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$H=defineComponent({...__default__$u,props:resultProps,setup(t){const r=t,$=useNamespace("result"),V=computed(()=>{const oe=r.icon,ie=oe&&IconMap[oe]?IconMap[oe]:"icon-info",le=IconComponentMap[ie]||IconComponentMap["icon-info"];return{class:ie,component:le}});return(oe,ie)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref($).b())},[createBaseVNode("div",{class:normalizeClass(unref($).e("icon"))},[renderSlot(oe.$slots,"icon",{},()=>[unref(V).component?(openBlock(),createBlock(resolveDynamicComponent(unref(V).component),{key:0,class:normalizeClass(unref(V).class)},null,8,["class"])):createCommentVNode("v-if",!0)])],2),oe.title||oe.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($).e("title"))},[renderSlot(oe.$slots,"title",{},()=>[createBaseVNode("p",null,toDisplayString$1(oe.title),1)])],2)):createCommentVNode("v-if",!0),oe.subTitle||oe.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref($).e("subtitle"))},[renderSlot(oe.$slots,"sub-title",{},()=>[createBaseVNode("p",null,toDisplayString$1(oe.subTitle),1)])],2)):createCommentVNode("v-if",!0),oe.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref($).e("extra"))},[renderSlot(oe.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2))}});var Result=_export_sfc$1(_sfc_main$H,[["__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 $=0;$<t.length;$++)if(!isEqual(t[$],r[$]))return!1;return!0}function memoizeOne(t,r){r===void 0&&(r=areInputsEqual);var $=null;function V(){for(var oe=[],ie=0;ie<arguments.length;ie++)oe[ie]=arguments[ie];if($&&$.lastThis===this&&r(oe,$.lastArgs))return $.lastResult;var le=t.apply(this,oe);return $={lastResult:le,lastArgs:oe,lastThis:this},le}return V.clear=function(){$=null},V}const useCache=()=>{const r=getCurrentInstance().proxy.$props;return computed(()=>{const $=(V,oe,ie)=>({});return r.perfMode?memoize($):memoizeOne($)})},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)=>{let oe,ie=0;const le=de=>de<0&&r.value||de>0&&t.value;return{hasReachedEdge:le,onWheel:de=>{cAF(oe);const pe=de[LayoutKeys[$.value]];le(ie)&&le(ie+pe)||(ie+=pe,isFirefox()||de.preventDefault(),oe=rAF(()=>{V(ie),ie=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"),$=r.style;$.width="50px",$.height="50px",$.overflow="scroll",$.direction="rtl";const V=document.createElement("div"),oe=V.style;return oe.width="100px",oe.height="100px",r.appendChild(V),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){const oe={},ie=`translate${$.axis}(${t}px)`;return oe[$.size]=r,oe.transform=ie,oe.msTransform=ie,oe.webkitTransform=ie,V==="horizontal"?oe.height="100%":oe.width="100%",oe}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup(t,{emit:r}){const $=computed(()=>t.startGap+t.endGap),V=useNamespace("virtual-scrollbar"),oe=useNamespace("scrollbar"),ie=ref(),le=ref();let ue=null,de=null;const pe=reactive({isDragging:!1,traveled:0}),he=computed(()=>BAR_MAP[t.layout]),_e=computed(()=>t.clientSize-unref($)),$e=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"})),Ie=computed(()=>{const bn=t.ratio,Sn=t.clientSize;if(bn>=100)return Number.POSITIVE_INFINITY;if(bn>=50)return bn*Sn/100;const En=Sn/3;return Math.floor(Math.min(Math.max(bn*Sn,SCROLLBAR_MIN_SIZE),En))}),Ve=computed(()=>{if(!Number.isFinite(Ie.value))return{display:"none"};const bn=`${Ie.value}px`;return renderThumbStyle({bar:he.value,size:bn,move:pe.traveled},t.layout)}),Fe=computed(()=>Math.floor(t.clientSize-Ie.value-unref($))),Ue=()=>{window.addEventListener("mousemove",hn),window.addEventListener("mouseup",Lt);const bn=unref(le);bn&&(de=document.onselectstart,document.onselectstart=()=>!1,bn.addEventListener("touchmove",hn),bn.addEventListener("touchend",Lt))},qe=()=>{window.removeEventListener("mousemove",hn),window.removeEventListener("mouseup",Lt),document.onselectstart=de,de=null;const bn=unref(le);bn&&(bn.removeEventListener("touchmove",hn),bn.removeEventListener("touchend",Lt))},Et=bn=>{bn.stopImmediatePropagation(),!(bn.ctrlKey||[1,2].includes(bn.button))&&(pe.isDragging=!0,pe[he.value.axis]=bn.currentTarget[he.value.offset]-(bn[he.value.client]-bn.currentTarget.getBoundingClientRect()[he.value.direction]),r("start-move"),Ue())},Lt=()=>{pe.isDragging=!1,pe[he.value.axis]=0,r("stop-move"),qe()},hn=bn=>{const{isDragging:Sn}=pe;if(!Sn||!le.value||!ie.value)return;const En=pe[he.value.axis];if(!En)return;cAF(ue);const wn=(ie.value.getBoundingClientRect()[he.value.direction]-bn[he.value.client])*-1,$n=le.value[he.value.offset]-En,Tn=wn-$n;ue=rAF(()=>{pe.traveled=Math.max(t.startGap,Math.min(Tn,Fe.value)),r("scroll",Tn,Fe.value)})},Cn=bn=>{const Sn=Math.abs(bn.target.getBoundingClientRect()[he.value.direction]-bn[he.value.client]),En=le.value[he.value.offset]/2,wn=Sn-En;pe.traveled=Math.max(0,Math.min(wn,Fe.value)),r("scroll",wn,Fe.value)};return watch(()=>t.scrollFrom,bn=>{pe.isDragging||(pe.traveled=Math.ceil(bn*Fe.value))}),onBeforeUnmount(()=>{qe()}),()=>h$2("div",{role:"presentation",ref:ie,class:[V.b(),t.class,(t.alwaysOn||pe.isDragging)&&"always-on"],style:$e.value,onMousedown:withModifiers(Cn,["stop","prevent"]),onTouchstartPrevent:Et},h$2("div",{ref:le,class:oe.e("thumb"),style:Ve.value,onMousedown:Et},[]))}}),createList$1=({name:t,getOffset:r,getItemSize:$,getItemOffset:V,getEstimatedTotalSize:oe,getStartIndexForOffset:ie,getStopIndexForStartIndex:le,initCache:ue,clearCache:de,validateProps:pe})=>defineComponent({name:t??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(he,{emit:_e,expose:$e}){pe(he);const Ie=getCurrentInstance(),Ve=useNamespace("vl"),Fe=ref(ue(he,Ie)),Ue=useCache(),qe=ref(),Et=ref(),Lt=ref(),hn=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber$4(he.initScrollOffset)?he.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:he.scrollbarAlwaysOn}),Cn=computed(()=>{const{total:Zn,cache:or}=he,{isScrolling:br,scrollDir:Qn,scrollOffset:Gn}=unref(hn);if(Zn===0)return[0,0,0,0];const Yn=ie(he,Gn,unref(Fe)),er=le(he,Yn,Gn,unref(Fe)),lr=!br||Qn===BACKWARD?Math.max(1,or):1,sr=!br||Qn===FORWARD?Math.max(1,or):1;return[Math.max(0,Yn-lr),Math.max(0,Math.min(Zn-1,er+sr)),Yn,er]}),bn=computed(()=>oe(he,unref(Fe))),Sn=computed(()=>isHorizontal(he.layout)),En=computed(()=>[{position:"relative",[`overflow-${Sn.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:he.direction,height:isNumber$4(he.height)?`${he.height}px`:he.height,width:isNumber$4(he.width)?`${he.width}px`:he.width},he.style]),wn=computed(()=>{const Zn=unref(bn),or=unref(Sn);return{height:or?"100%":`${Zn}px`,pointerEvents:unref(hn).isScrolling?"none":void 0,width:or?`${Zn}px`:"100%"}}),$n=computed(()=>Sn.value?he.width:he.height),{onWheel:Tn}=useWheel({atStartEdge:computed(()=>hn.value.scrollOffset<=0),atEndEdge:computed(()=>hn.value.scrollOffset>=bn.value),layout:computed(()=>he.layout)},Zn=>{var or,br;(br=(or=Lt.value).onMouseUp)==null||br.call(or),Dn(Math.min(hn.value.scrollOffset+Zn,bn.value-$n.value))}),xn=()=>{const{total:Zn}=he;if(Zn>0){const[Gn,Yn,er,lr]=unref(Cn);_e(ITEM_RENDER_EVT,Gn,Yn,er,lr)}const{scrollDir:or,scrollOffset:br,updateRequested:Qn}=unref(hn);_e(SCROLL_EVT,or,br,Qn)},An=Zn=>{const{clientHeight:or,scrollHeight:br,scrollTop:Qn}=Zn.currentTarget,Gn=unref(hn);if(Gn.scrollOffset===Qn)return;const Yn=Math.max(0,Math.min(Qn,br-or));hn.value={...Gn,isScrolling:!0,scrollDir:getScrollDir(Gn.scrollOffset,Yn),scrollOffset:Yn,updateRequested:!1},nextTick(Fn)},Mn=Zn=>{const{clientWidth:or,scrollLeft:br,scrollWidth:Qn}=Zn.currentTarget,Gn=unref(hn);if(Gn.scrollOffset===br)return;const{direction:Yn}=he;let er=br;if(Yn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{er=-br;break}case RTL_OFFSET_POS_DESC:{er=Qn-or-br;break}}er=Math.max(0,Math.min(er,Qn-or)),hn.value={...Gn,isScrolling:!0,scrollDir:getScrollDir(Gn.scrollOffset,er),scrollOffset:er,updateRequested:!1},nextTick(Fn)},Vn=Zn=>{unref(Sn)?Mn(Zn):An(Zn),xn()},Bn=(Zn,or)=>{const br=(bn.value-$n.value)/or*Zn;Dn(Math.min(bn.value-$n.value,br))},Dn=Zn=>{Zn=Math.max(Zn,0),Zn!==unref(hn).scrollOffset&&(hn.value={...unref(hn),scrollOffset:Zn,scrollDir:getScrollDir(unref(hn).scrollOffset,Zn),updateRequested:!0},nextTick(Fn))},Ln=(Zn,or=AUTO_ALIGNMENT)=>{const{scrollOffset:br}=unref(hn);Zn=Math.max(0,Math.min(Zn,he.total-1)),Dn(r(he,Zn,or,br,unref(Fe)))},Pn=Zn=>{const{direction:or,itemSize:br,layout:Qn}=he,Gn=Ue.value(de&&br,de&&Qn,de&&or);let Yn;if(hasOwn$4(Gn,String(Zn)))Yn=Gn[Zn];else{const er=V(he,Zn,unref(Fe)),lr=$(he,Zn,unref(Fe)),sr=unref(Sn),zn=or===RTL,Kn=sr?er:0;Gn[Zn]=Yn={position:"absolute",left:zn?void 0:`${Kn}px`,right:zn?`${Kn}px`:void 0,top:sr?0:`${er}px`,height:sr?"100%":`${lr}px`,width:sr?`${lr}px`:"100%"}}return Yn},Fn=()=>{hn.value.isScrolling=!1,nextTick(()=>{Ue.value(-1,null,null)})},Un=()=>{const Zn=qe.value;Zn&&(Zn.scrollTop=0)};onMounted(()=>{if(!isClient$1)return;const{initScrollOffset:Zn}=he,or=unref(qe);isNumber$4(Zn)&&or&&(unref(Sn)?or.scrollLeft=Zn:or.scrollTop=Zn),xn()}),onUpdated(()=>{const{direction:Zn,layout:or}=he,{scrollOffset:br,updateRequested:Qn}=unref(hn),Gn=unref(qe);if(Qn&&Gn)if(or===HORIZONTAL$1)if(Zn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Gn.scrollLeft=-br;break}case RTL_OFFSET_POS_ASC:{Gn.scrollLeft=br;break}default:{const{clientWidth:Yn,scrollWidth:er}=Gn;Gn.scrollLeft=er-Yn-br;break}}else Gn.scrollLeft=br;else Gn.scrollTop=br});const Wn={ns:Ve,clientSize:$n,estimatedTotalSize:bn,windowStyle:En,windowRef:qe,innerRef:Et,innerStyle:wn,itemsToRender:Cn,scrollbarRef:Lt,states:hn,getItemStyle:Pn,onScroll:Vn,onScrollbarScroll:Bn,onWheel:Tn,scrollTo:Dn,scrollToItem:Ln,resetScrollTop:Un};return $e({windowRef:qe,innerRef:Et,getItemStyleCache:Ue,scrollTo:Dn,scrollToItem:Ln,resetScrollTop:Un,states:hn}),Wn},render(he){var _e;const{$slots:$e,className:Ie,clientSize:Ve,containerElement:Fe,data:Ue,getItemStyle:qe,innerElement:Et,itemsToRender:Lt,innerStyle:hn,layout:Cn,total:bn,onScroll:Sn,onScrollbarScroll:En,onWheel:wn,states:$n,useIsScrolling:Tn,windowStyle:xn,ns:An}=he,[Mn,Vn]=Lt,Bn=resolveDynamicComponent(Fe),Dn=resolveDynamicComponent(Et),Ln=[];if(bn>0)for(let Wn=Mn;Wn<=Vn;Wn++)Ln.push((_e=$e.default)==null?void 0:_e.call($e,{data:Ue,key:Wn,index:Wn,isScrolling:Tn?$n.isScrolling:void 0,style:qe(Wn)}));const Pn=[h$2(Dn,{style:hn,ref:"innerRef"},isString$6(Dn)?Ln:{default:()=>Ln})],Fn=h$2(ScrollBar,{ref:"scrollbarRef",clientSize:Ve,layout:Cn,onScroll:En,ratio:Ve*100/this.estimatedTotalSize,scrollFrom:$n.scrollOffset/(this.estimatedTotalSize-Ve),total:bn}),Un=h$2(Bn,{class:[An.e("window"),Ie],style:xn,onScroll:Sn,onWheel:wn,ref:"windowRef",key:0},isString$6(Bn)?[Pn]:{default:()=>[Pn]});return h$2("div",{key:0,class:[An.e("wrapper"),$n.scrollbarAlwaysOn?"always-on":""]},[Un,Fn])}}),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:$,layout:V,width:oe},ie,le,ue)=>{const de=isHorizontal(V)?oe:t,pe=Math.max(0,r*$-de),he=Math.min(pe,ie*$),_e=Math.max(0,(ie+1)*$-de);switch(le===SMART_ALIGNMENT&&(ue>=_e-de&&ue<=he+de?le=AUTO_ALIGNMENT:le=CENTERED_ALIGNMENT),le){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(de/2)?0:$e>pe+Math.floor(de/2)?pe:$e}case AUTO_ALIGNMENT:default:return ue>=_e&&ue<=he?ue:ue<_e?_e:he}},getStartIndexForOffset:({total:t,itemSize:r},$)=>Math.max(0,Math.min(t-1,Math.floor($/r))),getStopIndexForStartIndex:({height:t,total:r,itemSize:$,layout:V,width:oe},ie,le)=>{const ue=ie*$,de=isHorizontal(V)?oe:t,pe=Math.ceil((de+le-ue)/$);return Math.max(0,Math.min(r-1,ie+pe-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=(t,r,$)=>{const{itemSize:V}=t,{items:oe,lastVisitedIndex:ie}=$;if(r>ie){let le=0;if(ie>=0){const ue=oe[ie];le=ue.offset+ue.size}for(let ue=ie+1;ue<=r;ue++){const de=V(ue);oe[ue]={offset:le,size:de},le+=de}$.lastVisitedIndex=r}return oe[r]},findItem$1=(t,r,$)=>{const{items:V,lastVisitedIndex:oe}=r;return(oe>0?V[oe].offset:0)>=$?bs$1(t,r,0,oe,$):es$1(t,r,Math.max(0,oe),$)},bs$1=(t,r,$,V,oe)=>{for(;$<=V;){const ie=$+Math.floor((V-$)/2),le=getItemFromCache$1(t,ie,r).offset;if(le===oe)return ie;le<oe?$=ie+1:le>oe&&(V=ie-1)}return Math.max(0,$-1)},es$1=(t,r,$,V)=>{const{total:oe}=t;let ie=1;for(;$<oe&&getItemFromCache$1(t,$,r).offset<V;)$+=ie,ie*=2;return bs$1(t,r,Math.floor($/2),Math.min($,oe-1),V)},getEstimatedTotalSize=({total:t},{items:r,estimatedItemSize:$,lastVisitedIndex:V})=>{let oe=0;if(V>=t&&(V=t-1),V>=0){const ue=r[V];oe=ue.offset+ue.size}const le=(t-V-1)*$;return oe+le},DynamicSizeList=createList$1({name:"ElDynamicSizeList",getItemOffset:(t,r,$)=>getItemFromCache$1(t,r,$).offset,getItemSize:(t,r,{items:$})=>$[r].size,getEstimatedTotalSize,getOffset:(t,r,$,V,oe)=>{const{height:ie,layout:le,width:ue}=t,de=isHorizontal(le)?ue:ie,pe=getItemFromCache$1(t,r,oe),he=getEstimatedTotalSize(t,oe),_e=Math.max(0,Math.min(he-de,pe.offset)),$e=Math.max(0,pe.offset-de+pe.size);switch($===SMART_ALIGNMENT&&(V>=$e-de&&V<=_e+de?$=AUTO_ALIGNMENT:$=CENTERED_ALIGNMENT),$){case START_ALIGNMENT:return _e;case END_ALIGNMENT:return $e;case CENTERED_ALIGNMENT:return Math.round($e+(_e-$e)/2);case AUTO_ALIGNMENT:default:return V>=$e&&V<=_e?V:V<$e?$e:_e}},getStartIndexForOffset:(t,r,$)=>findItem$1(t,$,r),getStopIndexForStartIndex:(t,r,$,V)=>{const{height:oe,total:ie,layout:le,width:ue}=t,de=isHorizontal(le)?ue:oe,pe=getItemFromCache$1(t,r,V),he=$+de;let _e=pe.offset+pe.size,$e=r;for(;$e<ie-1&&_e<he;)$e++,_e+=getItemFromCache$1(t,$e,V).size;return $e},initCache({estimatedItemSize:t=DEFAULT_DYNAMIC_LIST_ITEM_SIZE},r){const $={items:{},estimatedItemSize:t,lastVisitedIndex:-1};return $.clearCacheAfterIndex=(V,oe=!0)=>{var ie,le;$.lastVisitedIndex=Math.min($.lastVisitedIndex,V-1),(ie=r.exposed)==null||ie.getItemStyleCache(-1),oe&&((le=r.proxy)==null||le.$forceUpdate())},$},clearCache:!1,validateProps:({itemSize:t})=>{}}),useGridWheel=({atXEndEdge:t,atXStartEdge:r,atYEndEdge:$,atYStartEdge:V},oe)=>{let ie=null,le=0,ue=0;const de=(he,_e)=>{const $e=he<=0&&r.value||he>=0&&t.value,Ie=_e<=0&&V.value||_e>=0&&$.value;return $e&&Ie};return{hasReachedEdge:de,onWheel:he=>{cAF(ie);let _e=he.deltaX,$e=he.deltaY;Math.abs(_e)>Math.abs($e)?$e=0:_e=0,he.shiftKey&&$e!==0&&(_e=$e,$e=0),!(de(le,ue)&&de(le+_e,ue+$e))&&(le+=_e,ue+=$e,he.preventDefault(),ie=rAF(()=>{oe(le,ue),le=0,ue=0}))}}},createGrid=({name:t,clearCache:r,getColumnPosition:$,getColumnStartIndexForOffset:V,getColumnStopIndexForStartIndex:oe,getEstimatedTotalHeight:ie,getEstimatedTotalWidth:le,getColumnOffset:ue,getRowOffset:de,getRowPosition:pe,getRowStartIndexForOffset:he,getRowStopIndexForStartIndex:_e,initCache:$e,injectToInstance:Ie,validateProps:Ve})=>defineComponent({name:t??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(Fe,{emit:Ue,expose:qe,slots:Et}){const Lt=useNamespace("vl");Ve(Fe);const hn=getCurrentInstance(),Cn=ref($e(Fe,hn));Ie==null||Ie(hn,Cn);const bn=ref(),Sn=ref(),En=ref(),wn=ref(null),$n=ref({isScrolling:!1,scrollLeft:isNumber$4(Fe.initScrollLeft)?Fe.initScrollLeft:0,scrollTop:isNumber$4(Fe.initScrollTop)?Fe.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),Tn=useCache(),xn=computed(()=>Number.parseInt(`${Fe.height}`,10)),An=computed(()=>Number.parseInt(`${Fe.width}`,10)),Mn=computed(()=>{const{totalColumn:ur,totalRow:wr,columnCache:Cr}=Fe,{isScrolling:mr,xAxisScrollDir:Er,scrollLeft:Tr}=unref($n);if(ur===0||wr===0)return[0,0,0,0];const nr=V(Fe,Tr,unref(Cn)),pr=oe(Fe,nr,Tr,unref(Cn)),gr=!mr||Er===BACKWARD?Math.max(1,Cr):1,$r=!mr||Er===FORWARD?Math.max(1,Cr):1;return[Math.max(0,nr-gr),Math.max(0,Math.min(ur-1,pr+$r)),nr,pr]}),Vn=computed(()=>{const{totalColumn:ur,totalRow:wr,rowCache:Cr}=Fe,{isScrolling:mr,yAxisScrollDir:Er,scrollTop:Tr}=unref($n);if(ur===0||wr===0)return[0,0,0,0];const nr=he(Fe,Tr,unref(Cn)),pr=_e(Fe,nr,Tr,unref(Cn)),gr=!mr||Er===BACKWARD?Math.max(1,Cr):1,$r=!mr||Er===FORWARD?Math.max(1,Cr):1;return[Math.max(0,nr-gr),Math.max(0,Math.min(wr-1,pr+$r)),nr,pr]}),Bn=computed(()=>ie(Fe,unref(Cn))),Dn=computed(()=>le(Fe,unref(Cn))),Ln=computed(()=>{var ur;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:Fe.direction,height:isNumber$4(Fe.height)?`${Fe.height}px`:Fe.height,width:isNumber$4(Fe.width)?`${Fe.width}px`:Fe.width},(ur=Fe.style)!=null?ur:{}]}),Pn=computed(()=>{const ur=`${unref(Dn)}px`;return{height:`${unref(Bn)}px`,pointerEvents:unref($n).isScrolling?"none":void 0,width:ur}}),Fn=()=>{const{totalColumn:ur,totalRow:wr}=Fe;if(ur>0&&wr>0){const[pr,gr,$r,Rr]=unref(Mn),[Lr,Vr,Nr,dr]=unref(Vn);Ue(ITEM_RENDER_EVT,{columnCacheStart:pr,columnCacheEnd:gr,rowCacheStart:Lr,rowCacheEnd:Vr,columnVisibleStart:$r,columnVisibleEnd:Rr,rowVisibleStart:Nr,rowVisibleEnd:dr})}const{scrollLeft:Cr,scrollTop:mr,updateRequested:Er,xAxisScrollDir:Tr,yAxisScrollDir:nr}=unref($n);Ue(SCROLL_EVT,{xAxisScrollDir:Tr,scrollLeft:Cr,yAxisScrollDir:nr,scrollTop:mr,updateRequested:Er})},Un=ur=>{const{clientHeight:wr,clientWidth:Cr,scrollHeight:mr,scrollLeft:Er,scrollTop:Tr,scrollWidth:nr}=ur.currentTarget,pr=unref($n);if(pr.scrollTop===Tr&&pr.scrollLeft===Er)return;let gr=Er;if(isRTL(Fe.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:gr=-Er;break;case RTL_OFFSET_POS_DESC:gr=nr-Cr-Er;break}$n.value={...pr,isScrolling:!0,scrollLeft:gr,scrollTop:Math.max(0,Math.min(Tr,mr-wr)),updateRequested:!0,xAxisScrollDir:getScrollDir(pr.scrollLeft,gr),yAxisScrollDir:getScrollDir(pr.scrollTop,Tr)},nextTick(()=>Yn()),er(),Fn()},Wn=(ur,wr)=>{const Cr=unref(xn),mr=(Bn.value-Cr)/wr*ur;br({scrollTop:Math.min(Bn.value-Cr,mr)})},Zn=(ur,wr)=>{const Cr=unref(An),mr=(Dn.value-Cr)/wr*ur;br({scrollLeft:Math.min(Dn.value-Cr,mr)})},{onWheel:or}=useGridWheel({atXStartEdge:computed(()=>$n.value.scrollLeft<=0),atXEndEdge:computed(()=>$n.value.scrollLeft>=Dn.value-unref(An)),atYStartEdge:computed(()=>$n.value.scrollTop<=0),atYEndEdge:computed(()=>$n.value.scrollTop>=Bn.value-unref(xn))},(ur,wr)=>{var Cr,mr,Er,Tr;(mr=(Cr=Sn.value)==null?void 0:Cr.onMouseUp)==null||mr.call(Cr),(Tr=(Er=En.value)==null?void 0:Er.onMouseUp)==null||Tr.call(Er);const nr=unref(An),pr=unref(xn);br({scrollLeft:Math.min($n.value.scrollLeft+ur,Dn.value-nr),scrollTop:Math.min($n.value.scrollTop+wr,Bn.value-pr)})}),br=({scrollLeft:ur=$n.value.scrollLeft,scrollTop:wr=$n.value.scrollTop})=>{ur=Math.max(ur,0),wr=Math.max(wr,0);const Cr=unref($n);wr===Cr.scrollTop&&ur===Cr.scrollLeft||($n.value={...Cr,xAxisScrollDir:getScrollDir(Cr.scrollLeft,ur),yAxisScrollDir:getScrollDir(Cr.scrollTop,wr),scrollLeft:ur,scrollTop:wr,updateRequested:!0},nextTick(()=>Yn()),er(),Fn())},Qn=(ur=0,wr=0,Cr=AUTO_ALIGNMENT)=>{const mr=unref($n);wr=Math.max(0,Math.min(wr,Fe.totalColumn-1)),ur=Math.max(0,Math.min(ur,Fe.totalRow-1));const Er=getScrollBarWidth(Lt.namespace.value),Tr=unref(Cn),nr=ie(Fe,Tr),pr=le(Fe,Tr);br({scrollLeft:ue(Fe,wr,Cr,mr.scrollLeft,Tr,pr>Fe.width?Er:0),scrollTop:de(Fe,ur,Cr,mr.scrollTop,Tr,nr>Fe.height?Er:0)})},Gn=(ur,wr)=>{const{columnWidth:Cr,direction:mr,rowHeight:Er}=Fe,Tr=Tn.value(r&&Cr,r&&Er,r&&mr),nr=`${ur},${wr}`;if(hasOwn$4(Tr,nr))return Tr[nr];{const[,pr]=$(Fe,wr,unref(Cn)),gr=unref(Cn),$r=isRTL(mr),[Rr,Lr]=pe(Fe,ur,gr),[Vr]=$(Fe,wr,gr);return Tr[nr]={position:"absolute",left:$r?void 0:`${pr}px`,right:$r?`${pr}px`:void 0,top:`${Lr}px`,height:`${Rr}px`,width:`${Vr}px`},Tr[nr]}},Yn=()=>{$n.value.isScrolling=!1,nextTick(()=>{Tn.value(-1,null,null)})};onMounted(()=>{if(!isClient$1)return;const{initScrollLeft:ur,initScrollTop:wr}=Fe,Cr=unref(bn);Cr&&(isNumber$4(ur)&&(Cr.scrollLeft=ur),isNumber$4(wr)&&(Cr.scrollTop=wr)),Fn()});const er=()=>{const{direction:ur}=Fe,{scrollLeft:wr,scrollTop:Cr,updateRequested:mr}=unref($n),Er=unref(bn);if(mr&&Er){if(ur===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Er.scrollLeft=-wr;break}case RTL_OFFSET_POS_ASC:{Er.scrollLeft=wr;break}default:{const{clientWidth:Tr,scrollWidth:nr}=Er;Er.scrollLeft=nr-Tr-wr;break}}else Er.scrollLeft=Math.max(0,wr);Er.scrollTop=Math.max(0,Cr)}},{resetAfterColumnIndex:lr,resetAfterRowIndex:sr,resetAfter:zn}=hn.proxy;qe({windowRef:bn,innerRef:wn,getItemStyleCache:Tn,scrollTo:br,scrollToItem:Qn,states:$n,resetAfterColumnIndex:lr,resetAfterRowIndex:sr,resetAfter:zn});const Kn=()=>{const{scrollbarAlwaysOn:ur,scrollbarStartGap:wr,scrollbarEndGap:Cr,totalColumn:mr,totalRow:Er}=Fe,Tr=unref(An),nr=unref(xn),pr=unref(Dn),gr=unref(Bn),{scrollLeft:$r,scrollTop:Rr}=unref($n),Lr=h$2(ScrollBar,{ref:Sn,alwaysOn:ur,startGap:wr,endGap:Cr,class:Lt.e("horizontal"),clientSize:Tr,layout:"horizontal",onScroll:Zn,ratio:Tr*100/pr,scrollFrom:$r/(pr-Tr),total:Er,visible:!0}),Vr=h$2(ScrollBar,{ref:En,alwaysOn:ur,startGap:wr,endGap:Cr,class:Lt.e("vertical"),clientSize:nr,layout:"vertical",onScroll:Wn,ratio:nr*100/gr,scrollFrom:Rr/(gr-nr),total:mr,visible:!0});return{horizontalScrollbar:Lr,verticalScrollbar:Vr}},Jn=()=>{var ur;const[wr,Cr]=unref(Mn),[mr,Er]=unref(Vn),{data:Tr,totalColumn:nr,totalRow:pr,useIsScrolling:gr,itemKey:$r}=Fe,Rr=[];if(pr>0&&nr>0)for(let Lr=mr;Lr<=Er;Lr++)for(let Vr=wr;Vr<=Cr;Vr++)Rr.push((ur=Et.default)==null?void 0:ur.call(Et,{columnIndex:Vr,data:Tr,key:$r({columnIndex:Vr,data:Tr,rowIndex:Lr}),isScrolling:gr?unref($n).isScrolling:void 0,style:Gn(Lr,Vr),rowIndex:Lr}));return Rr},cr=()=>{const ur=resolveDynamicComponent(Fe.innerElement),wr=Jn();return[h$2(ur,{style:unref(Pn),ref:wn},isString$6(ur)?wr:{default:()=>wr})]};return()=>{const ur=resolveDynamicComponent(Fe.containerElement),{horizontalScrollbar:wr,verticalScrollbar:Cr}=Kn(),mr=cr();return h$2("div",{key:0,class:Lt.e("wrapper"),role:Fe.role},[h$2(ur,{class:Fe.className,style:unref(Ln),onScroll:Un,onWheel:or,ref:bn},isString$6(ur)?mr:{default:()=>mr}),wr,Cr])}}}),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)=>{$=Number($);const de=Math.max(0,t*r-$),pe=Math.min(de,V*r),he=Math.max(0,V*r-$+ue+r);switch(oe==="smart"&&(ie>=he-$&&ie<=pe+$?oe=AUTO_ALIGNMENT:oe=CENTERED_ALIGNMENT),oe){case START_ALIGNMENT:return pe;case END_ALIGNMENT:return he;case CENTERED_ALIGNMENT:{const _e=Math.round(he+(pe-he)/2);return _e<Math.ceil($/2)?0:_e>de+Math.floor($/2)?de:_e}case AUTO_ALIGNMENT:default:return ie>=he&&ie<=pe?ie:he>pe||ie<he?he:pe}},getRowOffset:({rowHeight:t,height:r,totalRow:$},V,oe,ie,le,ue)=>{r=Number(r);const de=Math.max(0,$*t-r),pe=Math.min(de,V*t),he=Math.max(0,V*t-r+ue+t);switch(oe===SMART_ALIGNMENT&&(ie>=he-r&&ie<=pe+r?oe=AUTO_ALIGNMENT:oe=CENTERED_ALIGNMENT),oe){case START_ALIGNMENT:return pe;case END_ALIGNMENT:return he;case CENTERED_ALIGNMENT:{const _e=Math.round(he+(pe-he)/2);return _e<Math.ceil(r/2)?0:_e>de+Math.floor(r/2)?de:_e}case AUTO_ALIGNMENT:default:return ie>=he&&ie<=pe?ie:he>pe||ie<he?he:pe}},getColumnStartIndexForOffset:({columnWidth:t,totalColumn:r},$)=>Math.max(0,Math.min(r-1,Math.floor($/t))),getColumnStopIndexForStartIndex:({columnWidth:t,totalColumn:r,width:$},V,oe)=>{const ie=V*t,le=Math.ceil(($+oe-ie)/t);return Math.max(0,Math.min(r-1,V+le-1))},getRowStartIndexForOffset:({rowHeight:t,totalRow:r},$)=>Math.max(0,Math.min(r-1,Math.floor($/t))),getRowStopIndexForStartIndex:({rowHeight:t,totalRow:r,height:$},V,oe)=>{const ie=V*t,le=Math.ceil(($+oe-ie)/t);return Math.max(0,Math.min(r-1,V+le-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)=>{const[oe,ie,le]=[$[V],t[ACCESS_SIZER_KEY_MAP[V]],$[ACCESS_LAST_VISITED_KEY_MAP[V]]];if(r>le){let ue=0;if(le>=0){const de=oe[le];ue=de.offset+de.size}for(let de=le+1;de<=r;de++){const pe=ie(de);oe[de]={offset:ue,size:pe},ue+=pe}$[ACCESS_LAST_VISITED_KEY_MAP[V]]=r}return oe[r]},bs=(t,r,$,V,oe,ie)=>{for(;$<=V;){const le=$+floor((V-$)/2),ue=getItemFromCache(t,le,r,ie).offset;if(ue===oe)return le;ue<oe?$=le+1:V=le-1}return max$2(0,$-1)},es=(t,r,$,V,oe)=>{const ie=oe==="column"?t.totalColumn:t.totalRow;let le=1;for(;$<ie&&getItemFromCache(t,$,r,oe).offset<V;)$+=le,le*=2;return bs(t,r,floor($/2),min$2($,ie-1),V,oe)},findItem=(t,r,$,V)=>{const[oe,ie]=[r[V],r[ACCESS_LAST_VISITED_KEY_MAP[V]]];return(ie>0?oe[ie].offset:0)>=$?bs(t,r,0,ie,$,V):es(t,r,max$2(0,ie),$,V)},getEstimatedTotalHeight=({totalRow:t},{estimatedRowHeight:r,lastVisitedRowIndex:$,row:V})=>{let oe=0;if($>=t&&($=t-1),$>=0){const ue=V[$];oe=ue.offset+ue.size}const le=(t-$-1)*r;return oe+le},getEstimatedTotalWidth=({totalColumn:t},{column:r,estimatedColumnWidth:$,lastVisitedColumnIndex:V})=>{let oe=0;if(V>t&&(V=t-1),V>=0){const ue=r[V];oe=ue.offset+ue.size}const le=(t-V-1)*$;return oe+le},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset$1=(t,r,$,V,oe,ie,le)=>{const[ue,de]=[ie==="row"?t.height:t.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[ie]],pe=getItemFromCache(t,r,oe,ie),he=de(t,oe),_e=max$2(0,min$2(he-ue,pe.offset)),$e=max$2(0,pe.offset-ue+le+pe.size);switch($===SMART_ALIGNMENT&&(V>=$e-ue&&V<=_e+ue?$=AUTO_ALIGNMENT:$=CENTERED_ALIGNMENT),$){case START_ALIGNMENT:return _e;case END_ALIGNMENT:return $e;case CENTERED_ALIGNMENT:return Math.round($e+(_e-$e)/2);case AUTO_ALIGNMENT:default:return V>=$e&&V<=_e?V:$e>_e||V<$e?$e:_e}},DynamicSizeGrid=createGrid({name:"ElDynamicSizeGrid",getColumnPosition:(t,r,$)=>{const V=getItemFromCache(t,r,$,"column");return[V.size,V.offset]},getRowPosition:(t,r,$)=>{const V=getItemFromCache(t,r,$,"row");return[V.size,V.offset]},getColumnOffset:(t,r,$,V,oe,ie)=>getOffset$1(t,r,$,V,oe,"column",ie),getRowOffset:(t,r,$,V,oe,ie)=>getOffset$1(t,r,$,V,oe,"row",ie),getColumnStartIndexForOffset:(t,r,$)=>findItem(t,$,r,"column"),getColumnStopIndexForStartIndex:(t,r,$,V)=>{const oe=getItemFromCache(t,r,V,"column"),ie=$+t.width;let le=oe.offset+oe.size,ue=r;for(;ue<t.totalColumn-1&&le<ie;)ue++,le+=getItemFromCache(t,r,V,"column").size;return ue},getEstimatedTotalHeight,getEstimatedTotalWidth,getRowStartIndexForOffset:(t,r,$)=>findItem(t,$,r,"row"),getRowStopIndexForStartIndex:(t,r,$,V)=>{const{totalRow:oe,height:ie}=t,le=getItemFromCache(t,r,V,"row"),ue=$+ie;let de=le.size+le.offset,pe=r;for(;pe<oe-1&&de<ue;)pe++,de+=getItemFromCache(t,pe,V,"row").size;return pe},injectToInstance:(t,r)=>{const $=({columnIndex:ie,rowIndex:le},ue)=>{var de,pe;ue=isUndefined$1(ue)?!0:ue,isNumber$4(ie)&&(r.value.lastVisitedColumnIndex=Math.min(r.value.lastVisitedColumnIndex,ie-1)),isNumber$4(le)&&(r.value.lastVisitedRowIndex=Math.min(r.value.lastVisitedRowIndex,le-1)),(de=t.exposed)==null||de.getItemStyleCache.value(-1,null,null),ue&&((pe=t.proxy)==null||pe.$forceUpdate())},V=(ie,le)=>{$({columnIndex:ie},le)},oe=(ie,le)=>{$({rowIndex:ie},le)};Object.assign(t.proxy,{resetAfterColumnIndex:V,resetAfterRowIndex:oe,resetAfter:$})},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$G=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){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$G,[["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$F=defineComponent({props:OptionProps,emits:["select","hover"],setup(t,{emit:r}){const $=useNamespace("select"),{hoverItem:V,selectOptionClick:oe}=useOption(t,{emit:r});return{ns:$,hoverItem:V,selectOptionClick:oe}}}),_hoisted_1$k=["aria-selected"];function _sfc_render$7(t,r,$,V,oe,ie){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]=(...le)=>t.hoverItem&&t.hoverItem(...le)),onClick:r[1]||(r[1]=withModifiers((...le)=>t.selectOptionClick&&t.selectOptionClick(...le),["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$k)}var OptionItem=_export_sfc$1(_sfc_main$F,[["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:$}){const V=inject(selectV2InjectionKey),oe=useNamespace("select"),ie=ref([]),le=ref(),ue=computed(()=>t.data.length);watch(()=>ue.value,()=>{var En,wn;(wn=(En=V.popper.value).updatePopper)==null||wn.call(En)});const de=computed(()=>isUndefined$1(V.props.estimatedOptionHeight)),pe=computed(()=>de.value?{itemSize:V.props.itemHeight}:{estimatedSize:V.props.estimatedOptionHeight,itemSize:En=>ie.value[En]}),he=(En=[],wn)=>{const{props:{valueKey:$n}}=V;return isObject$a(wn)?En&&En.some(Tn=>get$1(Tn,$n)===get$1(wn,$n)):En.includes(wn)},_e=(En,wn)=>{if(isObject$a(wn)){const{valueKey:$n}=V.props;return get$1(En,$n)===get$1(wn,$n)}else return En===wn},$e=(En,wn)=>{const{valueKey:$n}=V.props;return V.props.multiple?he(En,get$1(wn,$n)):_e(En,get$1(wn,$n))},Ie=(En,wn)=>{const{disabled:$n,multiple:Tn,multipleLimit:xn}=V.props;return $n||!wn&&(Tn?xn>0&&En.length>=xn:!1)},Ve=En=>t.hoveringIndex===En;$({listRef:le,isSized:de,isItemDisabled:Ie,isItemHovering:Ve,isItemSelected:$e,scrollToItem:En=>{const wn=le.value;wn&&wn.scrollToItem(En)},resetScrollTop:()=>{const En=le.value;En&&En.resetScrollTop()}});const qe=En=>{const{index:wn,data:$n,style:Tn}=En,xn=unref(de),{itemSize:An,estimatedSize:Mn}=unref(pe),{modelValue:Vn}=V.props,{onSelect:Bn,onHover:Dn}=V,Ln=$n[wn];if(Ln.type==="Group")return createVNode(GroupItem,{item:Ln,style:Tn,height:xn?An:Mn},null);const Pn=$e(Vn,Ln),Fn=Ie(Vn,Pn),Un=Ve(wn);return createVNode(OptionItem,mergeProps(En,{selected:Pn,disabled:Ln.disabled||Fn,created:!!Ln.created,hovering:Un,item:Ln,onSelect:Bn,onHover:Dn}),{default:Wn=>{var Zn;return((Zn=r.default)==null?void 0:Zn.call(r,Wn))||createVNode("span",null,[Ln.label])}})},{onKeyboardNavigate:Et,onKeyboardSelect:Lt}=V,hn=()=>{Et("forward")},Cn=()=>{Et("backward")},bn=()=>{V.expanded=!1},Sn=En=>{const{code:wn}=En,{tab:$n,esc:Tn,down:xn,up:An,enter:Mn}=EVENT_CODE;switch(wn!==$n&&(En.preventDefault(),En.stopPropagation()),wn){case $n:case Tn:{bn();break}case xn:{hn();break}case An:{Cn();break}case Mn:{Lt();break}}};return()=>{var En;const{data:wn,width:$n}=t,{height:Tn,multiple:xn,scrollbarAlwaysOn:An}=V.props;if(wn.length===0)return createVNode("div",{class:oe.b("dropdown"),style:{width:`${$n}px`}},[(En=r.empty)==null?void 0:En.call(r)]);const Mn=unref(de)?FixedSizeList:DynamicSizeList;return createVNode("div",{class:[oe.b("dropdown"),oe.is("multiple",xn)]},[createVNode(Mn,mergeProps({ref:le},unref(pe),{className:oe.be("dropdown","list"),scrollbarAlwaysOn:An,data:wn,height:Tn,width:$n,total:wn.length,onKeydown:Sn}),{default:Vn=>createVNode(qe,Vn,null)})])}}});function useAllowCreate(t,r){const $=ref(0),V=ref(null),oe=computed(()=>t.allowCreate&&t.filterable);function ie(he){const _e=$e=>$e.value===he;return t.options&&t.options.some(_e)||r.createdOptions.some(_e)}function le(he){oe.value&&(t.multiple&&he.created?$.value++:V.value=he)}function ue(he){if(oe.value)if(he&&he.length>0&&!ie(he)){const _e={value:he,label:he,created:!0,disabled:!1};r.createdOptions.length>=$.value?r.createdOptions[$.value]=_e:r.createdOptions.push(_e)}else if(t.multiple)r.createdOptions.length=$.value;else{const _e=V.value;r.createdOptions.length=0,_e&&_e.created&&r.createdOptions.push(_e)}}function de(he){if(!oe.value||!he||!he.created||he.created&&t.reserveKeyword&&r.inputValue===he.label)return;const _e=r.createdOptions.findIndex($e=>$e.value===he.value);~_e&&(r.createdOptions.splice(_e,1),$.value--)}function pe(){oe.value&&(r.createdOptions.length=0,$.value=0)}return{createNewOption:ue,removeNewOption:de,selectNewOption:le,clearAllNewOption:pe}}const flattenOptions=t=>{const r=[];return t.forEach($=>{isArray$c($.options)?(r.push({label:$.label,isTitle:!0,type:"Group"}),$.options.forEach(V=>{r.push(V)}),r.push({type:"Group"})):r.push($)}),r};function useInput(t){const r=ref(!1);return{handleCompositionStart:()=>{r.value=!0},handleCompositionUpdate:ie=>{const le=ie.target.value,ue=le[le.length-1]||"";r.value=!isKorean(ue)},handleCompositionEnd:ie=>{r.value&&(r.value=!1,isFunction$5(t)&&t(ie))}}}const DEFAULT_INPUT_PLACEHOLDER="",MINIMUM_INPUT_WIDTH=11,TAG_BASE_WIDTH={larget:51,default:42,small:33},useSelect$1=(t,r)=>{const{t:$}=useLocale(),V=useNamespace("select-v2"),oe=useNamespace("input"),{form:ie,formItem:le}=useFormItem(),ue=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}),de=ref(-1),pe=ref(-1),he=ref(null),_e=ref(null),$e=ref(null),Ie=ref(null),Ve=ref(null),Fe=ref(null),Ue=ref(null),qe=ref(!1),Et=computed(()=>t.disabled||(ie==null?void 0:ie.disabled)),Lt=computed(()=>{const ir=xn.value.length*34;return ir>t.height?t.height:ir}),hn=computed(()=>!isNil(t.modelValue)),Cn=computed(()=>{const ir=t.multiple?Array.isArray(t.modelValue)&&t.modelValue.length>0:hn.value;return t.clearable&&!Et.value&&ue.comboBoxHovering&&ir}),bn=computed(()=>t.remote&&t.filterable?"":arrow_up_default),Sn=computed(()=>bn.value&&V.is("reverse",qe.value)),En=computed(()=>(le==null?void 0:le.validateState)||""),wn=computed(()=>ValidateComponentsMap[En.value]),$n=computed(()=>t.remote?300:0),Tn=computed(()=>{const ir=xn.value;return t.loading?t.loadingText||$("el.select.loading"):t.remote&&ue.inputValue===""&&ir.length===0?!1:t.filterable&&ue.inputValue&&ir.length>0?t.noMatchText||$("el.select.noMatch"):ir.length===0?t.noDataText||$("el.select.noData"):null}),xn=computed(()=>{const ir=Pr=>{const zr=ue.inputValue,Ir=new RegExp(escapeStringRegexp(zr),"i");return zr?Ir.test(Pr.label||""):!0};return t.loading?[]:flattenOptions(t.options.concat(ue.createdOptions).map(Pr=>{if(isArray$c(Pr.options)){const zr=Pr.options.filter(ir);if(zr.length>0)return{...Pr,options:zr}}else if(t.remote||ir(Pr))return Pr;return null}).filter(Pr=>Pr!==null))}),An=computed(()=>{const ir=new Map;return xn.value.forEach((Pr,zr)=>{ir.set(Tr(Pr),{option:Pr,index:zr})}),ir}),Mn=computed(()=>xn.value.every(ir=>ir.disabled)),Vn=useFormSize(),Bn=computed(()=>Vn.value==="small"?"small":"default"),Dn=computed(()=>{const ir=Fe.value,Pr=Bn.value||"default",zr=ir?Number.parseInt(getComputedStyle(ir).paddingLeft):0,Ir=ir?Number.parseInt(getComputedStyle(ir).paddingRight):0;return ue.selectWidth-Ir-zr-TAG_BASE_WIDTH[Pr]}),Ln=()=>{var ir;pe.value=((ir=Ve.value)==null?void 0:ir.offsetWidth)||200},Pn=computed(()=>({width:`${ue.calculatedWidth===0?MINIMUM_INPUT_WIDTH:Math.ceil(ue.calculatedWidth)+MINIMUM_INPUT_WIDTH}px`})),Fn=computed(()=>isArray$c(t.modelValue)?t.modelValue.length===0&&!ue.displayInputValue:t.filterable?ue.displayInputValue.length===0:!0),Un=computed(()=>{const ir=t.placeholder||$("el.select.placeholder");return t.multiple||isNil(t.modelValue)?ir:ue.selectedLabel}),Wn=computed(()=>{var ir,Pr;return(Pr=(ir=Ie.value)==null?void 0:ir.popperRef)==null?void 0:Pr.contentRef}),Zn=computed(()=>{if(t.multiple){const ir=t.modelValue.length;if(t.modelValue.length>0&&An.value.has(t.modelValue[ir-1])){const{index:Pr}=An.value.get(t.modelValue[ir-1]);return Pr}}else if(t.modelValue&&An.value.has(t.modelValue)){const{index:ir}=An.value.get(t.modelValue);return ir}return-1}),or=computed({get(){return qe.value&&Tn.value!==!1},set(ir){qe.value=ir}}),br=computed(()=>ue.cachedOptions.slice(0,t.maxCollapseTags)),Qn=computed(()=>ue.cachedOptions.slice(t.maxCollapseTags)),{createNewOption:Gn,removeNewOption:Yn,selectNewOption:er,clearAllNewOption:lr}=useAllowCreate(t,ue),{handleCompositionStart:sr,handleCompositionUpdate:zn,handleCompositionEnd:Kn}=useInput(ir=>Kr(ir)),Jn=()=>{var ir,Pr,zr;(Pr=(ir=_e.value)==null?void 0:ir.focus)==null||Pr.call(ir),(zr=Ie.value)==null||zr.updatePopper()},cr=()=>{if(!t.automaticDropdown&&!Et.value)return ue.isComposing&&(ue.softFocus=!0),nextTick(()=>{var ir,Pr;qe.value=!qe.value,(Pr=(ir=_e.value)==null?void 0:ir.focus)==null||Pr.call(ir)})},_r=()=>(t.filterable&&ue.inputValue!==ue.selectedLabel&&(ue.query=ue.selectedLabel),wr(ue.inputValue),nextTick(()=>{Gn(ue.inputValue)})),ur=debounce(_r,$n.value),wr=ir=>{ue.previousQuery!==ir&&(ue.previousQuery=ir,t.filterable&&isFunction$5(t.filterMethod)?t.filterMethod(ir):t.filterable&&t.remote&&isFunction$5(t.remoteMethod)&&t.remoteMethod(ir))},Cr=ir=>{isEqual$1(t.modelValue,ir)||r(CHANGE_EVENT,ir)},mr=ir=>{r(UPDATE_MODEL_EVENT,ir),Cr(ir),ue.previousValue=ir==null?void 0:ir.toString()},Er=(ir=[],Pr)=>{if(!isObject$a(Pr))return ir.indexOf(Pr);const zr=t.valueKey;let Ir=-1;return ir.some((Wr,Yr)=>get$1(Wr,zr)===get$1(Pr,zr)?(Ir=Yr,!0):!1),Ir},Tr=ir=>isObject$a(ir)?get$1(ir,t.valueKey):ir,nr=ir=>isObject$a(ir)?ir.label:ir,pr=()=>nextTick(()=>{var ir,Pr;if(!_e.value)return;const zr=Fe.value;Ve.value.height=zr.offsetHeight,qe.value&&Tn.value!==!1&&((Pr=(ir=Ie.value)==null?void 0:ir.updatePopper)==null||Pr.call(ir))}),gr=()=>{var ir,Pr;if($r(),Ln(),(Pr=(ir=Ie.value)==null?void 0:ir.updatePopper)==null||Pr.call(ir),t.multiple)return pr()},$r=()=>{const ir=Fe.value;ir&&(ue.selectWidth=ir.getBoundingClientRect().width)},Rr=(ir,Pr,zr=!0)=>{var Ir,Wr;if(t.multiple){let Yr=t.modelValue.slice();const Jr=Er(Yr,Tr(ir));Jr>-1?(Yr=[...Yr.slice(0,Jr),...Yr.slice(Jr+1)],ue.cachedOptions.splice(Jr,1),Yn(ir)):(t.multipleLimit<=0||Yr.length<t.multipleLimit)&&(Yr=[...Yr,Tr(ir)],ue.cachedOptions.push(ir),er(ir),Dr(Pr)),mr(Yr),ir.created&&(ue.query="",wr(""),ue.inputLength=20),t.filterable&&!t.reserveKeyword&&((Wr=(Ir=_e.value).focus)==null||Wr.call(Ir),Sr("")),t.filterable&&(ue.calculatedWidth=Ue.value.getBoundingClientRect().width),pr(),Gr()}else de.value=Pr,ue.selectedLabel=ir.label,mr(Tr(ir)),qe.value=!1,ue.isComposing=!1,ue.isSilentBlur=zr,er(ir),ir.created||lr(),Dr(Pr)},Lr=(ir,Pr)=>{const{valueKey:zr}=t,Ir=t.modelValue.indexOf(get$1(Pr,zr));if(Ir>-1&&!Et.value){const Wr=[...t.modelValue.slice(0,Ir),...t.modelValue.slice(Ir+1)];return ue.cachedOptions.splice(Ir,1),mr(Wr),r("remove-tag",get$1(Pr,zr)),ue.softFocus=!0,Yn(Pr),nextTick(Jn)}ir.stopPropagation()},Vr=ir=>{const Pr=ue.isComposing;ue.isComposing=!0,ue.softFocus?ue.softFocus=!1:Pr||r("focus",ir)},Nr=ir=>(ue.softFocus=!1,nextTick(()=>{var Pr,zr;(zr=(Pr=_e.value)==null?void 0:Pr.blur)==null||zr.call(Pr),Ue.value&&(ue.calculatedWidth=Ue.value.getBoundingClientRect().width),ue.isSilentBlur?ue.isSilentBlur=!1:ue.isComposing&&r("blur",ir),ue.isComposing=!1})),dr=()=>{ue.displayInputValue.length>0?Sr(""):qe.value=!1},ar=ir=>{if(ue.displayInputValue.length===0){ir.preventDefault();const Pr=t.modelValue.slice();Pr.pop(),Yn(ue.cachedOptions.pop()),mr(Pr)}},tr=()=>{let ir;return isArray$c(t.modelValue)?ir=[]:ir=void 0,ue.softFocus=!0,t.multiple?ue.cachedOptions=[]:ue.selectedLabel="",qe.value=!1,mr(ir),r("clear"),lr(),nextTick(Jn)},Sr=ir=>{ue.displayInputValue=ir,ue.inputValue=ir},qn=(ir,Pr=void 0)=>{const zr=xn.value;if(!["forward","backward"].includes(ir)||Et.value||zr.length<=0||Mn.value)return;if(!qe.value)return cr();Pr===void 0&&(Pr=ue.hoveringIndex);let Ir=-1;ir==="forward"?(Ir=Pr+1,Ir>=zr.length&&(Ir=0)):ir==="backward"&&(Ir=Pr-1,(Ir<0||Ir>=zr.length)&&(Ir=zr.length-1));const Wr=zr[Ir];if(Wr.disabled||Wr.type==="Group")return qn(ir,Ir);Dr(Ir),hr(Ir)},kr=()=>{if(qe.value)~ue.hoveringIndex&&xn.value[ue.hoveringIndex]&&Rr(xn.value[ue.hoveringIndex],ue.hoveringIndex,!1);else return cr()},Dr=ir=>{ue.hoveringIndex=ir},Hr=()=>{ue.hoveringIndex=-1},Gr=()=>{var ir;const Pr=_e.value;Pr&&((ir=Pr.focus)==null||ir.call(Pr))},Kr=ir=>{const Pr=ir.target.value;if(Sr(Pr),ue.displayInputValue.length>0&&!qe.value&&(qe.value=!0),ue.calculatedWidth=Ue.value.getBoundingClientRect().width,t.multiple&&pr(),t.remote)ur();else return _r()},to=()=>(qe.value=!1,Nr()),Zr=()=>(ue.inputValue=ue.displayInputValue,nextTick(()=>{~Zn.value&&(Dr(Zn.value),hr(ue.hoveringIndex))})),hr=ir=>{$e.value.scrollToItem(ir)},xr=()=>{if(Hr(),t.multiple)if(t.modelValue.length>0){let ir=!1;ue.cachedOptions.length=0,ue.previousValue=t.modelValue.toString();for(const Pr of t.modelValue)if(An.value.has(Pr)){const{index:zr,option:Ir}=An.value.get(Pr);ue.cachedOptions.push(Ir),ir||Dr(zr),ir=!0}}else ue.cachedOptions=[],ue.previousValue=void 0;else if(hn.value){ue.previousValue=t.modelValue;const ir=xn.value,Pr=ir.findIndex(zr=>Tr(zr)===Tr(t.modelValue));~Pr?(ue.selectedLabel=ir[Pr].label,Dr(Pr)):ue.selectedLabel=`${t.modelValue}`}else ue.selectedLabel="",ue.previousValue=void 0;lr(),Ln()};return watch(qe,ir=>{var Pr,zr;r("visible-change",ir),ir?(zr=(Pr=Ie.value).update)==null||zr.call(Pr):(ue.displayInputValue="",ue.previousQuery=null,Gn(""))}),watch(()=>t.modelValue,(ir,Pr)=>{var zr;(!ir||ir.toString()!==ue.previousValue)&&xr(),!isEqual$1(ir,Pr)&&t.validateEvent&&((zr=le==null?void 0:le.validate)==null||zr.call(le,"change").catch(Ir=>void 0))},{deep:!0}),watch(()=>t.options,()=>{const ir=_e.value;(!ir||ir&&document.activeElement!==ir)&&xr()},{deep:!0}),watch(xn,()=>nextTick($e.value.resetScrollTop)),watch(()=>or.value,ir=>{ir||Hr()}),onMounted(()=>{xr()}),useResizeObserver$1(Ve,gr),{collapseTagSize:Bn,currentPlaceholder:Un,expanded:qe,emptyText:Tn,popupHeight:Lt,debounce:$n,filteredOptions:xn,iconComponent:bn,iconReverse:Sn,inputWrapperStyle:Pn,popperSize:pe,dropdownMenuVisible:or,hasModelValue:hn,shouldShowPlaceholder:Fn,selectDisabled:Et,selectSize:Vn,showClearBtn:Cn,states:ue,tagMaxWidth:Dn,nsSelectV2:V,nsInput:oe,calculatorRef:Ue,controlRef:he,inputRef:_e,menuRef:$e,popper:Ie,selectRef:Ve,selectionRef:Fe,popperRef:Wn,validateState:En,validateIcon:wn,showTagList:br,collapseTagList:Qn,debouncedOnInputChange:ur,deleteTag:Lr,getLabel:nr,getValueKey:Tr,handleBlur:Nr,handleClear:tr,handleClickOutside:to,handleDel:ar,handleEsc:dr,handleFocus:Vr,handleMenuEnter:Zr,handleResize:gr,toggleMenu:cr,scrollTo:hr,onInput:Kr,onKeyboardNavigate:qn,onKeyboardSelect:kr,onSelect:Rr,onHover:Dr,onUpdateInputValue:Sr,handleCompositionStart:sr,handleCompositionEnd:Kn,handleCompositionUpdate:zn}},_sfc_main$E=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 $=computed(()=>{const{modelValue:oe,multiple:ie}=t,le=ie?[]:void 0;return isArray$c(oe)?ie?oe:le:ie?le:oe}),V=useSelect$1(reactive({...toRefs(t),modelValue:$}),r);return provide(selectV2InjectionKey,{props:reactive({...toRefs(t),height:V.popupHeight,modelValue:$}),popper:V.popper,onSelect:V.onSelect,onHover:V.onHover,onKeyboardNavigate:V.onKeyboardNavigate,onKeyboardSelect:V.onKeyboardSelect}),{...V,modelValue:$}}}),_hoisted_1$j={key:0},_hoisted_2$e=["id","autocomplete","aria-expanded","aria-labelledby","disabled","readonly","name","unselectable"],_hoisted_3$8=["textContent"],_hoisted_4$5=["id","aria-labelledby","aria-expanded","autocomplete","disabled","name","readonly","unselectable"],_hoisted_5$3=["textContent"];function _sfc_render$6(t,r,$,V,oe,ie){const le=resolveComponent("el-tag"),ue=resolveComponent("el-tooltip"),de=resolveComponent("el-icon"),pe=resolveComponent("el-select-menu"),he=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((...$e)=>t.toggleMenu&&t.toggleMenu(...$e),["stop"])),onMouseenter:r[25]||(r[25]=$e=>t.states.comboBoxHovering=!0),onMouseleave:r[26]||(r[26]=$e=>t.states.comboBoxHovering=!1)},[createVNode(ue,{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]=$e=>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$j,[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,$e=>(openBlock(),createElementBlock("div",{key:t.getValueKey($e),class:normalizeClass(t.nsSelectV2.e("selected-item"))},[createVNode(le,{closable:!t.selectDisabled&&!($e!=null&&$e.disable),size:t.collapseTagSize,type:"info","disable-transitions":"",onClose:Ie=>t.deleteTag(Ie,$e)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},toDisplayString$1($e==null?void 0:$e.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(le,{key:0,closable:!1,size:t.collapseTagSize,type:"info","disable-transitions":""},{default:withCtx(()=>[t.collapseTagsTooltip?(openBlock(),createBlock(ue,{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,$e=>(openBlock(),createElementBlock("div",{key:t.getValueKey($e),class:normalizeClass(t.nsSelectV2.e("selected-item"))},[createVNode(le,{closable:!t.selectDisabled&&!$e.disabled,size:t.collapseTagSize,class:"in-tooltip",type:"info","disable-transitions":"",onClose:Ie=>t.deleteTag(Ie,$e)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},toDisplayString$1(t.getLabel($e)),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,$e=>(openBlock(),createElementBlock("div",{key:t.getValueKey($e),class:normalizeClass(t.nsSelectV2.e("selected-item"))},[createVNode(le,{closable:!t.selectDisabled&&!$e.disabled,size:t.collapseTagSize,type:"info","disable-transitions":"",onClose:Ie=>t.deleteTag(Ie,$e)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},toDisplayString$1(t.getLabel($e)),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]=(...$e)=>t.onUpdateInputValue&&t.onUpdateInputValue(...$e)),onFocus:r[1]||(r[1]=(...$e)=>t.handleFocus&&t.handleFocus(...$e)),onBlur:r[2]||(r[2]=(...$e)=>t.handleBlur&&t.handleBlur(...$e)),onInput:r[3]||(r[3]=(...$e)=>t.onInput&&t.onInput(...$e)),onCompositionstart:r[4]||(r[4]=(...$e)=>t.handleCompositionStart&&t.handleCompositionStart(...$e)),onCompositionupdate:r[5]||(r[5]=(...$e)=>t.handleCompositionUpdate&&t.handleCompositionUpdate(...$e)),onCompositionend:r[6]||(r[6]=(...$e)=>t.handleCompositionEnd&&t.handleCompositionEnd(...$e)),onKeydown:[r[7]||(r[7]=withKeys(withModifiers($e=>t.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),r[8]||(r[8]=withKeys(withModifiers($e=>t.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),r[9]||(r[9]=withKeys(withModifiers((...$e)=>t.onKeyboardSelect&&t.onKeyboardSelect(...$e),["stop","prevent"]),["enter"])),r[10]||(r[10]=withKeys(withModifiers((...$e)=>t.handleEsc&&t.handleEsc(...$e),["stop","prevent"]),["esc"])),r[11]||(r[11]=withKeys(withModifiers((...$e)=>t.handleDel&&t.handleDel(...$e),["stop"]),["delete"]))]},null,42,_hoisted_2$e),[[he,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$8)):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]=(...$e)=>t.handleCompositionStart&&t.handleCompositionStart(...$e)),onCompositionupdate:r[13]||(r[13]=(...$e)=>t.handleCompositionUpdate&&t.handleCompositionUpdate(...$e)),onCompositionend:r[14]||(r[14]=(...$e)=>t.handleCompositionEnd&&t.handleCompositionEnd(...$e)),onFocus:r[15]||(r[15]=(...$e)=>t.handleFocus&&t.handleFocus(...$e)),onBlur:r[16]||(r[16]=(...$e)=>t.handleBlur&&t.handleBlur(...$e)),onInput:r[17]||(r[17]=(...$e)=>t.onInput&&t.onInput(...$e)),onKeydown:[r[18]||(r[18]=withKeys(withModifiers($e=>t.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),r[19]||(r[19]=withKeys(withModifiers($e=>t.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),r[20]||(r[20]=withKeys(withModifiers((...$e)=>t.onKeyboardSelect&&t.onKeyboardSelect(...$e),["stop","prevent"]),["enter"])),r[21]||(r[21]=withKeys(withModifiers((...$e)=>t.handleEsc&&t.handleEsc(...$e),["stop","prevent"]),["esc"]))],"onUpdate:modelValue":r[22]||(r[22]=(...$e)=>t.onUpdateInputValue&&t.onUpdateInputValue(...$e))},null,42,_hoisted_4$5),[[he,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$3)):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(de,{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(de,{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(de,{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(pe,{ref:"menuRef",data:t.filteredOptions,width:t.popperSize,"hovering-index":t.states.hoveringIndex,"scrollbar-always-on":t.scrollbarAlwaysOn},{default:withCtx($e=>[renderSlot(t.$slots,"default",normalizeProps(guardReactiveProps($e)))]),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$E,[["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$D=defineComponent({...__default__$t,props:skeletonItemProps,setup(t){const r=useNamespace("skeleton");return($,V)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(r).e("item"),unref(r).e($.variant)])},[$.variant==="image"?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc$1(_sfc_main$D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const __default__$s=defineComponent({name:"ElSkeleton"}),_sfc_main$C=defineComponent({...__default__$s,props:skeletonProps,setup(t,{expose:r}){const $=t,V=useNamespace("skeleton"),oe=useThrottleRender(toRef($,"loading"),$.throttle);return r({uiLoading:oe}),(ie,le)=>unref(oe)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(V).b(),unref(V).is("animated",ie.animated)]},ie.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(ie.count,ue=>(openBlock(),createElementBlock(Fragment,{key:ue},[ie.loading?renderSlot(ie.$slots,"template",{key:ue},()=>[createVNode(SkeletonItem,{class:normalizeClass(unref(V).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(ie.rows,de=>(openBlock(),createBlock(SkeletonItem,{key:de,class:normalizeClass([unref(V).e("paragraph"),unref(V).is("last",de===ie.rows&&ie.rows>1)]),variant:"p"},null,8,["class"]))),128))]):createCommentVNode("v-if",!0)],64))),128))],16)):renderSlot(ie.$slots,"default",normalizeProps(mergeProps({key:1},ie.$attrs)))}});var Skeleton=_export_sfc$1(_sfc_main$C,[["__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,$)=>{const V=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",$),await nextTick(),$()}),{sliderWrapper:V}},useMarks=t=>computed(()=>t.marks?Object.keys(t.marks).map(Number.parseFloat).sort(($,V)=>$-V).filter($=>$<=t.max&&$>=t.min).map($=>({point:$,position:($-t.min)*100/(t.max-t.min),mark:t.marks[$]})):[]),useSlide=(t,r,$)=>{const{form:V,formItem:oe}=useFormItem(),ie=shallowRef(),le=ref(),ue=ref(),de={firstButton:le,secondButton:ue},pe=computed(()=>t.disabled||(V==null?void 0:V.disabled)||!1),he=computed(()=>Math.min(r.firstValue,r.secondValue)),_e=computed(()=>Math.max(r.firstValue,r.secondValue)),$e=computed(()=>t.range?`${100*(_e.value-he.value)/(t.max-t.min)}%`:`${100*(r.firstValue-t.min)/(t.max-t.min)}%`),Ie=computed(()=>t.range?`${100*(he.value-t.min)/(t.max-t.min)}%`:"0%"),Ve=computed(()=>t.vertical?{height:t.height}:{}),Fe=computed(()=>t.vertical?{height:$e.value,bottom:Ie.value}:{width:$e.value,left:Ie.value}),Ue=()=>{ie.value&&(r.sliderSize=ie.value[`client${t.vertical?"Height":"Width"}`])},qe=Tn=>{const xn=t.min+Tn*(t.max-t.min)/100;if(!t.range)return le;let An;return Math.abs(he.value-xn)<Math.abs(_e.value-xn)?An=r.firstValue<r.secondValue?"firstButton":"secondButton":An=r.firstValue>r.secondValue?"firstButton":"secondButton",de[An]},Et=Tn=>{const xn=qe(Tn);return xn.value.setPosition(Tn),xn},Lt=Tn=>{r.firstValue=Tn,Cn(t.range?[he.value,_e.value]:Tn)},hn=Tn=>{r.secondValue=Tn,t.range&&Cn([he.value,_e.value])},Cn=Tn=>{$(UPDATE_MODEL_EVENT,Tn),$(INPUT_EVENT,Tn)},bn=async()=>{await nextTick(),$(CHANGE_EVENT,t.range?[he.value,_e.value]:t.modelValue)},Sn=Tn=>{var xn,An,Mn,Vn,Bn,Dn;if(pe.value||r.dragging)return;Ue();let Ln=0;if(t.vertical){const Pn=(Mn=(An=(xn=Tn.touches)==null?void 0:xn.item(0))==null?void 0:An.clientY)!=null?Mn:Tn.clientY;Ln=(ie.value.getBoundingClientRect().bottom-Pn)/r.sliderSize*100}else{const Pn=(Dn=(Bn=(Vn=Tn.touches)==null?void 0:Vn.item(0))==null?void 0:Bn.clientX)!=null?Dn:Tn.clientX,Fn=ie.value.getBoundingClientRect().left;Ln=(Pn-Fn)/r.sliderSize*100}if(!(Ln<0||Ln>100))return Et(Ln)};return{elFormItem:oe,slider:ie,firstButton:le,secondButton:ue,sliderDisabled:pe,minValue:he,maxValue:_e,runwayStyle:Ve,barStyle:Fe,resetSize:Ue,setPosition:Et,emitChange:bn,onSliderWrapperPrevent:Tn=>{var xn,An;((xn=de.firstButton.value)!=null&&xn.dragging||(An=de.secondButton.value)!=null&&An.dragging)&&Tn.preventDefault()},onSliderClick:Tn=>{Sn(Tn)&&bn()},onSliderDown:async Tn=>{const xn=Sn(Tn);xn&&(await nextTick(),xn.value.onButtonDown(Tn))},setFirstValue:Lt,setSecondValue:hn}},{left,down,right,up,home:home$2,end:end$1,pageUp,pageDown}=EVENT_CODE,useTooltip=(t,r,$)=>{const V=ref(),oe=ref(!1),ie=computed(()=>r.value instanceof Function),le=computed(()=>ie.value&&r.value(t.modelValue)||t.modelValue),ue=debounce(()=>{$.value&&(oe.value=!0)},50),de=debounce(()=>{$.value&&(oe.value=!1)},50);return{tooltip:V,tooltipVisible:oe,formatValue:le,displayTooltip:ue,hideTooltip:de}},useSliderButton=(t,r,$)=>{const{disabled:V,min:oe,max:ie,step:le,showTooltip:ue,precision:de,sliderSize:pe,formatTooltip:he,emitChange:_e,resetSize:$e,updateDragging:Ie}=inject(sliderContextKey),{tooltip:Ve,tooltipVisible:Fe,formatValue:Ue,displayTooltip:qe,hideTooltip:Et}=useTooltip(t,he,ue),Lt=ref(),hn=computed(()=>`${(t.modelValue-oe.value)/(ie.value-oe.value)*100}%`),Cn=computed(()=>t.vertical?{bottom:hn.value}:{left:hn.value}),bn=()=>{r.hovering=!0,qe()},Sn=()=>{r.hovering=!1,r.dragging||Et()},En=Wn=>{V.value||(Wn.preventDefault(),Ln(Wn),window.addEventListener("mousemove",Pn),window.addEventListener("touchmove",Pn),window.addEventListener("mouseup",Fn),window.addEventListener("touchend",Fn),window.addEventListener("contextmenu",Fn),Lt.value.focus())},wn=Wn=>{V.value||(r.newPosition=Number.parseFloat(hn.value)+Wn/(ie.value-oe.value)*100,Un(r.newPosition),_e())},$n=()=>{wn(-le.value)},Tn=()=>{wn(le.value)},xn=()=>{wn(-le.value*4)},An=()=>{wn(le.value*4)},Mn=()=>{V.value||(Un(0),_e())},Vn=()=>{V.value||(Un(100),_e())},Bn=Wn=>{let Zn=!0;[left,down].includes(Wn.key)?$n():[right,up].includes(Wn.key)?Tn():Wn.key===home$2?Mn():Wn.key===end$1?Vn():Wn.key===pageDown?xn():Wn.key===pageUp?An():Zn=!1,Zn&&Wn.preventDefault()},Dn=Wn=>{let Zn,or;return Wn.type.startsWith("touch")?(or=Wn.touches[0].clientY,Zn=Wn.touches[0].clientX):(or=Wn.clientY,Zn=Wn.clientX),{clientX:Zn,clientY:or}},Ln=Wn=>{r.dragging=!0,r.isClick=!0;const{clientX:Zn,clientY:or}=Dn(Wn);t.vertical?r.startY=or:r.startX=Zn,r.startPosition=Number.parseFloat(hn.value),r.newPosition=r.startPosition},Pn=Wn=>{if(r.dragging){r.isClick=!1,qe(),$e();let Zn;const{clientX:or,clientY:br}=Dn(Wn);t.vertical?(r.currentY=br,Zn=(r.startY-r.currentY)/pe.value*100):(r.currentX=or,Zn=(r.currentX-r.startX)/pe.value*100),r.newPosition=r.startPosition+Zn,Un(r.newPosition)}},Fn=()=>{r.dragging&&(setTimeout(()=>{r.dragging=!1,r.hovering||Et(),r.isClick||Un(r.newPosition),_e()},0),window.removeEventListener("mousemove",Pn),window.removeEventListener("touchmove",Pn),window.removeEventListener("mouseup",Fn),window.removeEventListener("touchend",Fn),window.removeEventListener("contextmenu",Fn))},Un=async Wn=>{if(Wn===null||Number.isNaN(+Wn))return;Wn<0?Wn=0:Wn>100&&(Wn=100);const Zn=100/((ie.value-oe.value)/le.value);let br=Math.round(Wn/Zn)*Zn*(ie.value-oe.value)*.01+oe.value;br=Number.parseFloat(br.toFixed(de.value)),br!==t.modelValue&&$(UPDATE_MODEL_EVENT,br),!r.dragging&&t.modelValue!==r.oldValue&&(r.oldValue=t.modelValue),await nextTick(),r.dragging&&qe(),Ve.value.updatePopper()};return watch(()=>r.dragging,Wn=>{Ie(Wn)}),{disabled:V,button:Lt,tooltip:Ve,tooltipVisible:Fe,showTooltip:ue,wrapperStyle:Cn,formatValue:Ue,handleMouseEnter:bn,handleMouseLeave:Sn,onButtonDown:En,onKeyDown:Bn,setPosition:Un}},useStops=(t,r,$,V)=>({stops:computed(()=>{if(!t.showStops||t.min>t.max)return[];if(t.step===0)return[];const le=(t.max-t.min)/t.step,ue=100*t.step/(t.max-t.min),de=Array.from({length:le-1}).map((pe,he)=>(he+1)*ue);return t.range?de.filter(pe=>pe<100*($.value-t.min)/(t.max-t.min)||pe>100*(V.value-t.min)/(t.max-t.min)):de.filter(pe=>pe>100*(r.firstValue-t.min)/(t.max-t.min))}),getStopStyle:le=>t.vertical?{bottom:`${le}%`}:{left:`${le}%`}}),useWatch=(t,r,$,V,oe,ie)=>{const le=pe=>{oe(UPDATE_MODEL_EVENT,pe),oe(INPUT_EVENT,pe)},ue=()=>t.range?![$.value,V.value].every((pe,he)=>pe===r.oldValue[he]):t.modelValue!==r.oldValue,de=()=>{var pe,he;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?le([t.min,t.min]):_e[0]>t.max?le([t.max,t.max]):_e[0]<t.min?le([t.min,_e[1]]):_e[1]>t.max?le([_e[0],t.max]):(r.firstValue=_e[0],r.secondValue=_e[1],ue()&&(t.validateEvent&&((pe=ie==null?void 0:ie.validate)==null||pe.call(ie,"change").catch($e=>void 0)),r.oldValue=_e.slice())):!t.range&&typeof _e=="number"&&!Number.isNaN(_e)&&(_e<t.min?le(t.min):_e>t.max?le(t.max):(r.firstValue=_e,ue()&&(t.validateEvent&&((he=ie==null?void 0:ie.validate)==null||he.call(ie,"change").catch($e=>void 0)),r.oldValue=_e)))};de(),watch(()=>r.dragging,pe=>{pe||de()}),watch(()=>t.modelValue,(pe,he)=>{r.dragging||Array.isArray(pe)&&Array.isArray(he)&&pe.every((_e,$e)=>_e===he[$e])&&r.firstValue===pe[0]&&r.secondValue===pe[1]||de()},{deep:!0}),watch(()=>[t.min,t.max],()=>{de()})},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$i=["tabindex"],__default__$r=defineComponent({name:"ElSliderButton"}),_sfc_main$B=defineComponent({...__default__$r,props:sliderButtonProps,emits:sliderButtonEmits,setup(t,{expose:r,emit:$}){const V=t,oe=useNamespace("slider"),ie=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:V.modelValue}),{disabled:le,button:ue,tooltip:de,showTooltip:pe,tooltipVisible:he,wrapperStyle:_e,formatValue:$e,handleMouseEnter:Ie,handleMouseLeave:Ve,onButtonDown:Fe,onKeyDown:Ue,setPosition:qe}=useSliderButton(V,ie,$),{hovering:Et,dragging:Lt}=toRefs(ie);return r({onButtonDown:Fe,onKeyDown:Ue,setPosition:qe,hovering:Et,dragging:Lt}),(hn,Cn)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:ue,class:normalizeClass([unref(oe).e("button-wrapper"),{hover:unref(Et),dragging:unref(Lt)}]),style:normalizeStyle$1(unref(_e)),tabindex:unref(le)?-1:0,onMouseenter:Cn[0]||(Cn[0]=(...bn)=>unref(Ie)&&unref(Ie)(...bn)),onMouseleave:Cn[1]||(Cn[1]=(...bn)=>unref(Ve)&&unref(Ve)(...bn)),onMousedown:Cn[2]||(Cn[2]=(...bn)=>unref(Fe)&&unref(Fe)(...bn)),onTouchstart:Cn[3]||(Cn[3]=(...bn)=>unref(Fe)&&unref(Fe)(...bn)),onFocus:Cn[4]||(Cn[4]=(...bn)=>unref(Ie)&&unref(Ie)(...bn)),onBlur:Cn[5]||(Cn[5]=(...bn)=>unref(Ve)&&unref(Ve)(...bn)),onKeydown:Cn[6]||(Cn[6]=(...bn)=>unref(Ue)&&unref(Ue)(...bn))},[createVNode(unref(ElTooltip),{ref_key:"tooltip",ref:de,visible:unref(he),placement:hn.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":hn.tooltipClass,disabled:!unref(pe),persistent:""},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(unref($e)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref(oe).e("button"),{hover:unref(Et),dragging:unref(Lt)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,_hoisted_1$i))}});var SliderButton=_export_sfc$1(_sfc_main$B,[["__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"),$=computed(()=>isString$6(t.mark)?t.mark:t.mark.label),V=computed(()=>isString$6(t.mark)?void 0:t.mark.style);return()=>h$2("div",{class:r.e("marks-text"),style:V.value},$.value)}});const _hoisted_1$h=["id","role","aria-label","aria-labelledby"],_hoisted_2$d={key:1},__default__$q=defineComponent({name:"ElSlider"}),_sfc_main$A=defineComponent({...__default__$q,props:sliderProps,emits:sliderEmits,setup(t,{expose:r,emit:$}){const V=t,oe=useNamespace("slider"),{t:ie}=useLocale(),le=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:ue,slider:de,firstButton:pe,secondButton:he,sliderDisabled:_e,minValue:$e,maxValue:Ie,runwayStyle:Ve,barStyle:Fe,resetSize:Ue,emitChange:qe,onSliderWrapperPrevent:Et,onSliderClick:Lt,onSliderDown:hn,setFirstValue:Cn,setSecondValue:bn}=useSlide(V,le,$),{stops:Sn,getStopStyle:En}=useStops(V,le,$e,Ie),{inputId:wn,isLabeledByFormItem:$n}=useFormItemInputId(V,{formItemContext:ue}),Tn=useFormSize(),xn=computed(()=>V.inputSize||Tn.value),An=computed(()=>V.label||ie("el.slider.defaultLabel",{min:V.min,max:V.max})),Mn=computed(()=>V.range?V.rangeStartLabel||ie("el.slider.defaultRangeStartLabel"):An.value),Vn=computed(()=>V.formatValueText?V.formatValueText(Wn.value):`${Wn.value}`),Bn=computed(()=>V.rangeEndLabel||ie("el.slider.defaultRangeEndLabel")),Dn=computed(()=>V.formatValueText?V.formatValueText(Zn.value):`${Zn.value}`),Ln=computed(()=>[oe.b(),oe.m(Tn.value),oe.is("vertical",V.vertical),{[oe.m("with-input")]:V.showInput}]),Pn=useMarks(V);useWatch(V,le,$e,Ie,$,ue);const Fn=computed(()=>{const Qn=[V.min,V.max,V.step].map(Gn=>{const Yn=`${Gn}`.split(".")[1];return Yn?Yn.length:0});return Math.max.apply(null,Qn)}),{sliderWrapper:Un}=useLifecycle(V,le,Ue),{firstValue:Wn,secondValue:Zn,sliderSize:or}=toRefs(le),br=Qn=>{le.dragging=Qn};return provide(sliderContextKey,{...toRefs(V),sliderSize:or,disabled:_e,precision:Fn,emitChange:qe,resetSize:Ue,updateDragging:br}),r({onSliderClick:Lt}),(Qn,Gn)=>{var Yn,er;return openBlock(),createElementBlock("div",{id:Qn.range?unref(wn):void 0,ref_key:"sliderWrapper",ref:Un,class:normalizeClass(unref(Ln)),role:Qn.range?"group":void 0,"aria-label":Qn.range&&!unref($n)?unref(An):void 0,"aria-labelledby":Qn.range&&unref($n)?(Yn=unref(ue))==null?void 0:Yn.labelId:void 0,onTouchstart:Gn[2]||(Gn[2]=(...lr)=>unref(Et)&&unref(Et)(...lr)),onTouchmove:Gn[3]||(Gn[3]=(...lr)=>unref(Et)&&unref(Et)(...lr))},[createBaseVNode("div",{ref_key:"slider",ref:de,class:normalizeClass([unref(oe).e("runway"),{"show-input":Qn.showInput&&!Qn.range},unref(oe).is("disabled",unref(_e))]),style:normalizeStyle$1(unref(Ve)),onMousedown:Gn[0]||(Gn[0]=(...lr)=>unref(hn)&&unref(hn)(...lr)),onTouchstart:Gn[1]||(Gn[1]=(...lr)=>unref(hn)&&unref(hn)(...lr))},[createBaseVNode("div",{class:normalizeClass(unref(oe).e("bar")),style:normalizeStyle$1(unref(Fe))},null,6),createVNode(SliderButton,{id:Qn.range?void 0:unref(wn),ref_key:"firstButton",ref:pe,"model-value":unref(Wn),vertical:Qn.vertical,"tooltip-class":Qn.tooltipClass,placement:Qn.placement,role:"slider","aria-label":Qn.range||!unref($n)?unref(Mn):void 0,"aria-labelledby":!Qn.range&&unref($n)?(er=unref(ue))==null?void 0:er.labelId:void 0,"aria-valuemin":Qn.min,"aria-valuemax":Qn.range?unref(Zn):Qn.max,"aria-valuenow":unref(Wn),"aria-valuetext":unref(Vn),"aria-orientation":Qn.vertical?"vertical":"horizontal","aria-disabled":unref(_e),"onUpdate:modelValue":unref(Cn)},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"]),Qn.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:he,"model-value":unref(Zn),vertical:Qn.vertical,"tooltip-class":Qn.tooltipClass,placement:Qn.placement,role:"slider","aria-label":unref(Bn),"aria-valuemin":unref(Wn),"aria-valuemax":Qn.max,"aria-valuenow":unref(Zn),"aria-valuetext":unref(Dn),"aria-orientation":Qn.vertical?"vertical":"horizontal","aria-disabled":unref(_e),"onUpdate:modelValue":unref(bn)},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),Qn.showStops?(openBlock(),createElementBlock("div",_hoisted_2$d,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Sn),(lr,sr)=>(openBlock(),createElementBlock("div",{key:sr,class:normalizeClass(unref(oe).e("stop")),style:normalizeStyle$1(unref(En)(lr))},null,6))),128))])):createCommentVNode("v-if",!0),unref(Pn).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Pn),(lr,sr)=>(openBlock(),createElementBlock("div",{key:sr,style:normalizeStyle$1(unref(En)(lr.position)),class:normalizeClass([unref(oe).e("stop"),unref(oe).e("marks-stop")])},null,6))),128))]),createBaseVNode("div",{class:normalizeClass(unref(oe).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Pn),(lr,sr)=>(openBlock(),createBlock(unref(SliderMarker),{key:sr,mark:lr.mark,style:normalizeStyle$1(unref(En)(lr.position))},null,8,["mark","style"]))),128))],2)],64)):createCommentVNode("v-if",!0)],38),Qn.showInput&&!Qn.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(Wn),class:normalizeClass(unref(oe).e("input")),step:Qn.step,disabled:unref(_e),controls:Qn.showInputControls,min:Qn.min,max:Qn.max,debounce:Qn.debounce,size:unref(xn),"onUpdate:modelValue":unref(Cn),onChange:unref(qe)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],42,_hoisted_1$h)}}});var Slider=_export_sfc$1(_sfc_main$A,[["__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 $=useNamespace("space"),V=computed(()=>`${t.prefixCls||$.b()}__item`);return()=>h$2("div",{class:V.value},renderSlot(r,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace(t){const r=useNamespace("space"),$=computed(()=>[r.b(),r.m(t.direction),t.class]),V=ref(0),oe=ref(0),ie=computed(()=>{const ue=t.wrap||t.fill?{flexWrap:"wrap",marginBottom:`-${oe.value}px`}:{},de={alignItems:t.alignment};return[ue,de,t.style]}),le=computed(()=>{const ue={paddingBottom:`${oe.value}px`,marginRight:`${V.value}px`},de=t.fill?{flexGrow:1,minWidth:`${t.fillRatio}%`}:{};return[ue,de]});return watchEffect(()=>{const{size:ue="small",wrap:de,direction:pe,fill:he}=t;if(isArray$c(ue)){const[_e=0,$e=0]=ue;V.value=_e,oe.value=$e}else{let _e;isNumber$4(ue)?_e=ue:_e=SIZE_MAP[ue||"small"]||SIZE_MAP.small,(de||he)&&pe==="horizontal"?V.value=oe.value=_e:pe==="horizontal"?(V.value=_e,oe.value=0):(oe.value=_e,V.value=0)}}),{classes:$,containerStyle:ie,itemStyle:le}}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:$,containerStyle:V,itemStyle:oe}=useSpace(t);function ie(le,ue="",de=[]){const{prefixCls:pe}=t;return le.forEach((he,_e)=>{isFragment(he)?isArray$c(he.children)&&he.children.forEach(($e,Ie)=>{isFragment($e)&&isArray$c($e.children)?ie($e.children,`${ue+Ie}-`,de):de.push(createVNode(SpaceItem,{style:oe.value,prefixCls:pe,key:`nested-${ue+Ie}`},{default:()=>[$e]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(he)&&de.push(createVNode(SpaceItem,{style:oe.value,prefixCls:pe,key:`LoopKey${ue+_e}`},{default:()=>[he]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),de}return()=>{var le;const{spacer:ue,direction:de}=t,pe=renderSlot(r,"default",{key:0},()=>[]);if(((le=pe.children)!=null?le:[]).length===0)return null;if(isArray$c(pe.children)){let he=ie(pe.children);if(ue){const _e=he.length-1;he=he.reduce(($e,Ie,Ve)=>{const Fe=[...$e,Ie];return Ve!==_e&&Fe.push(createVNode("span",{style:[oe.value,de==="vertical"?"width: 100%":null],key:Ve},[isVNode$1(ue)?ue:createTextVNode(ue,PatchFlags.TEXT)],PatchFlags.STYLE)),Fe},[])}return createVNode("div",{class:$.value,style:V.value},he,PatchFlags.STYLE|PatchFlags.CLASS)}return pe.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$z=defineComponent({...__default__$p,props:statisticProps,setup(t,{expose:r}){const $=t,V=useNamespace("statistic"),oe=computed(()=>{const{value:ie,formatter:le,precision:ue,decimalSeparator:de,groupSeparator:pe}=$;if(isFunction$5(le))return le(ie);if(!isNumber$4(ie))return ie;let[he,_e=""]=String(ie).split(".");return _e=_e.padEnd(ue,"0").slice(0,ue>0?ue:0),he=he.replace(/\B(?=(\d{3})+(?!\d))/g,pe),[he,_e].join(_e?de:"")});return r({displayValue:oe}),(ie,le)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(V).b())},[ie.$slots.title||ie.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).e("head"))},[renderSlot(ie.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(ie.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(V).e("content"))},[ie.$slots.prefix||ie.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).e("prefix"))},[renderSlot(ie.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString$1(ie.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(V).e("number")),style:normalizeStyle$1(ie.valueStyle)},toDisplayString$1(unref(oe)),7),ie.$slots.suffix||ie.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(V).e("suffix"))},[renderSlot(ie.$slots,"suffix",{},()=>[createBaseVNode("span",null,toDisplayString$1(ie.suffix),1)])],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc$1(_sfc_main$z,[["__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 $=t;const V=/\[([^\]]*)]/g;return timeUnits$1.reduce((ie,[le,ue])=>{const de=new RegExp(`${le}+(?![^\\[\\]]*\\])`,"g");if(de.test(ie)){const pe=Math.floor($/ue);return $-=pe*ue,ie.replace(de,he=>String(pe).padStart(he.length,"0"))}return ie},r).replace(V,"$1")},__default__$o=defineComponent({name:"ElCountdown"}),_sfc_main$y=defineComponent({...__default__$o,props:countdownProps,emits:countdownEmits,setup(t,{expose:r,emit:$}){const V=t;let oe;const ie=ref(getTime$1(V.value)-Date.now()),le=computed(()=>formatTime$2(ie.value,V.format)),ue=he=>formatTime$2(he,V.format),de=()=>{oe&&(cAF(oe),oe=void 0)},pe=()=>{const he=getTime$1(V.value),_e=()=>{let $e=he-Date.now();$("change",$e),$e<=0?($e=0,de(),$("finish")):oe=rAF(_e),ie.value=$e};oe=rAF(_e)};return watch(()=>[V.value,V.format],()=>{de(),pe()},{immediate:!0}),onBeforeUnmount(()=>{de()}),r({displayValue:le}),(he,_e)=>(openBlock(),createBlock(unref(ElStatistic),{value:ie.value,title:he.title,prefix:he.prefix,suffix:he.suffix,"value-style":he.valueStyle,formatter:ue},createSlots({_:2},[renderList(he.$slots,($e,Ie)=>({name:Ie,fn:withCtx(()=>[renderSlot(he.$slots,Ie)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc$1(_sfc_main$y,[["__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$x=defineComponent({...__default__$n,props:stepsProps,emits:stepsEmits,setup(t,{emit:r}){const $=t,V=useNamespace("steps"),{children:oe,addChild:ie,removeChild:le}=useOrderedChildren(getCurrentInstance(),"ElStep");return watch(oe,()=>{oe.value.forEach((ue,de)=>{ue.setIndex(de)})}),provide("ElSteps",{props:$,steps:oe,addStep:ie,removeStep:le}),watch(()=>$.active,(ue,de)=>{r(CHANGE_EVENT,ue,de)}),(ue,de)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(V).b(),unref(V).m(ue.simple?"simple":ue.direction)])},[renderSlot(ue.$slots,"default")],2))}});var Steps=_export_sfc$1(_sfc_main$x,[["__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$w=defineComponent({...__default__$m,props:stepProps,setup(t){const r=t,$=useNamespace("step"),V=ref(-1),oe=ref({}),ie=ref(""),le=inject("ElSteps"),ue=getCurrentInstance();onMounted(()=>{watch([()=>le.props.active,()=>le.props.processStatus,()=>le.props.finishStatus],([bn])=>{hn(bn)},{immediate:!0})}),onBeforeUnmount(()=>{le.removeStep(Cn.uid)});const de=computed(()=>r.status||ie.value),pe=computed(()=>{const bn=le.steps.value[V.value-1];return bn?bn.currentStatus:"wait"}),he=computed(()=>le.props.alignCenter),_e=computed(()=>le.props.direction==="vertical"),$e=computed(()=>le.props.simple),Ie=computed(()=>le.steps.value.length),Ve=computed(()=>{var bn;return((bn=le.steps.value[Ie.value-1])==null?void 0:bn.uid)===(ue==null?void 0:ue.uid)}),Fe=computed(()=>$e.value?"":le.props.space),Ue=computed(()=>[$.b(),$.is($e.value?"simple":le.props.direction),$.is("flex",Ve.value&&!Fe.value&&!he.value),$.is("center",he.value&&!_e.value&&!$e.value)]),qe=computed(()=>{const bn={flexBasis:isNumber$4(Fe.value)?`${Fe.value}px`:Fe.value?Fe.value:`${100/(Ie.value-(he.value?0:1))}%`};return _e.value||Ve.value&&(bn.maxWidth=`${100/Ie.value}%`),bn}),Et=bn=>{V.value=bn},Lt=bn=>{const Sn=bn==="wait",En={transitionDelay:`${Sn?"-":""}${150*V.value}ms`},wn=bn===le.props.processStatus||Sn?0:100;En.borderWidth=wn&&!$e.value?"1px":0,En[le.props.direction==="vertical"?"height":"width"]=`${wn}%`,oe.value=En},hn=bn=>{bn>V.value?ie.value=le.props.finishStatus:bn===V.value&&pe.value!=="error"?ie.value=le.props.processStatus:ie.value="wait";const Sn=le.steps.value[V.value-1];Sn&&Sn.calcProgress(ie.value)},Cn=reactive({uid:ue.uid,currentStatus:de,setIndex:Et,calcProgress:Lt});return le.addStep(Cn),(bn,Sn)=>(openBlock(),createElementBlock("div",{style:normalizeStyle$1(unref(qe)),class:normalizeClass(unref(Ue))},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref($).e("head"),unref($).is(unref(de))])},[unref($e)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref($).e("line-inner")),style:normalizeStyle$1(oe.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref($).e("icon"),unref($).is(bn.icon||bn.$slots.icon?"icon":"text")])},[renderSlot(bn.$slots,"icon",{},()=>[bn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref($).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(bn.icon)))]),_:1},8,["class"])):unref(de)==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref($).e("icon-inner"),unref($).is("status")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):unref(de)==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref($).e("icon-inner"),unref($).is("status")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"])):unref($e)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref($).e("icon-inner"))},toDisplayString$1(V.value+1),3))])],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref($).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref($).e("title"),unref($).is(unref(de))])},[renderSlot(bn.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(bn.title),1)])],2),unref($e)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref($).e("description"),unref($).is(unref(de))])},[renderSlot(bn.$slots,"description",{},()=>[createTextVNode(toDisplayString$1(bn.description),1)])],2))],2)],6))}});var Step=_export_sfc$1(_sfc_main$w,[["__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$g=["onClick"],_hoisted_2$c=["id","aria-checked","aria-disabled","name","true-value","false-value","disabled","tabindex","onKeydown"],_hoisted_3$7=["aria-hidden"],_hoisted_4$4=["aria-hidden"],_hoisted_5$2=["aria-hidden"],COMPONENT_NAME$8="ElSwitch",__default__$l=defineComponent({name:COMPONENT_NAME$8}),_sfc_main$v=defineComponent({...__default__$l,props:switchProps,emits:switchEmits,setup(t,{expose:r,emit:$}){const V=t,oe=getCurrentInstance(),{formItem:ie}=useFormItem(),le=useFormSize(),ue=useNamespace("switch");(En=>{En.forEach(wn=>{useDeprecated({from:wn[0],replacement:wn[1],scope:COMPONENT_NAME$8,version:"2.3.0",ref:"https://element-plus.org/en-US/component/switch.html#attributes",type:"Attribute"},computed(()=>{var $n;return!!(($n=oe.vnode.props)!=null&&$n[wn[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:pe}=useFormItemInputId(V,{formItemContext:ie}),he=useFormDisabled(computed(()=>V.loading)),_e=ref(V.modelValue!==!1),$e=ref(),Ie=ref(),Ve=computed(()=>[ue.b(),ue.m(le.value),ue.is("disabled",he.value),ue.is("checked",Lt.value)]),Fe=computed(()=>[ue.e("label"),ue.em("label","left"),ue.is("active",!Lt.value)]),Ue=computed(()=>[ue.e("label"),ue.em("label","right"),ue.is("active",Lt.value)]),qe=computed(()=>({width:addUnit(V.width)}));watch(()=>V.modelValue,()=>{_e.value=!0}),watch(()=>V.value,()=>{_e.value=!1});const Et=computed(()=>_e.value?V.modelValue:V.value),Lt=computed(()=>Et.value===V.activeValue);[V.activeValue,V.inactiveValue].includes(Et.value)||($(UPDATE_MODEL_EVENT,V.inactiveValue),$(CHANGE_EVENT,V.inactiveValue),$(INPUT_EVENT,V.inactiveValue)),watch(Lt,En=>{var wn;$e.value.checked=En,V.validateEvent&&((wn=ie==null?void 0:ie.validate)==null||wn.call(ie,"change").catch($n=>void 0))});const hn=()=>{const En=Lt.value?V.inactiveValue:V.activeValue;$(UPDATE_MODEL_EVENT,En),$(CHANGE_EVENT,En),$(INPUT_EVENT,En),nextTick(()=>{$e.value.checked=Lt.value})},Cn=()=>{if(he.value)return;const{beforeChange:En}=V;if(!En){hn();return}const wn=En();[isPromise(wn),isBoolean$3(wn)].includes(!0)||throwError$1(COMPONENT_NAME$8,"beforeChange must return type `Promise<boolean>` or `boolean`"),isPromise(wn)?wn.then(Tn=>{Tn&&hn()}).catch(Tn=>{}):wn&&hn()},bn=computed(()=>ue.cssVarBlock({...V.activeColor?{"on-color":V.activeColor}:null,...V.inactiveColor?{"off-color":V.inactiveColor}:null,...V.borderColor?{"border-color":V.borderColor}:null})),Sn=()=>{var En,wn;(wn=(En=$e.value)==null?void 0:En.focus)==null||wn.call(En)};return onMounted(()=>{$e.value.checked=Lt.value}),r({focus:Sn,checked:Lt}),(En,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ve)),style:normalizeStyle$1(unref(bn)),onClick:withModifiers(Cn,["prevent"])},[createBaseVNode("input",{id:unref(pe),ref_key:"input",ref:$e,class:normalizeClass(unref(ue).e("input")),type:"checkbox",role:"switch","aria-checked":unref(Lt),"aria-disabled":unref(he),name:En.name,"true-value":En.activeValue,"false-value":En.inactiveValue,disabled:unref(he),tabindex:En.tabindex,onChange:hn,onKeydown:withKeys(Cn,["enter"])},null,42,_hoisted_2$c),!En.inlinePrompt&&(En.inactiveIcon||En.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Fe))},[En.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(En.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!En.inactiveIcon&&En.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(Lt)},toDisplayString$1(En.inactiveText),9,_hoisted_3$7)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:Ie,class:normalizeClass(unref(ue).e("core")),style:normalizeStyle$1(unref(qe))},[En.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).e("inner"))},[En.activeIcon||En.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Lt)?En.activeIcon:En.inactiveIcon)))]),_:1},8,["class"])):En.activeText||En.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(ue).is("text")),"aria-hidden":!unref(Lt)},toDisplayString$1(unref(Lt)?En.activeText:En.inactiveText),11,_hoisted_4$4)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ue).e("action"))},[En.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])):En.activeActionIcon&&unref(Lt)?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(En.activeActionIcon)))]),_:1})):En.inactiveActionIcon&&!unref(Lt)?(openBlock(),createBlock(unref(ElIcon),{key:2},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(En.inactiveActionIcon)))]),_:1})):createCommentVNode("v-if",!0)],2)],6),!En.inlinePrompt&&(En.activeIcon||En.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Ue))},[En.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(En.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!En.activeIcon&&En.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(Lt)},toDisplayString$1(En.activeText),9,_hoisted_5$2)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],14,_hoisted_1$g))}});var Switch=_export_sfc$1(_sfc_main$v,[["__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,$=matchHtmlRegExp.exec(r);if(!$)return r;var V,oe="",ie=0,le=0;for(ie=$.index;ie<r.length;ie++){switch(r.charCodeAt(ie)){case 34:V=""";break;case 38:V="&";break;case 39:V="'";break;case 60:V="<";break;case 62:V=">";break;default:continue}le!==ie&&(oe+=r.substring(le,ie)),le=ie+1,oe+=V}return le!==ie?oe+r.substring(le,ie):oe}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){if(!r&&!V&&(!oe||Array.isArray(oe)&&!oe.length))return t;typeof $=="string"?$=$==="descending"?-1:1:$=$&&$<0?-1:1;const ie=V?null:function(ue,de){return oe?(Array.isArray(oe)||(oe=[oe]),oe.map(pe=>typeof pe=="string"?get$1(ue,pe):pe(ue,de,t))):(r!=="$key"&&isObject$a(ue)&&"$value"in ue&&(ue=ue.$value),[isObject$a(ue)?get$1(ue,r):ue])},le=function(ue,de){if(V)return V(ue.value,de.value);for(let pe=0,he=ue.key.length;pe<he;pe++){if(ue.key[pe]<de.key[pe])return-1;if(ue.key[pe]>de.key[pe])return 1}return 0};return t.map((ue,de)=>({value:ue,index:de,key:ie?ie(ue,de):null})).sort((ue,de)=>{let pe=le(ue,de);return pe||(pe=ue.index-de.index),pe*+$}).map(ue=>ue.value)},getColumnById=function(t,r){let $=null;return t.columns.forEach(V=>{V.id===r&&($=V)}),$},getColumnByKey=function(t,r){let $=null;for(let V=0;V<t.columns.length;V++){const oe=t.columns[V];if(oe.columnKey===r){$=oe;break}}return $||throwError$1("ElTable",`No column matching with column-key: ${r}`),$},getColumnByCell=function(t,r,$){const V=(r.className||"").match(new RegExp(`${$}-table_[^\\s]+`,"gm"));return V?getColumnById(t,V[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 $=r.split(".");let V=t;for(const oe of $)V=V[oe];return`${V}`}else if(typeof r=="function")return r.call(null,t)},getKeysMap=function(t,r){const $={};return(t||[]).forEach((V,oe)=>{$[getRowIdentity(V,r)]={row:V,index:oe}}),$};function mergeOptions$1(t,r){const $={};let V;for(V in t)$[V]=t[V];for(V in r)if(hasOwn$4(r,V)){const oe=r[V];typeof oe<"u"&&($[V]=oe)}return $}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)=>r($(...V)))}function toggleRowStatus(t,r,$){let V=!1;const oe=t.indexOf(r),ie=oe!==-1,le=ue=>{ue==="add"?t.push(r):t.splice(oe,1),V=!0,isArray$c(r.children)&&r.children.forEach(de=>{toggleRowStatus(t,de,$??!ie)})};return isBoolean$3($)?$&&!ie?le("add"):!$&&ie&&le("remove"):le(ie?"remove":"add"),V}function walkTreeNode(t,r,$="children",V="hasChildren"){const oe=le=>!(Array.isArray(le)&&le.length);function ie(le,ue,de){r(le,ue,de),ue.forEach(pe=>{if(pe[V]){r(pe,null,de+1);return}const he=pe[$];oe(he)||ie(pe,he,de+1)})}t.forEach(le=>{if(le[V]){r(le,null,0);return}const ue=le[$];oe(ue)||ie(le,ue,0)})}let removePopper;function createTablePopper(t,r,$,V,oe){oe=merge$4({enterable:!0,showArrow:!0},oe);const ie=t==null?void 0:t.dataset.prefix,le=t==null?void 0:t.querySelector(`.${ie}-scrollbar__wrap`);function ue(){const Ue=oe.effect==="light",qe=document.createElement("div");return qe.className=[`${ie}-popper`,Ue?"is-light":"is-dark",oe.popperClass||""].join(" "),$=escapeHtml$2($),qe.innerHTML=$,qe.style.zIndex=String(V()),t==null||t.appendChild(qe),qe}function de(){const Ue=document.createElement("div");return Ue.className=`${ie}-popper__arrow`,Ue}function pe(){he&&he.update()}removePopper==null||removePopper(),removePopper=()=>{try{he&&he.destroy(),Ie&&(t==null||t.removeChild(Ie)),r.removeEventListener("mouseenter",_e),r.removeEventListener("mouseleave",$e),le==null||le.removeEventListener("scroll",removePopper),removePopper=void 0}catch{}};let he=null,_e=pe,$e=removePopper;oe.enterable&&({onOpen:_e,onClose:$e}=useDelayedToggle({showAfter:oe.showAfter,hideAfter:oe.hideAfter,open:pe,close:removePopper}));const Ie=ue();Ie.onmouseenter=_e,Ie.onmouseleave=$e;const Ve=[];if(oe.offset&&Ve.push({name:"offset",options:{offset:[0,oe.offset]}}),oe.showArrow){const Ue=Ie.appendChild(de());Ve.push({name:"arrow",options:{element:Ue,padding:10}})}const Fe=oe.popperOptions||{};return he=yn(r,Ie,{placement:oe.placement||"top",strategy:"fixed",...Fe,modifiers:Fe.modifiers?Ve.concat(Fe.modifiers):Ve}),r.addEventListener("mouseenter",_e),r.addEventListener("mouseleave",$e),le==null||le.addEventListener("scroll",removePopper),he}function getCurrentColumns(t){return t.children?flatMap(t.children,getCurrentColumns):[t]}function getColSpan(t,r){return t+r.colSpan}const isFixedColumn=(t,r,$,V)=>{let oe=0,ie=t;const le=$.states.columns.value;if(V){const de=getCurrentColumns(V[t]);oe=le.slice(0,le.indexOf(de[0])).reduce(getColSpan,0),ie=oe+de.reduce(getColSpan,0)-1}else oe=t;let ue;switch(r){case"left":ie<$.states.fixedLeafColumnsLength.value&&(ue="left");break;case"right":oe>=le.length-$.states.rightFixedLeafColumnsLength.value&&(ue="right");break;default:ie<$.states.fixedLeafColumnsLength.value?ue="left":oe>=le.length-$.states.rightFixedLeafColumnsLength.value&&(ue="right")}return ue?{direction:ue,start:oe,after:ie}:{}},getFixedColumnsClass=(t,r,$,V,oe,ie=0)=>{const le=[],{direction:ue,start:de,after:pe}=isFixedColumn(r,$,V,oe);if(ue){const he=ue==="left";le.push(`${t}-fixed-column--${ue}`),he&&pe+ie===V.states.fixedLeafColumnsLength.value-1?le.push("is-last-column"):!he&&de-ie===V.states.columns.value.length-V.states.rightFixedLeafColumnsLength.value&&le.push("is-first-column")}return le};function getOffset(t,r){return t+(r.realWidth===null||Number.isNaN(r.realWidth)?Number(r.width):r.realWidth)}const getFixedColumnOffset=(t,r,$,V)=>{const{direction:oe,start:ie=0,after:le=0}=isFixedColumn(t,r,$,V);if(!oe)return;const ue={},de=oe==="left",pe=$.states.columns.value;return de?ue.left=pe.slice(0,ie).reduce(getOffset,0):ue.right=pe.slice(le+1).reverse().reduce(getOffset,0),ue},ensurePosition=(t,r)=>{t&&(Number.isNaN(t[r])||(t[r]=`${t[r]}px`))};function useExpand(t){const r=getCurrentInstance(),$=ref(!1),V=ref([]);return{updateExpandRows:()=>{const de=t.data.value||[],pe=t.rowKey.value;if($.value)V.value=de.slice();else if(pe){const he=getKeysMap(V.value,pe);V.value=de.reduce((_e,$e)=>{const Ie=getRowIdentity($e,pe);return he[Ie]&&_e.push($e),_e},[])}else V.value=[]},toggleRowExpansion:(de,pe)=>{toggleRowStatus(V.value,de,pe)&&r.emit("expand-change",de,V.value.slice())},setExpandRowKeys:de=>{r.store.assertRowKey();const pe=t.data.value||[],he=t.rowKey.value,_e=getKeysMap(pe,he);V.value=de.reduce(($e,Ie)=>{const Ve=_e[Ie];return Ve&&$e.push(Ve.row),$e},[])},isRowExpanded:de=>{const pe=t.rowKey.value;return pe?!!getKeysMap(V.value,pe)[getRowIdentity(de,pe)]:V.value.includes(de)},states:{expandRows:V,defaultExpandAll:$}}}function useCurrent(t){const r=getCurrentInstance(),$=ref(null),V=ref(null),oe=pe=>{r.store.assertRowKey(),$.value=pe,le(pe)},ie=()=>{$.value=null},le=pe=>{const{data:he,rowKey:_e}=t;let $e=null;_e.value&&($e=(unref(he)||[]).find(Ie=>getRowIdentity(Ie,_e.value)===pe)),V.value=$e,r.emit("current-change",V.value,null)};return{setCurrentRowKey:oe,restoreCurrentRowKey:ie,setCurrentRowByKey:le,updateCurrentRow:pe=>{const he=V.value;if(pe&&pe!==he){V.value=pe,r.emit("current-change",V.value,he);return}!pe&&he&&(V.value=null,r.emit("current-change",null,he))},updateCurrentRowData:()=>{const pe=t.rowKey.value,he=t.data.value||[],_e=V.value;if(!he.includes(_e)&&_e){if(pe){const $e=getRowIdentity(_e,pe);le($e)}else V.value=null;V.value===null&&r.emit("current-change",null,_e)}else $.value&&(le($.value),ie())},states:{_currentRowKey:$,currentRow:V}}}function useTree$2(t){const r=ref([]),$=ref({}),V=ref(16),oe=ref(!1),ie=ref({}),le=ref("hasChildren"),ue=ref("children"),de=getCurrentInstance(),pe=computed(()=>{if(!t.rowKey.value)return{};const qe=t.data.value||[];return _e(qe)}),he=computed(()=>{const qe=t.rowKey.value,Et=Object.keys(ie.value),Lt={};return Et.length&&Et.forEach(hn=>{if(ie.value[hn].length){const Cn={children:[]};ie.value[hn].forEach(bn=>{const Sn=getRowIdentity(bn,qe);Cn.children.push(Sn),bn[le.value]&&!Lt[Sn]&&(Lt[Sn]={children:[]})}),Lt[hn]=Cn}}),Lt}),_e=qe=>{const Et=t.rowKey.value,Lt={};return walkTreeNode(qe,(hn,Cn,bn)=>{const Sn=getRowIdentity(hn,Et);Array.isArray(Cn)?Lt[Sn]={children:Cn.map(En=>getRowIdentity(En,Et)),level:bn}:oe.value&&(Lt[Sn]={children:[],lazy:!0,level:bn})},ue.value,le.value),Lt},$e=(qe=!1,Et=(Lt=>(Lt=de.store)==null?void 0:Lt.states.defaultExpandAll.value)())=>{var Lt;const hn=pe.value,Cn=he.value,bn=Object.keys(hn),Sn={};if(bn.length){const En=unref($),wn=[],$n=(xn,An)=>{if(qe)return r.value?Et||r.value.includes(An):!!(Et||xn!=null&&xn.expanded);{const Mn=Et||r.value&&r.value.includes(An);return!!(xn!=null&&xn.expanded||Mn)}};bn.forEach(xn=>{const An=En[xn],Mn={...hn[xn]};if(Mn.expanded=$n(An,xn),Mn.lazy){const{loaded:Vn=!1,loading:Bn=!1}=An||{};Mn.loaded=!!Vn,Mn.loading=!!Bn,wn.push(xn)}Sn[xn]=Mn});const Tn=Object.keys(Cn);oe.value&&Tn.length&&wn.length&&Tn.forEach(xn=>{const An=En[xn],Mn=Cn[xn].children;if(wn.includes(xn)){if(Sn[xn].children.length!==0)throw new Error("[ElTable]children must be an empty array.");Sn[xn].children=Mn}else{const{loaded:Vn=!1,loading:Bn=!1}=An||{};Sn[xn]={lazy:!0,loaded:!!Vn,loading:!!Bn,expanded:$n(An,xn),children:Mn,level:""}}})}$.value=Sn,(Lt=de.store)==null||Lt.updateTableScrollY()};watch(()=>r.value,()=>{$e(!0)}),watch(()=>pe.value,()=>{$e()}),watch(()=>he.value,()=>{$e()});const Ie=qe=>{r.value=qe,$e()},Ve=(qe,Et)=>{de.store.assertRowKey();const Lt=t.rowKey.value,hn=getRowIdentity(qe,Lt),Cn=hn&&$.value[hn];if(hn&&Cn&&"expanded"in Cn){const bn=Cn.expanded;Et=typeof Et>"u"?!Cn.expanded:Et,$.value[hn].expanded=Et,bn!==Et&&de.emit("expand-change",qe,Et),de.store.updateTableScrollY()}},Fe=qe=>{de.store.assertRowKey();const Et=t.rowKey.value,Lt=getRowIdentity(qe,Et),hn=$.value[Lt];oe.value&&hn&&"loaded"in hn&&!hn.loaded?Ue(qe,Lt,hn):Ve(qe,void 0)},Ue=(qe,Et,Lt)=>{const{load:hn}=de.props;hn&&!$.value[Et].loaded&&($.value[Et].loading=!0,hn(qe,Lt,Cn=>{if(!Array.isArray(Cn))throw new TypeError("[ElTable] data must be an array");$.value[Et].loading=!1,$.value[Et].loaded=!0,$.value[Et].expanded=!0,Cn.length&&(ie.value[Et]=Cn),de.emit("expand-change",qe,!0)}))};return{loadData:Ue,loadOrToggle:Fe,toggleTreeExpansion:Ve,updateTreeExpandKeys:Ie,updateTreeData:$e,normalize:_e,states:{expandRowKeys:r,treeData:$,indent:V,lazy:oe,lazyTreeNodeMap:ie,lazyColumnIdentifier:le,childrenColumnName:ue}}}const sortData=(t,r)=>{const $=r.sortingColumn;return!$||typeof $.sortable=="string"?t:orderBy(t,r.sortProp,r.sortOrder,$.sortMethod,$.sortBy)},doFlattenColumns=t=>{const r=[];return t.forEach($=>{$.children&&$.children.length>0?r.push.apply(r,doFlattenColumns($.children)):r.push($)}),r};function useWatcher$1(){var t;const r=getCurrentInstance(),{size:$}=toRefs((t=r.proxy)==null?void 0:t.$props),V=ref(null),oe=ref([]),ie=ref([]),le=ref(!1),ue=ref([]),de=ref([]),pe=ref([]),he=ref([]),_e=ref([]),$e=ref([]),Ie=ref([]),Ve=ref([]),Fe=[],Ue=ref(0),qe=ref(0),Et=ref(0),Lt=ref(!1),hn=ref([]),Cn=ref(!1),bn=ref(!1),Sn=ref(null),En=ref({}),wn=ref(null),$n=ref(null),Tn=ref(null),xn=ref(null),An=ref(null);watch(oe,()=>r.state&&Dn(!1),{deep:!0});const Mn=()=>{if(!V.value)throw new Error("[ElTable] prop row-key is required")},Vn=Nr=>{var dr;(dr=Nr.children)==null||dr.forEach(ar=>{ar.fixed=Nr.fixed,Vn(ar)})},Bn=()=>{ue.value.forEach(Sr=>{Vn(Sr)}),he.value=ue.value.filter(Sr=>Sr.fixed===!0||Sr.fixed==="left"),_e.value=ue.value.filter(Sr=>Sr.fixed==="right"),he.value.length>0&&ue.value[0]&&ue.value[0].type==="selection"&&!ue.value[0].fixed&&(ue.value[0].fixed=!0,he.value.unshift(ue.value[0]));const Nr=ue.value.filter(Sr=>!Sr.fixed);de.value=[].concat(he.value).concat(Nr).concat(_e.value);const dr=doFlattenColumns(Nr),ar=doFlattenColumns(he.value),tr=doFlattenColumns(_e.value);Ue.value=dr.length,qe.value=ar.length,Et.value=tr.length,pe.value=[].concat(ar).concat(dr).concat(tr),le.value=he.value.length>0||_e.value.length>0},Dn=(Nr,dr=!1)=>{Nr&&Bn(),dr?r.state.doLayout():r.state.debouncedUpdateLayout()},Ln=Nr=>hn.value.includes(Nr),Pn=()=>{Lt.value=!1,hn.value.length&&(hn.value=[],r.emit("selection-change",[]))},Fn=()=>{let Nr;if(V.value){Nr=[];const dr=getKeysMap(hn.value,V.value),ar=getKeysMap(oe.value,V.value);for(const tr in dr)hasOwn$4(dr,tr)&&!ar[tr]&&Nr.push(dr[tr].row)}else Nr=hn.value.filter(dr=>!oe.value.includes(dr));if(Nr.length){const dr=hn.value.filter(ar=>!Nr.includes(ar));hn.value=dr,r.emit("selection-change",dr.slice())}},Un=()=>(hn.value||[]).slice(),Wn=(Nr,dr=void 0,ar=!0)=>{if(toggleRowStatus(hn.value,Nr,dr)){const Sr=(hn.value||[]).slice();ar&&r.emit("select",Sr,Nr),r.emit("selection-change",Sr)}},Zn=()=>{var Nr,dr;const ar=bn.value?!Lt.value:!(Lt.value||hn.value.length);Lt.value=ar;let tr=!1,Sr=0;const qn=(dr=(Nr=r==null?void 0:r.store)==null?void 0:Nr.states)==null?void 0:dr.rowKey.value;oe.value.forEach((kr,Dr)=>{const Hr=Dr+Sr;Sn.value?Sn.value.call(null,kr,Hr)&&toggleRowStatus(hn.value,kr,ar)&&(tr=!0):toggleRowStatus(hn.value,kr,ar)&&(tr=!0),Sr+=Qn(getRowIdentity(kr,qn))}),tr&&r.emit("selection-change",hn.value?hn.value.slice():[]),r.emit("select-all",hn.value)},or=()=>{const Nr=getKeysMap(hn.value,V.value);oe.value.forEach(dr=>{const ar=getRowIdentity(dr,V.value),tr=Nr[ar];tr&&(hn.value[tr.index]=dr)})},br=()=>{var Nr,dr,ar;if(((Nr=oe.value)==null?void 0:Nr.length)===0){Lt.value=!1;return}let tr;V.value&&(tr=getKeysMap(hn.value,V.value));const Sr=function(Hr){return tr?!!tr[getRowIdentity(Hr,V.value)]:hn.value.includes(Hr)};let qn=!0,kr=0,Dr=0;for(let Hr=0,Gr=(oe.value||[]).length;Hr<Gr;Hr++){const Kr=(ar=(dr=r==null?void 0:r.store)==null?void 0:dr.states)==null?void 0:ar.rowKey.value,to=Hr+Dr,Zr=oe.value[Hr],hr=Sn.value&&Sn.value.call(null,Zr,to);if(Sr(Zr))kr++;else if(!Sn.value||hr){qn=!1;break}Dr+=Qn(getRowIdentity(Zr,Kr))}kr===0&&(qn=!1),Lt.value=qn},Qn=Nr=>{var dr;if(!r||!r.store)return 0;const{treeData:ar}=r.store.states;let tr=0;const Sr=(dr=ar.value[Nr])==null?void 0:dr.children;return Sr&&(tr+=Sr.length,Sr.forEach(qn=>{tr+=Qn(qn)})),tr},Gn=(Nr,dr)=>{Array.isArray(Nr)||(Nr=[Nr]);const ar={};return Nr.forEach(tr=>{En.value[tr.id]=dr,ar[tr.columnKey||tr.id]=dr}),ar},Yn=(Nr,dr,ar)=>{$n.value&&$n.value!==Nr&&($n.value.order=null),$n.value=Nr,Tn.value=dr,xn.value=ar},er=()=>{let Nr=unref(ie);Object.keys(En.value).forEach(dr=>{const ar=En.value[dr];if(!ar||ar.length===0)return;const tr=getColumnById({columns:pe.value},dr);tr&&tr.filterMethod&&(Nr=Nr.filter(Sr=>ar.some(qn=>tr.filterMethod.call(null,qn,Sr,tr))))}),wn.value=Nr},lr=()=>{oe.value=sortData(wn.value,{sortingColumn:$n.value,sortProp:Tn.value,sortOrder:xn.value})},sr=(Nr=void 0)=>{Nr&&Nr.filter||er(),lr()},zn=Nr=>{const{tableHeaderRef:dr}=r.refs;if(!dr)return;const ar=Object.assign({},dr.filterPanels),tr=Object.keys(ar);if(tr.length)if(typeof Nr=="string"&&(Nr=[Nr]),Array.isArray(Nr)){const Sr=Nr.map(qn=>getColumnByKey({columns:pe.value},qn));tr.forEach(qn=>{const kr=Sr.find(Dr=>Dr.id===qn);kr&&(kr.filteredValue=[])}),r.store.commit("filterChange",{column:Sr,values:[],silent:!0,multi:!0})}else tr.forEach(Sr=>{const qn=pe.value.find(kr=>kr.id===Sr);qn&&(qn.filteredValue=[])}),En.value={},r.store.commit("filterChange",{column:{},values:[],silent:!0})},Kn=()=>{$n.value&&(Yn(null,null,null),r.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Jn,toggleRowExpansion:cr,updateExpandRows:_r,states:ur,isRowExpanded:wr}=useExpand({data:oe,rowKey:V}),{updateTreeExpandKeys:Cr,toggleTreeExpansion:mr,updateTreeData:Er,loadOrToggle:Tr,states:nr}=useTree$2({data:oe,rowKey:V}),{updateCurrentRowData:pr,updateCurrentRow:gr,setCurrentRowKey:$r,states:Rr}=useCurrent({data:oe,rowKey:V});return{assertRowKey:Mn,updateColumns:Bn,scheduleLayout:Dn,isSelected:Ln,clearSelection:Pn,cleanSelection:Fn,getSelectionRows:Un,toggleRowSelection:Wn,_toggleAllSelection:Zn,toggleAllSelection:null,updateSelectionByRowKey:or,updateAllSelected:br,updateFilters:Gn,updateCurrentRow:gr,updateSort:Yn,execFilter:er,execSort:lr,execQuery:sr,clearFilter:zn,clearSort:Kn,toggleRowExpansion:cr,setExpandRowKeysAdapter:Nr=>{Jn(Nr),Cr(Nr)},setCurrentRowKey:$r,toggleRowExpansionAdapter:(Nr,dr)=>{pe.value.some(({type:tr})=>tr==="expand")?cr(Nr,dr):mr(Nr,dr)},isRowExpanded:wr,updateExpandRows:_r,updateCurrentRowData:pr,loadOrToggle:Tr,updateTreeData:Er,states:{tableSize:$,rowKey:V,data:oe,_data:ie,isComplex:le,_columns:ue,originColumns:de,columns:pe,fixedColumns:he,rightFixedColumns:_e,leafColumns:$e,fixedLeafColumns:Ie,rightFixedLeafColumns:Ve,updateOrderFns:Fe,leafColumnsLength:Ue,fixedLeafColumnsLength:qe,rightFixedLeafColumnsLength:Et,isAllSelected:Lt,selection:hn,reserveSelection:Cn,selectOnIndeterminate:bn,selectable:Sn,filters:En,filteredData:wn,sortingColumn:$n,sortProp:Tn,sortOrder:xn,hoverRow:An,...ur,...nr,...Rr}}}function replaceColumn(t,r){return t.map($=>{var V;return $.id===r.id?r:((V=$.children)!=null&&V.length&&($.children=replaceColumn($.children,r)),$)})}function sortColumn(t){t.forEach(r=>{var $,V;r.no=($=r.getColumnIndex)==null?void 0:$.call(r),(V=r.children)!=null&&V.length&&sortColumn(r.children)}),t.sort((r,$)=>r.no-$.no)}function useStore(){const t=getCurrentInstance(),r=useWatcher$1();return{ns:useNamespace("table"),...r,mutations:{setData(le,ue){const de=unref(le._data)!==ue;le.data.value=ue,le._data.value=ue,t.store.execQuery(),t.store.updateCurrentRowData(),t.store.updateExpandRows(),t.store.updateTreeData(t.store.states.defaultExpandAll.value),unref(le.reserveSelection)?(t.store.assertRowKey(),t.store.updateSelectionByRowKey()):de?t.store.clearSelection():t.store.cleanSelection(),t.store.updateAllSelected(),t.$ready&&t.store.scheduleLayout()},insertColumn(le,ue,de,pe){const he=unref(le._columns);let _e=[];de?(de&&!de.children&&(de.children=[]),de.children.push(ue),_e=replaceColumn(he,de)):(he.push(ue),_e=he),sortColumn(_e),le._columns.value=_e,le.updateOrderFns.push(pe),ue.type==="selection"&&(le.selectable.value=ue.selectable,le.reserveSelection.value=ue.reserveSelection),t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},updateColumnOrder(le,ue){var de;((de=ue.getColumnIndex)==null?void 0:de.call(ue))!==ue.no&&(sortColumn(le._columns.value),t.$ready&&t.store.updateColumns())},removeColumn(le,ue,de,pe){const he=unref(le._columns)||[];if(de)de.children.splice(de.children.findIndex($e=>$e.id===ue.id),1),nextTick(()=>{var $e;(($e=de.children)==null?void 0:$e.length)===0&&delete de.children}),le._columns.value=replaceColumn(he,de);else{const $e=he.indexOf(ue);$e>-1&&(he.splice($e,1),le._columns.value=he)}const _e=le.updateOrderFns.indexOf(pe);_e>-1&&le.updateOrderFns.splice(_e,1),t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},sort(le,ue){const{prop:de,order:pe,init:he}=ue;if(de){const _e=unref(le.columns).find($e=>$e.property===de);_e&&(_e.order=pe,t.store.updateSort(_e,de,pe),t.store.commit("changeSortCondition",{init:he}))}},changeSortCondition(le,ue){const{sortingColumn:de,sortProp:pe,sortOrder:he}=le,_e=unref(de),$e=unref(pe),Ie=unref(he);Ie===null&&(le.sortingColumn.value=null,le.sortProp.value=null);const Ve={filter:!0};t.store.execQuery(Ve),(!ue||!(ue.silent||ue.init))&&t.emit("sort-change",{column:_e,prop:$e,order:Ie}),t.store.updateTableScrollY()},filterChange(le,ue){const{column:de,values:pe,silent:he}=ue,_e=t.store.updateFilters(de,pe);t.store.execQuery(),he||t.emit("filter-change",_e),t.store.updateTableScrollY()},toggleAllSelection(){t.store.toggleAllSelection()},rowSelectedChanged(le,ue){t.store.toggleRowSelection(ue),t.store.updateAllSelected()},setHoverRow(le,ue){le.hoverRow.value=ue},setCurrentRow(le,ue){t.store.updateCurrentRow(ue)}},commit:function(le,...ue){const de=t.store.mutations;if(de[le])de[le].apply(t,[t.store.states].concat(ue));else throw new Error(`Action not found: ${le}`)},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 $=useStore();return $.toggleAllSelection=debounce($._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(V=>{handleValue(getArrKeysValue(r,V),V,$)}),proxyTableProps($,r),$}function proxyTableProps(t,r){Object.keys(InitialStateMap).forEach($=>{watch(()=>getArrKeysValue(r,$),V=>{handleValue(V,$,t)})})}function handleValue(t,r,$){let V=t,oe=InitialStateMap[r];typeof InitialStateMap[r]=="object"&&(oe=oe.key,V=V||InitialStateMap[r].default),$.states[oe].value=V}function getArrKeysValue(t,r){if(r.includes(".")){const $=r.split(".");let V=t;return $.forEach(oe=>{V=V[oe]}),V}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 $ in r)hasOwn$4(r,$)&&(isRef(this[$])?this[$].value=r[$]:this[$]=r[$]);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 $=this.table.refs.scrollBarRef;if(this.table.vnode.el&&($!=null&&$.wrapRef)){let V=!0;const oe=this.scrollY.value;return V=$.wrapRef.scrollHeight>$.wrapRef.clientHeight,this.scrollY.value=V,oe!==V}return!1}setHeight(r,$="height"){if(!isClient$1)return;const V=this.table.vnode.el;if(r=parseHeight(r),this.height.value=Number(r),!V&&(r||r===0))return nextTick(()=>this.setHeight(r,$));typeof r=="number"?(V.style[$]=`${r}px`,this.updateElsHeight()):typeof r=="string"&&(V.style[$]=r,this.updateElsHeight())}setMaxHeight(r){this.setHeight(r,"max-height")}getFlattenColumns(){const r=[];return this.table.store.states.columns.value.forEach(V=>{V.isColumnGroup?r.push.apply(r,V.columns):r.push(V)}),r}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(r){if(!r)return!0;let $=r;for(;$.tagName!=="DIV";){if(getComputedStyle($).display==="none")return!0;$=$.parentElement}return!1}updateColumnsWidth(){if(!isClient$1)return;const r=this.fit,$=this.table.vnode.el.clientWidth;let V=0;const oe=this.getFlattenColumns(),ie=oe.filter(de=>typeof de.width!="number");if(oe.forEach(de=>{typeof de.width=="number"&&de.realWidth&&(de.realWidth=null)}),ie.length>0&&r){if(oe.forEach(de=>{V+=Number(de.width||de.minWidth||80)}),V<=$){this.scrollX.value=!1;const de=$-V;if(ie.length===1)ie[0].realWidth=Number(ie[0].minWidth||80)+de;else{const pe=ie.reduce(($e,Ie)=>$e+Number(Ie.minWidth||80),0),he=de/pe;let _e=0;ie.forEach(($e,Ie)=>{if(Ie===0)return;const Ve=Math.floor(Number($e.minWidth||80)*he);_e+=Ve,$e.realWidth=Number($e.minWidth||80)+Ve}),ie[0].realWidth=Number(ie[0].minWidth||80)+de-_e}}else this.scrollX.value=!0,ie.forEach(de=>{de.realWidth=Number(de.minWidth)});this.bodyWidth.value=Math.max(V,$),this.table.state.resizeState.value.width=this.bodyWidth.value}else oe.forEach(de=>{!de.width&&!de.minWidth?de.realWidth=80:de.realWidth=Number(de.width||de.minWidth),V+=de.realWidth}),this.scrollX.value=V>$,this.bodyWidth.value=V;const le=this.store.states.fixedColumns.value;if(le.length>0){let de=0;le.forEach(pe=>{de+=Number(pe.realWidth||pe.width)}),this.fixedWidth.value=de}const ue=this.store.states.rightFixedColumns.value;if(ue.length>0){let de=0;ue.forEach(pe=>{de+=Number(pe.realWidth||pe.width)}),this.rightFixedWidth.value=de}this.notifyObservers("columns")}addObserver(r){this.observers.push(r)}removeObserver(r){const $=this.observers.indexOf(r);$!==-1&&this.observers.splice($,1)}notifyObservers(r){this.observers.forEach(V=>{var oe,ie;switch(r){case"columns":(oe=V.state)==null||oe.onColumnsChange(this);break;case"scrollable":(ie=V.state)==null||ie.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${r}.`)}})}}const{CheckboxGroup:ElCheckboxGroup}=ElCheckbox,_sfc_main$u=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:$}=useLocale(),V=useNamespace("table-filter"),oe=r==null?void 0:r.parent;oe.filterPanels.value[t.column.id]||(oe.filterPanels.value[t.column.id]=r);const ie=ref(!1),le=ref(null),ue=computed(()=>t.column&&t.column.filters),de=computed({get:()=>{var hn;return(((hn=t.column)==null?void 0:hn.filteredValue)||[])[0]},set:hn=>{pe.value&&(typeof hn<"u"&&hn!==null?pe.value.splice(0,1,hn):pe.value.splice(0,1))}}),pe=computed({get(){return t.column?t.column.filteredValue||[]:[]},set(hn){t.column&&t.upDataColumn("filteredValue",hn)}}),he=computed(()=>t.column?t.column.filterMultiple:!0),_e=hn=>hn.value===de.value,$e=()=>{ie.value=!1},Ie=hn=>{hn.stopPropagation(),ie.value=!ie.value},Ve=()=>{ie.value=!1},Fe=()=>{Et(pe.value),$e()},Ue=()=>{pe.value=[],Et(pe.value),$e()},qe=hn=>{de.value=hn,Et(typeof hn<"u"&&hn!==null?pe.value:[]),$e()},Et=hn=>{t.store.commit("filterChange",{column:t.column,values:hn}),t.store.updateAllSelected()};watch(ie,hn=>{t.column&&t.upDataColumn("filterOpened",hn)},{immediate:!0});const Lt=computed(()=>{var hn,Cn;return(Cn=(hn=le.value)==null?void 0:hn.popperRef)==null?void 0:Cn.contentRef});return{tooltipVisible:ie,multiple:he,filteredValue:pe,filterValue:de,filters:ue,handleConfirm:Fe,handleReset:Ue,handleSelect:qe,isActive:_e,t:$,ns:V,showFilterPanel:Ie,hideFilterPanel:Ve,popperPaneRef:Lt,tooltip:le}}}),_hoisted_1$f={key:0},_hoisted_2$b=["disabled"],_hoisted_3$6=["label","onClick"];function _sfc_render$5(t,r,$,V,oe,ie){const le=resolveComponent("el-checkbox"),ue=resolveComponent("el-checkbox-group"),de=resolveComponent("el-scrollbar"),pe=resolveComponent("arrow-up"),he=resolveComponent("arrow-down"),_e=resolveComponent("el-icon"),$e=resolveComponent("el-tooltip"),Ie=resolveDirective("click-outside");return openBlock(),createBlock($e,{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$f,[createBaseVNode("div",{class:normalizeClass(t.ns.e("content"))},[createVNode(de,{"wrap-class":t.ns.e("wrap")},{default:withCtx(()=>[createVNode(ue,{modelValue:t.filteredValue,"onUpdate:modelValue":r[0]||(r[0]=Ve=>t.filteredValue=Ve),class:normalizeClass(t.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.filters,Ve=>(openBlock(),createBlock(le,{key:Ve.value,label:Ve.value},{default:withCtx(()=>[createTextVNode(toDisplayString$1(Ve.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]=(...Ve)=>t.handleConfirm&&t.handleConfirm(...Ve))},toDisplayString$1(t.t("el.table.confirmFilter")),11,_hoisted_2$b),createBaseVNode("button",{type:"button",onClick:r[2]||(r[2]=(...Ve)=>t.handleReset&&t.handleReset(...Ve))},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]=Ve=>t.handleSelect(null))},toDisplayString$1(t.t("el.table.clearFilter")),3),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.filters,Ve=>(openBlock(),createElementBlock("li",{key:Ve.value,class:normalizeClass([t.ns.e("list-item"),t.ns.is("active",t.isActive(Ve))]),label:Ve.value,onClick:Fe=>t.handleSelect(Ve.value)},toDisplayString$1(Ve.text),11,_hoisted_3$6))),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]=(...Ve)=>t.showFilterPanel&&t.showFilterPanel(...Ve))},[createVNode(_e,null,{default:withCtx(()=>[t.column.filterOpened?(openBlock(),createBlock(pe,{key:0})):(openBlock(),createBlock(he,{key:1}))]),_:1})],2)),[[Ie,t.hideFilterPanel,t.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var FilterPanel=_export_sfc$1(_sfc_main$u,[["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(()=>{$.value.addObserver(r)}),onMounted(()=>{V($.value),oe($.value)}),onUpdated(()=>{V($.value),oe($.value)}),onUnmounted(()=>{$.value.removeObserver(r)});const $=computed(()=>{const ie=t.layout;if(!ie)throw new Error("Can not find table layout.");return ie}),V=ie=>{var le;const ue=((le=t.vnode.el)==null?void 0:le.querySelectorAll("colgroup > col"))||[];if(!ue.length)return;const de=ie.getFlattenColumns(),pe={};de.forEach(he=>{pe[he.id]=he});for(let he=0,_e=ue.length;he<_e;he++){const $e=ue[he],Ie=$e.getAttribute("name"),Ve=pe[Ie];Ve&&$e.setAttribute("width",Ve.realWidth||Ve.width)}},oe=ie=>{var le,ue;const de=((le=t.vnode.el)==null?void 0:le.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let he=0,_e=de.length;he<_e;he++)de[he].setAttribute("width",ie.scrollY.value?ie.gutterWidth:"0");const pe=((ue=t.vnode.el)==null?void 0:ue.querySelectorAll("th.gutter"))||[];for(let he=0,_e=pe.length;he<_e;he++){const $e=pe[he];$e.style.width=ie.scrollY.value?`${ie.gutterWidth}px`:"0",$e.style.display=ie.scrollY.value?"":"none"}};return{tableLayout:$.value,onColumnsChange:V,onScrollableChange:oe}}const TABLE_INJECTION_KEY=Symbol("ElTable");function useEvent(t,r){const $=getCurrentInstance(),V=inject(TABLE_INJECTION_KEY),oe=Fe=>{Fe.stopPropagation()},ie=(Fe,Ue)=>{!Ue.filters&&Ue.sortable?Ve(Fe,Ue,!1):Ue.filterable&&!Ue.sortable&&oe(Fe),V==null||V.emit("header-click",Ue,Fe)},le=(Fe,Ue)=>{V==null||V.emit("header-contextmenu",Ue,Fe)},ue=ref(null),de=ref(!1),pe=ref({}),he=(Fe,Ue)=>{if(isClient$1&&!(Ue.children&&Ue.children.length>0)&&ue.value&&t.border){de.value=!0;const qe=V;r("set-drag-visible",!0);const Lt=(qe==null?void 0:qe.vnode.el).getBoundingClientRect().left,hn=$.vnode.el.querySelector(`th.${Ue.id}`),Cn=hn.getBoundingClientRect(),bn=Cn.left-Lt+30;addClass(hn,"noclick"),pe.value={startMouseLeft:Fe.clientX,startLeft:Cn.right-Lt,startColumnLeft:Cn.left-Lt,tableLeft:Lt};const Sn=qe==null?void 0:qe.refs.resizeProxy;Sn.style.left=`${pe.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const En=$n=>{const Tn=$n.clientX-pe.value.startMouseLeft,xn=pe.value.startLeft+Tn;Sn.style.left=`${Math.max(bn,xn)}px`},wn=()=>{if(de.value){const{startColumnLeft:$n,startLeft:Tn}=pe.value,An=Number.parseInt(Sn.style.left,10)-$n;Ue.width=Ue.realWidth=An,qe==null||qe.emit("header-dragend",Ue.width,Tn-$n,Ue,Fe),requestAnimationFrame(()=>{t.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",de.value=!1,ue.value=null,pe.value={},r("set-drag-visible",!1)}document.removeEventListener("mousemove",En),document.removeEventListener("mouseup",wn),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass(hn,"noclick")},0)};document.addEventListener("mousemove",En),document.addEventListener("mouseup",wn)}},_e=(Fe,Ue)=>{if(Ue.children&&Ue.children.length>0)return;const qe=Fe.target;if(!isElement$2(qe))return;const Et=qe==null?void 0:qe.closest("th");if(!(!Ue||!Ue.resizable)&&!de.value&&t.border){const Lt=Et.getBoundingClientRect(),hn=document.body.style;Lt.width>12&&Lt.right-Fe.pageX<8?(hn.cursor="col-resize",hasClass(Et,"is-sortable")&&(Et.style.cursor="col-resize"),ue.value=Ue):de.value||(hn.cursor="",hasClass(Et,"is-sortable")&&(Et.style.cursor="pointer"),ue.value=null)}},$e=()=>{isClient$1&&(document.body.style.cursor="")},Ie=({order:Fe,sortOrders:Ue})=>{if(Fe==="")return Ue[0];const qe=Ue.indexOf(Fe||null);return Ue[qe>Ue.length-2?0:qe+1]},Ve=(Fe,Ue,qe)=>{var Et;Fe.stopPropagation();const Lt=Ue.order===qe?null:qe||Ie(Ue),hn=(Et=Fe.target)==null?void 0:Et.closest("th");if(hn&&hasClass(hn,"noclick")){removeClass(hn,"noclick");return}if(!Ue.sortable)return;const Cn=t.store.states;let bn=Cn.sortProp.value,Sn;const En=Cn.sortingColumn.value;(En!==Ue||En===Ue&&En.order===null)&&(En&&(En.order=null),Cn.sortingColumn.value=Ue,bn=Ue.property),Lt?Sn=Ue.order=Lt:Sn=Ue.order=null,Cn.sortProp.value=bn,Cn.sortOrder.value=Sn,V==null||V.store.commit("changeSortCondition")};return{handleHeaderClick:ie,handleHeaderContextMenu:le,handleMouseDown:he,handleMouseMove:_e,handleMouseOut:$e,handleSortClick:Ve,handleFilterClick:oe}}function useStyle$2(t){const r=inject(TABLE_INJECTION_KEY),$=useNamespace("table");return{getHeaderRowStyle:ue=>{const de=r==null?void 0:r.props.headerRowStyle;return typeof de=="function"?de.call(null,{rowIndex:ue}):de},getHeaderRowClass:ue=>{const de=[],pe=r==null?void 0:r.props.headerRowClassName;return typeof pe=="string"?de.push(pe):typeof pe=="function"&&de.push(pe.call(null,{rowIndex:ue})),de.join(" ")},getHeaderCellStyle:(ue,de,pe,he)=>{var _e;let $e=(_e=r==null?void 0:r.props.headerCellStyle)!=null?_e:{};typeof $e=="function"&&($e=$e.call(null,{rowIndex:ue,columnIndex:de,row:pe,column:he}));const Ie=getFixedColumnOffset(de,he.fixed,t.store,pe);return ensurePosition(Ie,"left"),ensurePosition(Ie,"right"),Object.assign({},$e,Ie)},getHeaderCellClass:(ue,de,pe,he)=>{const _e=getFixedColumnsClass($.b(),de,he.fixed,t.store,pe),$e=[he.id,he.order,he.headerAlign,he.className,he.labelClassName,..._e];he.children||$e.push("is-leaf"),he.sortable&&$e.push("is-sortable");const Ie=r==null?void 0:r.props.headerCellClassName;return typeof Ie=="string"?$e.push(Ie):typeof Ie=="function"&&$e.push(Ie.call(null,{rowIndex:ue,columnIndex:de,row:pe,column:he})),$e.push($.e("cell")),$e.filter(Ve=>!!Ve).join(" ")}}}const getAllColumns=t=>{const r=[];return t.forEach($=>{$.children?(r.push($),r.push.apply(r,getAllColumns($.children))):r.push($)}),r},convertToRows=t=>{let r=1;const $=(ie,le)=>{if(le&&(ie.level=le.level+1,r<ie.level&&(r=ie.level)),ie.children){let ue=0;ie.children.forEach(de=>{$(de,ie),ue+=de.colSpan}),ie.colSpan=ue}else ie.colSpan=1};t.forEach(ie=>{ie.level=1,$(ie,void 0)});const V=[];for(let ie=0;ie<r;ie++)V.push([]);return getAllColumns(t).forEach(ie=>{ie.children?(ie.rowSpan=1,ie.children.forEach(le=>le.isSubColumn=!0)):ie.rowSpan=r-ie.level+1,V[ie.level-1].push(ie)}),V};function useUtils$1(t){const r=inject(TABLE_INJECTION_KEY),$=computed(()=>convertToRows(t.store.states.originColumns.value));return{isGroup:computed(()=>{const ie=$.value.length>1;return ie&&r&&(r.state.isGroup.value=!0),ie}),toggleAllSelection:ie=>{ie.stopPropagation(),r==null||r.store.commit("toggleAllSelection")},columnRows:$}}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 $=getCurrentInstance(),V=inject(TABLE_INJECTION_KEY),oe=useNamespace("table"),ie=ref({}),{onColumnsChange:le,onScrollableChange:ue}=useLayoutObserver(V);onMounted(async()=>{await nextTick(),await nextTick();const{prop:bn,order:Sn}=t.defaultSort;V==null||V.store.commit("sort",{prop:bn,order:Sn,init:!0})});const{handleHeaderClick:de,handleHeaderContextMenu:pe,handleMouseDown:he,handleMouseMove:_e,handleMouseOut:$e,handleSortClick:Ie,handleFilterClick:Ve}=useEvent(t,r),{getHeaderRowStyle:Fe,getHeaderRowClass:Ue,getHeaderCellStyle:qe,getHeaderCellClass:Et}=useStyle$2(t),{isGroup:Lt,toggleAllSelection:hn,columnRows:Cn}=useUtils$1(t);return $.state={onColumnsChange:le,onScrollableChange:ue},$.filterPanels=ie,{ns:oe,filterPanels:ie,onColumnsChange:le,onScrollableChange:ue,columnRows:Cn,getHeaderRowClass:Ue,getHeaderRowStyle:Fe,getHeaderCellClass:Et,getHeaderCellStyle:qe,handleHeaderClick:de,handleHeaderContextMenu:pe,handleMouseDown:he,handleMouseMove:_e,handleMouseOut:$e,handleSortClick:Ie,handleFilterClick:Ve,isGroup:Lt,toggleAllSelection:hn}},render(){const{ns:t,isGroup:r,columnRows:$,getHeaderCellStyle:V,getHeaderCellClass:oe,getHeaderRowClass:ie,getHeaderRowStyle:le,handleHeaderClick:ue,handleHeaderContextMenu:de,handleMouseDown:pe,handleMouseMove:he,handleSortClick:_e,handleMouseOut:$e,store:Ie,$parent:Ve}=this;let Fe=1;return h$2("thead",{class:{[t.is("group")]:r}},$.map((Ue,qe)=>h$2("tr",{class:ie(qe),key:qe,style:le(qe)},Ue.map((Et,Lt)=>(Et.rowSpan>Fe&&(Fe=Et.rowSpan),h$2("th",{class:oe(qe,Lt,Ue,Et),colspan:Et.colSpan,key:`${Et.id}-thead`,rowspan:Et.rowSpan,style:V(qe,Lt,Ue,Et),onClick:hn=>ue(hn,Et),onContextmenu:hn=>de(hn,Et),onMousedown:hn=>pe(hn,Et),onMousemove:hn=>he(hn,Et),onMouseout:$e},[h$2("div",{class:["cell",Et.filteredValue&&Et.filteredValue.length>0?"highlight":""]},[Et.renderHeader?Et.renderHeader({column:Et,$index:Lt,store:Ie,_self:Ve}):Et.label,Et.sortable&&h$2("span",{onClick:hn=>_e(hn,Et),class:"caret-wrapper"},[h$2("i",{onClick:hn=>_e(hn,Et,"ascending"),class:"sort-caret ascending"}),h$2("i",{onClick:hn=>_e(hn,Et,"descending"),class:"sort-caret descending"})]),Et.filterable&&h$2(FilterPanel,{store:Ie,placement:Et.filterPlacement||"bottom-start",column:Et,upDataColumn:(hn,Cn)=>{Et[hn]=Cn}})])]))))))}});function useEvents(t){const r=inject(TABLE_INJECTION_KEY),$=ref(""),V=ref(h$2("div")),{nextZIndex:oe}=useZIndex(),ie=(Ve,Fe,Ue)=>{var qe;const Et=r,Lt=getCell(Ve);let hn;const Cn=(qe=Et==null?void 0:Et.vnode.el)==null?void 0:qe.dataset.prefix;Lt&&(hn=getColumnByCell({columns:t.store.states.columns.value},Lt,Cn),hn&&(Et==null||Et.emit(`cell-${Ue}`,Fe,hn,Lt,Ve))),Et==null||Et.emit(`row-${Ue}`,Fe,hn,Ve)},le=(Ve,Fe)=>{ie(Ve,Fe,"dblclick")},ue=(Ve,Fe)=>{t.store.commit("setCurrentRow",Fe),ie(Ve,Fe,"click")},de=(Ve,Fe)=>{ie(Ve,Fe,"contextmenu")},pe=debounce(Ve=>{t.store.commit("setHoverRow",Ve)},30),he=debounce(()=>{t.store.commit("setHoverRow",null)},30),_e=Ve=>{const Fe=window.getComputedStyle(Ve,null),Ue=Number.parseInt(Fe.paddingLeft,10)||0,qe=Number.parseInt(Fe.paddingRight,10)||0,Et=Number.parseInt(Fe.paddingTop,10)||0,Lt=Number.parseInt(Fe.paddingBottom,10)||0;return{left:Ue,right:qe,top:Et,bottom:Lt}};return{handleDoubleClick:le,handleClick:ue,handleContextMenu:de,handleMouseEnter:pe,handleMouseLeave:he,handleCellMouseEnter:(Ve,Fe,Ue)=>{var qe;const Et=r,Lt=getCell(Ve),hn=(qe=Et==null?void 0:Et.vnode.el)==null?void 0:qe.dataset.prefix;if(Lt){const Dn=getColumnByCell({columns:t.store.states.columns.value},Lt,hn),Ln=Et.hoverState={cell:Lt,column:Dn,row:Fe};Et==null||Et.emit("cell-mouse-enter",Ln.row,Ln.column,Ln.cell,Ve)}if(!Ue)return;const Cn=Ve.target.querySelector(".cell");if(!(hasClass(Cn,`${hn}-tooltip`)&&Cn.childNodes.length))return;const bn=document.createRange();bn.setStart(Cn,0),bn.setEnd(Cn,Cn.childNodes.length);let Sn=bn.getBoundingClientRect().width,En=bn.getBoundingClientRect().height;Sn-Math.floor(Sn)<.001&&(Sn=Math.floor(Sn)),En-Math.floor(En)<.001&&(En=Math.floor(En));const{top:Tn,left:xn,right:An,bottom:Mn}=_e(Cn),Vn=xn+An,Bn=Tn+Mn;(Sn+Vn>Cn.offsetWidth||En+Bn>Cn.offsetHeight||Cn.scrollWidth>Cn.offsetWidth)&&createTablePopper(r==null?void 0:r.refs.tableWrapper,Lt,Lt.innerText||Lt.textContent,oe,Ue)},handleCellMouseLeave:Ve=>{if(!getCell(Ve))return;const Ue=r==null?void 0:r.hoverState;r==null||r.emit("cell-mouse-leave",Ue==null?void 0:Ue.row,Ue==null?void 0:Ue.column,Ue==null?void 0:Ue.cell,Ve)},tooltipContent:$,tooltipTrigger:V}}function useStyles$1(t){const r=inject(TABLE_INJECTION_KEY),$=useNamespace("table");return{getRowStyle:(pe,he)=>{const _e=r==null?void 0:r.props.rowStyle;return typeof _e=="function"?_e.call(null,{row:pe,rowIndex:he}):_e||null},getRowClass:(pe,he)=>{const _e=[$.e("row")];r!=null&&r.props.highlightCurrentRow&&pe===t.store.states.currentRow.value&&_e.push("current-row"),t.stripe&&he%2===1&&_e.push($.em("row","striped"));const $e=r==null?void 0:r.props.rowClassName;return typeof $e=="string"?_e.push($e):typeof $e=="function"&&_e.push($e.call(null,{row:pe,rowIndex:he})),_e},getCellStyle:(pe,he,_e,$e)=>{const Ie=r==null?void 0:r.props.cellStyle;let Ve=Ie??{};typeof Ie=="function"&&(Ve=Ie.call(null,{rowIndex:pe,columnIndex:he,row:_e,column:$e}));const Fe=getFixedColumnOffset(he,t==null?void 0:t.fixed,t.store);return ensurePosition(Fe,"left"),ensurePosition(Fe,"right"),Object.assign({},Ve,Fe)},getCellClass:(pe,he,_e,$e,Ie)=>{const Ve=getFixedColumnsClass($.b(),he,t==null?void 0:t.fixed,t.store,void 0,Ie),Fe=[$e.id,$e.align,$e.className,...Ve],Ue=r==null?void 0:r.props.cellClassName;return typeof Ue=="string"?Fe.push(Ue):typeof Ue=="function"&&Fe.push(Ue.call(null,{rowIndex:pe,columnIndex:he,row:_e,column:$e})),Fe.push($.e("cell")),Fe.filter(qe=>!!qe).join(" ")},getSpan:(pe,he,_e,$e)=>{let Ie=1,Ve=1;const Fe=r==null?void 0:r.props.spanMethod;if(typeof Fe=="function"){const Ue=Fe({row:pe,column:he,rowIndex:_e,columnIndex:$e});Array.isArray(Ue)?(Ie=Ue[0],Ve=Ue[1]):typeof Ue=="object"&&(Ie=Ue.rowspan,Ve=Ue.colspan)}return{rowspan:Ie,colspan:Ve}},getColspanRealWidth:(pe,he,_e)=>{if(he<1)return pe[_e].realWidth;const $e=pe.map(({realWidth:Ie,width:Ve})=>Ie||Ve).slice(_e,_e+he);return Number($e.reduce((Ie,Ve)=>Number(Ie)+Number(Ve),-1))}}}function useRender$1(t){const r=inject(TABLE_INJECTION_KEY),$=useNamespace("table"),{handleDoubleClick:V,handleClick:oe,handleContextMenu:ie,handleMouseEnter:le,handleMouseLeave:ue,handleCellMouseEnter:de,handleCellMouseLeave:pe,tooltipContent:he,tooltipTrigger:_e}=useEvents(t),{getRowStyle:$e,getRowClass:Ie,getCellStyle:Ve,getCellClass:Fe,getSpan:Ue,getColspanRealWidth:qe}=useStyles$1(t),Et=computed(()=>t.store.states.columns.value.findIndex(({type:Sn})=>Sn==="default")),Lt=(Sn,En)=>{const wn=r.props.rowKey;return wn?getRowIdentity(Sn,wn):En},hn=(Sn,En,wn,$n=!1)=>{const{tooltipEffect:Tn,tooltipOptions:xn,store:An}=t,{indent:Mn,columns:Vn}=An.states,Bn=Ie(Sn,En);let Dn=!0;return wn&&(Bn.push($.em("row",`level-${wn.level}`)),Dn=wn.display),h$2("tr",{style:[Dn?null:{display:"none"},$e(Sn,En)],class:Bn,key:Lt(Sn,En),onDblclick:Pn=>V(Pn,Sn),onClick:Pn=>oe(Pn,Sn),onContextmenu:Pn=>ie(Pn,Sn),onMouseenter:()=>le(En),onMouseleave:ue},Vn.value.map((Pn,Fn)=>{const{rowspan:Un,colspan:Wn}=Ue(Sn,Pn,En,Fn);if(!Un||!Wn)return null;const Zn=Object.assign({},Pn);Zn.realWidth=qe(Vn.value,Wn,Fn);const or={store:t.store,_self:t.context||r,column:Zn,row:Sn,$index:En,cellIndex:Fn,expanded:$n};Fn===Et.value&&wn&&(or.treeNode={indent:wn.level*Mn.value,level:wn.level},typeof wn.expanded=="boolean"&&(or.treeNode.expanded=wn.expanded,"loading"in wn&&(or.treeNode.loading=wn.loading),"noLazyChildren"in wn&&(or.treeNode.noLazyChildren=wn.noLazyChildren)));const br=`${En},${Fn}`,Qn=Zn.columnKey||Zn.rawColumnKey||"",Gn=Cn(Fn,Pn,or),Yn=Pn.showOverflowTooltip&&merge$4({effect:Tn},xn,Pn.showOverflowTooltip);return h$2("td",{style:Ve(En,Fn,Sn,Pn),class:Fe(En,Fn,Sn,Pn,Wn-1),key:`${Qn}${br}`,rowspan:Un,colspan:Wn,onMouseenter:er=>de(er,Sn,Yn),onMouseleave:pe},[Gn])}))},Cn=(Sn,En,wn)=>En.renderCell(wn);return{wrappedRowRender:(Sn,En)=>{const wn=t.store,{isRowExpanded:$n,assertRowKey:Tn}=wn,{treeData:xn,lazyTreeNodeMap:An,childrenColumnName:Mn,rowKey:Vn}=wn.states,Bn=wn.states.columns.value;if(Bn.some(({type:Ln})=>Ln==="expand")){const Ln=$n(Sn),Pn=hn(Sn,En,void 0,Ln),Fn=r.renderExpanded;return Ln?Fn?[[Pn,h$2("tr",{key:`expanded-row__${Pn.key}`},[h$2("td",{colspan:Bn.length,class:`${$.e("cell")} ${$.e("expanded-cell")}`},[Fn({row:Sn,$index:En,store:wn,expanded:Ln})])])]]:(console.error("[Element Error]renderExpanded is required."),Pn):[[Pn]]}else if(Object.keys(xn.value).length){Tn();const Ln=getRowIdentity(Sn,Vn.value);let Pn=xn.value[Ln],Fn=null;Pn&&(Fn={expanded:Pn.expanded,level:Pn.level,display:!0},typeof Pn.lazy=="boolean"&&(typeof Pn.loaded=="boolean"&&Pn.loaded&&(Fn.noLazyChildren=!(Pn.children&&Pn.children.length)),Fn.loading=Pn.loading));const Un=[hn(Sn,En,Fn)];if(Pn){let Wn=0;const Zn=(br,Qn)=>{br&&br.length&&Qn&&br.forEach(Gn=>{const Yn={display:Qn.display&&Qn.expanded,level:Qn.level+1,expanded:!1,noLazyChildren:!1,loading:!1},er=getRowIdentity(Gn,Vn.value);if(er==null)throw new Error("For nested data item, row-key is required.");if(Pn={...xn.value[er]},Pn&&(Yn.expanded=Pn.expanded,Pn.level=Pn.level||Yn.level,Pn.display=!!(Pn.expanded&&Yn.display),typeof Pn.lazy=="boolean"&&(typeof Pn.loaded=="boolean"&&Pn.loaded&&(Yn.noLazyChildren=!(Pn.children&&Pn.children.length)),Yn.loading=Pn.loading)),Wn++,Un.push(hn(Gn,En+Wn,Yn)),Pn){const lr=An.value[er]||Gn[Mn.value];Zn(lr,Pn)}})};Pn.display=!0;const or=An.value[Ln]||Sn[Mn.value];Zn(or,Pn)}return Un}else return hn(Sn,En,void 0)},tooltipContent:he,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(),$=inject(TABLE_INJECTION_KEY),V=useNamespace("table"),{wrappedRowRender:oe,tooltipContent:ie,tooltipTrigger:le}=useRender$1(t),{onColumnsChange:ue,onScrollableChange:de}=useLayoutObserver($);return watch(t.store.states.hoverRow,(pe,he)=>{!t.store.states.isComplex.value||!isClient$1||rAF(()=>{const _e=r==null?void 0:r.vnode.el,$e=Array.from((_e==null?void 0:_e.children)||[]).filter(Fe=>Fe==null?void 0:Fe.classList.contains(`${V.e("row")}`)),Ie=$e[he],Ve=$e[pe];Ie&&removeClass(Ie,"hover-row"),Ve&&addClass(Ve,"hover-row")})}),onUnmounted(()=>{var pe;(pe=removePopper)==null||pe()}),{ns:V,onColumnsChange:ue,onScrollableChange:de,wrappedRowRender:oe,tooltipContent:ie,tooltipTrigger:le}},render(){const{wrappedRowRender:t,store:r}=this,$=r.states.data.value||[];return h$2("tbody",{tabIndex:-1},[$.reduce((V,oe)=>V.concat(t(oe,V.length)),[])])}});function hColgroup(t){const r=t.tableLayout==="auto";let $=t.columns||[];r&&$.every(oe=>oe.width===void 0)&&($=[]);const V=oe=>{const ie={key:`${t.tableLayout}_${oe.id}`,style:{},name:void 0};return r?ie.style={width:`${oe.width}px`}:ie.name=oe.id,ie};return h$2("colgroup",{},$.map(oe=>h$2("col",V(oe))))}hColgroup.props=["columns","tableLayout"];function useMapState(){const t=inject(TABLE_INJECTION_KEY),r=t==null?void 0:t.store,$=computed(()=>r.states.fixedLeafColumnsLength.value),V=computed(()=>r.states.rightFixedColumns.value.length),oe=computed(()=>r.states.columns.value.length),ie=computed(()=>r.states.fixedColumns.value.length),le=computed(()=>r.states.rightFixedColumns.value.length);return{leftFixedLeafCount:$,rightFixedLeafCount:V,columnsCount:oe,leftFixedCount:ie,rightFixedCount:le,columns:r.states.columns}}function useStyle$1(t){const{columns:r}=useMapState(),$=useNamespace("table");return{getCellClasses:(ie,le)=>{const ue=ie[le],de=[$.e("cell"),ue.id,ue.align,ue.labelClassName,...getFixedColumnsClass($.b(),le,ue.fixed,t.store)];return ue.className&&de.push(ue.className),ue.children||de.push($.is("leaf")),de},getCellStyles:(ie,le)=>{const ue=getFixedColumnOffset(le,ie.fixed,t.store);return ensurePosition(ue,"left"),ensurePosition(ue,"right"),ue},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:$,columns:V}=useStyle$1(t);return{ns:useNamespace("table"),getCellClasses:r,getCellStyles:$,columns:V}},render(){const{columns:t,getCellStyles:r,getCellClasses:$,summaryMethod:V,sumText:oe,ns:ie}=this,le=this.store.states.data.value;let ue=[];return V?ue=V({columns:t,data:le}):t.forEach((de,pe)=>{if(pe===0){ue[pe]=oe;return}const he=le.map(Ve=>Number(Ve[de.property])),_e=[];let $e=!0;he.forEach(Ve=>{if(!Number.isNaN(+Ve)){$e=!1;const Fe=`${Ve}`.split(".")[1];_e.push(Fe?Fe.length:0)}});const Ie=Math.max.apply(null,_e);$e?ue[pe]="":ue[pe]=he.reduce((Ve,Fe)=>{const Ue=Number(Fe);return Number.isNaN(+Ue)?Ve:Number.parseFloat((Ve+Fe).toFixed(Math.min(Ie,20)))},0)}),h$2("table",{class:ie.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[hColgroup({columns:t}),h$2("tbody",[h$2("tr",{},[...t.map((de,pe)=>h$2("td",{key:pe,colspan:de.colSpan,rowspan:de.rowSpan,class:$(t,pe),style:r(de,pe)},[h$2("div",{class:["cell",de.labelClassName]},[ue[pe]])]))])])])}});function useUtils(t){return{setCurrentRow:he=>{t.commit("setCurrentRow",he)},getSelectionRows:()=>t.getSelectionRows(),toggleRowSelection:(he,_e)=>{t.toggleRowSelection(he,_e,!1),t.updateAllSelected()},clearSelection:()=>{t.clearSelection()},clearFilter:he=>{t.clearFilter(he)},toggleAllSelection:()=>{t.commit("toggleAllSelection")},toggleRowExpansion:(he,_e)=>{t.toggleRowExpansionAdapter(he,_e)},clearSort:()=>{t.clearSort()},sort:(he,_e)=>{t.commit("sort",{prop:he,order:_e})}}}function useStyle(t,r,$,V){const oe=ref(!1),ie=ref(null),le=ref(!1),ue=Pn=>{le.value=Pn},de=ref({width:null,height:null,headerHeight:null}),pe=ref(!1),he={display:"inline-block",verticalAlign:"middle"},_e=ref(),$e=ref(0),Ie=ref(0),Ve=ref(0),Fe=ref(0),Ue=ref(0);watchEffect(()=>{r.setHeight(t.height)}),watchEffect(()=>{r.setMaxHeight(t.maxHeight)}),watch(()=>[t.currentRowKey,$.states.rowKey],([Pn,Fn])=>{!unref(Fn)||!unref(Pn)||$.setCurrentRowKey(`${Pn}`)},{immediate:!0}),watch(()=>t.data,Pn=>{V.store.commit("setData",Pn)},{immediate:!0,deep:!0}),watchEffect(()=>{t.expandRowKeys&&$.setExpandRowKeysAdapter(t.expandRowKeys)});const qe=()=>{V.store.commit("setHoverRow",null),V.hoverState&&(V.hoverState=null)},Et=(Pn,Fn)=>{const{pixelX:Un,pixelY:Wn}=Fn;Math.abs(Un)>=Math.abs(Wn)&&(V.refs.bodyWrapper.scrollLeft+=Fn.pixelX/5)},Lt=computed(()=>t.height||t.maxHeight||$.states.fixedColumns.value.length>0||$.states.rightFixedColumns.value.length>0),hn=computed(()=>({width:r.bodyWidth.value?`${r.bodyWidth.value}px`:""})),Cn=()=>{Lt.value&&r.updateElsHeight(),r.updateColumnsWidth(),requestAnimationFrame(wn)};onMounted(async()=>{await nextTick(),$.updateColumns(),$n(),requestAnimationFrame(Cn);const Pn=V.vnode.el,Fn=V.refs.headerWrapper;t.flexible&&Pn&&Pn.parentElement&&(Pn.parentElement.style.minWidth="0"),de.value={width:_e.value=Pn.offsetWidth,height:Pn.offsetHeight,headerHeight:t.showHeader&&Fn?Fn.offsetHeight:null},$.states.columns.value.forEach(Un=>{Un.filteredValue&&Un.filteredValue.length&&V.store.commit("filterChange",{column:Un,values:Un.filteredValue,silent:!0})}),V.$ready=!0});const bn=(Pn,Fn)=>{if(!Pn)return;const Un=Array.from(Pn.classList).filter(Wn=>!Wn.startsWith("is-scrolling-"));Un.push(r.scrollX.value?Fn:"is-scrolling-none"),Pn.className=Un.join(" ")},Sn=Pn=>{const{tableWrapper:Fn}=V.refs;bn(Fn,Pn)},En=Pn=>{const{tableWrapper:Fn}=V.refs;return!!(Fn&&Fn.classList.contains(Pn))},wn=function(){if(!V.refs.scrollBarRef)return;if(!r.scrollX.value){const Qn="is-scrolling-none";En(Qn)||Sn(Qn);return}const Pn=V.refs.scrollBarRef.wrapRef;if(!Pn)return;const{scrollLeft:Fn,offsetWidth:Un,scrollWidth:Wn}=Pn,{headerWrapper:Zn,footerWrapper:or}=V.refs;Zn&&(Zn.scrollLeft=Fn),or&&(or.scrollLeft=Fn);const br=Wn-Un-1;Fn>=br?Sn("is-scrolling-right"):Sn(Fn===0?"is-scrolling-left":"is-scrolling-middle")},$n=()=>{V.refs.scrollBarRef&&(V.refs.scrollBarRef.wrapRef&&useEventListener$1(V.refs.scrollBarRef.wrapRef,"scroll",wn,{passive:!0}),t.fit?useResizeObserver$1(V.vnode.el,Tn):useEventListener$1(window,"resize",Tn),useResizeObserver$1(V.refs.bodyWrapper,()=>{var Pn,Fn;Tn(),(Fn=(Pn=V.refs)==null?void 0:Pn.scrollBarRef)==null||Fn.update()}))},Tn=()=>{var Pn,Fn,Un,Wn;const Zn=V.vnode.el;if(!V.$ready||!Zn)return;let or=!1;const{width:br,height:Qn,headerHeight:Gn}=de.value,Yn=_e.value=Zn.offsetWidth;br!==Yn&&(or=!0);const er=Zn.offsetHeight;(t.height||Lt.value)&&Qn!==er&&(or=!0);const lr=t.tableLayout==="fixed"?V.refs.headerWrapper:(Pn=V.refs.tableHeaderRef)==null?void 0:Pn.$el;t.showHeader&&(lr==null?void 0:lr.offsetHeight)!==Gn&&(or=!0),$e.value=((Fn=V.refs.tableWrapper)==null?void 0:Fn.scrollHeight)||0,Ve.value=(lr==null?void 0:lr.scrollHeight)||0,Fe.value=((Un=V.refs.footerWrapper)==null?void 0:Un.offsetHeight)||0,Ue.value=((Wn=V.refs.appendWrapper)==null?void 0:Wn.offsetHeight)||0,Ie.value=$e.value-Ve.value-Fe.value-Ue.value,or&&(de.value={width:Yn,height:er,headerHeight:t.showHeader&&(lr==null?void 0:lr.offsetHeight)||0},Cn())},xn=useFormSize(),An=computed(()=>{const{bodyWidth:Pn,scrollY:Fn,gutterWidth:Un}=r;return Pn.value?`${Pn.value-(Fn.value?Un:0)}px`:""}),Mn=computed(()=>t.maxHeight?"fixed":t.tableLayout),Vn=computed(()=>{if(t.data&&t.data.length)return null;let Pn="100%";t.height&&Ie.value&&(Pn=`${Ie.value}px`);const Fn=_e.value;return{width:Fn?`${Fn}px`:"",height:Pn}}),Bn=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`}:{}),Dn=computed(()=>t.height?{height:"100%"}:t.maxHeight?Number.isNaN(Number(t.maxHeight))?{maxHeight:`calc(${t.maxHeight} - ${Ve.value+Fe.value}px)`}:{maxHeight:`${t.maxHeight-Ve.value-Fe.value}px`}:{});return{isHidden:oe,renderExpanded:ie,setDragVisible:ue,isGroup:pe,handleMouseLeave:qe,handleHeaderFooterMousewheel:Et,tableSize:xn,emptyBlockStyle:Vn,handleFixedMousewheel:(Pn,Fn)=>{const Un=V.refs.bodyWrapper;if(Math.abs(Fn.spinY)>0){const Wn=Un.scrollTop;Fn.pixelY<0&&Wn!==0&&Pn.preventDefault(),Fn.pixelY>0&&Un.scrollHeight-Un.clientHeight>Wn&&Pn.preventDefault(),Un.scrollTop+=Math.ceil(Fn.pixelY/5)}else Un.scrollLeft+=Math.ceil(Fn.pixelX/5)},resizeProxyVisible:le,bodyWidth:An,resizeState:de,doLayout:Cn,tableBodyStyles:hn,tableLayout:Mn,scrollbarViewStyle:he,tableInnerStyle:Bn,scrollbarStyle:Dn}}function useKeyRender(t){const r=ref(),$=()=>{const oe=t.vnode.el.querySelector(".hidden-columns"),ie={childList:!0,subtree:!0},le=t.store.states.updateOrderFns;r.value=new MutationObserver(()=>{le.forEach(ue=>ue())}),r.value.observe(oe,ie)};onMounted(()=>{$()}),onUnmounted(()=>{var V;(V=r.value)==null||V.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=(ie,le)=>{const ue=t.value;ue&&ue.scrollTo(ie,le)},$=(ie,le)=>{const ue=t.value;ue&&isNumber$4(le)&&["Top","Left"].includes(ie)&&ue[`setScroll${ie}`](le)};return{scrollBarRef:t,scrollTo:r,setScrollTop:ie=>$("Top",ie),setScrollLeft:ie=>$("Left",ie)}};let tableIdSeed=1;const _sfc_main$t=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(),$=useNamespace("table"),V=getCurrentInstance();provide(TABLE_INJECTION_KEY,V);const oe=createStore(V,t);V.store=oe;const ie=new TableLayout({store:V.store,table:V,fit:t.fit,showHeader:t.showHeader});V.layout=ie;const le=computed(()=>(oe.states.data.value||[]).length===0),{setCurrentRow:ue,getSelectionRows:de,toggleRowSelection:pe,clearSelection:he,clearFilter:_e,toggleAllSelection:$e,toggleRowExpansion:Ie,clearSort:Ve,sort:Fe}=useUtils(oe),{isHidden:Ue,renderExpanded:qe,setDragVisible:Et,isGroup:Lt,handleMouseLeave:hn,handleHeaderFooterMousewheel:Cn,tableSize:bn,emptyBlockStyle:Sn,handleFixedMousewheel:En,resizeProxyVisible:wn,bodyWidth:$n,resizeState:Tn,doLayout:xn,tableBodyStyles:An,tableLayout:Mn,scrollbarViewStyle:Vn,tableInnerStyle:Bn,scrollbarStyle:Dn}=useStyle(t,ie,oe,V),{scrollBarRef:Ln,scrollTo:Pn,setScrollLeft:Fn,setScrollTop:Un}=useScrollbar$1(),Wn=debounce(xn,50),Zn=`${$.namespace.value}-table_${tableIdSeed++}`;V.tableId=Zn,V.state={isGroup:Lt,resizeState:Tn,doLayout:xn,debouncedUpdateLayout:Wn};const or=computed(()=>t.sumText||r("el.table.sumText")),br=computed(()=>t.emptyText||r("el.table.emptyText"));return useKeyRender(V),{ns:$,layout:ie,store:oe,handleHeaderFooterMousewheel:Cn,handleMouseLeave:hn,tableId:Zn,tableSize:bn,isHidden:Ue,isEmpty:le,renderExpanded:qe,resizeProxyVisible:wn,resizeState:Tn,isGroup:Lt,bodyWidth:$n,tableBodyStyles:An,emptyBlockStyle:Sn,debouncedUpdateLayout:Wn,handleFixedMousewheel:En,setCurrentRow:ue,getSelectionRows:de,toggleRowSelection:pe,clearSelection:he,clearFilter:_e,toggleAllSelection:$e,toggleRowExpansion:Ie,clearSort:Ve,doLayout:xn,sort:Fe,t:r,setDragVisible:Et,context:V,computedSumText:or,computedEmptyText:br,tableLayout:Mn,scrollbarViewStyle:Vn,tableInnerStyle:Bn,scrollbarStyle:Dn,scrollBarRef:Ln,scrollTo:Pn,setScrollLeft:Fn,setScrollTop:Un}}}),_hoisted_1$e=["data-prefix"],_hoisted_2$a={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$4(t,r,$,V,oe,ie){const le=resolveComponent("hColgroup"),ue=resolveComponent("table-header"),de=resolveComponent("table-body"),pe=resolveComponent("el-scrollbar"),he=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]=(...$e)=>t.handleMouseLeave&&t.handleMouseLeave(...$e))},[createBaseVNode("div",{class:normalizeClass(t.ns.e("inner-wrapper")),style:normalizeStyle$1(t.tableInnerStyle)},[createBaseVNode("div",_hoisted_2$a,[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(le,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),createVNode(ue,{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(pe,{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(le,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),t.showHeader&&t.tableLayout==="auto"?(openBlock(),createBlock(ue,{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(de,{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(he,{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$e)}var Table=_export_sfc$1(_sfc_main$t,[["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 $(){return t.states.data.value&&t.states.data.value.length===0}return h$2(ElCheckbox,{disabled:$(),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:$,$index:V}){return h$2(ElCheckbox,{disabled:r.selectable?!r.selectable.call(null,t,V):!1,size:$.states.tableSize.value,onChange:()=>{$.commit("rowSelectedChanged",t)},onClick:oe=>oe.stopPropagation(),modelValue:$.isSelected(t),ariaLabel:r.label})},sortable:!1,resizable:!1},index:{renderHeader({column:t}){return t.label||"#"},renderCell({column:t,$index:r}){let $=r+1;const V=t.index;return typeof V=="number"?$=r+V:typeof V=="function"&&($=V(r)),h$2("div",{},[$])},sortable:!1},expand:{renderHeader({column:t}){return t.label||""},renderCell({row:t,store:r,expanded:$}){const{ns:V}=r,oe=[V.e("expand-icon")];return $&&oe.push(V.em("expand-icon","expanded")),h$2("div",{class:oe,onClick:function(le){le.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:$}){var V;const oe=r.property,ie=oe&&getProp(t,oe).value;return r&&r.formatter?r.formatter(t,r,ie,$):((V=ie==null?void 0:ie.toString)==null?void 0:V.call(ie))||""}function treeCellPrefix({row:t,treeNode:r,store:$},V=!1){const{ns:oe}=$;if(!r)return V?[h$2("span",{class:oe.e("placeholder")})]:null;const ie=[],le=function(ue){ue.stopPropagation(),!r.loading&&$.loadOrToggle(t)};if(r.indent&&ie.push(h$2("span",{class:oe.e("indent"),style:{"padding-left":`${r.indent}px`}})),typeof r.expanded=="boolean"&&!r.noLazyChildren){const ue=[oe.e("expand-icon"),r.expanded?oe.em("expand-icon","expanded"):""];let de=arrow_right_default;r.loading&&(de=loading_default),ie.push(h$2("div",{class:ue,onClick:le},{default:()=>[h$2(ElIcon,{class:{[oe.is("loading")]:r.loading}},{default:()=>[h$2(de)]})]}))}else ie.push(h$2("span",{class:oe.e("placeholder")}));return ie}function getAllAliases(t,r){return t.reduce(($,V)=>($[V]=V,$),r)}function useWatcher(t,r){const $=getCurrentInstance();return{registerComplexWatchers:()=>{const ie=["fixed"],le={realWidth:"width",realMinWidth:"minWidth"},ue=getAllAliases(ie,le);Object.keys(ue).forEach(de=>{const pe=le[de];hasOwn$4(r,pe)&&watch(()=>r[pe],he=>{let _e=he;pe==="width"&&de==="realWidth"&&(_e=parseWidth(he)),pe==="minWidth"&&de==="realMinWidth"&&(_e=parseMinWidth(he)),$.columnConfig.value[pe]=_e,$.columnConfig.value[de]=_e;const $e=pe==="fixed";t.value.store.scheduleLayout($e)})})},registerNormalWatchers:()=>{const ie=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],le={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},ue=getAllAliases(ie,le);Object.keys(ue).forEach(de=>{const pe=le[de];hasOwn$4(r,pe)&&watch(()=>r[pe],he=>{$.columnConfig.value[de]=he})})}}}function useRender(t,r,$){const V=getCurrentInstance(),oe=ref(""),ie=ref(!1),le=ref(),ue=ref(),de=useNamespace("table");watchEffect(()=>{le.value=t.align?`is-${t.align}`:null,le.value}),watchEffect(()=>{ue.value=t.headerAlign?`is-${t.headerAlign}`:le.value,ue.value});const pe=computed(()=>{let hn=V.vnode.vParent||V.parent;for(;hn&&!hn.tableId&&!hn.columnId;)hn=hn.vnode.vParent||hn.parent;return hn}),he=computed(()=>{const{store:hn}=V.parent;if(!hn)return!1;const{treeData:Cn}=hn.states,bn=Cn.value;return bn&&Object.keys(bn).length>0}),_e=ref(parseWidth(t.width)),$e=ref(parseMinWidth(t.minWidth)),Ie=hn=>(_e.value&&(hn.width=_e.value),$e.value&&(hn.minWidth=$e.value),!_e.value&&$e.value&&(hn.width=void 0),hn.minWidth||(hn.minWidth=80),hn.realWidth=Number(hn.width===void 0?hn.minWidth:hn.width),hn),Ve=hn=>{const Cn=hn.type,bn=cellForced[Cn]||{};Object.keys(bn).forEach(En=>{const wn=bn[En];En!=="className"&&wn!==void 0&&(hn[En]=wn)});const Sn=getDefaultClassName(Cn);if(Sn){const En=`${unref(de.namespace)}-${Sn}`;hn.className=hn.className?`${hn.className} ${En}`:En}return hn},Fe=hn=>{Array.isArray(hn)?hn.forEach(bn=>Cn(bn)):Cn(hn);function Cn(bn){var Sn;((Sn=bn==null?void 0:bn.type)==null?void 0:Sn.name)==="ElTableColumn"&&(bn.vParent=V)}};return{columnId:oe,realAlign:le,isSubColumn:ie,realHeaderAlign:ue,columnOrTableParent:pe,setColumnWidth:Ie,setColumnForcedProps:Ve,setColumnRenders:hn=>{t.renderHeader||hn.type!=="selection"&&(hn.renderHeader=bn=>{V.columnConfig.value.label;const Sn=r.header;return Sn?Sn(bn):hn.label});let Cn=hn.renderCell;return hn.type==="expand"?(hn.renderCell=bn=>h$2("div",{class:"cell"},[Cn(bn)]),$.value.renderExpanded=bn=>r.default?r.default(bn):r.default):(Cn=Cn||defaultRenderCell,hn.renderCell=bn=>{let Sn=null;if(r.default){const An=r.default(bn);Sn=An.some(Mn=>Mn.type!==Comment)?An:Cn(bn)}else Sn=Cn(bn);const{columns:En}=$.value.store.states,wn=En.value.findIndex(An=>An.type==="default"),$n=he.value&&bn.cellIndex===wn,Tn=treeCellPrefix(bn,$n),xn={class:"cell",style:{}};return hn.showOverflowTooltip&&(xn.class=`${xn.class} ${unref(de.namespace)}-tooltip`,xn.style={width:`${(bn.column.realWidth||Number(bn.column.width))-1}px`}),Fe(Sn),h$2("div",xn,[Tn,Sn])}),hn},getPropsData:(...hn)=>hn.reduce((Cn,bn)=>(Array.isArray(bn)&&bn.forEach(Sn=>{Cn[Sn]=t[Sn]}),Cn),{}),getColumnElIndex:(hn,Cn)=>Array.prototype.indexOf.call(hn,Cn),updateColumnOrder:()=>{$.value.store.commit("updateColumnOrder",V.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 $=getCurrentInstance(),V=ref({}),oe=computed(()=>{let Lt=$.parent;for(;Lt&&!Lt.tableId;)Lt=Lt.parent;return Lt}),{registerNormalWatchers:ie,registerComplexWatchers:le}=useWatcher(oe,t),{columnId:ue,isSubColumn:de,realHeaderAlign:pe,columnOrTableParent:he,setColumnWidth:_e,setColumnForcedProps:$e,setColumnRenders:Ie,getPropsData:Ve,getColumnElIndex:Fe,realAlign:Ue,updateColumnOrder:qe}=useRender(t,r,oe),Et=he.value;ue.value=`${Et.tableId||Et.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{de.value=oe.value!==Et;const Lt=t.type||"default",hn=t.sortable===""?!0:t.sortable,Cn=isUndefined$1(t.showOverflowTooltip)?Et.props.showOverflowTooltip:t.showOverflowTooltip,bn={...cellStarts[Lt],id:ue.value,type:Lt,property:t.prop||t.property,align:Ue,headerAlign:pe,showOverflowTooltip:Cn,filterable:t.filters||t.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:hn,index:t.index,rawColumnKey:$.vnode.key};let Tn=Ve(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);Tn=mergeOptions$1(bn,Tn),Tn=compose(Ie,_e,$e)(Tn),V.value=Tn,ie(),le()}),onMounted(()=>{var Lt;const hn=he.value,Cn=de.value?hn.vnode.el.children:(Lt=hn.refs.hiddenColumns)==null?void 0:Lt.children,bn=()=>Fe(Cn||[],$.vnode.el);V.value.getColumnIndex=bn,bn()>-1&&oe.value.store.commit("insertColumn",V.value,de.value?hn.columnConfig.value:null,qe)}),onBeforeUnmount(()=>{oe.value.store.commit("removeColumn",V.value,de.value?Et.columnConfig.value:null,qe)}),$.columnId=ue.value,$.columnConfig=V},render(){var t,r,$;try{const V=(r=(t=this.$slots).default)==null?void 0:r.call(t,{row:{},column:{},$index:-1}),oe=[];if(Array.isArray(V))for(const le of V)(($=le.type)==null?void 0:$.name)==="ElTableColumn"||le.shapeFlag&2?oe.push(le):le.type===Fragment&&Array.isArray(le.children)&&le.children.forEach(ue=>{(ue==null?void 0:ue.patchFlag)!==1024&&!isString$6(ue==null?void 0:ue.children)&&oe.push(ue)});return h$2("div",oe)}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,$)=>{var V;const oe={flexGrow:0,flexShrink:0,...$?{}:{flexGrow:t.flexGrow||0,flexShrink:t.flexShrink||1}};$||(oe.flexShrink=1);const ie={...(V=t.style)!=null?V:{},...oe,flexBasis:"auto",width:t.width};return r||(t.maxWidth&&(ie.maxWidth=t.maxWidth),t.minWidth&&(ie.minWidth=t.minWidth)),ie};function useColumns(t,r,$){const V=computed(()=>unref(r).filter(Fe=>!Fe.hidden)),oe=computed(()=>unref(V).filter(Fe=>Fe.fixed==="left"||Fe.fixed===!0)),ie=computed(()=>unref(V).filter(Fe=>Fe.fixed==="right")),le=computed(()=>unref(V).filter(Fe=>!Fe.fixed)),ue=computed(()=>{const Fe=[];return unref(oe).forEach(Ue=>{Fe.push({...Ue,placeholderSign})}),unref(le).forEach(Ue=>{Fe.push(Ue)}),unref(ie).forEach(Ue=>{Fe.push({...Ue,placeholderSign})}),Fe}),de=computed(()=>unref(oe).length||unref(ie).length),pe=computed(()=>unref(r).reduce((Ue,qe)=>(Ue[qe.key]=calcColumnStyle(qe,unref($),t.fixed),Ue),{})),he=computed(()=>unref(V).reduce((Fe,Ue)=>Fe+Ue.width,0)),_e=Fe=>unref(r).find(Ue=>Ue.key===Fe),$e=Fe=>unref(pe)[Fe],Ie=(Fe,Ue)=>{Fe.width=Ue};function Ve(Fe){var Ue;const{key:qe}=Fe.currentTarget.dataset;if(!qe)return;const{sortState:Et,sortBy:Lt}=t;let hn=SortOrder.ASC;isObject$a(Et)?hn=oppositeOrderMap[Et[qe]]:hn=oppositeOrderMap[Lt.order],(Ue=t.onColumnSort)==null||Ue.call(t,{column:_e(qe),key:qe,order:hn})}return{columns:r,columnsStyles:pe,columnsTotalWidth:he,fixedColumnsOnLeft:oe,fixedColumnsOnRight:ie,hasFixedColumns:de,mainColumns:ue,normalColumns:le,visibleColumns:V,getColumn:_e,getColumnStyle:$e,updateColumnWidth:Ie,onColumnSorted:Ve}}const useScrollbar=(t,{mainTableRef:r,leftTableRef:$,rightTableRef:V,onMaybeEndReached:oe})=>{const ie=ref({scrollLeft:0,scrollTop:0});function le(Ie){var Ve,Fe,Ue;const{scrollTop:qe}=Ie;(Ve=r.value)==null||Ve.scrollTo(Ie),(Fe=$.value)==null||Fe.scrollToTop(qe),(Ue=V.value)==null||Ue.scrollToTop(qe)}function ue(Ie){ie.value=Ie,le(Ie)}function de(Ie){ie.value.scrollTop=Ie,le(unref(ie))}function pe(Ie){var Ve,Fe;ie.value.scrollLeft=Ie,(Fe=(Ve=r.value)==null?void 0:Ve.scrollTo)==null||Fe.call(Ve,unref(ie))}function he(Ie){var Ve;ue(Ie),(Ve=t.onScroll)==null||Ve.call(t,Ie)}function _e({scrollTop:Ie}){const{scrollTop:Ve}=unref(ie);Ie!==Ve&&de(Ie)}function $e(Ie,Ve="auto"){var Fe;(Fe=r.value)==null||Fe.scrollToRow(Ie,Ve)}return watch(()=>unref(ie).scrollTop,(Ie,Ve)=>{Ie>Ve&&oe()}),{scrollPos:ie,scrollTo:ue,scrollToLeft:pe,scrollToTop:de,scrollToRow:$e,onScroll:he,onVerticalScroll:_e}},useRow=(t,{mainTableRef:r,leftTableRef:$,rightTableRef:V})=>{const oe=getCurrentInstance(),{emit:ie}=oe,le=shallowRef(!1),ue=shallowRef(null),de=ref(t.defaultExpandedRowKeys||[]),pe=ref(-1),he=shallowRef(null),_e=ref({}),$e=ref({}),Ie=shallowRef({}),Ve=shallowRef({}),Fe=shallowRef({}),Ue=computed(()=>isNumber$4(t.estimatedRowHeight));function qe(En){var wn;(wn=t.onRowsRendered)==null||wn.call(t,En),En.rowCacheEnd>unref(pe)&&(pe.value=En.rowCacheEnd)}function Et({hovered:En,rowKey:wn}){ue.value=En?wn:null}function Lt({expanded:En,rowData:wn,rowIndex:$n,rowKey:Tn}){var xn,An;const Mn=[...unref(de)],Vn=Mn.indexOf(Tn);En?Vn===-1&&Mn.push(Tn):Vn>-1&&Mn.splice(Vn,1),de.value=Mn,ie("update:expandedRowKeys",Mn),(xn=t.onRowExpand)==null||xn.call(t,{expanded:En,rowData:wn,rowIndex:$n,rowKey:Tn}),(An=t.onExpandedRowsChange)==null||An.call(t,Mn)}const hn=debounce(()=>{var En,wn,$n,Tn;le.value=!0,_e.value={...unref(_e),...unref($e)},Cn(unref(he),!1),$e.value={},he.value=null,(En=r.value)==null||En.forceUpdate(),(wn=$.value)==null||wn.forceUpdate(),($n=V.value)==null||$n.forceUpdate(),(Tn=oe.proxy)==null||Tn.$forceUpdate(),le.value=!1},0);function Cn(En,wn=!1){unref(Ue)&&[r,$,V].forEach($n=>{const Tn=unref($n);Tn&&Tn.resetAfterRowIndex(En,wn)})}function bn(En,wn,$n){const Tn=unref(he);(Tn===null||Tn>$n)&&(he.value=$n),$e.value[En]=wn}function Sn({rowKey:En,height:wn,rowIndex:$n},Tn){Tn?Tn===FixedDir.RIGHT?Fe.value[En]=wn:Ie.value[En]=wn:Ve.value[En]=wn;const xn=Math.max(...[Ie,Fe,Ve].map(An=>An.value[En]||0));unref(_e)[En]!==xn&&(bn(En,xn,$n),hn())}return{hoveringRowKey:ue,expandedRowKeys:de,lastRenderedRowIndex:pe,isDynamic:Ue,isResetting:le,rowHeights:_e,resetAfterIndex:Cn,onRowExpanded:Lt,onRowHovered:Et,onRowsRendered:qe,onRowHeightChange:Sn}},useData=(t,{expandedRowKeys:r,lastRenderedRowIndex:$,resetAfterIndex:V})=>{const oe=ref({}),ie=computed(()=>{const ue={},{data:de,rowKey:pe}=t,he=unref(r);if(!he||!he.length)return de;const _e=[],$e=new Set;he.forEach(Ve=>$e.add(Ve));let Ie=de.slice();for(Ie.forEach(Ve=>ue[Ve[pe]]=0);Ie.length>0;){const Ve=Ie.shift();_e.push(Ve),$e.has(Ve[pe])&&Array.isArray(Ve.children)&&Ve.children.length>0&&(Ie=[...Ve.children,...Ie],Ve.children.forEach(Fe=>ue[Fe[pe]]=ue[Ve[pe]]+1))}return oe.value=ue,_e}),le=computed(()=>{const{data:ue,expandColumnKey:de}=t;return de?unref(ie):ue});return watch(le,(ue,de)=>{ue!==de&&($.value=-1,V(0,!0))}),{data:le,depthMap:oe}},sumReducer=(t,r)=>t+r,sum=t=>isArray$c(t)?t.reduce(sumReducer,0):t,tryCall=(t,r,$={})=>isFunction$5(t)?t(r):t??$,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:$,fixedColumnsOnLeft:V,fixedColumnsOnRight:oe})=>{const ie=computed(()=>{const{fixed:Lt,width:hn,vScrollbarSize:Cn}=t,bn=hn-Cn;return Lt?Math.max(Math.round(unref(r)),bn):bn}),le=computed(()=>unref(ie)+(t.fixed?t.vScrollbarSize:0)),ue=computed(()=>{const{height:Lt=0,maxHeight:hn=0,footerHeight:Cn,hScrollbarSize:bn}=t;if(hn>0){const Sn=unref(Ve),En=unref(de),$n=unref(Ie)+Sn+En+bn;return Math.min($n,hn-Cn)}return Lt-Cn}),de=computed(()=>{const{rowHeight:Lt,estimatedRowHeight:hn}=t,Cn=unref($);return isNumber$4(hn)?Cn.length*hn:Cn.length*Lt}),pe=computed(()=>{const{maxHeight:Lt}=t,hn=unref(ue);if(isNumber$4(Lt)&&Lt>0)return hn;const Cn=unref(de)+unref(Ie)+unref(Ve);return Math.min(hn,Cn)}),he=Lt=>Lt.width,_e=computed(()=>sum(unref(V).map(he))),$e=computed(()=>sum(unref(oe).map(he))),Ie=computed(()=>sum(t.headerHeight)),Ve=computed(()=>{var Lt;return(((Lt=t.fixedData)==null?void 0:Lt.length)||0)*t.rowHeight}),Fe=computed(()=>unref(ue)-unref(Ie)-unref(Ve)),Ue=computed(()=>{const{style:Lt={},height:hn,width:Cn}=t;return enforceUnit({...Lt,height:hn,width:Cn})}),qe=computed(()=>enforceUnit({height:t.footerHeight})),Et=computed(()=>({top:addUnit(unref(Ie)),bottom:addUnit(t.footerHeight),width:addUnit(t.width)}));return{bodyWidth:ie,fixedTableHeight:pe,mainTableHeight:ue,leftTableWidth:_e,rightTableWidth:$e,headerWidth:le,rowsHeight:de,windowHeight:Fe,footerHeight:qe,emptyStyle:Et,rootStyle:Ue,headerHeight:Ie}},useAutoResize=t=>{const r=ref(),$=ref(0),V=ref(0);let oe;return onMounted(()=>{oe=useResizeObserver$1(r,([ie])=>{const{width:le,height:ue}=ie.contentRect,{paddingLeft:de,paddingRight:pe,paddingTop:he,paddingBottom:_e}=getComputedStyle(ie.target),$e=Number.parseInt(de)||0,Ie=Number.parseInt(pe)||0,Ve=Number.parseInt(he)||0,Fe=Number.parseInt(_e)||0;$.value=le-$e-Ie,V.value=ue-Ve-Fe}).stop}),onBeforeUnmount(()=>{oe==null||oe()}),watch([$,V],([ie,le])=>{var ue;(ue=t.onResize)==null||ue.call(t,{width:ie,height:le})}),{sizer:r,width:$,height:V}};function useTable(t){const r=ref(),$=ref(),V=ref(),{columns:oe,columnsStyles:ie,columnsTotalWidth:le,fixedColumnsOnLeft:ue,fixedColumnsOnRight:de,hasFixedColumns:pe,mainColumns:he,onColumnSorted:_e}=useColumns(t,toRef(t,"columns"),toRef(t,"fixed")),{scrollTo:$e,scrollToLeft:Ie,scrollToTop:Ve,scrollToRow:Fe,onScroll:Ue,onVerticalScroll:qe,scrollPos:Et}=useScrollbar(t,{mainTableRef:r,leftTableRef:$,rightTableRef:V,onMaybeEndReached:zn}),{expandedRowKeys:Lt,hoveringRowKey:hn,lastRenderedRowIndex:Cn,isDynamic:bn,isResetting:Sn,rowHeights:En,resetAfterIndex:wn,onRowExpanded:$n,onRowHeightChange:Tn,onRowHovered:xn,onRowsRendered:An}=useRow(t,{mainTableRef:r,leftTableRef:$,rightTableRef:V}),{data:Mn,depthMap:Vn}=useData(t,{expandedRowKeys:Lt,lastRenderedRowIndex:Cn,resetAfterIndex:wn}),{bodyWidth:Bn,fixedTableHeight:Dn,mainTableHeight:Ln,leftTableWidth:Pn,rightTableWidth:Fn,headerWidth:Un,rowsHeight:Wn,windowHeight:Zn,footerHeight:or,emptyStyle:br,rootStyle:Qn,headerHeight:Gn}=useStyles(t,{columnsTotalWidth:le,data:Mn,fixedColumnsOnLeft:ue,fixedColumnsOnRight:de}),Yn=shallowRef(!1),er=ref(),lr=computed(()=>{const Kn=unref(Mn).length===0;return isArray$c(t.fixedData)?t.fixedData.length===0&&Kn:Kn});function sr(Kn){const{estimatedRowHeight:Jn,rowHeight:cr,rowKey:_r}=t;return Jn?unref(En)[unref(Mn)[Kn][_r]]||Jn:cr}function zn(){const{onEndReached:Kn}=t;if(!Kn)return;const{scrollTop:Jn}=unref(Et),cr=unref(Wn),_r=unref(Zn),ur=cr-(Jn+_r)+t.hScrollbarSize;unref(Cn)>=0&&cr===Jn+unref(Ln)-unref(Gn)&&Kn(ur)}return watch(()=>t.expandedRowKeys,Kn=>Lt.value=Kn,{deep:!0}),{columns:oe,containerRef:er,mainTableRef:r,leftTableRef:$,rightTableRef:V,isDynamic:bn,isResetting:Sn,isScrolling:Yn,hoveringRowKey:hn,hasFixedColumns:pe,columnsStyles:ie,columnsTotalWidth:le,data:Mn,expandedRowKeys:Lt,depthMap:Vn,fixedColumnsOnLeft:ue,fixedColumnsOnRight:de,mainColumns:he,bodyWidth:Bn,emptyStyle:br,rootStyle:Qn,headerWidth:Un,footerHeight:or,mainTableHeight:Ln,fixedTableHeight:Dn,leftTableWidth:Pn,rightTableWidth:Fn,showEmpty:lr,getRowHeight:sr,onColumnSorted:_e,onRowHovered:xn,onRowExpanded:$n,onRowsRendered:An,onRowHeightChange:Tn,scrollTo:$e,scrollToLeft:Ie,scrollToTop:Ve,scrollToRow:Fe,onScroll:Ue,onVerticalScroll:qe}}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 $;const{cellData:V,style:oe}=t,ie=(($=V==null?void 0:V.toString)==null?void 0:$.call(V))||"";return createVNode("div",{class:t.class,title:ie,style:oe},[r.default?r.default(t):ie])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;const HeaderCell=(t,{slots:r})=>{var $,V;return r.default?r.default(t):createVNode("div",{class:t.class,title:($=t.column)==null?void 0:$.title},[(V=t.column)==null?void 0:V.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:$,columnsStyles:V,headerIndex:oe,style:ie}=t;let le=$.map((ue,de)=>r.cell({columns:$,column:ue,columnIndex:de,headerIndex:oe,style:V[ue.key]}));return r.header&&(le=r.header({cells:le.map(ue=>isArray$c(ue)&&ue.length===1?ue[0]:ue),columns:$,headerIndex:oe})),createVNode("div",{class:t.class,style:ie,role:"row"},[le])}}}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup(t,{slots:r,expose:$}){const V=useNamespace("table-v2"),oe=ref(),ie=computed(()=>enforceUnit({width:t.width,height:t.height})),le=computed(()=>enforceUnit({width:t.rowWidth,height:t.height})),ue=computed(()=>castArray$1(unref(t.headerHeight))),de=_e=>{const $e=unref(oe);nextTick(()=>{$e!=null&&$e.scroll&&$e.scroll({left:_e})})},pe=()=>{const _e=V.e("fixed-header-row"),{columns:$e,fixedHeaderData:Ie,rowHeight:Ve}=t;return Ie==null?void 0:Ie.map((Fe,Ue)=>{var qe;const Et=enforceUnit({height:Ve,width:"100%"});return(qe=r.fixed)==null?void 0:qe.call(r,{class:_e,columns:$e,rowData:Fe,rowIndex:-(Ue+1),style:Et})})},he=()=>{const _e=V.e("dynamic-header-row"),{columns:$e}=t;return unref(ue).map((Ie,Ve)=>{var Fe;const Ue=enforceUnit({width:"100%",height:Ie});return(Fe=r.dynamic)==null?void 0:Fe.call(r,{class:_e,columns:$e,headerIndex:Ve,style:Ue})})};return $({scrollToLeft:de}),()=>{if(!(t.height<=0))return createVNode("div",{ref:oe,class:t.class,style:unref(ie),role:"rowgroup"},[createVNode("div",{style:unref(le),class:V.e("header")},[he(),pe()])])}}}),useTableRow=t=>{const{isScrolling:r}=inject(TableV2InjectionKey),$=ref(!1),V=ref(),oe=computed(()=>isNumber$4(t.estimatedRowHeight)&&t.rowIndex>=0),ie=(de=!1)=>{const pe=unref(V);if(!pe)return;const{columns:he,onRowHeightChange:_e,rowKey:$e,rowIndex:Ie,style:Ve}=t,{height:Fe}=pe.getBoundingClientRect();$.value=!0,nextTick(()=>{if(de||Fe!==Number.parseInt(Ve.height)){const Ue=he[0],qe=(Ue==null?void 0:Ue.placeholderSign)===placeholderSign;_e==null||_e({rowKey:$e,height:Fe,rowIndex:Ie},Ue&&!qe&&Ue.fixed)}})},le=computed(()=>{const{rowData:de,rowIndex:pe,rowKey:he,onRowHover:_e}=t,$e=t.rowEventHandlers||{},Ie={};return Object.entries($e).forEach(([Ve,Fe])=>{isFunction$5(Fe)&&(Ie[Ve]=Ue=>{Fe({event:Ue,rowData:de,rowIndex:pe,rowKey:he})})}),_e&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:Ve,hovered:Fe})=>{const Ue=Ie[Ve];Ie[Ve]=qe=>{_e({event:qe,hovered:Fe,rowData:de,rowIndex:pe,rowKey:he}),Ue==null||Ue(qe)}}),Ie}),ue=de=>{const{onRowExpand:pe,rowData:he,rowIndex:_e,rowKey:$e}=t;pe==null||pe({expanded:de,rowData:he,rowIndex:_e,rowKey:$e})};return onMounted(()=>{unref(oe)&&ie(!0)}),{isScrolling:r,measurable:oe,measured:$,rowRef:V,eventHandlers:le,onExpand:ue}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup(t,{expose:r,slots:$,attrs:V}){const{eventHandlers:oe,isScrolling:ie,measurable:le,measured:ue,rowRef:de,onExpand:pe}=useTableRow(t);return r({onExpand:pe}),()=>{const{columns:he,columnsStyles:_e,expandColumnKey:$e,depth:Ie,rowData:Ve,rowIndex:Fe,style:Ue}=t;let qe=he.map((Et,Lt)=>{const hn=isArray$c(Ve.children)&&Ve.children.length>0&&Et.key===$e;return $.cell({column:Et,columns:he,columnIndex:Lt,depth:Ie,style:_e[Et.key],rowData:Ve,rowIndex:Fe,isScrolling:unref(ie),expandIconProps:hn?{rowData:Ve,rowIndex:Fe,onExpand:pe}:void 0})});if($.row&&(qe=$.row({cells:qe.map(Et=>isArray$c(Et)&&Et.length===1?Et[0]:Et),style:Ue,columns:he,depth:Ie,rowData:Ve,rowIndex:Fe,isScrolling:unref(ie)})),unref(le)){const{height:Et,...Lt}=Ue||{},hn=unref(ue);return createVNode("div",mergeProps({ref:de,class:t.class,style:hn?Ue:Lt,role:"row"},V,unref(oe)),[qe])}return createVNode("div",mergeProps(V,{ref:de,class:t.class,style:Ue,role:"row"},unref(oe)),[qe])}}}),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:$,onExpand:V,style:oe,size:ie}=t,le={onClick:$?()=>V(!r):void 0,class:t.class};return createVNode(ElIcon,mergeProps(le,{size:ie,style:oe}),{default:()=>[createVNode(arrow_right_default,null,null)]})},COMPONENT_NAME$5="ElTableV2Grid",useTableGrid=t=>{const r=ref(),$=ref(),V=computed(()=>{const{data:Fe,rowHeight:Ue,estimatedRowHeight:qe}=t;if(!qe)return Fe.length*Ue}),oe=computed(()=>{const{fixedData:Fe,rowHeight:Ue}=t;return((Fe==null?void 0:Fe.length)||0)*Ue}),ie=computed(()=>sum(t.headerHeight)),le=computed(()=>{const{height:Fe}=t;return Math.max(0,Fe-unref(ie)-unref(oe))}),ue=computed(()=>unref(ie)+unref(oe)>0),de=({data:Fe,rowIndex:Ue})=>Fe[Ue][t.rowKey];function pe({rowCacheStart:Fe,rowCacheEnd:Ue,rowVisibleStart:qe,rowVisibleEnd:Et}){var Lt;(Lt=t.onRowsRendered)==null||Lt.call(t,{rowCacheStart:Fe,rowCacheEnd:Ue,rowVisibleStart:qe,rowVisibleEnd:Et})}function he(Fe,Ue){var qe;(qe=$.value)==null||qe.resetAfterRowIndex(Fe,Ue)}function _e(Fe,Ue){const qe=unref(r),Et=unref($);!qe||!Et||(isObject$a(Fe)?(qe.scrollToLeft(Fe.scrollLeft),Et.scrollTo(Fe)):(qe.scrollToLeft(Fe),Et.scrollTo({scrollLeft:Fe,scrollTop:Ue})))}function $e(Fe){var Ue;(Ue=unref($))==null||Ue.scrollTo({scrollTop:Fe})}function Ie(Fe,Ue){var qe;(qe=unref($))==null||qe.scrollToItem(Fe,1,Ue)}function Ve(){var Fe,Ue;(Fe=unref($))==null||Fe.$forceUpdate(),(Ue=unref(r))==null||Ue.$forceUpdate()}return{bodyRef:$,forceUpdate:Ve,fixedRowHeight:oe,gridHeight:le,hasHeader:ue,headerHeight:ie,headerRef:r,totalHeight:V,itemKey:de,onItemRendered:pe,resetAfterRowIndex:he,scrollTo:_e,scrollToTop:$e,scrollToRow:Ie}},TableGrid=defineComponent({name:COMPONENT_NAME$5,props:tableV2GridProps,setup(t,{slots:r,expose:$}){const{ns:V}=inject(TableV2InjectionKey),{bodyRef:oe,fixedRowHeight:ie,gridHeight:le,hasHeader:ue,headerRef:de,headerHeight:pe,totalHeight:he,forceUpdate:_e,itemKey:$e,onItemRendered:Ie,resetAfterRowIndex:Ve,scrollTo:Fe,scrollToTop:Ue,scrollToRow:qe}=useTableGrid(t);$({forceUpdate:_e,totalHeight:he,scrollTo:Fe,scrollToTop:Ue,scrollToRow:qe,resetAfterRowIndex:Ve});const Et=()=>t.bodyWidth;return()=>{const{cache:Lt,columns:hn,data:Cn,fixedData:bn,useIsScrolling:Sn,scrollbarAlwaysOn:En,scrollbarEndGap:wn,scrollbarStartGap:$n,style:Tn,rowHeight:xn,bodyWidth:An,estimatedRowHeight:Mn,headerWidth:Vn,height:Bn,width:Dn,getRowHeight:Ln,onScroll:Pn}=t,Fn=isNumber$4(Mn),Un=Fn?DynamicSizeGrid:FixedSizeGrid,Wn=unref(pe);return createVNode("div",{role:"table",class:[V.e("table"),t.class],style:Tn},[createVNode(Un,{ref:oe,data:Cn,useIsScrolling:Sn,itemKey:$e,columnCache:0,columnWidth:Fn?Et:An,totalColumn:1,totalRow:Cn.length,rowCache:Lt,rowHeight:Fn?Ln:xn,width:Dn,height:unref(le),class:V.e("body"),role:"rowgroup",scrollbarStartGap:$n,scrollbarEndGap:wn,scrollbarAlwaysOn:En,onScroll:Pn,onItemRendered:Ie,perfMode:!1},{default:Zn=>{var or;const br=Cn[Zn.rowIndex];return(or=r.row)==null?void 0:or.call(r,{...Zn,columns:hn,rowData:br})}}),unref(ue)&&createVNode(TableV2Header,{ref:de,class:V.e("header-wrapper"),columns:hn,headerData:Cn,headerHeight:t.headerHeight,fixedHeaderData:bn,rowWidth:Vn,rowHeight:xn,width:Dn,height:Math.min(Wn+unref(ie),Bn)},{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}=t;return createVNode(TableGrid,mergeProps({ref:$},V),_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}=t;return createVNode(TableGrid,mergeProps({ref:$},V),_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}=t;return createVNode(TableGrid,mergeProps({ref:$},V),_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:$,columnsStyles:V,depthMap:oe,expandColumnKey:ie,expandedRowKeys:le,estimatedRowHeight:ue,hasFixedColumns:de,hoveringRowKey:pe,rowData:he,rowIndex:_e,style:$e,isScrolling:Ie,rowProps:Ve,rowClass:Fe,rowKey:Ue,rowEventHandlers:qe,ns:Et,onRowHovered:Lt,onRowExpanded:hn}=t,Cn=tryCall(Fe,{columns:$,rowData:he,rowIndex:_e},""),bn=tryCall(Ve,{columns:$,rowData:he,rowIndex:_e}),Sn=he[Ue],En=oe[Sn]||0,wn=!!ie,$n=_e<0,Tn=[Et.e("row"),Cn,{[Et.e(`row-depth-${En}`)]:wn&&_e>=0,[Et.is("expanded")]:wn&&le.includes(Sn),[Et.is("hovered")]:!Ie&&Sn===pe,[Et.is("fixed")]:!En&&$n,[Et.is("customized")]:!!r.row}],xn=de?Lt:void 0,An={...bn,columns:$,columnsStyles:V,class:Tn,depth:En,expandColumnKey:ie,estimatedRowHeight:$n?void 0:ue,isScrolling:Ie,rowIndex:_e,rowData:he,rowKey:Sn,rowEventHandlers:qe,style:$e};return createVNode(TableV2Row,mergeProps(An,{onRowHover:xn,onRowExpand:hn}),_isSlot$2(r)?r:{default:()=>[r]})},CellRenderer=({columns:t,column:r,columnIndex:$,depth:V,expandIconProps:oe,isScrolling:ie,rowData:le,rowIndex:ue,style:de,expandedRowKeys:pe,ns:he,cellProps:_e,expandColumnKey:$e,indentSize:Ie,iconSize:Ve,rowKey:Fe},{slots:Ue})=>{const qe=enforceUnit(de);if(r.placeholderSign===placeholderSign)return createVNode("div",{class:he.em("row-cell","placeholder"),style:qe},null);const{cellRenderer:Et,dataKey:Lt,dataGetter:hn}=r,bn=componentToSlot(Et)||Ue.default||(Bn=>createVNode(TableV2Cell,Bn,null)),Sn=isFunction$5(hn)?hn({columns:t,column:r,columnIndex:$,rowData:le,rowIndex:ue}):get$1(le,Lt??""),En=tryCall(_e,{cellData:Sn,columns:t,column:r,columnIndex:$,rowIndex:ue,rowData:le}),wn={class:he.e("cell-text"),columns:t,column:r,columnIndex:$,cellData:Sn,isScrolling:ie,rowData:le,rowIndex:ue},$n=bn(wn),Tn=[he.e("row-cell"),r.class,r.align===Alignment.CENTER&&he.is("align-center"),r.align===Alignment.RIGHT&&he.is("align-right")],xn=ue>=0&&$e&&r.key===$e,An=ue>=0&&pe.includes(le[Fe]);let Mn;const Vn=`margin-inline-start: ${V*Ie}px;`;return xn&&(isObject$a(oe)?Mn=createVNode(ExpandIcon,mergeProps(oe,{class:[he.e("expand-icon"),he.is("expanded",An)],size:Ve,expanded:An,style:Vn,expandable:!0}),null):Mn=createVNode("div",{style:[Vn,`width: ${Ve}px; height: ${Ve}px;`].join(" ")},null)),createVNode("div",mergeProps({class:Tn,style:qe},En,{role:"cell"}),[Mn,$n])};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:$,style:V,headerClass:oe,headerProps:ie,ns:le},{slots:ue})=>{const de={columns:t,headerIndex:$},pe=[le.e("header-row"),tryCall(oe,de,""),{[le.is("customized")]:!!ue.header}],he={...tryCall(ie,de),columnsStyles:r,class:pe,columns:t,headerIndex:$,style:V};return createVNode(TableV2HeaderRow,he,_isSlot$1(ue)?ue:{default:()=>[ue]})},HeaderCellRenderer=(t,{slots:r})=>{const{column:$,ns:V,style:oe,onColumnSorted:ie}=t,le=enforceUnit(oe);if($.placeholderSign===placeholderSign)return createVNode("div",{class:V.em("header-row-cell","placeholder"),style:le},null);const{headerCellRenderer:ue,headerClass:de,sortable:pe}=$,he={...t,class:V.e("header-cell-text")},$e=(componentToSlot(ue)||r.default||(hn=>createVNode(HeaderCell,hn,null)))(he),{sortBy:Ie,sortState:Ve,headerCellProps:Fe}=t;let Ue,qe;if(Ve){const hn=Ve[$.key];Ue=!!oppositeOrderMap[hn],qe=Ue?hn:SortOrder.ASC}else Ue=$.key===Ie.key,qe=Ue?Ie.order:SortOrder.ASC;const Et=[V.e("header-cell"),tryCall(de,t,""),$.align===Alignment.CENTER&&V.is("align-center"),$.align===Alignment.RIGHT&&V.is("align-right"),pe&&V.is("sortable")],Lt={...tryCall(Fe,t),onClick:$.sortable?ie:void 0,class:Et,style:le,"data-key":$.key};return createVNode("div",mergeProps(Lt,{role:"columnheader"}),[$e,pe&&createVNode(SortIcon,{class:[V.e("sort-icon"),Ue&&V.is("sorting")],sortOrder:qe},null)])},Footer$1=(t,{slots:r})=>{var $;return createVNode("div",{class:t.class,style:t.style},[($=r.default)==null?void 0:$.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 $;return createVNode("div",{class:t.class,style:t.style},[($=r.default)==null?void 0:$.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:$}){const V=useNamespace("table-v2"),{columnsStyles:oe,fixedColumnsOnLeft:ie,fixedColumnsOnRight:le,mainColumns:ue,mainTableHeight:de,fixedTableHeight:pe,leftTableWidth:he,rightTableWidth:_e,data:$e,depthMap:Ie,expandedRowKeys:Ve,hasFixedColumns:Fe,hoveringRowKey:Ue,mainTableRef:qe,leftTableRef:Et,rightTableRef:Lt,isDynamic:hn,isResetting:Cn,isScrolling:bn,bodyWidth:Sn,emptyStyle:En,rootStyle:wn,headerWidth:$n,footerHeight:Tn,showEmpty:xn,scrollTo:An,scrollToLeft:Mn,scrollToTop:Vn,scrollToRow:Bn,getRowHeight:Dn,onColumnSorted:Ln,onRowHeightChange:Pn,onRowHovered:Fn,onRowExpanded:Un,onRowsRendered:Wn,onScroll:Zn,onVerticalScroll:or}=useTable(t);return $({scrollTo:An,scrollToLeft:Mn,scrollToTop:Vn,scrollToRow:Bn}),provide(TableV2InjectionKey,{ns:V,isResetting:Cn,hoveringRowKey:Ue,isScrolling:bn}),()=>{const{cache:br,cellProps:Qn,estimatedRowHeight:Gn,expandColumnKey:Yn,fixedData:er,headerHeight:lr,headerClass:sr,headerProps:zn,headerCellProps:Kn,sortBy:Jn,sortState:cr,rowHeight:_r,rowClass:ur,rowEventHandlers:wr,rowKey:Cr,rowProps:mr,scrollbarAlwaysOn:Er,indentSize:Tr,iconSize:nr,useIsScrolling:pr,vScrollbarSize:gr,width:$r}=t,Rr=unref($e),Lr={cache:br,class:V.e("main"),columns:unref(ue),data:Rr,fixedData:er,estimatedRowHeight:Gn,bodyWidth:unref(Sn)+gr,headerHeight:lr,headerWidth:unref($n),height:unref(de),mainTableRef:qe,rowKey:Cr,rowHeight:_r,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:gr,useIsScrolling:pr,width:$r,getRowHeight:Dn,onRowsRendered:Wn,onScroll:Zn},Vr=unref(he),Nr=unref(pe),dr={cache:br,class:V.e("left"),columns:unref(ie),data:Rr,estimatedRowHeight:Gn,leftTableRef:Et,rowHeight:_r,bodyWidth:Vr,headerWidth:Vr,headerHeight:lr,height:Nr,rowKey:Cr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:gr,useIsScrolling:pr,width:Vr,getRowHeight:Dn,onScroll:or},tr=unref(_e)+gr,Sr={cache:br,class:V.e("right"),columns:unref(le),data:Rr,estimatedRowHeight:Gn,rightTableRef:Lt,rowHeight:_r,bodyWidth:tr,headerWidth:tr,headerHeight:lr,height:Nr,rowKey:Cr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:gr,width:tr,style:`--${unref(V.namespace)}-table-scrollbar-size: ${gr}px`,useIsScrolling:pr,getRowHeight:Dn,onScroll:or},qn=unref(oe),kr={ns:V,depthMap:unref(Ie),columnsStyles:qn,expandColumnKey:Yn,expandedRowKeys:unref(Ve),estimatedRowHeight:Gn,hasFixedColumns:unref(Fe),hoveringRowKey:unref(Ue),rowProps:mr,rowClass:ur,rowKey:Cr,rowEventHandlers:wr,onRowHovered:Fn,onRowExpanded:Un,onRowHeightChange:Pn},Dr={cellProps:Qn,expandColumnKey:Yn,indentSize:Tr,iconSize:nr,rowKey:Cr,expandedRowKeys:unref(Ve),ns:V},Hr={ns:V,headerClass:sr,headerProps:zn,columnsStyles:qn},Gr={ns:V,sortBy:Jn,sortState:cr,headerCellProps:Kn,onColumnSorted:Ln},Kr={row:hr=>createVNode(RowRenderer,mergeProps(hr,kr),{row:r.row,cell:xr=>{let ir;return r.cell?createVNode(CellRenderer,mergeProps(xr,Dr,{style:qn[xr.column.key]}),_isSlot(ir=r.cell(xr))?ir:{default:()=>[ir]}):createVNode(CellRenderer,mergeProps(xr,Dr,{style:qn[xr.column.key]}),null)}}),header:hr=>createVNode(HeaderRenderer,mergeProps(hr,Hr),{header:r.header,cell:xr=>{let ir;return r["header-cell"]?createVNode(HeaderCellRenderer,mergeProps(xr,Gr,{style:qn[xr.column.key]}),_isSlot(ir=r["header-cell"](xr))?ir:{default:()=>[ir]}):createVNode(HeaderCellRenderer,mergeProps(xr,Gr,{style:qn[xr.column.key]}),null)}})},to=[t.class,V.b(),V.e("root"),{[V.is("dynamic")]:unref(hn)}],Zr={class:V.e("footer"),style:unref(Tn)};return createVNode("div",{class:to,style:unref(wn)},[createVNode(MainTable,Lr,_isSlot(Kr)?Kr:{default:()=>[Kr]}),createVNode(LeftTable$1,dr,_isSlot(Kr)?Kr:{default:()=>[Kr]}),createVNode(LeftTable,Sr,_isSlot(Kr)?Kr:{default:()=>[Kr]}),r.footer&&createVNode(Footer$1,Zr,{default:r.footer}),unref(xn)&&createVNode(Footer,{class:V.e("empty"),style:unref(En)},{default:r.empty}),r.overlay&&createVNode(Overlay,{class:V.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 $=useNamespace("auto-resizer"),{height:V,width:oe,sizer:ie}=useAutoResize(t),le={width:"100%",height:"100%"};return()=>{var ue;return createVNode("div",{ref:ie,class:$.b(),style:le},[(ue=r.default)==null?void 0:ue.call(r,{height:V.value,width:oe.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$s=defineComponent({...__default__$k,props:tabBarProps,setup(t,{expose:r}){const $=t,V=getCurrentInstance(),oe=inject(tabsRootContextKey);oe||throwError$1(COMPONENT_NAME$3,"<el-tabs><el-tab-bar /></el-tabs>");const ie=useNamespace("tabs"),le=ref(),ue=ref(),de=()=>{let he=0,_e=0;const $e=["top","bottom"].includes(oe.props.tabPosition)?"width":"height",Ie=$e==="width"?"x":"y",Ve=Ie==="x"?"left":"top";return $.tabs.every(Fe=>{var Ue,qe;const Et=(qe=(Ue=V.parent)==null?void 0:Ue.refs)==null?void 0:qe[`tab-${Fe.uid}`];if(!Et)return!1;if(!Fe.active)return!0;he=Et[`offset${capitalize$1(Ve)}`],_e=Et[`client${capitalize$1($e)}`];const Lt=window.getComputedStyle(Et);return $e==="width"&&($.tabs.length>1&&(_e-=Number.parseFloat(Lt.paddingLeft)+Number.parseFloat(Lt.paddingRight)),he+=Number.parseFloat(Lt.paddingLeft)),!1}),{[$e]:`${_e}px`,transform:`translate${capitalize$1(Ie)}(${he}px)`}},pe=()=>ue.value=de();return watch(()=>$.tabs,async()=>{await nextTick(),pe()},{immediate:!0}),useResizeObserver$1(le,()=>pe()),r({ref:le,update:pe}),(he,_e)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:le,class:normalizeClass([unref(ie).e("active-bar"),unref(ie).is(unref(oe).props.tabPosition)]),style:normalizeStyle$1(ue.value)},null,6))}});var TabBar=_export_sfc$1(_sfc_main$s,[["__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,$)=>$ 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:$}){const V=getCurrentInstance(),oe=inject(tabsRootContextKey);oe||throwError$1(COMPONENT_NAME$2,"<el-tabs><tab-nav /></el-tabs>");const ie=useNamespace("tabs"),le=useDocumentVisibility(),ue=useWindowFocus(),de=ref(),pe=ref(),he=ref(),_e=ref(),$e=ref(!1),Ie=ref(0),Ve=ref(!1),Fe=ref(!0),Ue=computed(()=>["top","bottom"].includes(oe.props.tabPosition)?"width":"height"),qe=computed(()=>({transform:`translate${Ue.value==="width"?"X":"Y"}(-${Ie.value}px)`})),Et=()=>{if(!de.value)return;const wn=de.value[`offset${capitalize$1(Ue.value)}`],$n=Ie.value;if(!$n)return;const Tn=$n>wn?$n-wn:0;Ie.value=Tn},Lt=()=>{if(!de.value||!pe.value)return;const wn=pe.value[`offset${capitalize$1(Ue.value)}`],$n=de.value[`offset${capitalize$1(Ue.value)}`],Tn=Ie.value;if(wn-Tn<=$n)return;const xn=wn-Tn>$n*2?Tn+$n:wn-$n;Ie.value=xn},hn=async()=>{const wn=pe.value;if(!$e.value||!he.value||!de.value||!wn)return;await nextTick();const $n=he.value.querySelector(".is-active");if(!$n)return;const Tn=de.value,xn=["top","bottom"].includes(oe.props.tabPosition),An=$n.getBoundingClientRect(),Mn=Tn.getBoundingClientRect(),Vn=xn?wn.offsetWidth-Mn.width:wn.offsetHeight-Mn.height,Bn=Ie.value;let Dn=Bn;xn?(An.left<Mn.left&&(Dn=Bn-(Mn.left-An.left)),An.right>Mn.right&&(Dn=Bn+An.right-Mn.right)):(An.top<Mn.top&&(Dn=Bn-(Mn.top-An.top)),An.bottom>Mn.bottom&&(Dn=Bn+(An.bottom-Mn.bottom))),Dn=Math.max(Dn,0),Ie.value=Math.min(Dn,Vn)},Cn=()=>{var wn;if(!pe.value||!de.value)return;t.stretch&&((wn=_e.value)==null||wn.update());const $n=pe.value[`offset${capitalize$1(Ue.value)}`],Tn=de.value[`offset${capitalize$1(Ue.value)}`],xn=Ie.value;Tn<$n?($e.value=$e.value||{},$e.value.prev=xn,$e.value.next=xn+Tn<$n,$n-xn<Tn&&(Ie.value=$n-Tn)):($e.value=!1,xn>0&&(Ie.value=0))},bn=wn=>{const $n=wn.code,{up:Tn,down:xn,left:An,right:Mn}=EVENT_CODE;if(![Tn,xn,An,Mn].includes($n))return;const Vn=Array.from(wn.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),Bn=Vn.indexOf(wn.target);let Dn;$n===An||$n===Tn?Bn===0?Dn=Vn.length-1:Dn=Bn-1:Bn<Vn.length-1?Dn=Bn+1:Dn=0,Vn[Dn].focus({preventScroll:!0}),Vn[Dn].click(),Sn()},Sn=()=>{Fe.value&&(Ve.value=!0)},En=()=>Ve.value=!1;return watch(le,wn=>{wn==="hidden"?Fe.value=!1:wn==="visible"&&setTimeout(()=>Fe.value=!0,50)}),watch(ue,wn=>{wn?setTimeout(()=>Fe.value=!0,50):Fe.value=!1}),useResizeObserver$1(he,Cn),onMounted(()=>setTimeout(()=>hn(),0)),onUpdated(()=>Cn()),r({scrollToActiveTab:hn,removeFocus:En}),watch(()=>t.panes,()=>V.update(),{flush:"post",deep:!0}),()=>{const wn=$e.value?[createVNode("span",{class:[ie.e("nav-prev"),ie.is("disabled",!$e.value.prev)],onClick:Et},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_left_default,null,null)]})]),createVNode("span",{class:[ie.e("nav-next"),ie.is("disabled",!$e.value.next)],onClick:Lt},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_right_default,null,null)]})])]:null,$n=t.panes.map((Tn,xn)=>{var An,Mn,Vn,Bn;const Dn=Tn.uid,Ln=Tn.props.disabled,Pn=(Mn=(An=Tn.props.name)!=null?An:Tn.index)!=null?Mn:`${xn}`,Fn=!Ln&&(Tn.isClosable||t.editable);Tn.index=`${xn}`;const Un=Fn?createVNode(ElIcon,{class:"is-icon-close",onClick:or=>$("tabRemove",Tn,or)},{default:()=>[createVNode(close_default,null,null)]}):null,Wn=((Bn=(Vn=Tn.slots).label)==null?void 0:Bn.call(Vn))||Tn.props.label,Zn=!Ln&&Tn.active?0:-1;return createVNode("div",{ref:`tab-${Dn}`,class:[ie.e("item"),ie.is(oe.props.tabPosition),ie.is("active",Tn.active),ie.is("disabled",Ln),ie.is("closable",Fn),ie.is("focus",Ve.value)],id:`tab-${Pn}`,key:`tab-${Dn}`,"aria-controls":`pane-${Pn}`,role:"tab","aria-selected":Tn.active,tabindex:Zn,onFocus:()=>Sn(),onBlur:()=>En(),onClick:or=>{En(),$("tabClick",Tn,Pn,or)},onKeydown:or=>{Fn&&(or.code===EVENT_CODE.delete||or.code===EVENT_CODE.backspace)&&$("tabRemove",Tn,or)}},[Wn,Un])});return createVNode("div",{ref:he,class:[ie.e("nav-wrap"),ie.is("scrollable",!!$e.value),ie.is(oe.props.tabPosition)]},[wn,createVNode("div",{class:ie.e("nav-scroll"),ref:de},[createVNode("div",{class:[ie.e("nav"),ie.is(oe.props.tabPosition),ie.is("stretch",t.stretch&&["top","bottom"].includes(oe.props.tabPosition))],ref:pe,style:qe.value,role:"tablist",onKeydown:bn},[t.type?null:createVNode(TabBar,{ref:_e,tabs:[...t.panes]},null),$n])])])}}}),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:$,expose:V}){var oe,ie;const le=useNamespace("tabs"),{children:ue,addChild:de,removeChild:pe}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),he=ref(),_e=ref((ie=(oe=t.modelValue)!=null?oe:t.activeName)!=null?ie:"0"),$e=qe=>{_e.value=qe,r(UPDATE_MODEL_EVENT,qe),r("tabChange",qe)},Ie=async qe=>{var Et,Lt,hn;if(!(_e.value===qe||isUndefined$1(qe)))try{await((Et=t.beforeLeave)==null?void 0:Et.call(t,qe,_e.value))!==!1&&($e(qe),(hn=(Lt=he.value)==null?void 0:Lt.removeFocus)==null||hn.call(Lt))}catch{}},Ve=(qe,Et,Lt)=>{qe.props.disabled||(Ie(Et),r("tabClick",qe,Lt))},Fe=(qe,Et)=>{qe.props.disabled||isUndefined$1(qe.props.name)||(Et.stopPropagation(),r("edit",qe.props.name,"remove"),r("tabRemove",qe.props.name))},Ue=()=>{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,qe=>Ie(qe)),watch(()=>t.modelValue,qe=>Ie(qe)),watch(_e,async()=>{var qe;await nextTick(),(qe=he.value)==null||qe.scrollToActiveTab()}),provide(tabsRootContextKey,{props:t,currentName:_e,registerPane:de,unregisterPane:pe}),V({currentName:_e}),()=>{const qe=t.editable||t.addable?createVNode("span",{class:le.e("new-tab"),tabindex:"0",onClick:Ue,onKeydown:hn=>{hn.code===EVENT_CODE.enter&&Ue()}},[createVNode(ElIcon,{class:le.is("icon-plus")},{default:()=>[createVNode(plus_default,null,null)]})]):null,Et=createVNode("div",{class:[le.e("header"),le.is(t.tabPosition)]},[qe,createVNode(TabNav,{ref:he,currentName:_e.value,editable:t.editable,type:t.type,panes:ue.value,stretch:t.stretch,onTabClick:Ve,onTabRemove:Fe},null)]),Lt=createVNode("div",{class:le.e("content")},[renderSlot($,"default")]);return createVNode("div",{class:[le.b(),le.m(t.tabPosition),{[le.m("card")]:t.type==="card",[le.m("border-card")]:t.type==="border-card"}]},[...t.tabPosition!=="bottom"?[Et,Lt]:[Lt,Et]])}}});const tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),_hoisted_1$d=["id","aria-hidden","aria-labelledby"],COMPONENT_NAME$1="ElTabPane",__default__$j=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$r=defineComponent({...__default__$j,props:tabPaneProps,setup(t){const r=t,$=getCurrentInstance(),V=useSlots(),oe=inject(tabsRootContextKey);oe||throwError$1(COMPONENT_NAME$1,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const ie=useNamespace("tab-pane"),le=ref(),ue=computed(()=>r.closable||oe.props.closable),de=computedEager(()=>{var Ie;return oe.currentName.value===((Ie=r.name)!=null?Ie:le.value)}),pe=ref(de.value),he=computed(()=>{var Ie;return(Ie=r.name)!=null?Ie:le.value}),_e=computedEager(()=>!r.lazy||pe.value||de.value);watch(de,Ie=>{Ie&&(pe.value=!0)});const $e=reactive({uid:$.uid,slots:V,props:r,paneName:he,active:de,index:le,isClosable:ue});return onMounted(()=>{oe.registerPane($e)}),onUnmounted(()=>{oe.unregisterPane($e.uid)}),(Ie,Ve)=>unref(_e)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(he)}`,class:normalizeClass(unref(ie).b()),role:"tabpanel","aria-hidden":!unref(de),"aria-labelledby":`tab-${unref(he)}`},[renderSlot(Ie.$slots,"default")],10,_hoisted_1$d)),[[vShow,unref(de)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc$1(_sfc_main$r,[["__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$q=defineComponent({...__default__$i,props:textProps,setup(t){const r=t,$=useFormSize(),V=useNamespace("text"),oe=computed(()=>[V.b(),V.m(r.type),V.m($.value),V.is("truncated",r.truncated)]);return(ie,le)=>(openBlock(),createBlock(resolveDynamicComponent(ie.tag),{class:normalizeClass(unref(oe))},{default:withCtx(()=>[renderSlot(ie.$slots,"default")]),_:3},8,["class"]))}});var Text=_export_sfc$1(_sfc_main$q,[["__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 $=Number.parseInt(r[0],10);const V=Number.parseInt(r[1],10),oe=t.toUpperCase();return oe.includes("AM")&&$===12?$=0:oe.includes("PM")&&$!==12&&($+=12),{hours:$,minutes:V}}return null},compareTime=(t,r)=>{const $=parseTime(t);if(!$)return-1;const V=parseTime(r);if(!V)return-1;const oe=$.minutes+$.hours*60,ie=V.minutes+V.hours*60;return oe===ie?0:oe>ie?1:-1},padTime=t=>`${t}`.padStart(2,"0"),formatTime$1=t=>`${padTime(t.hours)}:${padTime(t.minutes)}`,nextTime=(t,r)=>{const $=parseTime(t);if(!$)return"";const V=parseTime(r);if(!V)return"";const oe={hours:$.hours,minutes:$.minutes};return oe.minutes+=V.minutes,oe.hours+=V.hours,oe.hours+=Math.floor(oe.minutes/60),oe.minutes=oe.minutes%60,formatTime$1(oe)},__default__$h=defineComponent({name:"ElTimeSelect"}),_sfc_main$p=defineComponent({...__default__$h,props:timeSelectProps,emits:["change","blur","focus","update:modelValue"],setup(t,{expose:r}){const $=t;dayjs.extend(customParseFormat);const{Option:V}=ElSelect,oe=useNamespace("input"),ie=ref(),le=useFormDisabled(),ue=computed(()=>$.modelValue),de=computed(()=>{const Ue=parseTime($.start);return Ue?formatTime$1(Ue):null}),pe=computed(()=>{const Ue=parseTime($.end);return Ue?formatTime$1(Ue):null}),he=computed(()=>{const Ue=parseTime($.step);return Ue?formatTime$1(Ue):null}),_e=computed(()=>{const Ue=parseTime($.minTime||"");return Ue?formatTime$1(Ue):null}),$e=computed(()=>{const Ue=parseTime($.maxTime||"");return Ue?formatTime$1(Ue):null}),Ie=computed(()=>{const Ue=[];if($.start&&$.end&&$.step){let qe=de.value,Et;for(;qe&&pe.value&&compareTime(qe,pe.value)<=0;)Et=dayjs(qe,"HH:mm").format($.format),Ue.push({value:Et,disabled:compareTime(qe,_e.value||"-1:-1")<=0||compareTime(qe,$e.value||"100:100")>=0}),qe=nextTime(qe,he.value)}return Ue});return r({blur:()=>{var Ue,qe;(qe=(Ue=ie.value)==null?void 0:Ue.blur)==null||qe.call(Ue)},focus:()=>{var Ue,qe;(qe=(Ue=ie.value)==null?void 0:Ue.focus)==null||qe.call(Ue)}}),(Ue,qe)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:ie,"model-value":unref(ue),disabled:unref(le),clearable:Ue.clearable,"clear-icon":Ue.clearIcon,size:Ue.size,effect:Ue.effect,placeholder:Ue.placeholder,"default-first-option":"",filterable:Ue.editable,"onUpdate:modelValue":qe[0]||(qe[0]=Et=>Ue.$emit("update:modelValue",Et)),onChange:qe[1]||(qe[1]=Et=>Ue.$emit("change",Et)),onBlur:qe[2]||(qe[2]=Et=>Ue.$emit("blur",Et)),onFocus:qe[3]||(qe[3]=Et=>Ue.$emit("focus",Et))},{prefix:withCtx(()=>[Ue.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(oe).e("prefix-icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie),Et=>(openBlock(),createBlock(unref(V),{key:Et.value,label:Et.value,value:Et.value,disabled:Et.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$p,[["__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 $=useNamespace("timeline");return provide("timeline",r),()=>h$2("ul",{class:[$.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$o=defineComponent({...__default__$g,props:timelineItemProps,setup(t){const r=t,$=useNamespace("timeline-item"),V=computed(()=>[$.e("node"),$.em("node",r.size||""),$.em("node",r.type||""),$.is("hollow",r.hollow)]);return(oe,ie)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref($).b(),{[unref($).e("center")]:oe.center}])},[createBaseVNode("div",{class:normalizeClass(unref($).e("tail"))},null,2),oe.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V)),style:normalizeStyle$1({backgroundColor:oe.color})},[oe.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref($).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.icon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),oe.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref($).e("dot"))},[renderSlot(oe.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref($).e("wrapper"))},[!oe.hideTimestamp&&oe.placement==="top"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref($).e("timestamp"),unref($).is("top")])},toDisplayString$1(oe.timestamp),3)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref($).e("content"))},[renderSlot(oe.$slots,"default")],2),!oe.hideTimestamp&&oe.placement==="bottom"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref($).e("timestamp"),unref($).is("bottom")])},toDisplayString$1(oe.timestamp),3)):createCommentVNode("v-if",!0)],2)],2))}});var TimelineItem=_export_sfc$1(_sfc_main$o,[["__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$n=defineComponent({...__default__$f,props:tooltipV2RootProps,setup(t,{expose:r}){const $=t,V=ref($.defaultOpen),oe=ref(null),ie=computed({get:()=>isPropAbsent($.open)?V.value:$.open,set:Ue=>{var qe;V.value=Ue,(qe=$["onUpdate:open"])==null||qe.call($,Ue)}}),le=computed(()=>isNumber$4($.delayDuration)&&$.delayDuration>0),{start:ue,stop:de}=useTimeoutFn$1(()=>{ie.value=!0},computed(()=>$.delayDuration),{immediate:!1}),pe=useNamespace("tooltip-v2"),he=useId(),_e=()=>{de(),ie.value=!0},$e=()=>{unref(le)?ue():_e()},Ie=_e,Ve=()=>{de(),ie.value=!1};return watch(ie,Ue=>{var qe;Ue&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),Ie()),(qe=$.onOpenChange)==null||qe.call($,Ue)}),onMounted(()=>{document.addEventListener(TOOLTIP_V2_OPEN,Ve)}),onBeforeUnmount(()=>{de(),document.removeEventListener(TOOLTIP_V2_OPEN,Ve)}),provide(tooltipV2RootKey,{contentId:he,triggerRef:oe,ns:pe,onClose:Ve,onDelayOpen:$e,onOpen:Ie}),r({onOpen:Ie,onClose:Ve}),(Ue,qe)=>renderSlot(Ue.$slots,"default",{open:unref(ie)})}});var TooltipV2Root=_export_sfc$1(_sfc_main$n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/root.vue"]]);const __default__$e=defineComponent({name:"ElTooltipV2Arrow"}),_sfc_main$m=defineComponent({...__default__$e,props:{...tooltipV2ArrowProps,...tooltipV2ArrowSpecialProps},setup(t){const r=t,{ns:$}=inject(tooltipV2RootKey),{arrowRef:V}=inject(tooltipV2ContentKey),oe=computed(()=>{const{style:ie,width:le,height:ue}=r,de=$.namespace.value;return{[`--${de}-tooltip-v2-arrow-width`]:`${le}px`,[`--${de}-tooltip-v2-arrow-height`]:`${ue}px`,[`--${de}-tooltip-v2-arrow-border-width`]:`${le/2}px`,[`--${de}-tooltip-v2-arrow-cover-width`]:le/2-1,...ie||{}}});return(ie,le)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:V,style:normalizeStyle$1(unref(oe)),class:normalizeClass(unref($).e("arrow"))},null,6))}});var TooltipV2Arrow=_export_sfc$1(_sfc_main$m,[["__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$l=defineComponent({...__default__$d,props:visualHiddenProps,setup(t){const r=t,$=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(V,oe)=>(openBlock(),createElementBlock("span",mergeProps(V.$attrs,{style:unref($)}),[renderSlot(V.$slots,"default")],16))}});var ElVisuallyHidden=_export_sfc$1(_sfc_main$l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);const _hoisted_1$c=["data-side"],__default__$c=defineComponent({name:"ElTooltipV2Content"}),_sfc_main$k=defineComponent({...__default__$c,props:{...tooltipV2ContentProps,...tooltipV2CommonProps},setup(t){const r=t,{triggerRef:$,contentId:V}=inject(tooltipV2RootKey),oe=ref(r.placement),ie=ref(r.strategy),le=ref(null),{referenceRef:ue,contentRef:de,middlewareData:pe,x:he,y:_e,update:$e}=useFloating({placement:oe,strategy:ie,middleware:computed(()=>{const Lt=[offset(r.offset)];return r.showArrow&&Lt.push(arrowMiddleware({arrowRef:le})),Lt})}),Ie=useZIndex().nextZIndex(),Ve=useNamespace("tooltip-v2"),Fe=computed(()=>oe.value.split("-")[0]),Ue=computed(()=>({position:unref(ie),top:`${unref(_e)||0}px`,left:`${unref(he)||0}px`,zIndex:Ie})),qe=computed(()=>{if(!r.showArrow)return{};const{arrow:Lt}=unref(pe);return{[`--${Ve.namespace.value}-tooltip-v2-arrow-x`]:`${Lt==null?void 0:Lt.x}px`||"",[`--${Ve.namespace.value}-tooltip-v2-arrow-y`]:`${Lt==null?void 0:Lt.y}px`||""}}),Et=computed(()=>[Ve.e("content"),Ve.is("dark",r.effect==="dark"),Ve.is(unref(ie)),r.contentClass]);return watch(le,()=>$e()),watch(()=>r.placement,Lt=>oe.value=Lt),onMounted(()=>{watch(()=>r.reference||$.value,Lt=>{ue.value=Lt||void 0},{immediate:!0})}),provide(tooltipV2ContentKey,{arrowRef:le}),(Lt,hn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:de,style:normalizeStyle$1(unref(Ue)),"data-tooltip-v2-root":""},[Lt.nowrap?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,"data-side":unref(Fe),class:normalizeClass(unref(Et))},[renderSlot(Lt.$slots,"default",{contentStyle:unref(Ue),contentClass:unref(Et)}),createVNode(unref(ElVisuallyHidden),{id:unref(V),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(qe)),side:unref(Fe)})],10,_hoisted_1$c))],4))}});var TooltipV2Content=_export_sfc$1(_sfc_main$k,[["__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 $=ref(),V=composeRefs($,oe=>{oe?t.setRef(oe.nextElementSibling):t.setRef(null)});return()=>{var oe;const[ie]=((oe=r.default)==null?void 0:oe.call(r))||[],le=t.onlyChild?ensureOnlyChild(ie.children):ie.children;return createVNode(Fragment,{ref:V},[le])}}});const __default__$b=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$j=defineComponent({...__default__$b,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup(t){const r=t,{onClose:$,onOpen:V,onDelayOpen:oe,triggerRef:ie,contentId:le}=inject(tooltipV2RootKey);let ue=!1;const de=Et=>{ie.value=Et},pe=()=>{ue=!1},he=composeEventHandlers(r.onMouseEnter,oe),_e=composeEventHandlers(r.onMouseLeave,$),$e=composeEventHandlers(r.onMouseDown,()=>{$(),ue=!0,document.addEventListener("mouseup",pe,{once:!0})}),Ie=composeEventHandlers(r.onFocus,()=>{ue||V()}),Ve=composeEventHandlers(r.onBlur,$),Fe=composeEventHandlers(r.onClick,Et=>{Et.detail===0&&$()}),Ue={blur:Ve,click:Fe,focus:Ie,mousedown:$e,mouseenter:he,mouseleave:_e},qe=(Et,Lt,hn)=>{Et&&Object.entries(Lt).forEach(([Cn,bn])=>{Et[hn](Cn,bn)})};return watch(ie,(Et,Lt)=>{qe(Et,Ue,"addEventListener"),qe(Lt,Ue,"removeEventListener"),Et&&Et.setAttribute("aria-describedby",le.value)}),onBeforeUnmount(()=>{qe(ie.value,Ue,"removeEventListener"),document.removeEventListener("mouseup",pe)}),(Et,Lt)=>Et.nowrap?(openBlock(),createBlock(unref(ForwardRef),{key:0,"set-ref":de,"only-child":""},{default:withCtx(()=>[renderSlot(Et.$slots,"default")]),_:3})):(openBlock(),createElementBlock("button",mergeProps({key:1,ref_key:"triggerRef",ref:ie},Et.$attrs),[renderSlot(Et.$slots,"default")],16))}});var TooltipV2Trigger=_export_sfc$1(_sfc_main$j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/trigger.vue"]]);const __default__$a=defineComponent({name:"ElTooltipV2"}),_sfc_main$i=defineComponent({...__default__$a,props:tooltipV2Props,setup(t){const $=toRefs(t),V=reactive(pick$1($,Object.keys(tooltipV2ArrowProps))),oe=reactive(pick$1($,Object.keys(tooltipV2ContentProps))),ie=reactive(pick$1($,Object.keys(tooltipV2RootProps))),le=reactive(pick$1($,Object.keys(tooltipV2TriggerProps)));return(ue,de)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(ie)),{default:withCtx(({open:pe})=>[createVNode(TooltipV2Trigger,mergeProps(le,{nowrap:""}),{default:withCtx(()=>[renderSlot(ue.$slots,"trigger")]),_:3},16),(openBlock(),createBlock(Teleport,{to:ue.to,disabled:!ue.teleported},[ue.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},ue.transitionProps)),{default:withCtx(()=>[ue.alwaysOn||pe?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},oe)),{arrow:withCtx(({style:he,side:_e})=>[ue.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},V,{style:he,side:_e}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(ue.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)]),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[ue.alwaysOn||pe?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},oe)),{arrow:withCtx(({style:he,side:_e})=>[ue.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},V,{style:he,side:_e}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(ue.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var TooltipV2=_export_sfc$1(_sfc_main$i,[["__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,$)=>[t,$].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,$)=>{const V=usePropsAlias(t),oe=computed(()=>t.data.filter(he=>isFunction$5(t.filterMethod)?t.filterMethod(r.query,he):String(he[V.value.label]||he[V.value.key]).toLowerCase().includes(r.query.toLowerCase()))),ie=computed(()=>oe.value.filter(he=>!he[V.value.disabled])),le=computed(()=>{const he=r.checked.length,_e=t.data.length,{noChecked:$e,hasChecked:Ie}=t.format;return $e&&Ie?he>0?Ie.replace(/\${checked}/g,he.toString()).replace(/\${total}/g,_e.toString()):$e.replace(/\${total}/g,_e.toString()):`${he}/${_e}`}),ue=computed(()=>{const he=r.checked.length;return he>0&&he<ie.value.length}),de=()=>{const he=ie.value.map(_e=>_e[V.value.key]);r.allChecked=he.length>0&&he.every(_e=>r.checked.includes(_e))},pe=he=>{r.checked=he?ie.value.map(_e=>_e[V.value.key]):[]};return watch(()=>r.checked,(he,_e)=>{if(de(),r.checkChangeByUser){const $e=he.concat(_e).filter(Ie=>!he.includes(Ie)||!_e.includes(Ie));$(CHECKED_CHANGE_EVENT,he,$e)}else $(CHECKED_CHANGE_EVENT,he),r.checkChangeByUser=!0}),watch(ie,()=>{de()}),watch(()=>t.data,()=>{const he=[],_e=oe.value.map($e=>$e[V.value.key]);r.checked.forEach($e=>{_e.includes($e)&&he.push($e)}),r.checkChangeByUser=!1,r.checked=he}),watch(()=>t.defaultChecked,(he,_e)=>{if(_e&&he.length===_e.length&&he.every(Ve=>_e.includes(Ve)))return;const $e=[],Ie=ie.value.map(Ve=>Ve[V.value.key]);he.forEach(Ve=>{Ie.includes(Ve)&&$e.push(Ve)}),r.checkChangeByUser=!1,r.checked=$e},{immediate:!0}),{filteredData:oe,checkableData:ie,checkedSummary:le,isIndeterminate:ue,updateAllChecked:de,handleAllCheckedChange:pe}},useCheckedChange=(t,r)=>({onSourceCheckedChange:(oe,ie)=>{t.leftChecked=oe,ie&&r(LEFT_CHECK_CHANGE_EVENT,oe,ie)},onTargetCheckedChange:(oe,ie)=>{t.rightChecked=oe,ie&&r(RIGHT_CHECK_CHANGE_EVENT,oe,ie)}}),useComputedData=t=>{const r=usePropsAlias(t),$=computed(()=>t.data.reduce((ie,le)=>(ie[le[r.value.key]]=le)&&ie,{})),V=computed(()=>t.data.filter(ie=>!t.modelValue.includes(ie[r.value.key]))),oe=computed(()=>t.targetOrder==="original"?t.data.filter(ie=>t.modelValue.includes(ie[r.value.key])):t.modelValue.reduce((ie,le)=>{const ue=$.value[le];return ue&&ie.push(ue),ie},[]));return{sourceData:V,targetData:oe}},useMove=(t,r,$)=>{const V=usePropsAlias(t),oe=(ue,de,pe)=>{$(UPDATE_MODEL_EVENT,ue),$(CHANGE_EVENT,ue,de,pe)};return{addToLeft:()=>{const ue=t.modelValue.slice();r.rightChecked.forEach(de=>{const pe=ue.indexOf(de);pe>-1&&ue.splice(pe,1)}),oe(ue,"left",r.rightChecked)},addToRight:()=>{let ue=t.modelValue.slice();const de=t.data.filter(pe=>{const he=pe[V.value.key];return r.leftChecked.includes(he)&&!t.modelValue.includes(he)}).map(pe=>pe[V.value.key]);ue=t.targetOrder==="unshift"?de.concat(ue):ue.concat(de),t.targetOrder==="original"&&(ue=t.data.filter(pe=>ue.includes(pe[V.value.key])).map(pe=>pe[V.value.key])),oe(ue,"right",r.leftChecked)}}},__default__$9=defineComponent({name:"ElTransferPanel"}),_sfc_main$h=defineComponent({...__default__$9,props:transferPanelProps,emits:transferPanelEmits,setup(t,{expose:r,emit:$}){const V=t,oe=useSlots(),ie=({option:Lt})=>Lt,{t:le}=useLocale(),ue=useNamespace("transfer"),de=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),pe=usePropsAlias(V),{filteredData:he,checkedSummary:_e,isIndeterminate:$e,handleAllCheckedChange:Ie}=useCheck$1(V,de,$),Ve=computed(()=>!isEmpty(de.query)&&isEmpty(he.value)),Fe=computed(()=>!isEmpty(oe.default()[0].children)),{checked:Ue,allChecked:qe,query:Et}=toRefs(de);return r({query:Et}),(Lt,hn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ue).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(ue).be("panel","header"))},[createVNode(unref(ElCheckbox),{modelValue:unref(qe),"onUpdate:modelValue":hn[0]||(hn[0]=Cn=>isRef(qe)?qe.value=Cn:null),indeterminate:unref($e),"validate-event":!1,onChange:unref(Ie)},{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(ue).be("panel","body"),unref(ue).is("with-footer",unref(Fe))])},[Lt.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(Et),"onUpdate:modelValue":hn[1]||(hn[1]=Cn=>isRef(Et)?Et.value=Cn:null),class:normalizeClass(unref(ue).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(Ue),"onUpdate:modelValue":hn[2]||(hn[2]=Cn=>isRef(Ue)?Ue.value=Cn:null),"validate-event":!1,class:normalizeClass([unref(ue).is("filterable",Lt.filterable),unref(ue).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(he),Cn=>(openBlock(),createBlock(unref(ElCheckbox),{key:Cn[unref(pe).key],class:normalizeClass(unref(ue).be("panel","item")),label:Cn[unref(pe).key],disabled:Cn[unref(pe).disabled],"validate-event":!1},{default:withCtx(()=>{var bn;return[createVNode(ie,{option:(bn=Lt.optionRender)==null?void 0:bn.call(Lt,Cn)},null,8,["option"])]}),_:2},1032,["class","label","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!unref(Ve)&&!unref(isEmpty)(Lt.data)]]),withDirectives(createBaseVNode("p",{class:normalizeClass(unref(ue).be("panel","empty"))},toDisplayString$1(unref(Ve)?unref(le)("el.transfer.noMatch"):unref(le)("el.transfer.noData")),3),[[vShow,unref(Ve)||unref(isEmpty)(Lt.data)]])],2),unref(Fe)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(ue).be("panel","footer"))},[renderSlot(Lt.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc$1(_sfc_main$h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer-panel.vue"]]);const _hoisted_1$b={key:0},_hoisted_2$9={key:0},__default__$8=defineComponent({name:"ElTransfer"}),_sfc_main$g=defineComponent({...__default__$8,props:transferProps,emits:transferEmits,setup(t,{expose:r,emit:$}){const V=t,oe=useSlots(),{t:ie}=useLocale(),le=useNamespace("transfer"),{formItem:ue}=useFormItem(),de=reactive({leftChecked:[],rightChecked:[]}),pe=usePropsAlias(V),{sourceData:he,targetData:_e}=useComputedData(V),{onSourceCheckedChange:$e,onTargetCheckedChange:Ie}=useCheckedChange(de,$),{addToLeft:Ve,addToRight:Fe}=useMove(V,de,$),Ue=ref(),qe=ref(),Et=En=>{switch(En){case"left":Ue.value.query="";break;case"right":qe.value.query="";break}},Lt=computed(()=>V.buttonTexts.length===2),hn=computed(()=>V.titles[0]||ie("el.transfer.titles.0")),Cn=computed(()=>V.titles[1]||ie("el.transfer.titles.1")),bn=computed(()=>V.filterPlaceholder||ie("el.transfer.filterPlaceholder"));watch(()=>V.modelValue,()=>{var En;V.validateEvent&&((En=ue==null?void 0:ue.validate)==null||En.call(ue,"change").catch(wn=>void 0))});const Sn=computed(()=>En=>V.renderContent?V.renderContent(h$2,En):oe.default?oe.default({option:En}):h$2("span",En[pe.value.label]||En[pe.value.key]));return r({clearQuery:Et,leftPanel:Ue,rightPanel:qe}),(En,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(le).b())},[createVNode(TransferPanel,{ref_key:"leftPanel",ref:Ue,data:unref(he),"option-render":unref(Sn),placeholder:unref(bn),title:unref(hn),filterable:En.filterable,format:En.format,"filter-method":En.filterMethod,"default-checked":En.leftDefaultChecked,props:V.props,onCheckedChange:unref($e)},{default:withCtx(()=>[renderSlot(En.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref(le).e("buttons"))},[createVNode(unref(ElButton),{type:"primary",class:normalizeClass([unref(le).e("button"),unref(le).is("with-texts",unref(Lt))]),disabled:unref(isEmpty)(de.rightChecked),onClick:unref(Ve)},{default:withCtx(()=>[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1}),unref(isUndefined$1)(En.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$b,toDisplayString$1(En.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),createVNode(unref(ElButton),{type:"primary",class:normalizeClass([unref(le).e("button"),unref(le).is("with-texts",unref(Lt))]),disabled:unref(isEmpty)(de.leftChecked),onClick:unref(Fe)},{default:withCtx(()=>[unref(isUndefined$1)(En.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_2$9,toDisplayString$1(En.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:qe,data:unref(_e),"option-render":unref(Sn),placeholder:unref(bn),filterable:En.filterable,format:En.format,"filter-method":En.filterMethod,title:unref(Cn),"default-checked":En.rightDefaultChecked,props:V.props,onCheckedChange:unref(Ie)},{default:withCtx(()=>[renderSlot(En.$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$g,[["__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,$)=>{const V=t.value.currentNode;$();const oe=t.value.currentNode;V!==oe&&r("current-change",oe?oe.data:null,oe)},getChildState=t=>{let r=!0,$=!0,V=!0;for(let oe=0,ie=t.length;oe<ie;oe++){const le=t[oe];(le.checked!==!0||le.indeterminate)&&(r=!1,le.disabled||(V=!1)),(le.checked!==!1||le.indeterminate)&&($=!1)}return{all:r,none:$,allWithoutDisable:V,half:!r&&!$}},reInitChecked=function(t){if(t.childNodes.length===0||t.loading)return;const{all:r,none:$,half:V}=getChildState(t.childNodes);r?(t.checked=!0,t.indeterminate=!1):V?(t.checked=!1,t.indeterminate=!0):$&&(t.checked=!1,t.indeterminate=!1);const oe=t.parent;!oe||oe.level===0||t.store.checkStrictly||reInitChecked(oe)},getPropertyFromData=function(t,r){const $=t.store.props,V=t.data||{},oe=$[r];if(typeof oe=="function")return oe(V,t);if(typeof oe=="string")return V[oe];if(typeof oe>"u"){const ie=V[r];return ie===void 0?"":ie}};let nodeIdSeed=0,Node$1=class mo{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 $ in r)hasOwn$4(r,$)&&(this[$]=r[$]);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 $=r.props;if($&&typeof $.isLeaf<"u"){const ie=getPropertyFromData(this,"isLeaf");typeof ie=="boolean"&&(this.isLeafByUser=ie)}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 V=r.defaultExpandedKeys,oe=r.key;oe&&V&&V.includes(this.key)&&this.expand(null,r.autoExpandParent),oe&&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 $;this.level===0&&Array.isArray(this.data)?$=this.data:$=getPropertyFromData(this,"children")||[];for(let V=0,oe=$.length;V<oe;V++)this.insertChild({data:$[V]})}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 $=r.childNodes.indexOf(this);if($>-1)return r.childNodes[$+1]}return null}get previousSibling(){const r=this.parent;if(r){const $=r.childNodes.indexOf(this);if($>-1)return $>0?r.childNodes[$-1]:null}return null}contains(r,$=!0){return(this.childNodes||[]).some(V=>V===r||$&&V.contains(r))}remove(){const r=this.parent;r&&r.removeChild(this)}insertChild(r,$,V){if(!r)throw new Error("InsertChild error: child is required.");if(!(r instanceof mo)){if(!V){const oe=this.getChildren(!0);oe.includes(r.data)||(typeof $>"u"||$<0?oe.push(r.data):oe.splice($,0,r.data))}Object.assign(r,{parent:this,store:this.store}),r=reactive(new mo(r)),r instanceof mo&&r.initialize()}r.level=this.level+1,typeof $>"u"||$<0?this.childNodes.push(r):this.childNodes.splice($,0,r),this.updateLeafState()}insertBefore(r,$){let V;$&&(V=this.childNodes.indexOf($)),this.insertChild(r,V)}insertAfter(r,$){let V;$&&(V=this.childNodes.indexOf($),V!==-1&&(V+=1)),this.insertChild(r,V)}removeChild(r){const $=this.getChildren()||[],V=$.indexOf(r.data);V>-1&&$.splice(V,1);const oe=this.childNodes.indexOf(r);oe>-1&&(this.store&&this.store.deregisterNode(r),r.parent=null,this.childNodes.splice(oe,1)),this.updateLeafState()}removeChildByData(r){let $=null;for(let V=0;V<this.childNodes.length;V++)if(this.childNodes[V].data===r){$=this.childNodes[V];break}$&&this.removeChild($)}expand(r,$){const V=()=>{if($){let oe=this.parent;for(;oe.level>0;)oe.expanded=!0,oe=oe.parent}this.expanded=!0,r&&r(),this.childNodes.forEach(oe=>{oe.canFocus=!0})};this.shouldLoadData()?this.loadData(oe=>{Array.isArray(oe)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),V())}):V()}doCreateChildren(r,$={}){r.forEach(V=>{this.insertChild(Object.assign({data: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){if(this.indeterminate=r==="half",this.checked=r===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:le,allWithoutDisable:ue}=getChildState(this.childNodes);!this.isLeaf&&!le&&ue&&(this.checked=!1,r=!1);const de=()=>{if($){const pe=this.childNodes;for(let $e=0,Ie=pe.length;$e<Ie;$e++){const Ve=pe[$e];oe=oe||r!==!1;const Fe=Ve.disabled?Ve.checked:oe;Ve.setChecked(Fe,$,!0,oe)}const{half:he,all:_e}=getChildState(pe);_e||(this.checked=_e,this.indeterminate=he)}};if(this.shouldLoadData()){this.loadData(()=>{de(),reInitChecked(this)},{checked:r!==!1});return}else de()}const ie=this.parent;!ie||ie.level===0||V||reInitChecked(ie)}getChildren(r=!1){if(this.level===0)return this.data;const $=this.data;if(!$)return null;const V=this.store.props;let oe="children";return V&&(oe=V.children||"children"),$[oe]===void 0&&($[oe]=null),r&&!$[oe]&&($[oe]=[]),$[oe]}updateChildren(){const r=this.getChildren()||[],$=this.childNodes.map(ie=>ie.data),V={},oe=[];r.forEach((ie,le)=>{const ue=ie[NODE_KEY];!!ue&&$.findIndex(pe=>pe[NODE_KEY]===ue)>=0?V[ue]={index:le,data:ie}:oe.push({index:le,data:ie})}),this.store.lazy||$.forEach(ie=>{V[ie[NODE_KEY]]||this.removeChildByData(ie)}),oe.forEach(({index:ie,data:le})=>{this.insertChild({data:le},ie)}),this.updateLeafState()}loadData(r,$={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys($).length)){this.loading=!0;const V=oe=>{this.childNodes=[],this.doCreateChildren(oe,$),this.loaded=!0,this.loading=!1,this.updateLeafState(),r&&r.call(this,oe)};this.store.load(this,V)}else r&&r.call(this)}};class TreeStore{constructor(r){this.currentNode=null,this.currentNodeKey=null;for(const $ in r)hasOwn$4(r,$)&&(this[$]=r[$]);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,$=>{this.root.doCreateChildren($),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(r){const $=this.filterNodeMethod,V=this.lazy,oe=function(ie){const le=ie.root?ie.root.childNodes:ie.childNodes;if(le.forEach(ue=>{ue.visible=$.call(ue,r,ue.data,ue),oe(ue)}),!ie.visible&&le.length){let ue=!0;ue=!le.some(de=>de.visible),ie.root?ie.root.visible=ue===!1:ie.visible=ue===!1}r&&ie.visible&&!ie.isLeaf&&!V&&ie.expand()};oe(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 $=isObject$a(r)?getNodeKey(this.key,r):r;return this.nodesMap[$]||null}insertBefore(r,$){const V=this.getNode($);V.parent.insertBefore({data:r},V)}insertAfter(r,$){const V=this.getNode($);V.parent.insertAfter({data:r},V)}remove(r){const $=this.getNode(r);$&&$.parent&&($===this.currentNode&&(this.currentNode=null),$.parent.removeChild($))}append(r,$){const V=$?this.getNode($):this.root;V&&V.insertChild({data:r})}_initDefaultCheckedNodes(){const r=this.defaultCheckedKeys||[],$=this.nodesMap;r.forEach(V=>{const oe=$[V];oe&&oe.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 $=this.key;!r||!r.data||($?r.key!==void 0&&(this.nodesMap[r.key]=r):this.nodesMap[r.id]=r)}deregisterNode(r){!this.key||!r||!r.data||(r.childNodes.forEach(V=>{this.deregisterNode(V)}),delete this.nodesMap[r.key])}getCheckedNodes(r=!1,$=!1){const V=[],oe=function(ie){(ie.root?ie.root.childNodes:ie.childNodes).forEach(ue=>{(ue.checked||$&&ue.indeterminate)&&(!r||r&&ue.isLeaf)&&V.push(ue.data),oe(ue)})};return oe(this),V}getCheckedKeys(r=!1){return this.getCheckedNodes(r).map($=>($||{})[this.key])}getHalfCheckedNodes(){const r=[],$=function(V){(V.root?V.root.childNodes:V.childNodes).forEach(ie=>{ie.indeterminate&&r.push(ie.data),$(ie)})};return $(this),r}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(r=>(r||{})[this.key])}_getAllNodes(){const r=[],$=this.nodesMap;for(const V in $)hasOwn$4($,V)&&r.push($[V]);return r}updateChildren(r,$){const V=this.nodesMap[r];if(!V)return;const oe=V.childNodes;for(let ie=oe.length-1;ie>=0;ie--){const le=oe[ie];this.remove(le.data)}for(let ie=0,le=$.length;ie<le;ie++){const ue=$[ie];this.append(ue,V.data)}}_setCheckedKeys(r,$=!1,V){const oe=this._getAllNodes().sort((ue,de)=>de.level-ue.level),ie=Object.create(null),le=Object.keys(V);oe.forEach(ue=>ue.setChecked(!1,!1));for(let ue=0,de=oe.length;ue<de;ue++){const pe=oe[ue],he=pe.data[r].toString();if(!le.includes(he)){pe.checked&&!ie[he]&&pe.setChecked(!1,!1);continue}let $e=pe.parent;for(;$e&&$e.level>0;)ie[$e.data[r]]=!0,$e=$e.parent;if(pe.isLeaf||this.checkStrictly){pe.setChecked(!0,!1);continue}if(pe.setChecked(!0,!0),$){pe.setChecked(!1,!1);const Ie=function(Ve){Ve.childNodes.forEach(Ue=>{Ue.isLeaf||Ue.setChecked(!1,!1),Ie(Ue)})};Ie(pe)}}}setCheckedNodes(r,$=!1){const V=this.key,oe={};r.forEach(ie=>{oe[(ie||{})[V]]=!0}),this._setCheckedKeys(V,$,oe)}setCheckedKeys(r,$=!1){this.defaultCheckedKeys=r;const V=this.key,oe={};r.forEach(ie=>{oe[ie]=!0}),this._setCheckedKeys(V,$,oe)}setDefaultExpandedKeys(r){r=r||[],this.defaultExpandedKeys=r,r.forEach($=>{const V=this.getNode($);V&&V.expand(null,this.autoExpandParent)})}setChecked(r,$,V){const oe=this.getNode(r);oe&&oe.setChecked(!!$,V)}getCurrentNode(){return this.currentNode}setCurrentNode(r){const $=this.currentNode;$&&($.isCurrent=!1),this.currentNode=r,this.currentNode.isCurrent=!0}setUserCurrentNode(r,$=!0){const V=r[this.key],oe=this.nodesMap[V];this.setCurrentNode(oe),$&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(r,$=!0){if(r==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const V=this.getNode(r);V&&(this.setCurrentNode(V),$&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const _sfc_main$f=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(t){const r=useNamespace("tree"),$=inject("NodeInstance"),V=inject("RootTree");return()=>{const oe=t.node,{data:ie,store:le}=oe;return t.renderContent?t.renderContent(h$2,{_self:$,node:oe,data:ie,store:le}):V.ctx.slots.default?V.ctx.slots.default({node:oe,data:ie}):h$2("span",{class:r.be("node","label")},[oe.label])}}});var NodeContent=_export_sfc$1(_sfc_main$f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function useNodeExpandEventBroadcast(t){const r=inject("TreeNodeMap",null),$={treeNodeExpand:V=>{t.node!==V&&t.node.collapse()},children:[]};return r&&r.children.push($),provide("TreeNodeMap",$),{broadcastExpanded:V=>{if(t.accordion)for(const oe of $.children)oe.treeNodeExpand(V)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:t,ctx:r,el$:$,dropIndicator$:V,store:oe}){const ie=useNamespace("tree"),le=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:he,treeNode:_e})=>{if(typeof t.allowDrag=="function"&&!t.allowDrag(_e.node))return he.preventDefault(),!1;he.dataTransfer.effectAllowed="move";try{he.dataTransfer.setData("text/plain","")}catch{}le.value.draggingNode=_e,r.emit("node-drag-start",_e.node,he)},treeNodeDragOver:({event:he,treeNode:_e})=>{const $e=_e,Ie=le.value.dropNode;Ie&&Ie.node.id!==$e.node.id&&removeClass(Ie.$el,ie.is("drop-inner"));const Ve=le.value.draggingNode;if(!Ve||!$e)return;let Fe=!0,Ue=!0,qe=!0,Et=!0;typeof t.allowDrop=="function"&&(Fe=t.allowDrop(Ve.node,$e.node,"prev"),Et=Ue=t.allowDrop(Ve.node,$e.node,"inner"),qe=t.allowDrop(Ve.node,$e.node,"next")),he.dataTransfer.dropEffect=Ue||Fe||qe?"move":"none",(Fe||Ue||qe)&&(Ie==null?void 0:Ie.node.id)!==$e.node.id&&(Ie&&r.emit("node-drag-leave",Ve.node,Ie.node,he),r.emit("node-drag-enter",Ve.node,$e.node,he)),(Fe||Ue||qe)&&(le.value.dropNode=$e),$e.node.nextSibling===Ve.node&&(qe=!1),$e.node.previousSibling===Ve.node&&(Fe=!1),$e.node.contains(Ve.node,!1)&&(Ue=!1),(Ve.node===$e.node||Ve.node.contains($e.node))&&(Fe=!1,Ue=!1,qe=!1);const Lt=$e.$el.querySelector(`.${ie.be("node","content")}`).getBoundingClientRect(),hn=$.value.getBoundingClientRect();let Cn;const bn=Fe?Ue?.25:qe?.45:1:-1,Sn=qe?Ue?.75:Fe?.55:0:1;let En=-9999;const wn=he.clientY-Lt.top;wn<Lt.height*bn?Cn="before":wn>Lt.height*Sn?Cn="after":Ue?Cn="inner":Cn="none";const $n=$e.$el.querySelector(`.${ie.be("node","expand-icon")}`).getBoundingClientRect(),Tn=V.value;Cn==="before"?En=$n.top-hn.top:Cn==="after"&&(En=$n.bottom-hn.top),Tn.style.top=`${En}px`,Tn.style.left=`${$n.right-hn.left}px`,Cn==="inner"?addClass($e.$el,ie.is("drop-inner")):removeClass($e.$el,ie.is("drop-inner")),le.value.showDropIndicator=Cn==="before"||Cn==="after",le.value.allowDrop=le.value.showDropIndicator||Et,le.value.dropType=Cn,r.emit("node-drag-over",Ve.node,$e.node,he)},treeNodeDragEnd:he=>{const{draggingNode:_e,dropType:$e,dropNode:Ie}=le.value;if(he.preventDefault(),he.dataTransfer.dropEffect="move",_e&&Ie){const Ve={data:_e.node.data};$e!=="none"&&_e.node.remove(),$e==="before"?Ie.node.parent.insertBefore(Ve,Ie.node):$e==="after"?Ie.node.parent.insertAfter(Ve,Ie.node):$e==="inner"&&Ie.node.insertChild(Ve),$e!=="none"&&oe.value.registerNode(Ve),removeClass(Ie.$el,ie.is("drop-inner")),r.emit("node-drag-end",_e.node,Ie.node,$e,he),$e!=="none"&&r.emit("node-drop",_e.node,Ie.node,$e,he)}_e&&!Ie&&r.emit("node-drag-end",_e.node,null,$e,he),le.value.showDropIndicator=!1,le.value.draggingNode=null,le.value.dropNode=null,le.value.allowDrop=!0}}),{dragState:le}}const _sfc_main$e=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 $=useNamespace("tree"),{broadcastExpanded:V}=useNodeExpandEventBroadcast(t),oe=inject("RootTree"),ie=ref(!1),le=ref(!1),ue=ref(null),de=ref(null),pe=ref(null),he=inject(dragEventsKey),_e=getCurrentInstance();provide("NodeInstance",_e),t.node.expanded&&(ie.value=!0,le.value=!0);const $e=oe.props.props.children||"children";watch(()=>{const wn=t.node.data[$e];return wn&&[...wn]},()=>{t.node.updateChildren()}),watch(()=>t.node.indeterminate,wn=>{Fe(t.node.checked,wn)}),watch(()=>t.node.checked,wn=>{Fe(wn,t.node.indeterminate)}),watch(()=>t.node.expanded,wn=>{nextTick(()=>ie.value=wn),wn&&(le.value=!0)});const Ie=wn=>getNodeKey(oe.props.nodeKey,wn.data),Ve=wn=>{const $n=t.props.class;if(!$n)return{};let Tn;if(isFunction$5($n)){const{data:xn}=wn;Tn=$n(xn,wn)}else Tn=$n;return isString$6(Tn)?{[Tn]:!0}:Tn},Fe=(wn,$n)=>{(ue.value!==wn||de.value!==$n)&&oe.ctx.emit("check-change",t.node.data,wn,$n),ue.value=wn,de.value=$n},Ue=wn=>{handleCurrentChange(oe.store,oe.ctx.emit,()=>oe.store.value.setCurrentNode(t.node)),oe.currentNode.value=t.node,oe.props.expandOnClickNode&&Et(),oe.props.checkOnClickNode&&!t.node.disabled&&Lt(null,{target:{checked:!t.node.checked}}),oe.ctx.emit("node-click",t.node.data,t.node,_e,wn)},qe=wn=>{oe.instance.vnode.props.onNodeContextmenu&&(wn.stopPropagation(),wn.preventDefault()),oe.ctx.emit("node-contextmenu",wn,t.node.data,t.node,_e)},Et=()=>{t.node.isLeaf||(ie.value?(oe.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=(wn,$n)=>{t.node.setChecked($n.target.checked,!oe.props.checkStrictly),nextTick(()=>{const Tn=oe.store.value;oe.ctx.emit("check",t.node.data,{checkedNodes:Tn.getCheckedNodes(),checkedKeys:Tn.getCheckedKeys(),halfCheckedNodes:Tn.getHalfCheckedNodes(),halfCheckedKeys:Tn.getHalfCheckedKeys()})})};return{ns:$,node$:pe,tree:oe,expanded:ie,childNodeRendered:le,oldChecked:ue,oldIndeterminate:de,getNodeKey:Ie,getNodeClass:Ve,handleSelectChange:Fe,handleClick:Ue,handleContextMenu:qe,handleExpandIconClick:Et,handleCheckChange:Lt,handleChildNodeExpand:(wn,$n,Tn)=>{V($n),oe.ctx.emit("node-expand",wn,$n,Tn)},handleDragStart:wn=>{oe.props.draggable&&he.treeNodeDragStart({event:wn,treeNode:t})},handleDragOver:wn=>{wn.preventDefault(),oe.props.draggable&&he.treeNodeDragOver({event:wn,treeNode:{$el:pe.value,node:t.node}})},handleDrop:wn=>{wn.preventDefault()},handleDragEnd:wn=>{oe.props.draggable&&he.treeNodeDragEnd(wn)},CaretRight:caret_right_default}}}),_hoisted_1$a=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],_hoisted_2$8=["aria-expanded"];function _sfc_render$3(t,r,$,V,oe,ie){const le=resolveComponent("el-icon"),ue=resolveComponent("el-checkbox"),de=resolveComponent("loading"),pe=resolveComponent("node-content"),he=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((...$e)=>t.handleClick&&t.handleClick(...$e),["stop"])),onContextmenu:r[2]||(r[2]=(...$e)=>t.handleContextMenu&&t.handleContextMenu(...$e)),onDragstart:r[3]||(r[3]=withModifiers((...$e)=>t.handleDragStart&&t.handleDragStart(...$e),["stop"])),onDragover:r[4]||(r[4]=withModifiers((...$e)=>t.handleDragOver&&t.handleDragOver(...$e),["stop"])),onDragend:r[5]||(r[5]=withModifiers((...$e)=>t.handleDragEnd&&t.handleDragEnd(...$e),["stop"])),onDrop:r[6]||(r[6]=withModifiers((...$e)=>t.handleDrop&&t.handleDrop(...$e),["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(le,{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(ue,{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(le,{key:2,class:normalizeClass([t.ns.be("node","loading-icon"),t.ns.is("loading")])},{default:withCtx(()=>[createVNode(de)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode(pe,{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,$e=>(openBlock(),createBlock(he,{key:t.getNodeKey($e),"render-content":t.renderContent,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,node:$e,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$8)),[[vShow,t.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$a)),[[vShow,t.node.visible]])}var ElTreeNode$1=_export_sfc$1(_sfc_main$e,[["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 $=useNamespace("tree"),V=shallowRef([]),oe=shallowRef([]);onMounted(()=>{le()}),onUpdated(()=>{V.value=Array.from(t.value.querySelectorAll("[role=treeitem]")),oe.value=Array.from(t.value.querySelectorAll("input[type=checkbox]"))}),watch(oe,ue=>{ue.forEach(de=>{de.setAttribute("tabindex","-1")})}),useEventListener$1(t,"keydown",ue=>{const de=ue.target;if(!de.className.includes($.b("node")))return;const pe=ue.code;V.value=Array.from(t.value.querySelectorAll(`.${$.is("focusable")}[role=treeitem]`));const he=V.value.indexOf(de);let _e;if([EVENT_CODE.up,EVENT_CODE.down].includes(pe)){if(ue.preventDefault(),pe===EVENT_CODE.up){_e=he===-1?0:he!==0?he-1:V.value.length-1;const Ie=_e;for(;!r.value.getNode(V.value[_e].dataset.key).canFocus;){if(_e--,_e===Ie){_e=-1;break}_e<0&&(_e=V.value.length-1)}}else{_e=he===-1?0:he<V.value.length-1?he+1:0;const Ie=_e;for(;!r.value.getNode(V.value[_e].dataset.key).canFocus;){if(_e++,_e===Ie){_e=-1;break}_e>=V.value.length&&(_e=0)}}_e!==-1&&V.value[_e].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(pe)&&(ue.preventDefault(),de.click());const $e=de.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.space].includes(pe)&&$e&&(ue.preventDefault(),$e.click())});const le=()=>{var ue;V.value=Array.from(t.value.querySelectorAll(`.${$.is("focusable")}[role=treeitem]`)),oe.value=Array.from(t.value.querySelectorAll("input[type=checkbox]"));const de=t.value.querySelectorAll(`.${$.is("checked")}[role=treeitem]`);if(de.length){de[0].setAttribute("tabindex","0");return}(ue=V.value[0])==null||ue.setAttribute("tabindex","0")}}const _sfc_main$d=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:$}=useLocale(),V=useNamespace("tree"),oe=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}));oe.value.initialize();const ie=ref(oe.value.root),le=ref(null),ue=ref(null),de=ref(null),{broadcastExpanded:pe}=useNodeExpandEventBroadcast(t),{dragState:he}=useDragNodeHandler({props:t,ctx:r,el$:ue,dropIndicator$:de,store:oe});useKeydown({el$:ue},oe);const _e=computed(()=>{const{childNodes:Dn}=ie.value;return!Dn||Dn.length===0||Dn.every(({visible:Ln})=>!Ln)});watch(()=>t.currentNodeKey,Dn=>{oe.value.setCurrentNodeKey(Dn)}),watch(()=>t.defaultCheckedKeys,Dn=>{oe.value.setDefaultCheckedKey(Dn)}),watch(()=>t.defaultExpandedKeys,Dn=>{oe.value.setDefaultExpandedKeys(Dn)}),watch(()=>t.data,Dn=>{oe.value.setData(Dn)},{deep:!0}),watch(()=>t.checkStrictly,Dn=>{oe.value.checkStrictly=Dn});const $e=Dn=>{if(!t.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");oe.value.filter(Dn)},Ie=Dn=>getNodeKey(t.nodeKey,Dn.data),Ve=Dn=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const Ln=oe.value.getNode(Dn);if(!Ln)return[];const Pn=[Ln.data];let Fn=Ln.parent;for(;Fn&&Fn!==ie.value;)Pn.push(Fn.data),Fn=Fn.parent;return Pn.reverse()},Fe=(Dn,Ln)=>oe.value.getCheckedNodes(Dn,Ln),Ue=Dn=>oe.value.getCheckedKeys(Dn),qe=()=>{const Dn=oe.value.getCurrentNode();return Dn?Dn.data:null},Et=()=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const Dn=qe();return Dn?Dn[t.nodeKey]:null},Lt=(Dn,Ln)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");oe.value.setCheckedNodes(Dn,Ln)},hn=(Dn,Ln)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");oe.value.setCheckedKeys(Dn,Ln)},Cn=(Dn,Ln,Pn)=>{oe.value.setChecked(Dn,Ln,Pn)},bn=()=>oe.value.getHalfCheckedNodes(),Sn=()=>oe.value.getHalfCheckedKeys(),En=(Dn,Ln=!0)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(oe,r.emit,()=>oe.value.setUserCurrentNode(Dn,Ln))},wn=(Dn,Ln=!0)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(oe,r.emit,()=>oe.value.setCurrentNodeKey(Dn,Ln))},$n=Dn=>oe.value.getNode(Dn),Tn=Dn=>{oe.value.remove(Dn)},xn=(Dn,Ln)=>{oe.value.append(Dn,Ln)},An=(Dn,Ln)=>{oe.value.insertBefore(Dn,Ln)},Mn=(Dn,Ln)=>{oe.value.insertAfter(Dn,Ln)},Vn=(Dn,Ln,Pn)=>{pe(Ln),r.emit("node-expand",Dn,Ln,Pn)},Bn=(Dn,Ln)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");oe.value.updateChildren(Dn,Ln)};return provide("RootTree",{ctx:r,props:t,store:oe,root:ie,currentNode:le,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:V,store:oe,root:ie,currentNode:le,dragState:he,el$:ue,dropIndicator$:de,isEmpty:_e,filter:$e,getNodeKey:Ie,getNodePath:Ve,getCheckedNodes:Fe,getCheckedKeys:Ue,getCurrentNode:qe,getCurrentKey:Et,setCheckedNodes:Lt,setCheckedKeys:hn,setChecked:Cn,getHalfCheckedNodes:bn,getHalfCheckedKeys:Sn,setCurrentNode:En,setCurrentKey:wn,t:$,getNode:$n,remove:Tn,append:xn,insertBefore:An,insertAfter:Mn,handleNodeExpand:Vn,updateKeyChildren:Bn}}});function _sfc_render$2(t,r,$,V,oe,ie){const le=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,ue=>(openBlock(),createBlock(le,{key:t.getNodeKey(ue),node:ue,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 ue;return[createBaseVNode("span",{class:normalizeClass(t.ns.e("empty-text"))},toDisplayString$1((ue=t.emptyText)!=null?ue: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$d,[["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:$,key:V})=>{const oe=useNamespace("tree-select"),ie={...pick$1(toRefs(t),Object.keys(ElSelect.props)),...r,valueKey:V,popperClass:computed(()=>{const le=[oe.e("popper")];return t.popperClass&&le.push(t.popperClass),le.join(" ")}),filterMethod:(le="")=>{t.filterMethod&&t.filterMethod(le),nextTick(()=>{var ue;(ue=$.value)==null||ue.filter(le)})},onVisibleChange:le=>{var ue;(ue=r.onVisibleChange)==null||ue.call(r,le),t.filterable&&le&&ie.filterMethod()}};return ie},component$1=defineComponent({extends:ElOption,setup(t,r){const $=ElOption.setup(t,r);delete $.selectOptionClick;const V=getCurrentInstance().proxy;return nextTick(()=>{$.select.cachedOptions.get(V.value)||$.select.onOptionCreate(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){for(let ie=0;ie<t.length;ie++){const le=t[ie];if(r(le,ie,t,oe))return V?V(le,ie,t,oe):le;{const ue=$(le);if(isValidArray(ue)){const de=treeFind(ue,r,$,V,le);if(de)return de}}}}function treeEach(t,r,$,V){for(let oe=0;oe<t.length;oe++){const ie=t[oe];r(ie,oe,t,V);const le=$(ie);isValidArray(le)&&treeEach(le,r,$,ie)}}const useTree$1=(t,{attrs:r,slots:$,emit:V},{select:oe,tree:ie,key:le})=>{watch(()=>t.modelValue,()=>{t.showCheckbox&&nextTick(()=>{const $e=ie.value;$e&&!isEqual$1($e.getCheckedKeys(),toValidArray(t.modelValue))&&$e.setCheckedKeys(toValidArray(t.modelValue))})},{immediate:!0,deep:!0});const ue=computed(()=>({value:le.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...t.props})),de=($e,Ie)=>{var Ve;const Fe=ue.value[$e];return isFunction$5(Fe)?Fe(Ie,(Ve=ie.value)==null?void 0:Ve.getNode(de("value",Ie))):Ie[Fe]},pe=toValidArray(t.modelValue).map($e=>treeFind(t.data||[],Ie=>de("value",Ie)===$e,Ie=>de("children",Ie),(Ie,Ve,Fe,Ue)=>Ue&&de("value",Ue))).filter($e=>isValidValue($e)),he=computed(()=>{if(!t.renderAfterExpand&&!t.lazy)return[];const $e=[];return treeEach(t.data.concat(t.cacheData),Ie=>{const Ve=de("value",Ie);$e.push({value:Ve,currentLabel:de("label",Ie),isDisabled:de("disabled",Ie)})},Ie=>de("children",Ie)),$e}),_e=computed(()=>he.value.reduce(($e,Ie)=>({...$e,[Ie.value]:Ie}),{}));return{...pick$1(toRefs(t),Object.keys(_Tree.props)),...r,nodeKey:le,expandOnClickNode:computed(()=>!t.checkStrictly&&t.expandOnClickNode),defaultExpandedKeys:computed(()=>t.defaultExpandedKeys?t.defaultExpandedKeys.concat(pe):pe),renderContent:($e,{node:Ie,data:Ve,store:Fe})=>$e(component$1,{value:de("value",Ve),label:de("label",Ve),disabled:de("disabled",Ve)},t.renderContent?()=>t.renderContent($e,{node:Ie,data:Ve,store:Fe}):$.default?()=>$.default({node:Ie,data:Ve,store:Fe}):void 0),filterNodeMethod:($e,Ie,Ve)=>{var Fe;return t.filterNodeMethod?t.filterNodeMethod($e,Ie,Ve):$e?(Fe=de("label",Ie))==null?void 0:Fe.includes($e):!0},onNodeClick:($e,Ie,Ve)=>{var Fe,Ue,qe;if((Fe=r.onNodeClick)==null||Fe.call(r,$e,Ie,Ve),!(t.showCheckbox&&t.checkOnClickNode))if(!t.showCheckbox&&(t.checkStrictly||Ie.isLeaf)){if(!de("disabled",$e)){const Et=(Ue=oe.value)==null?void 0:Ue.options.get(de("value",$e));(qe=oe.value)==null||qe.handleOptionSelect(Et)}}else t.expandOnClickNode&&Ve.proxy.handleExpandIconClick()},onCheck:($e,Ie)=>{if(!t.showCheckbox)return;const Ve=de("value",$e),Fe=Ie.checkedKeys,Ue=t.multiple?toValidArray(t.modelValue).filter(Et=>Et in _e.value&&!ie.value.getNode(Et)&&!Fe.includes(Et)):[],qe=Fe.concat(Ue);if(t.checkStrictly)V(UPDATE_MODEL_EVENT,t.multiple?qe:qe.includes(Ve)?Ve:void 0);else if(t.multiple)V(UPDATE_MODEL_EVENT,ie.value.getCheckedKeys(!0));else{const Et=treeFind([$e],Cn=>!isValidArray(de("children",Cn))&&!de("disabled",Cn),Cn=>de("children",Cn)),Lt=Et?de("value",Et):void 0,hn=isValidValue(t.modelValue)&&!!treeFind([$e],Cn=>de("value",Cn)===t.modelValue,Cn=>de("children",Cn));V(UPDATE_MODEL_EVENT,Lt===t.modelValue||hn?void 0:Lt)}nextTick(()=>{var Et;const Lt=toValidArray(t.modelValue);ie.value.setCheckedKeys(Lt),(Et=r.onCheck)==null||Et.call(r,$e,{checkedKeys:ie.value.getCheckedKeys(),checkedNodes:ie.value.getCheckedNodes(),halfCheckedKeys:ie.value.getHalfCheckedKeys(),halfCheckedNodes:ie.value.getHalfCheckedNodes()})})},cacheOptions:he}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup(t){const r=inject(selectKey);return watch(()=>t.data,()=>{var $;t.data.forEach(oe=>{r.cachedOptions.has(oe.value)||r.cachedOptions.set(oe.value,oe)});const V=(($=r.selectWrapper)==null?void 0:$.querySelectorAll("input"))||[];Array.from(V).includes(document.activeElement)||r.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$c=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,..._Tree.props,cacheData:{type:Array,default:()=>[]}},setup(t,r){const{slots:$,expose:V}=r,oe=ref(),ie=ref(),le=computed(()=>t.nodeKey||t.valueKey||"value"),ue=useSelect(t,r,{select:oe,tree:ie,key:le}),{cacheOptions:de,...pe}=useTree$1(t,r,{select:oe,tree:ie,key:le}),he=reactive({});return V(he),onMounted(()=>{Object.assign(he,{...pick$1(ie.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick$1(oe.value,["focus","blur"])})}),()=>h$2(ElSelect,reactive({...ue,ref:_e=>oe.value=_e}),{...$,default:()=>[h$2(CacheOptions,{data:de.value}),h$2(_Tree,reactive({...pe,ref:_e=>ie.value=_e}))]})}});var TreeSelect=_export_sfc$1(_sfc_main$c,[["__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,$)=>t&&r&&$,[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,$)=>t&&r&&$},treeNodeEmits={click:(t,r)=>!!(t&&r),toggle:t=>!!t,check:(t,r)=>t&&typeof r=="boolean"};function useCheck(t,r){const $=ref(new Set),V=ref(new Set),{emit:oe}=getCurrentInstance();watch([()=>r.value,()=>t.defaultCheckedKeys],()=>nextTick(()=>{Et(t.defaultCheckedKeys)}),{immediate:!0});const ie=()=>{if(!r.value||!t.showCheckbox||t.checkStrictly)return;const{levelTreeNodeMap:Lt,maxLevel:hn}=r.value,Cn=$.value,bn=new Set;for(let Sn=hn-1;Sn>=1;--Sn){const En=Lt.get(Sn);En&&En.forEach(wn=>{const $n=wn.children;if($n){let Tn=!0,xn=!1;for(const An of $n){const Mn=An.key;if(Cn.has(Mn))xn=!0;else if(bn.has(Mn)){Tn=!1,xn=!0;break}else Tn=!1}Tn?Cn.add(wn.key):xn?(bn.add(wn.key),Cn.delete(wn.key)):(Cn.delete(wn.key),bn.delete(wn.key))}})}V.value=bn},le=Lt=>$.value.has(Lt.key),ue=Lt=>V.value.has(Lt.key),de=(Lt,hn,Cn=!0)=>{const bn=$.value,Sn=(En,wn)=>{bn[wn?SetOperationEnum.ADD:SetOperationEnum.DELETE](En.key);const $n=En.children;!t.checkStrictly&&$n&&$n.forEach(Tn=>{Tn.disabled||Sn(Tn,wn)})};Sn(Lt,hn),ie(),Cn&&pe(Lt,hn)},pe=(Lt,hn)=>{const{checkedNodes:Cn,checkedKeys:bn}=Ve(),{halfCheckedNodes:Sn,halfCheckedKeys:En}=Fe();oe(NODE_CHECK,Lt.data,{checkedKeys:bn,checkedNodes:Cn,halfCheckedKeys:En,halfCheckedNodes:Sn}),oe(NODE_CHECK_CHANGE,Lt.data,hn)};function he(Lt=!1){return Ve(Lt).checkedKeys}function _e(Lt=!1){return Ve(Lt).checkedNodes}function $e(){return Fe().halfCheckedKeys}function Ie(){return Fe().halfCheckedNodes}function Ve(Lt=!1){const hn=[],Cn=[];if(r!=null&&r.value&&t.showCheckbox){const{treeNodeMap:bn}=r.value;$.value.forEach(Sn=>{const En=bn.get(Sn);En&&(!Lt||Lt&&En.isLeaf)&&(Cn.push(Sn),hn.push(En.data))})}return{checkedKeys:Cn,checkedNodes:hn}}function Fe(){const Lt=[],hn=[];if(r!=null&&r.value&&t.showCheckbox){const{treeNodeMap:Cn}=r.value;V.value.forEach(bn=>{const Sn=Cn.get(bn);Sn&&(hn.push(bn),Lt.push(Sn.data))})}return{halfCheckedNodes:Lt,halfCheckedKeys:hn}}function Ue(Lt){$.value.clear(),V.value.clear(),Et(Lt)}function qe(Lt,hn){if(r!=null&&r.value&&t.showCheckbox){const Cn=r.value.treeNodeMap.get(Lt);Cn&&de(Cn,hn,!1)}}function Et(Lt){if(r!=null&&r.value){const{treeNodeMap:hn}=r.value;if(t.showCheckbox&&hn&&Lt)for(const Cn of Lt){const bn=hn.get(Cn);bn&&!le(bn)&&de(bn,!0,!1)}}}return{updateCheckedKeys:ie,toggleCheckbox:de,isChecked:le,isIndeterminate:ue,getCheckedKeys:he,getCheckedNodes:_e,getHalfCheckedKeys:$e,getHalfCheckedNodes:Ie,setChecked:qe,setCheckedKeys:Ue}}function useFilter(t,r){const $=ref(new Set([])),V=ref(new Set([])),oe=computed(()=>isFunction$5(t.filterMethod));function ie(ue){var de;if(!oe.value)return;const pe=new Set,he=V.value,_e=$.value,$e=[],Ie=((de=r.value)==null?void 0:de.treeNodes)||[],Ve=t.filterMethod;_e.clear();function Fe(Ue){Ue.forEach(qe=>{$e.push(qe),Ve!=null&&Ve(ue,qe.data)?$e.forEach(Lt=>{pe.add(Lt.key)}):qe.isLeaf&&_e.add(qe.key);const Et=qe.children;if(Et&&Fe(Et),!qe.isLeaf){if(!pe.has(qe.key))_e.add(qe.key);else if(Et){let Lt=!0;for(const hn of Et)if(!_e.has(hn.key)){Lt=!1;break}Lt?he.add(qe.key):he.delete(qe.key)}}$e.pop()})}return Fe(Ie),pe}function le(ue){return V.value.has(ue.key)}return{hiddenExpandIconKeySet:V,hiddenNodeKeySet:$,doFilter:ie,isForceHiddenExpandIcon:le}}function useTree(t,r){const $=ref(new Set(t.defaultExpandedKeys)),V=ref(),oe=shallowRef();watch(()=>t.currentNodeKey,Yn=>{V.value=Yn},{immediate:!0}),watch(()=>t.data,Yn=>{Qn(Yn)},{immediate:!0});const{isIndeterminate:ie,isChecked:le,toggleCheckbox:ue,getCheckedKeys:de,getCheckedNodes:pe,getHalfCheckedKeys:he,getHalfCheckedNodes:_e,setChecked:$e,setCheckedKeys:Ie}=useCheck(t,oe),{doFilter:Ve,hiddenNodeKeySet:Fe,isForceHiddenExpandIcon:Ue}=useFilter(t,oe),qe=computed(()=>{var Yn;return((Yn=t.props)==null?void 0:Yn.value)||TreeOptionsEnum.KEY}),Et=computed(()=>{var Yn;return((Yn=t.props)==null?void 0:Yn.children)||TreeOptionsEnum.CHILDREN}),Lt=computed(()=>{var Yn;return((Yn=t.props)==null?void 0:Yn.disabled)||TreeOptionsEnum.DISABLED}),hn=computed(()=>{var Yn;return((Yn=t.props)==null?void 0:Yn.label)||TreeOptionsEnum.LABEL}),Cn=computed(()=>{const Yn=$.value,er=Fe.value,lr=[],sr=oe.value&&oe.value.treeNodes||[];function zn(){const Kn=[];for(let Jn=sr.length-1;Jn>=0;--Jn)Kn.push(sr[Jn]);for(;Kn.length;){const Jn=Kn.pop();if(Jn&&(er.has(Jn.key)||lr.push(Jn),Yn.has(Jn.key))){const cr=Jn.children;if(cr){const _r=cr.length;for(let ur=_r-1;ur>=0;--ur)Kn.push(cr[ur])}}}}return zn(),lr}),bn=computed(()=>Cn.value.length>0);function Sn(Yn){const er=new Map,lr=new Map;let sr=1;function zn(Jn,cr=1,_r=void 0){var ur;const wr=[];for(const Cr of Jn){const mr=$n(Cr),Er={level:cr,key:mr,data:Cr};Er.label=xn(Cr),Er.parent=_r;const Tr=wn(Cr);Er.disabled=Tn(Cr),Er.isLeaf=!Tr||Tr.length===0,Tr&&Tr.length&&(Er.children=zn(Tr,cr+1,Er)),wr.push(Er),er.set(mr,Er),lr.has(cr)||lr.set(cr,[]),(ur=lr.get(cr))==null||ur.push(Er)}return cr>sr&&(sr=cr),wr}const Kn=zn(Yn);return{treeNodeMap:er,levelTreeNodeMap:lr,maxLevel:sr,treeNodes:Kn}}function En(Yn){const er=Ve(Yn);er&&($.value=er)}function wn(Yn){return Yn[Et.value]}function $n(Yn){return Yn?Yn[qe.value]:""}function Tn(Yn){return Yn[Lt.value]}function xn(Yn){return Yn[hn.value]}function An(Yn){$.value.has(Yn.key)?Pn(Yn):Ln(Yn)}function Mn(Yn){$.value=new Set(Yn)}function Vn(Yn,er){r(NODE_CLICK,Yn.data,Yn,er),Bn(Yn),t.expandOnClickNode&&An(Yn),t.showCheckbox&&t.checkOnClickNode&&!Yn.disabled&&ue(Yn,!le(Yn),!0)}function Bn(Yn){Wn(Yn)||(V.value=Yn.key,r(CURRENT_CHANGE,Yn.data,Yn))}function Dn(Yn,er){ue(Yn,er)}function Ln(Yn){const er=$.value;if(oe.value&&t.accordion){const{treeNodeMap:lr}=oe.value;er.forEach(sr=>{const zn=lr.get(sr);Yn&&Yn.level===(zn==null?void 0:zn.level)&&er.delete(sr)})}er.add(Yn.key),r(NODE_EXPAND,Yn.data,Yn)}function Pn(Yn){$.value.delete(Yn.key),r(NODE_COLLAPSE,Yn.data,Yn)}function Fn(Yn){return $.value.has(Yn.key)}function Un(Yn){return!!Yn.disabled}function Wn(Yn){const er=V.value;return er!==void 0&&er===Yn.key}function Zn(){var Yn,er;if(V.value)return(er=(Yn=oe.value)==null?void 0:Yn.treeNodeMap.get(V.value))==null?void 0:er.data}function or(){return V.value}function br(Yn){V.value=Yn}function Qn(Yn){nextTick(()=>oe.value=Sn(Yn))}function Gn(Yn){var er;const lr=isObject$a(Yn)?$n(Yn):Yn;return(er=oe.value)==null?void 0:er.treeNodeMap.get(lr)}return{tree:oe,flattenTree:Cn,isNotEmpty:bn,getKey:$n,getChildren:wn,toggleExpand:An,toggleCheckbox:ue,isExpanded:Fn,isChecked:le,isIndeterminate:ie,isDisabled:Un,isCurrent:Wn,isForceHiddenExpandIcon:Ue,handleNodeClick:Vn,handleNodeCheck:Dn,getCurrentNode:Zn,getCurrentKey:or,setCurrentKey:br,getCheckedKeys:de,getCheckedNodes:pe,getHalfCheckedKeys:he,getHalfCheckedNodes:_e,setChecked:$e,setCheckedKeys:Ie,filter:En,setData:Qn,getNode:Gn,expandNode:Ln,collapseNode:Pn,setExpandedKeys:Mn}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup(t){const r=inject(ROOT_TREE_INJECTION_KEY),$=useNamespace("tree");return()=>{const V=t.node,{data:oe}=V;return r!=null&&r.ctx.slots.default?r.ctx.slots.default({node:V,data:oe}):h$2("span",{class:$.be("node","label")},[V==null?void 0:V.label])}}});const _hoisted_1$9=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],__default__$7=defineComponent({name:"ElTreeNode"}),_sfc_main$b=defineComponent({...__default__$7,props:treeNodeProps,emits:treeNodeEmits,setup(t,{emit:r}){const $=t,V=inject(ROOT_TREE_INJECTION_KEY),oe=useNamespace("tree"),ie=computed(()=>{var _e;return(_e=V==null?void 0:V.props.indent)!=null?_e:16}),le=computed(()=>{var _e;return(_e=V==null?void 0:V.props.icon)!=null?_e:caret_right_default}),ue=_e=>{r("click",$.node,_e)},de=()=>{r("toggle",$.node)},pe=_e=>{r("check",$.node,_e)},he=_e=>{var $e,Ie,Ve,Fe;(Ve=(Ie=($e=V==null?void 0:V.instance)==null?void 0:$e.vnode)==null?void 0:Ie.props)!=null&&Ve.onNodeContextmenu&&(_e.stopPropagation(),_e.preventDefault()),V==null||V.ctx.emit(NODE_CONTEXTMENU,_e,(Fe=$.node)==null?void 0:Fe.data,$.node)};return(_e,$e)=>{var Ie,Ve,Fe;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(oe).b("node"),unref(oe).is("expanded",_e.expanded),unref(oe).is("current",_e.current),unref(oe).is("focusable",!_e.disabled),unref(oe).is("checked",!_e.disabled&&_e.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":_e.expanded,"aria-disabled":_e.disabled,"aria-checked":_e.checked,"data-key":(Ie=_e.node)==null?void 0:Ie.key,onClick:withModifiers(ue,["stop"]),onContextmenu:he},[createBaseVNode("div",{class:normalizeClass(unref(oe).be("node","content")),style:normalizeStyle$1({paddingLeft:`${(_e.node.level-1)*unref(ie)}px`,height:_e.itemSize+"px"})},[unref(le)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(oe).is("leaf",!!((Ve=_e.node)!=null&&Ve.isLeaf)),unref(oe).is("hidden",_e.hiddenExpandIcon),{expanded:!((Fe=_e.node)!=null&&Fe.isLeaf)&&_e.expanded},unref(oe).be("node","expand-icon")]),onClick:withModifiers(de,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(le))))]),_: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:pe,onClick:$e[0]||($e[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$9)}}});var ElTreeNode=_export_sfc$1(_sfc_main$b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree-node.vue"]]);const __default__$6=defineComponent({name:"ElTreeV2"}),_sfc_main$a=defineComponent({...__default__$6,props:treeProps,emits:treeEmits,setup(t,{expose:r,emit:$}){const V=t,oe=useSlots(),ie=computed(()=>V.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:$,slots:oe},props:V,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:le}=useLocale(),ue=useNamespace("tree"),{flattenTree:de,isNotEmpty:pe,toggleExpand:he,isExpanded:_e,isIndeterminate:$e,isChecked:Ie,isDisabled:Ve,isCurrent:Fe,isForceHiddenExpandIcon:Ue,handleNodeClick:qe,handleNodeCheck:Et,toggleCheckbox:Lt,getCurrentNode:hn,getCurrentKey:Cn,setCurrentKey:bn,getCheckedKeys:Sn,getCheckedNodes:En,getHalfCheckedKeys:wn,getHalfCheckedNodes:$n,setChecked:Tn,setCheckedKeys:xn,filter:An,setData:Mn,getNode:Vn,expandNode:Bn,collapseNode:Dn,setExpandedKeys:Ln}=useTree(V,$);return r({toggleCheckbox:Lt,getCurrentNode:hn,getCurrentKey:Cn,setCurrentKey:bn,getCheckedKeys:Sn,getCheckedNodes:En,getHalfCheckedKeys:wn,getHalfCheckedNodes:$n,setChecked:Tn,setCheckedKeys:xn,filter:An,setData:Mn,getNode:Vn,expandNode:Bn,collapseNode:Dn,setExpandedKeys:Ln}),(Pn,Fn)=>{var Un;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(ue).b(),{[unref(ue).m("highlight-current")]:Pn.highlightCurrent}]),role:"tree"},[unref(pe)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,"class-name":unref(ue).b("virtual-list"),data:unref(de),total:unref(de).length,height:Pn.height,"item-size":unref(ie),"perf-mode":Pn.perfMode},{default:withCtx(({data:Wn,index:Zn,style:or})=>[(openBlock(),createBlock(ElTreeNode,{key:Wn[Zn].key,style:normalizeStyle$1(or),node:Wn[Zn],expanded:unref(_e)(Wn[Zn]),"show-checkbox":Pn.showCheckbox,checked:unref(Ie)(Wn[Zn]),indeterminate:unref($e)(Wn[Zn]),"item-size":unref(ie),disabled:unref(Ve)(Wn[Zn]),current:unref(Fe)(Wn[Zn]),"hidden-expand-icon":unref(Ue)(Wn[Zn]),onClick:unref(qe),onToggle:unref(he),onCheck:unref(Et)},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(ue).e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(unref(ue).e("empty-text"))},toDisplayString$1((Un=Pn.emptyText)!=null?Un:unref(le)("el.tree.emptyText")),3)],2))],2)}}});var TreeV2=_export_sfc$1(_sfc_main$a,[["__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){super(r),this.name="UploadAjaxError",this.status=$,this.method=V,this.url=oe}}function getError(t,r,$){let V;return $.response?V=`${$.response.error||$.response}`:$.responseText?V=`${$.responseText}`:V=`fail to ${r.method} ${t} ${$.status}`,new UploadAjaxError(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,$=t.action;r.upload&&r.upload.addEventListener("progress",ie=>{const le=ie;le.percent=ie.total>0?ie.loaded/ie.total*100:0,t.onProgress(le)});const V=new FormData;if(t.data)for(const[ie,le]of Object.entries(t.data))isArray$c(le)&&le.length?V.append(ie,...le):V.append(ie,le);V.append(t.filename,t.file,t.file.name),r.addEventListener("error",()=>{t.onError(getError($,t,r))}),r.addEventListener("load",()=>{if(r.status<200||r.status>=300)return t.onError(getError($,t,r));t.onSuccess(getBody(r))}),r.open(t.method,$,!0),t.withCredentials&&"withCredentials"in r&&(r.withCredentials=!0);const oe=t.headers||{};if(oe instanceof Headers)oe.forEach((ie,le)=>r.setRequestHeader(le,ie));else for(const[ie,le]of Object.entries(oe))isNil(le)||r.setRequestHeader(ie,String(le));return r.send(V),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:definePropType([Object,Function,Promise]),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$8=["onKeydown"],_hoisted_2$7=["src"],_hoisted_3$5=["onClick"],_hoisted_4$3=["title"],_hoisted_5$1=["onClick"],_hoisted_6=["onClick"],__default__$5=defineComponent({name:"ElUploadList"}),_sfc_main$9=defineComponent({...__default__$5,props:uploadListProps,emits:uploadListEmits,setup(t,{emit:r}){const{t:$}=useLocale(),V=useNamespace("upload"),oe=useNamespace("icon"),ie=useNamespace("list"),le=useFormDisabled(),ue=ref(!1),de=pe=>{r("remove",pe)};return(pe,he)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass([unref(V).b("list"),unref(V).bm("list",pe.listType),unref(V).is("disabled",unref(le))]),name:unref(ie).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(pe.files,_e=>(openBlock(),createElementBlock("li",{key:_e.uid||_e.name,class:normalizeClass([unref(V).be("list","item"),unref(V).is(_e.status),{focusing:ue.value}]),tabindex:"0",onKeydown:withKeys($e=>!unref(le)&&de(_e),["delete"]),onFocus:he[0]||(he[0]=$e=>ue.value=!0),onBlur:he[1]||(he[1]=$e=>ue.value=!1),onClick:he[2]||(he[2]=$e=>ue.value=!1)},[renderSlot(pe.$slots,"default",{file:_e},()=>[pe.listType==="picture"||_e.status!=="uploading"&&pe.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(V).be("list","item-thumbnail")),src:_e.url,alt:""},null,10,_hoisted_2$7)):createCommentVNode("v-if",!0),_e.status==="uploading"||pe.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(V).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(V).be("list","item-name")),onClick:withModifiers($e=>pe.handlePreview(_e),["prevent"])},[createVNode(unref(ElIcon),{class:normalizeClass(unref(oe).m("document"))},{default:withCtx(()=>[createVNode(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(V).be("list","item-file-name")),title:_e.name},toDisplayString$1(_e.name),11,_hoisted_4$3)],10,_hoisted_3$5),_e.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:pe.listType==="picture-card"?"circle":"line","stroke-width":pe.listType==="picture-card"?6:2,percentage:Number(_e.percentage),style:normalizeStyle$1(pe.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(V).be("list","item-status-label"))},[pe.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(oe).m("upload-success"),unref(oe).m("circle-check")])},{default:withCtx(()=>[createVNode(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(pe.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(oe).m("upload-success"),unref(oe).m("check")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(le)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(oe).m("close")),onClick:$e=>de(_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(le)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(oe).m("close-tip"))},toDisplayString$1(unref($)("el.upload.deleteTip")),3)),pe.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(V).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(V).be("list","item-preview")),onClick:$e=>pe.handlePreview(_e)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(oe).m("zoom-in"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_5$1),unref(le)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(V).be("list","item-delete")),onClick:$e=>de(_e)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(oe).m("delete"))},{default:withCtx(()=>[createVNode(unref(delete_default))]),_:1},8,["class"])],10,_hoisted_6))],2)):createCommentVNode("v-if",!0)])],42,_hoisted_1$8))),128)),renderSlot(pe.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc$1(_sfc_main$9,[["__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$7=["onDrop","onDragover"],COMPONENT_NAME="ElUploadDrag",__default__$4=defineComponent({name:COMPONENT_NAME}),_sfc_main$8=defineComponent({...__default__$4,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(t,{emit:r}){const $=inject(uploadContextKey);$||throwError$1(COMPONENT_NAME,"usage: <el-upload><el-upload-dragger /></el-upload>");const V=useNamespace("upload"),oe=ref(!1),ie=useFormDisabled(),le=de=>{if(ie.value)return;oe.value=!1,de.stopPropagation();const pe=Array.from(de.dataTransfer.files),he=$.accept.value;if(!he){r("file",pe);return}const _e=pe.filter($e=>{const{type:Ie,name:Ve}=$e,Fe=Ve.includes(".")?`.${Ve.split(".").pop()}`:"",Ue=Ie.replace(/\/.*$/,"");return he.split(",").map(qe=>qe.trim()).filter(qe=>qe).some(qe=>qe.startsWith(".")?Fe===qe:/\/\*$/.test(qe)?Ue===qe.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(qe)?Ie===qe:!1)});r("file",_e)},ue=()=>{ie.value||(oe.value=!0)};return(de,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(V).b("dragger"),unref(V).is("dragover",oe.value)]),onDrop:withModifiers(le,["prevent"]),onDragover:withModifiers(ue,["prevent"]),onDragleave:pe[0]||(pe[0]=withModifiers(he=>oe.value=!1,["prevent"]))},[renderSlot(de.$slots,"default")],42,_hoisted_1$7))}});var UploadDragger=_export_sfc$1(_sfc_main$8,[["__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$6=["onKeydown"],_hoisted_2$6=["name","multiple","accept"],__default__$3=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$7=defineComponent({...__default__$3,props:uploadContentProps,setup(t,{expose:r}){const $=t,V=useNamespace("upload"),oe=useFormDisabled(),ie=shallowRef({}),le=shallowRef(),ue=Fe=>{if(Fe.length===0)return;const{autoUpload:Ue,limit:qe,fileList:Et,multiple:Lt,onStart:hn,onExceed:Cn}=$;if(qe&&Et.length+Fe.length>qe){Cn(Fe,Et);return}Lt||(Fe=Fe.slice(0,1));for(const bn of Fe){const Sn=bn;Sn.uid=genFileId(),hn(Sn),Ue&&de(Sn)}},de=async Fe=>{if(le.value.value="",!$.beforeUpload)return he(Fe);let Ue,qe={};try{const Lt=$.data,hn=$.beforeUpload(Fe);qe=isPlainObject$4($.data)?cloneDeep($.data):$.data,Ue=await hn,isPlainObject$4($.data)&&isEqual$1(Lt,qe)&&(qe=cloneDeep($.data))}catch{Ue=!1}if(Ue===!1){$.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)},pe=async(Fe,Ue)=>isFunction$5(Fe)?Fe(Ue):Fe,he=async(Fe,Ue)=>{const{headers:qe,data:Et,method:Lt,withCredentials:hn,name:Cn,action:bn,onProgress:Sn,onSuccess:En,onError:wn,httpRequest:$n}=$;try{Ue=await pe(Ue??Et,Fe)}catch{$.onRemove(Fe);return}const{uid:Tn}=Fe,xn={headers:qe||{},withCredentials:hn,file:Fe,data:Ue,method:Lt,filename:Cn,action:bn,onProgress:Mn=>{Sn(Mn,Fe)},onSuccess:Mn=>{En(Mn,Fe),delete ie.value[Tn]},onError:Mn=>{wn(Mn,Fe),delete ie.value[Tn]}},An=$n(xn);ie.value[Tn]=An,An instanceof Promise&&An.then(xn.onSuccess,xn.onError)},_e=Fe=>{const Ue=Fe.target.files;Ue&&ue(Array.from(Ue))},$e=()=>{oe.value||(le.value.value="",le.value.click())},Ie=()=>{$e()};return r({abort:Fe=>{entriesOf(ie.value).filter(Fe?([qe])=>String(Fe.uid)===qe:()=>!0).forEach(([qe,Et])=>{Et instanceof XMLHttpRequest&&Et.abort(),delete ie.value[qe]})},upload:de}),(Fe,Ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(V).b(),unref(V).m(Fe.listType),unref(V).is("drag",Fe.drag)]),tabindex:"0",onClick:$e,onKeydown:withKeys(withModifiers(Ie,["self"]),["enter","space"])},[Fe.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(oe),onFile:ue},{default:withCtx(()=>[renderSlot(Fe.$slots,"default")]),_:3},8,["disabled"])):renderSlot(Fe.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:le,class:normalizeClass(unref(V).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$6)],42,_hoisted_1$6))}});var UploadContent=_export_sfc$1(_sfc_main$7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const SCOPE$1="ElUpload",revokeFileObjectURL=t=>{var r;(r=t.url)!=null&&r.startsWith("blob:")&&URL.revokeObjectURL(t.url)},useHandlers=(t,r)=>{const $=useVModel$1(t,"fileList",void 0,{passive:!0}),V=$e=>$.value.find(Ie=>Ie.uid===$e.uid);function oe($e){var Ie;(Ie=r.value)==null||Ie.abort($e)}function ie($e=["ready","uploading","success","fail"]){$.value=$.value.filter(Ie=>!$e.includes(Ie.status))}const le=($e,Ie)=>{const Ve=V(Ie);Ve&&(console.error($e),Ve.status="fail",$.value.splice($.value.indexOf(Ve),1),t.onError($e,Ve,$.value),t.onChange(Ve,$.value))},ue=($e,Ie)=>{const Ve=V(Ie);Ve&&(t.onProgress($e,Ve,$.value),Ve.status="uploading",Ve.percentage=Math.round($e.percent))},de=($e,Ie)=>{const Ve=V(Ie);Ve&&(Ve.status="success",Ve.response=$e,t.onSuccess($e,Ve,$.value),t.onChange(Ve,$.value))},pe=$e=>{isNil($e.uid)&&($e.uid=genFileId());const Ie={name:$e.name,percentage:0,status:"ready",size:$e.size,raw:$e,uid:$e.uid};if(t.listType==="picture-card"||t.listType==="picture")try{Ie.url=URL.createObjectURL($e)}catch(Ve){Ve.message,t.onError(Ve,Ie,$.value)}$.value=[...$.value,Ie],t.onChange(Ie,$.value)},he=async $e=>{const Ie=$e instanceof File?V($e):$e;Ie||throwError$1(SCOPE$1,"file to be removed not found");const Ve=Fe=>{oe(Fe);const Ue=$.value;Ue.splice(Ue.indexOf(Fe),1),t.onRemove(Fe,Ue),revokeFileObjectURL(Fe)};t.beforeRemove?await t.beforeRemove(Ie,$.value)!==!1&&Ve(Ie):Ve(Ie)};function _e(){$.value.filter(({status:$e})=>$e==="ready").forEach(({raw:$e})=>{var Ie;return $e&&((Ie=r.value)==null?void 0:Ie.upload($e))})}return watch(()=>t.listType,$e=>{$e!=="picture-card"&&$e!=="picture"||($.value=$.value.map(Ie=>{const{raw:Ve,url:Fe}=Ie;if(!Fe&&Ve)try{Ie.url=URL.createObjectURL(Ve)}catch(Ue){t.onError(Ue,Ie,$.value)}return Ie}))}),watch($,$e=>{for(const Ie of $e)Ie.uid||(Ie.uid=genFileId()),Ie.status||(Ie.status="success")},{immediate:!0,deep:!0}),{uploadFiles:$,abort:oe,clearFiles:ie,handleError:le,handleProgress:ue,handleStart:pe,handleSuccess:de,handleRemove:he,submit:_e,revokeFileObjectURL}},__default__$2=defineComponent({name:"ElUpload"}),_sfc_main$6=defineComponent({...__default__$2,props:uploadProps,setup(t,{expose:r}){const $=t,V=useFormDisabled(),oe=shallowRef(),{abort:ie,submit:le,clearFiles:ue,uploadFiles:de,handleStart:pe,handleError:he,handleRemove:_e,handleSuccess:$e,handleProgress:Ie,revokeFileObjectURL:Ve}=useHandlers($,oe),Fe=computed(()=>$.listType==="picture-card"),Ue=computed(()=>({...$,fileList:de.value,onStart:pe,onProgress:Ie,onSuccess:$e,onError:he,onRemove:_e}));return onBeforeUnmount(()=>{de.value.forEach(Ve)}),provide(uploadContextKey,{accept:toRef($,"accept")}),r({abort:ie,submit:le,clearFiles:ue,handleStart:pe,handleRemove:_e}),(qe,Et)=>(openBlock(),createElementBlock("div",null,[unref(Fe)&&qe.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(V),"list-type":qe.listType,files:unref(de),"handle-preview":qe.onPreview,onRemove:unref(_e)},createSlots({append:withCtx(()=>[createVNode(UploadContent,mergeProps({ref_key:"uploadRef",ref:oe},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:Lt})=>[renderSlot(qe.$slots,"file",{file:Lt})])}: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:oe},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(V),"list-type":qe.listType,files:unref(de),"handle-preview":qe.onPreview,onRemove:unref(_e)},createSlots({_:2},[qe.$slots.file?{name:"default",fn:withCtx(({file:Lt})=>[renderSlot(qe.$slots,"file",{file:Lt})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc$1(_sfc_main$6,[["__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])=>{var ie,le;const{type:ue,default:de}=oe,pe=t.getAttribute(`infinite-scroll-${V}`);let he=(le=(ie=r[pe])!=null?ie:pe)!=null?le:de;return he=he==="false"?!1:he,he=ue(he),$[V]=Number.isNaN(he)?de:he,$},{}),destroyObserver=t=>{const{observer:r}=t[SCOPE];r&&(r.disconnect(),delete t[SCOPE].observer)},handleScroll=(t,r)=>{const{container:$,containerEl:V,instance:oe,observer:ie,lastScrollTop:le}=t[SCOPE],{disabled:ue,distance:de}=getScrollOptions(t,oe),{clientHeight:pe,scrollHeight:he,scrollTop:_e}=V,$e=_e-le;if(t[SCOPE].lastScrollTop=_e,ie||ue||$e<0)return;let Ie=!1;if($===t)Ie=he-(pe+_e)<=de;else{const{clientTop:Ve,scrollHeight:Fe}=t,Ue=getOffsetTopDistance(t,V);Ie=_e+pe>=Ue+Ve+Fe-de}Ie&&r.call(oe)};function checkFull(t,r){const{containerEl:$,instance:V}=t[SCOPE],{disabled:oe}=getScrollOptions(t,V);oe||$.clientHeight===0||($.scrollHeight<=$.clientHeight?r.call(V):destroyObserver(t))}const InfiniteScroll={async mounted(t,r){const{instance:$,value:V}=r;isFunction$5(V)||throwError$1(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:oe,immediate:ie}=getScrollOptions(t,$),le=getScrollContainer(t,!0),ue=le===window?document.documentElement:le,de=throttle$1(handleScroll.bind(null,t,V),oe);if(le){if(t[SCOPE]={instance:$,container:le,containerEl:ue,delay:oe,cb:V,onScroll:de,lastScrollTop:ue.scrollTop},ie){const pe=new MutationObserver(throttle$1(checkFull.bind(null,t,V),CHECK_INTERVAL));t[SCOPE].observer=pe,pe.observe(t,{childList:!0,subtree:!0}),checkFull(t,V)}le.addEventListener("scroll",de)}},unmounted(t){const{container:r,onScroll:$}=t[SCOPE];r==null||r.removeEventListener("scroll",$),destroyObserver(t)},async updated(t){if(!t[SCOPE])await nextTick();else{const{containerEl:r,cb:$,observer:V}=t[SCOPE];r.clientHeight&&V&&checkFull(t,$)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=t=>{t.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent(t){let r;const $=ref(!1),V=reactive({...t,originalPosition:"",originalOverflow:"",visible:!1});function oe($e){V.text=$e}function ie(){const $e=V.parent,Ie=_e.ns;if(!$e.vLoadingAddClassList){let Ve=$e.getAttribute("loading-number");Ve=Number.parseInt(Ve)-1,Ve?$e.setAttribute("loading-number",Ve.toString()):(removeClass($e,Ie.bm("parent","relative")),$e.removeAttribute("loading-number")),removeClass($e,Ie.bm("parent","hidden"))}le(),he.unmount()}function le(){var $e,Ie;(Ie=($e=_e.$el)==null?void 0:$e.parentNode)==null||Ie.removeChild(_e.$el)}function ue(){var $e;t.beforeClose&&!t.beforeClose()||($.value=!0,clearTimeout(r),r=window.setTimeout(de,400),V.visible=!1,($e=t.closed)==null||$e.call(t))}function de(){if(!$.value)return;const $e=V.parent;$.value=!1,$e.vLoadingAddClassList=void 0,ie()}const pe=defineComponent({name:"ElLoading",setup($e,{expose:Ie}){const{ns:Ve,zIndex:Fe}=useGlobalComponentSettings("loading");return Ie({ns:Ve,zIndex:Fe}),()=>{const Ue=V.spinner||V.svg,qe=h$2("svg",{class:"circular",viewBox:V.svgViewBox?V.svgViewBox:"0 0 50 50",...Ue?{innerHTML:Ue}:{}},[h$2("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),Et=V.text?h$2("p",{class:Ve.b("text")},[V.text]):void 0;return h$2(Transition,{name:Ve.b("fade"),onAfterLeave:de},{default:withCtx(()=>[withDirectives(createVNode("div",{style:{backgroundColor:V.background||""},class:[Ve.b("mask"),V.customClass,V.fullscreen?"is-fullscreen":""]},[h$2("div",{class:Ve.b("spinner")},[qe,Et])]),[[vShow,V.visible]])])})}}}),he=createApp(pe),_e=he.mount(document.createElement("div"));return{...toRefs(V),setText:oe,removeElLoadingChild:le,close:ue,handleAfterLeave:de,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 $=createLoadingComponent({...r,closed:()=>{var oe;(oe=r.closed)==null||oe.call(r),r.fullscreen&&(fullscreenInstance=void 0)}});addStyle(r,r.parent,$),addClassList(r,r.parent,$),r.parent.vLoadingAddClassList=()=>addClassList(r,r.parent,$);let V=r.parent.getAttribute("loading-number");return V?V=`${Number.parseInt(V)+1}`:V="1",r.parent.setAttribute("loading-number",V),r.parent.appendChild($.$el),nextTick(()=>$.visible.value=r.visible),r.fullscreen&&(fullscreenInstance=$),$},resolveOptions=t=>{var r,$,V,oe;let ie;return isString$6(t.target)?ie=(r=document.querySelector(t.target))!=null?r:document.body:ie=t.target||document.body,{parent:ie===document.body||t.body?document.body:ie,background:t.background||"",svg:t.svg||"",svgViewBox:t.svgViewBox||"",spinner:t.spinner||!1,text:t.text||"",fullscreen:ie===document.body&&(($=t.fullscreen)!=null?$:!0),lock:(V=t.lock)!=null?V:!1,customClass:t.customClass||"",visible:(oe=t.visible)!=null?oe:!0,target:ie}},addStyle=async(t,r,$)=>{const{nextZIndex:V}=$.vm.zIndex||$.vm._.exposed.zIndex,oe={};if(t.fullscreen)$.originalPosition.value=getStyle$1(document.body,"position"),$.originalOverflow.value=getStyle$1(document.body,"overflow"),oe.zIndex=V();else if(t.parent===document.body){$.originalPosition.value=getStyle$1(document.body,"position"),await nextTick();for(const ie of["top","left"]){const le=ie==="top"?"scrollTop":"scrollLeft";oe[ie]=`${t.target.getBoundingClientRect()[ie]+document.body[le]+document.documentElement[le]-Number.parseInt(getStyle$1(document.body,`margin-${ie}`),10)}px`}for(const ie of["height","width"])oe[ie]=`${t.target.getBoundingClientRect()[ie]}px`}else $.originalPosition.value=getStyle$1(r,"position");for(const[ie,le]of Object.entries(oe))$.$el.style[ie]=le},addClassList=(t,r,$)=>{const V=$.vm.ns||$.vm._.exposed.ns;["absolute","fixed","sticky"].includes($.originalPosition.value)?removeClass(r,V.bm("parent","relative")):addClass(r,V.bm("parent","relative")),t.fullscreen&&t.lock?addClass(r,V.bm("parent","hidden")):removeClass(r,V.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance$1=(t,r)=>{var $,V,oe,ie;const le=r.instance,ue=$e=>isObject$a(r.value)?r.value[$e]:void 0,de=$e=>{const Ie=isString$6($e)&&(le==null?void 0:le[$e])||$e;return Ie&&ref(Ie)},pe=$e=>de(ue($e)||t.getAttribute(`element-loading-${hyphenate($e)}`)),he=($=ue("fullscreen"))!=null?$:r.modifiers.fullscreen,_e={text:pe("text"),svg:pe("svg"),svgViewBox:pe("svgViewBox"),spinner:pe("spinner"),background:pe("background"),customClass:pe("customClass"),fullscreen:he,target:(V=ue("target"))!=null?V:he?void 0:t,body:(oe=ue("body"))!=null?oe:r.modifiers.body,lock:(ie=ue("lock"))!=null?ie:r.modifiers.lock};t[INSTANCE_KEY]={options:_e,instance:Loading(_e)}},updateOptions=(t,r)=>{for(const $ of Object.keys(r))isRef(r[$])&&(r[$].value=t[$])},vLoading={mounted(t,r){r.value&&createInstance$1(t,r)},updated(t,r){const $=t[INSTANCE_KEY];r.oldValue!==r.value&&(r.value&&!r.oldValue?createInstance$1(t,r):r.value&&r.oldValue?isObject$a(r.value)&&updateOptions(r.value,$.options):$==null||$.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(oe=>oe.id===t),$=instances$2[r];let V;return r>0&&(V=instances$2[r-1]),{current:$,prev:V}},getLastOffset=t=>{const{prev:r}=getInstance$1(t);return r?r.vm.exposed.bottom.value:0},getOffsetOrSpace=(t,r)=>instances$2.findIndex(V=>V.id===t)>0?20:r,_hoisted_1$5=["id"],_hoisted_2$5=["innerHTML"],__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$5=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup(t,{expose:r}){const $=t,{Close:V}=TypeComponents,{ns:oe,zIndex:ie}=useGlobalComponentSettings("message"),{currentZIndex:le,nextZIndex:ue}=ie,de=ref(),pe=ref(!1),he=ref(0);let _e;const $e=computed(()=>$.type?$.type==="error"?"danger":$.type:"info"),Ie=computed(()=>{const Sn=$.type;return{[oe.bm("icon",Sn)]:Sn&&TypeComponentsMap[Sn]}}),Ve=computed(()=>$.icon||TypeComponentsMap[$.type]||""),Fe=computed(()=>getLastOffset($.id)),Ue=computed(()=>getOffsetOrSpace($.id,$.offset)+Fe.value),qe=computed(()=>he.value+Ue.value),Et=computed(()=>({top:`${Ue.value}px`,zIndex:le.value}));function Lt(){$.duration!==0&&({stop:_e}=useTimeoutFn$1(()=>{Cn()},$.duration))}function hn(){_e==null||_e()}function Cn(){pe.value=!1}function bn({code:Sn}){Sn===EVENT_CODE.esc&&Cn()}return onMounted(()=>{Lt(),ue(),pe.value=!0}),watch(()=>$.repeatNum,()=>{hn(),Lt()}),useEventListener$1(document,"keydown",bn),useResizeObserver$1(de,()=>{he.value=de.value.getBoundingClientRect().height}),r({visible:pe,bottom:qe,close:Cn}),(Sn,En)=>(openBlock(),createBlock(Transition,{name:unref(oe).b("fade"),onBeforeLeave:Sn.onClose,onAfterLeave:En[0]||(En[0]=wn=>Sn.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Sn.id,ref_key:"messageRef",ref:de,class:normalizeClass([unref(oe).b(),{[unref(oe).m(Sn.type)]:Sn.type&&!Sn.icon},unref(oe).is("center",Sn.center),unref(oe).is("closable",Sn.showClose),Sn.customClass]),style:normalizeStyle$1(unref(Et)),role:"alert",onMouseenter:hn,onMouseleave:Lt},[Sn.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:Sn.repeatNum,type:unref($e),class:normalizeClass(unref(oe).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(Ve)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(oe).e("icon"),unref(Ie)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ve))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(Sn.$slots,"default",{},()=>[Sn.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(oe).e("content")),innerHTML:Sn.message},null,10,_hoisted_2$5)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(oe).e("content"))},toDisplayString$1(Sn.message),3))]),Sn.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(oe).e("closeBtn")),onClick:withModifiers(Cn,["stop"])},{default:withCtx(()=>[createVNode(unref(V))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$5),[[vShow,pe.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc$1(_sfc_main$5,[["__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,$={...messageDefaults,...r};if(!$.appendTo)$.appendTo=document.body;else if(isString$6($.appendTo)){let V=document.querySelector($.appendTo);isElement$2(V)||(V=document.body),$.appendTo=V}return $},closeMessage=t=>{const r=instances$2.indexOf(t);if(r===-1)return;instances$2.splice(r,1);const{handler:$}=t;$.close()},createMessage=({appendTo:t,...r},$)=>{const V=`message_${seed$1++}`,oe=r.onClose,ie=document.createElement("div"),le={...r,id:V,onClose:()=>{oe==null||oe(),closeMessage(he)},onDestroy:()=>{render$4(null,ie)}},ue=createVNode(MessageConstructor,le,isFunction$5(le.message)||isVNode$1(le.message)?{default:isFunction$5(le.message)?le.message:()=>le.message}:null);ue.appContext=$||message$1._context,render$4(ue,ie),t.appendChild(ie.firstElementChild);const de=ue.component,he={id:V,vnode:ue,vm:de,handler:{close:()=>{de.exposed.visible.value=!1}},props:ue.component.props};return he},message$1=(t={},r)=>{if(!isClient$1)return{close:()=>{}};if(isNumber$4(messageConfig.max)&&instances$2.length>=messageConfig.max)return{close:()=>{}};const $=normalizeOptions(t);if($.grouping&&instances$2.length){const oe=instances$2.find(({vnode:ie})=>{var le;return((le=ie.props)==null?void 0:le.message)===$.message});if(oe)return oe.props.repeatNum+=1,oe.props.type=$.type,oe.handler}const V=createMessage($,r);return instances$2.push(V),V.handler};messageTypes.forEach(t=>{message$1[t]=(r={},$)=>{const V=normalizeOptions(r);return message$1({...V,type:t},$)}});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$4=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:$,zIndex:V,ns:oe,size:ie}=useGlobalComponentSettings("message-box",computed(()=>t.buttonSize)),{t:le}=$,{nextZIndex:ue}=V,de=ref(!1),pe=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:ue()}),he=computed(()=>{const Vn=pe.type;return{[oe.bm("icon",Vn)]:Vn&&TypeComponentsMap[Vn]}}),_e=useId(),$e=useId(),Ie=computed(()=>pe.icon||TypeComponentsMap[pe.type]||""),Ve=computed(()=>!!pe.message),Fe=ref(),Ue=ref(),qe=ref(),Et=ref(),Lt=ref(),hn=computed(()=>pe.confirmButtonClass);watch(()=>pe.inputValue,async Vn=>{await nextTick(),t.boxType==="prompt"&&Vn!==null&&Tn()},{immediate:!0}),watch(()=>de.value,Vn=>{var Bn,Dn;Vn&&(t.boxType!=="prompt"&&(pe.autofocus?qe.value=(Dn=(Bn=Lt.value)==null?void 0:Bn.$el)!=null?Dn:Fe.value:qe.value=Fe.value),pe.zIndex=ue()),t.boxType==="prompt"&&(Vn?nextTick().then(()=>{var Ln;Et.value&&Et.value.$el&&(pe.autofocus?qe.value=(Ln=xn())!=null?Ln:Fe.value:qe.value=Fe.value)}):(pe.editorErrorMessage="",pe.validateError=!1))});const Cn=computed(()=>t.draggable);useDraggable(Fe,Ue,Cn),onMounted(async()=>{await nextTick(),t.closeOnHashChange&&window.addEventListener("hashchange",bn)}),onBeforeUnmount(()=>{t.closeOnHashChange&&window.removeEventListener("hashchange",bn)});function bn(){de.value&&(de.value=!1,nextTick(()=>{pe.action&&r("action",pe.action)}))}const Sn=()=>{t.closeOnClickModal&&$n(pe.distinguishCancelAndClose?"close":"cancel")},En=useSameTarget(Sn),wn=Vn=>{if(pe.inputType!=="textarea")return Vn.preventDefault(),$n("confirm")},$n=Vn=>{var Bn;t.boxType==="prompt"&&Vn==="confirm"&&!Tn()||(pe.action=Vn,pe.beforeClose?(Bn=pe.beforeClose)==null||Bn.call(pe,Vn,pe,bn):bn())},Tn=()=>{if(t.boxType==="prompt"){const Vn=pe.inputPattern;if(Vn&&!Vn.test(pe.inputValue||""))return pe.editorErrorMessage=pe.inputErrorMessage||le("el.messagebox.error"),pe.validateError=!0,!1;const Bn=pe.inputValidator;if(typeof Bn=="function"){const Dn=Bn(pe.inputValue);if(Dn===!1)return pe.editorErrorMessage=pe.inputErrorMessage||le("el.messagebox.error"),pe.validateError=!0,!1;if(typeof Dn=="string")return pe.editorErrorMessage=Dn,pe.validateError=!0,!1}}return pe.editorErrorMessage="",pe.validateError=!1,!0},xn=()=>{const Vn=Et.value.$refs;return Vn.input||Vn.textarea},An=()=>{$n("close")},Mn=()=>{t.closeOnPressEscape&&An()};return t.lockScroll&&useLockscreen(de),{...toRefs(pe),ns:oe,overlayEvent:En,visible:de,hasMessage:Ve,typeClass:he,contentId:_e,inputId:$e,btnSize:ie,iconComponent:Ie,confirmButtonClasses:hn,rootRef:Fe,focusStartRef:qe,headerRef:Ue,inputRef:Et,confirmRef:Lt,doClose:bn,handleClose:An,onCloseRequested:Mn,handleWrapperClick:Sn,handleInputEnter:wn,handleAction:$n,t:le}}}),_hoisted_1$4=["aria-label","aria-describedby"],_hoisted_2$4=["aria-label"],_hoisted_3$4=["id"];function _sfc_render$1(t,r,$,V,oe,ie){const le=resolveComponent("el-icon"),ue=resolveComponent("close"),de=resolveComponent("el-input"),pe=resolveComponent("el-button"),he=resolveComponent("el-focus-trap"),_e=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:r[11]||(r[11]=$e=>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]=(...$e)=>t.overlayEvent.onClick&&t.overlayEvent.onClick(...$e)),onMousedown:r[9]||(r[9]=(...$e)=>t.overlayEvent.onMousedown&&t.overlayEvent.onMousedown(...$e)),onMouseup:r[10]||(r[10]=(...$e)=>t.overlayEvent.onMouseup&&t.overlayEvent.onMouseup(...$e))},[createVNode(he,{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(le,{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]=$e=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel")),onKeydown:r[1]||(r[1]=withKeys(withModifiers($e=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode(le,{class:normalizeClass(t.ns.e("close"))},{default:withCtx(()=>[createVNode(ue)]),_:1},8,["class"])],42,_hoisted_2$4)):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(le,{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(de,{id:t.inputId,ref:"inputRef",modelValue:t.inputValue,"onUpdate:modelValue":r[2]||(r[2]=$e=>t.inputValue=$e),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$4),createBaseVNode("div",{class:normalizeClass(t.ns.e("btns"))},[t.showCancelButton?(openBlock(),createBlock(pe,{key:0,loading:t.cancelButtonLoading,class:normalizeClass([t.cancelButtonClass]),round:t.roundButton,size:t.btnSize,onClick:r[3]||(r[3]=$e=>t.handleAction("cancel")),onKeydown:r[4]||(r[4]=withKeys(withModifiers($e=>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(pe,{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]=$e=>t.handleAction("confirm")),onKeydown:r[6]||(r[6]=withKeys(withModifiers($e=>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$4)]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,t.visible]])]),_:3})}var MessageBoxConstructor=_export_sfc$1(_sfc_main$4,[["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,$=null)=>{const V=createVNode(MessageBoxConstructor,t,isFunction$5(t.message)||isVNode$1(t.message)?{default:isFunction$5(t.message)?t.message:()=>t.message}:null);return V.appContext=$,render$4(V,r),getAppendToElement(t).appendChild(r.firstElementChild),V.component},genContainer=()=>document.createElement("div"),showMessage=(t,r)=>{const $=genContainer();t.onVanish=()=>{render$4(null,$),messageInstance.delete(oe)},t.onAction=ie=>{const le=messageInstance.get(oe);let ue;t.showInput?ue={value:oe.inputValue,action:ie}:ue=ie,t.callback?t.callback(ue,V.proxy):ie==="cancel"||ie==="close"?t.distinguishCancelAndClose&&ie!=="cancel"?le.reject("close"):le.reject("cancel"):le.resolve(ue)};const V=initInstance(t,$,r),oe=V.proxy;for(const ie in t)hasOwn$4(t,ie)&&!hasOwn$4(oe.$props,ie)&&(oe[ie]=t[ie]);return oe.visible=!0,oe};function MessageBox(t,r=null){if(!isClient$1)return Promise.reject();let $;return isString$6(t)||isVNode$1(t)?t={message:t}:$=t.callback,new Promise((V,oe)=>{const ie=showMessage(t,r??MessageBox._context);messageInstance.set(ie,{options:t,callback:$,resolve:V,reject:oe})})}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)=>{let ie="";return isObject$a($)?(V=$,ie=""):isUndefined$1($)?ie="":ie=$,MessageBox(Object.assign({title:ie,message:r,type:"",...MESSAGE_BOX_DEFAULT_OPTS[t]},V,{boxType:t}),oe)}}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$3=["id"],_hoisted_2$3=["textContent"],_hoisted_3$3={key:0},_hoisted_4$2=["innerHTML"],__default__=defineComponent({name:"ElNotification"}),_sfc_main$3=defineComponent({...__default__,props:notificationProps,emits:notificationEmits,setup(t,{expose:r}){const $=t,{ns:V,zIndex:oe}=useGlobalComponentSettings("notification"),{nextZIndex:ie,currentZIndex:le}=oe,{Close:ue}=CloseComponents,de=ref(!1);let pe;const he=computed(()=>{const Lt=$.type;return Lt&&TypeComponentsMap[$.type]?V.m(Lt):""}),_e=computed(()=>$.type&&TypeComponentsMap[$.type]||$.icon),$e=computed(()=>$.position.endsWith("right")?"right":"left"),Ie=computed(()=>$.position.startsWith("top")?"top":"bottom"),Ve=computed(()=>{var Lt;return{[Ie.value]:`${$.offset}px`,zIndex:(Lt=$.zIndex)!=null?Lt:le.value}});function Fe(){$.duration>0&&({stop:pe}=useTimeoutFn$1(()=>{de.value&&qe()},$.duration))}function Ue(){pe==null||pe()}function qe(){de.value=!1}function Et({code:Lt}){Lt===EVENT_CODE.delete||Lt===EVENT_CODE.backspace?Ue():Lt===EVENT_CODE.esc?de.value&&qe():Fe()}return onMounted(()=>{Fe(),ie(),de.value=!0}),useEventListener$1(document,"keydown",Et),r({visible:de,close:qe}),(Lt,hn)=>(openBlock(),createBlock(Transition,{name:unref(V).b("fade"),onBeforeLeave:Lt.onClose,onAfterLeave:hn[1]||(hn[1]=Cn=>Lt.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Lt.id,class:normalizeClass([unref(V).b(),Lt.customClass,unref($e)]),style:normalizeStyle$1(unref(Ve)),role:"alert",onMouseenter:Ue,onMouseleave:Fe,onClick:hn[0]||(hn[0]=(...Cn)=>Lt.onClick&&Lt.onClick(...Cn))},[unref(_e)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(V).e("icon"),unref(he)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(_e))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(V).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(V).e("title")),textContent:toDisplayString$1(Lt.title)},null,10,_hoisted_2$3),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(V).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$2)],2112)):(openBlock(),createElementBlock("p",_hoisted_3$3,toDisplayString$1(Lt.message),1))])],6),[[vShow,Lt.message]]),Lt.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(V).e("closeBtn")),onClick:withModifiers(qe,["stop"])},{default:withCtx(()=>[createVNode(unref(ue))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,_hoisted_1$3),[[vShow,de.value]])]),_:3},8,["name","onBeforeLeave"]))}});var NotificationConstructor=_export_sfc$1(_sfc_main$3,[["__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 $=t.position||"top-right";let V=t.offset||0;notifications[$].forEach(({vm:he})=>{var _e;V+=(((_e=he.el)==null?void 0:_e.offsetHeight)||0)+GAP_SIZE}),V+=GAP_SIZE;const oe=`notification_${seed++}`,ie=t.onClose,le={...t,offset:V,id:oe,onClose:()=>{close(oe,$,ie)}};let ue=document.body;isElement$2(t.appendTo)?ue=t.appendTo:isString$6(t.appendTo)&&(ue=document.querySelector(t.appendTo)),isElement$2(ue)||(ue=document.body);const de=document.createElement("div"),pe=createVNode(NotificationConstructor,le,isVNode$1(le.message)?{default:()=>le.message}:null);return pe.appContext=r??notify._context,pe.props.onDestroy=()=>{render$4(null,de)},render$4(pe,de),notifications[$].push({vm:pe}),ue.appendChild(de.firstElementChild),{close:()=>{pe.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,$){const V=notifications[r],oe=V.findIndex(({vm:pe})=>{var he;return((he=pe.component)==null?void 0:he.props.id)===t});if(oe===-1)return;const{vm:ie}=V[oe];if(!ie)return;$==null||$(ie);const le=ie.el.offsetHeight,ue=r.split("-")[0];V.splice(oe,1);const de=V.length;if(!(de<1))for(let pe=oe;pe<de;pe++){const{el:he,component:_e}=V[pe].vm,$e=Number.parseInt(he.style[ue],10)-le-GAP_SIZE;_e.props.offset=$e}}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.14 */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,Rt=Object.getOwnPropertyDescriptor,kt=Object.getOwnPropertyNames,Dt=Object.prototype.hasOwnProperty,It=(t,r)=>{for(var $ in r)ct(t,$,{get:r[$],enumerable:!0})},at=(t,r,$,V)=>{if(r&&typeof r=="object"||typeof r=="function")for(let oe of kt(r))!Dt.call(t,oe)&&oe!==$&&ct(t,oe,{get:()=>r[oe],enumerable:!(V=Rt(r,oe))||V.enumerable});return t},et=(t,r,$)=>(at(t,r,"default"),$&&at($,r,"default")),$t$1=Object.prototype.toString;function L$1(t,r){return $t$1.call(t)===`[object ${r}]`}function D$1(t){return t!==null&&L$1(t,"Object")}function R(t){return typeof t<"u"}function lt$1(t){return!R(t)}function ft(t){return t===null}function Pt(t){return ft(t)||lt$1(t)}function Ut(t){return I$1(t)||A(t)?t.length===0:t instanceof Map||t instanceof Set?t.size===0:D$1(t)?Object.keys(t).length===0:!1}function k(t){return!!(Ut(t)||Pt(t))}function F(t){return L$1(t,"Number")}function A(t){return L$1(t,"String")}function Y(t){return typeof t=="function"}function xe$1(t){return L$1(t,"Boolean")}function I$1(t){return t&&Array.isArray(t)}var nt=typeof window>"u",rt$1=!nt;function pt(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 Le(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 Oe$1(t){return/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(t)}function dt(t){let r=t.split(","),$=r[0].match(/:(.*?);/)[1],V=window.atob(r[1]),oe=V.length,ie=new Uint8Array(oe);for(;oe--;)ie[oe]=V.charCodeAt(oe);return new Blob([ie],{type:$})}function gt(t,r,$){return new Promise((V,oe)=>{let ie=document.createElement("CANVAS"),le=ie.getContext("2d"),ue=new Image;ue.crossOrigin="",ue.onload=function(){if(!ie||!le)return oe();ie.height=ue.height,ie.width=ue.width,le.drawImage(ue,0,0);let de=ie.toDataURL(r||"image/png",$);ie=null,V(de)},ue.src=t})}var z=(t,r)=>!!(t!=null&&t.className.match(new RegExp("(\\s|^)"+r+"(\\s|$)"))),Ge=(t,r,$)=>{z(t,r)||(t.className+=" "+r),$&&!z(t,$)&&(t.className+=" "+$)},Qe=(t,r,$)=>{if(z(t,r)){let V=new RegExp("(\\s|^)"+r+"(\\s|$)");t.className=t.className.replace(V," ").trim()}if($&&z(t,$)){let V=new RegExp("(\\s|^)"+$+"(\\s|$)");t.className=t.className.replace(V," ").trim()}},Je=(t,r,$)=>{let V=$||document.body,{className:oe}=V,ie=oe.replace(r,"").trim().split(/\s+/).join(" ");V.className=t?`${ie} ${r}`:ie},Ft=Object.prototype.toString;function Ht(t,r){return t&&t.hasOwnProperty?t.hasOwnProperty(r):!1}function Nt(t,r,$){if(t)if(t.forEach)t.forEach(r,$);else for(let V=0,oe=t.length;V<oe;V++)r.call($,t[V],V,t)}function jt(t,r,$){if(t)for(let V in t)Ht(t,V)&&r.call($,t[V],V,t)}function ot(t,r){let $=t.__proto__.constructor;return r?new $(r):new $}function _$1(t,r){return r?st(t,r):t}function st(t,r){if(t)switch(Ft.call(t)){case"[object Object]":{let $=Object.create(t.__proto__);return jt(t,function(V,oe){$[oe]=_$1(V,r)}),$}case"[object Date]":case"[object RegExp]":return ot(t,t.valueOf());case"[object Array]":case"[object Arguments]":{let $=[];return Nt(t,function(V){$.push(_$1(V,r))}),$}case"[object Set]":{let $=ot(t);return $.forEach(function(V){$.add(_$1(V,r))}),$}case"[object Map]":{let $=ot(t);return $.forEach(function(V){$.set(_$1(V,r))}),$}}return t}function en(t,r){return t&&st(t,r)}function nn(t){return t&&st(t,!0)}var on=t=>{let r=(t==null?void 0:t.type)??"rgb",$=(t==null?void 0:t.num)??0;if($===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 V=[];for(let le=0;le<$;le++)V.push(window.crypto.getRandomValues(new Uint8Array(3)).toString());return V;case"hex":let oe=[];for(let le=0;le<$;le++)oe.push(`#${Math.floor(Math.random()*16777215).toString(16).padStart(6,`${Math.random()*10}`)}`);return oe;case"hsl":let ie=[];for(let le=0;le<$;le++)ie.push([360*Math.random(),`${100*Math.random()}%`,`${100*Math.random()}%`].toString());return ie}},vn=(t,r)=>{if(t==0)return"0 Bytes";let $=1024,V=r||2,oe=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],ie=Math.floor(Math.log(t)/Math.log($));return parseFloat((t/Math.pow($,ie)).toFixed(V))+" "+oe[ie]};function On(t,r=!0){let $=le=>(le=Math.floor(le),le<10&&r?`0${le}`:le),V=$(t/3600),oe=$(t%3600/60),ie=$(t%60);return{h:V,m:oe,s:ie}}var P$1=(t=20)=>new Promise(r=>setTimeout(r,t)),Tt=(t,r=200,$=!1)=>{let V,oe=r,ie;return function(){V&&clearTimeout(V),$?(V||t.call(ie,...arguments),V=setTimeout(()=>V=null,oe)):V=setTimeout(()=>t.call(ie,...arguments),oe)}},kn=(t,r=1e3)=>{let $;return function(){$||($=setTimeout(()=>{t.call(void 0,...arguments),$=null},r))}},In=()=>{let t=navigator.userAgent.toLowerCase(),r=t.match(/midp/i)=="midp",$=t.match(/ucweb/i)=="ucweb",V=t.match(/android/i)=="android",oe=t.match(/iphone os/i)=="iphone os",ie=t.match(/windows ce/i)=="windows ce",le=t.match(/rv:1.2.3.4/i)=="rv:1.2.3.4",ue=t.match(/windows mobile/i)=="windows mobile";return r||$||V||oe||ie||le||ue},vt=(t,r="_blank")=>{let $=document.createElement("a");$.setAttribute("href",t),$.setAttribute("target",r),$.setAttribute("rel","noreferrer noopener"),$.setAttribute("id","external");let V=document.getElementById("external");V&&document.body.removeChild(V),document.body.appendChild($),$.click(),$.remove()};function Hn(t,r,$,V){gt(t).then(oe=>{zt(oe,r,$,V)})}function zt(t,r,$,V){let oe=dt(t);_t(oe,r,$,V)}function _t(t,r,$,V){let oe=typeof V<"u"?[V,t]:[t],ie=new Blob(oe,{type:$||"application/octet-stream"}),le=window.URL.createObjectURL(ie),ue=document.createElement("a");ue.style.display="none",ue.href=le,ue.setAttribute("download",r),typeof ue.download>"u"&&ue.setAttribute("target","_blank"),document.body.appendChild(ue),ue.click(),document.body.removeChild(ue),window.URL.revokeObjectURL(le)}function Nn(t,r,$="_self"){let V=window.navigator.userAgent.toLowerCase().indexOf("chrome")>-1,oe=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(V||oe){let ie=document.createElement("a");if(ie.href=t,ie.target=$,ie.download!==void 0&&(ie.download=r||t.substring(t.lastIndexOf("/")+1,t.length)),document.createEvent){let le=document.createEvent("MouseEvents");return le.initEvent("click",!0,!0),ie.dispatchEvent(le),!0}}return t.indexOf("?")===-1&&(t+="?download"),vt(t,$),!0}function Mt(t,r){if(t===r)return!0;if(typeof t!="object"||typeof r!="object"||t==null||r==null)return!1;let $=Object.keys(t),V=Object.keys(r);if($.length!==V.length)return!1;for(let oe of $)if(!V.includes(oe)||!Mt(t[oe],r[oe]))return!1;return!0}function Wt(t,r){if(!t||!r)return!1;let{length:$}=t;if($!==r.length)return!1;for(let V=0;V<$;V++)if(!Xt(t[V],r[V]))return!1;return!0}function Xt(t,r){let $=Object.prototype.toString.call(t);return $!==Object.prototype.toString.call(r)?!1:$==="[object Object]"?Mt(t,r):$==="[object Array]"?Wt(t,r):$==="[object Function]"?t===r?!0:t.toString()===r.toString():t===r}var _n=(t,r)=>{if(t.install=$=>{for(let V of[t,...Object.values(r??{})])$.component(V.name,V)},r)for(let[$,V]of Object.entries(r))t[$]=V;return t},H=class{constructor(t){ao(this,"storage");this.storage=t}setItem(t,r){k(this.storage)||this.storage.setItem(t,JSON.stringify(r))}getItem(t){if(!k(this.storage))return JSON.parse(this.storage.getItem(t))}removeItem(t){k(this.storage)||this.storage.removeItem(t)}clear(){k(this.storage)||this.storage.clear()}},Q=class extends H{constructor(t){super(t)}},rr=()=>rt$1?new Q(window.localStorage):new Q("");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 fr(t,r,$="*"){F(t)&&(t=t.toString()),I$1(r)||(r=Array.of(r));let V=t.split("");for(let oe=0;oe<r.length;oe++){let ie=r[oe];if(D$1(ie)&&!I$1(ie)){let{start:le,end:ue}=ie;le>=0&&le<ue&&V.fill($,le,ue+1);continue}F(ie)&&Number.isInteger(ie)&&ie>=0&&(V[r[oe]]=$)}return V.join("")}function yr(t){if(!pt(t))return console.error(`${t}不符合超链接规范`),{};let r=t.indexOf("?"),$=t.slice(r+1).split("&"),V={};for(let oe=0;oe<$.length;oe++)V[$[oe].split("=")[0]]=$[oe].split("=")[1];return V}function vr(t,r){return t.every($=>r.some(V=>V===$))}var Mr=(...t)=>[...t].reduce((r,$)=>r.filter(V=>$.includes(V)));function Ar(t,r){let $=[];for(let V of t)V[r]&&$.push(V[r]);return Array.from(new Set($))}var a$1={};It(a$1,{Vue:()=>vue_runtime_esmBundler});et(a$1,vue_runtime_esmBundler);function se(t,{target:r=document.body}={}){let $=document.createElement("textarea"),V=document.activeElement;$.value=t,$.setAttribute("readonly",""),$.style.contain="strict",$.style.position="absolute",$.style.left="-9999px",$.style.fontSize="12pt";let oe=document.getSelection(),ie;oe&&oe.rangeCount>0&&(ie=oe.getRangeAt(0)),r.append($),$.select(),$.selectionStart=0,$.selectionEnd=t.length;let le=!1;try{le=document.execCommand("copy")}catch(ue){throw new Error(ue)}return $.remove(),ie&&oe&&(oe.removeAllRanges(),oe.addRange(ie)),V&&V.focus(),le}function O(t){(0,a$1.getCurrentInstance)()&&(0,a$1.onUnmounted)(t)}var qr=()=>{let t=(0,a$1.shallowRef)(!1),r,$=()=>{t.value=document.documentElement.classList.contains("dark")};return O(()=>{r.takeRecords(),r.disconnect()}),(0,a$1.onBeforeMount)(()=>{$(),r=new MutationObserver($),r.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}),{isDark:t}};function At(){let{appContext:{config:{globalProperties:t}}}=(0,a$1.getCurrentInstance)();return t}var eo=(t,r)=>{let $=(r==null?void 0:r.theme)??(0,a$1.ref)("default"),V=(r==null?void 0:r.tooltipId)??"tooltipElement",oe=At().$echarts,ie=null,le=(0,a$1.ref)({}),ue=(0,a$1.ref)(),de=(0,a$1.computed)(()=>$.value!=="dark"?le.value:{backgroundColor:"transparent",...le.value});function pe(wn){let $n=(0,a$1.unref)(t);!$n||!(0,a$1.unref)($n)||(ie=oe.init($n,wn))}function he(wn,...$n){var Tn;if(le.value=wn,ue.value=$n,((Tn=(0,a$1.unref)(t))==null?void 0:Tn.offsetHeight)===0){P$1().then(()=>he((0,a$1.unref)(de),...$n));return}(0,a$1.nextTick)(()=>{P$1().then(()=>{!ie&&pe($.value),(wn.clear??!0)&&_e(),ie==null||ie.setOption((0,a$1.unref)(de)),$n&&$n.map(xn=>{(xn==null?void 0:xn.type)!=="zrender"&&typeof(xn==null?void 0:xn.callback)=="function"&&(ie==null||ie.on(xn==null?void 0:xn.name,xn!=null&&xn.query?xn==null?void 0:xn.query:"",An=>{xn==null||xn.callback(An)})),(xn==null?void 0:xn.type)==="zrender"&&typeof(xn==null?void 0:xn.callback)=="function"&&(ie==null||ie.getZr().on(xn==null?void 0:xn.name,An=>{An.target||(xn==null||xn.callback(An))}))}),wn!=null&&wn.addTooltip&&Sn(wn.addTooltip)})})}function _e(){ie&&ie.clear()}function $e(){ie.resize()}function Ie(wn){let $n=(wn==null?void 0:wn.type)??"default",Tn=(wn==null?void 0:wn.opts)??{};ie.showLoading($n,Tn)}function Ve(){ie.hideLoading()}function Fe(wn){ie.appendData(wn)}function Ue(){return ie.getWidth()}function qe(){return ie.getHeight()}function Et(){return ie||pe($.value),ie}function Lt(){return ie.getDom()}function hn(){return ie.getOption()}function Cn(wn){return ie.getDataURL(wn)}function bn(wn){return ie.getConnectedDataURL(wn)}function Sn(wn){if(!wn)return;let $n=document.querySelector("html");if(!document.getElementById(V)){let An=document.createElement("div");An.setAttribute("id",V),An.style.display="block",$n.appendChild(An)}let Tn=document.querySelector(`#${V}`),xn=An=>{if((An==null?void 0:An.targetType)!=="axisLabel")return;let Mn=`
|
||
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;
|
||
`;Tn.style.cssText=Mn,Tn.innerHTML=An==null?void 0:An.value,$n.onmousemove=Vn=>{let Bn=Vn.pageX-10,Dn=Vn.pageY+15;Tn.style.top=Dn+"px",Tn.style.left=Bn+"px"}};ie==null||ie.on("mouseover",An=>{(wn==="x"&&An.componentType=="xAxis"||wn==="y"&&An.componentType=="yAxis"||wn.toString()==="true"&&An.componentType.includes("Axis"))&&xn(An)}),ie==null||ie.on("mouseout",()=>{$n.onmousemove=null,Tn.style.cssText="display:none"})}(0,a$1.watch)(()=>$.value,wn=>{ie&&(ie.dispose(),pe(wn),he(le.value,...ue.value))});function En(){var wn;ie&&P$1(((wn=le.value)==null?void 0:wn.delay)??300).then(()=>{$e()})}return(0,a$1.onMounted)(()=>{(0,a$1.nextTick)(()=>{window.addEventListener("resize",En)})}),O(()=>{var wn;window.removeEventListener("resize",En),ie&&(ie.dispose(),ie=null,(wn=document.querySelector(`#${V}`))==null||wn.remove())}),{echarts:oe,clear:_e,resize:$e,getDom:Lt,getWidth:Ue,getOption:hn,getHeight:qe,addTooltip:Sn,getDataURL:Cn,setOptions:he,appendData:Fe,getInstance:Et,showLoading:Ie,hideLoading:Ve,getConnectedDataURL:bn}},N=665,j$2=665;function oo(t=!0){let r,$;function V(ie){var le;return document.querySelector(`#pure-utils-css-${N}`)&&((le=document.querySelector(`#pure-utils-css-${N}`))==null||le.remove()),N+=1,new Promise((ue,de)=>{r=document.createElement("link"),r.id=`pure-utils-css-${N}`,r.rel="stylesheet",r.onload=function(){ue("success")},r.onerror=function(pe){de(pe)},r.href=ie.src,document[(ie==null?void 0:ie.carrier)??"head"].appendChild(r)})}function oe(ie){var le;return document.querySelector(`#pure-utils-script-${j$2}`)&&((le=document.querySelector(`#pure-utils-script-${j$2}`))==null||le.remove()),j$2+=1,new Promise((ue,de)=>{$=document.createElement("script"),$.id=`pure-utils-script-${j$2}`,$.type="text/javascript",$.onload=function(){ue("success")},$.onerror=function(pe){de(pe)},$.src=ie.src,document[(ie==null?void 0:ie.carrier)??"head"].appendChild($)})}return O(()=>{t&&(r&&(r==null||r.remove()),$&&($==null||$.remove()),N=665,j$2=665)}),{loadCss:V,loadScript:oe}}var ae=Symbol("watermark-dom"),go=(t=(0,a$1.ref)(document.body))=>{let r=ae.toString(),$=(0,a$1.shallowRef)(),V=()=>{let _e=(0,a$1.unref)($);$.value=void 0;let $e=(0,a$1.unref)(t);$e&&_e&&$e.removeChild(_e)};function oe(_e,$e){let Ie=document.createElement("canvas"),Ve=($e==null?void 0:$e.width)??250,Fe=($e==null?void 0:$e.height)??100;Object.assign(Ie,{width:Ve,height:Fe});let Ue=Ie.getContext("2d");if(Ue){if(Ue.rotate((($e==null?void 0:$e.rotate)??-10*Math.PI)/120),Ue.font=($e==null?void 0:$e.font)??"15px Reggae One",($e==null?void 0:$e.gradient)&&I$1($e==null?void 0:$e.gradient)){let qe=Ue.createLinearGradient(0,0,Ve,0);$e==null||$e.gradient.forEach(Et=>{qe.addColorStop(Et.value,Et.color)}),Ue.fillStyle=qe}else Ue.fillStyle=($e==null?void 0:$e.fillStyle)??"rgba(0, 0, 0, 0.15)";if(Ue.textAlign="left",Ue.textBaseline="middle",$e!=null&&$e.globalAlpha&&(Ue.globalAlpha=$e.globalAlpha),$e==null?void 0:$e.shadowConfig){let{shadowConfig:qe}=$e;Ue.shadowBlur=qe[0],Ue.shadowColor=(qe==null?void 0:qe[1])??"#000000",Ue.shadowOffsetX=(qe==null?void 0:qe[2])??0,Ue.shadowOffsetY=(qe==null?void 0:qe[3])??0}Ue.fillText(_e,Ve/(($e==null?void 0:$e.fillTextWidth)??20),Fe/(($e==null?void 0:$e.fillTextHeight)??2))}return Ie.toDataURL("image/png")}function ie(_e={}){let $e=(0,a$1.unref)($);$e&&(R(_e.width)&&($e.style.width=`${_e.width}px`),R(_e.height)&&($e.style.height=`${_e.height}px`),R(_e.str)&&($e.style.background=`url(${oe(_e.str,_e.attr)}) left top repeat`))}let le=Tt(()=>{let _e=(0,a$1.unref)(t);if(!_e)return;let{clientHeight:$e,clientWidth:Ie}=_e;ie({height:$e,width:Ie})}),ue=(_e,$e)=>{var qe;if((0,a$1.unref)($))return ie({str:_e,attr:$e}),r;let Ie=document.createElement("div");$.value=Ie,Ie.id=r,Ie.style.pointerEvents="none",Ie.style.top="0px",Ie.style.left="0px",Ie.style.position="absolute",Ie.style.zIndex=($e==null?void 0:$e.zIndex)??"100000";let Ve=(0,a$1.unref)(t);if(!Ve)return r;let{clientHeight:Fe,clientWidth:Ue}=Ve;return ie({str:_e,width:Ue,height:Fe,attr:$e}),(qe=Ve==null?void 0:Ve.style)!=null&&qe.position||(Ve.style.position="relative"),Ve.appendChild(Ie),r};function de(_e,{str:$e,attr:Ie}){_e[0].removedNodes[0]&&_e[0].removedNodes[0].id===r&&($.value=void 0,ue($e,Ie))}function pe(_e,$e){let Ie={childList:!0,attributes:!0,characterData:!0,subtree:!0};new MutationObserver(Ve=>de(Ve,{str:_e,attr:$e})).observe((0,a$1.unref)(t),Ie)}function he(_e,$e){ue(_e,$e),window.addEventListener("resize",le),$e!=null&&$e.forever&&pe(_e,$e),(0,a$1.getCurrentInstance)()&&V&&V()}return O(()=>{window.removeEventListener("resize",le)}),{clear:V,setWatermark:he}};const data$2={width:24,height:24,body:'<path fill="currentColor" d="M16 3h6v6h-2V5h-4V3ZM2 3h6v2H4v4H2V3Zm18 16v-4h2v6h-6v-2h4ZM4 19h4v2H2v-6h2v4Z"/>'},data$1={width:24,height:24,body:'<path fill="currentColor" d="M18 7h4v2h-6V3h2v4ZM8 9H2V7h4V3h2v6Zm10 8v4h-2v-6h6v2h-4ZM8 15v6H6v-4H2v-2h6Z"/>'},_hoisted_1$2={key:0,class:"flex items-center justify-between"},_hoisted_2$2=["id"],_hoisted_3$2={key:1},_sfc_main$2=defineComponent({__name:"index",setup(t){const r=ref(!1),$=computed(()=>le=>{var ue;return((ue=le==null?void 0:le.footerButtons)==null?void 0:ue.length)>0?le.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({dialog:{options:de,index:pe}})=>{const he=()=>closeDialog(de,pe,{command:"cancel"});de!=null&&de.beforeCancel&&Y(de==null?void 0:de.beforeCancel)?de.beforeCancel(he,{options:de,index:pe}):he()}},{label:"确定",type:"primary",text:!0,bg:!0,btnClick:({dialog:{options:de,index:pe}})=>{const he=()=>closeDialog(de,pe,{command:"sure"});de!=null&&de.beforeSure&&Y(de==null?void 0:de.beforeSure)?de.beforeSure(he,{options:de,index:pe}):he()}}]}),V=computed(()=>["el-icon","el-dialog__close","-translate-x-2","cursor-pointer","hover:!text-[red]"]);function oe(le,ue,de){if(r.value=(ue==null?void 0:ue.fullscreen)??!1,ue!=null&&ue[le]&&Y(ue==null?void 0:ue[le]))return ue==null?void 0:ue[le]({options:ue,index:de})}function ie(le,ue,de={command:"close"}){closeDialog(le,ue,de),oe("close",le,ue)}return(le,ue)=>{const de=resolveComponent("IconifyIconOffline"),pe=resolveComponent("el-button"),he=resolveComponent("el-dialog");return openBlock(!0),createElementBlock(Fragment,null,renderList(unref(dialogStore),(_e,$e)=>(openBlock(),createBlock(he,mergeProps({class:"pure-dialog",key:$e},_e,{modelValue:_e.visible,"onUpdate:modelValue":Ie=>_e.visible=Ie,fullscreen:r.value?!0:!!(_e!=null&&_e.fullscreen),onClose:Ie=>ie(_e,$e),onOpened:Ie=>oe("open",_e,$e),onOpenAutoFocus:Ie=>oe("openAutoFocus",_e,$e),onCloseAutoFocus:Ie=>oe("closeAutoFocus",_e,$e)}),createSlots({default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(_e.contentRenderer({options:_e,index:$e})),mergeProps(_e==null?void 0:_e.props,{onClose:Ie=>ie(_e,$e,Ie)}),null,16,["onClose"]))]),_:2},[_e!=null&&_e.fullscreenIcon||_e!=null&&_e.headerRenderer?{name:"header",fn:withCtx(({close:Ie,titleId:Ve,titleClass:Fe})=>[_e!=null&&_e.fullscreenIcon?(openBlock(),createElementBlock("div",_hoisted_1$2,[createBaseVNode("span",{id:Ve,class:normalizeClass(Fe)},toDisplayString$1(_e==null?void 0:_e.title),11,_hoisted_2$2),_e!=null&&_e.fullscreen?createCommentVNode("",!0):(openBlock(),createElementBlock("i",{key:0,class:normalizeClass(V.value),onClick:ue[0]||(ue[0]=Ue=>r.value=!r.value)},[createVNode(de,{class:"pure-dialog-svg",icon:_e!=null&&_e.fullscreen||r.value?unref(data$1):unref(data$2)},null,8,["icon"])],2))])):(openBlock(),createBlock(resolveDynamicComponent(_e==null?void 0:_e.headerRenderer({close:Ie,titleId:Ve,titleClass:Fe})),{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:$e})),{key:0})):(openBlock(),createElementBlock("span",_hoisted_3$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList($.value(_e),(Ie,Ve)=>(openBlock(),createBlock(pe,mergeProps({key:Ve},Ie,{onClick:Fe=>Ie.btnClick({dialog:{options:_e,index:$e},button:{btn:Ie,index:Ve}})}),{default:withCtx(()=>[createTextVNode(toDisplayString$1(Ie==null?void 0:Ie.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$8=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){return new Promise((oe,ie)=>{Promise.resolve(t(()=>r.apply(this,V),{fn:r,thisArg:this,args:V})).then(oe).catch(ie)})}return $}function debounceFilter(t,r={}){let $,V,oe=noop$4;const ie=ue=>{clearTimeout(ue),oe(),oe=noop$4};return ue=>{const de=toValue(t),pe=toValue(r.maxWait);return $&&ie($),de<=0||pe!==void 0&&pe<=0?(V&&(ie(V),V=null),Promise.resolve(ue())):new Promise((he,_e)=>{oe=r.rejectOnCancel?_e:he,pe&&!V&&(V=setTimeout(()=>{$&&ie($),V=null,he(ue())},pe)),$=setTimeout(()=>{V&&ie(V),V=null,he(ue())},de)})}}function useDebounceFn(t,r=200,$={}){return createFilterWrapper(debounceFilter(r,$),t)}function tryOnMounted(t,r=!0){getCurrentInstance()?onMounted(t):r?t():nextTick(t)}function tryOnUnmounted(t){getCurrentInstance()&&onUnmounted(t)}function useIntervalFn(t,r=1e3,$={}){const{immediate:V=!0,immediateCallback:oe=!1}=$;let ie=null;const le=ref(!1);function ue(){ie&&(clearInterval(ie),ie=null)}function de(){le.value=!1,ue()}function pe(){const he=toValue(r);he<=0||(le.value=!0,oe&&t(),ue(),ie=setInterval(t,he))}if(V&&isClient&&pe(),isRef(r)||typeof r=="function"){const he=watch(r,()=>{le.value&&isClient&&pe()});tryOnScopeDispose(he)}return tryOnScopeDispose(de),{isActive:le,pause:de,resume:pe}}function useTimeoutFn(t,r,$={}){const{immediate:V=!0}=$,oe=ref(!1);let ie=null;function le(){ie&&(clearTimeout(ie),ie=null)}function ue(){oe.value=!1,le()}function de(...pe){le(),oe.value=!0,ie=setTimeout(()=>{oe.value=!1,ie=null,t(...pe)},toValue(r))}return V&&(oe.value=!0,isClient&&de()),tryOnScopeDispose(ue),{isPending:readonly(oe),start:de,stop:ue}}function unrefElement(t){var r;const $=toValue(t);return(r=$==null?void 0:$.$el)!=null?r:$}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(...t){let r,$,V,oe;if(typeof t[0]=="string"||Array.isArray(t[0])?([$,V,oe]=t,r=defaultWindow):[r,$,V,oe]=t,!r)return noop$4;Array.isArray($)||($=[$]),Array.isArray(V)||(V=[V]);const ie=[],le=()=>{ie.forEach(he=>he()),ie.length=0},ue=(he,_e,$e,Ie)=>(he.addEventListener(_e,$e,Ie),()=>he.removeEventListener(_e,$e,Ie)),de=watch(()=>[unrefElement(r),toValue(oe)],([he,_e])=>{if(le(),!he)return;const $e=isObject$8(_e)?{..._e}:_e;ie.push(...$.flatMap(Ie=>V.map(Ve=>ue(he,Ie,Ve,$e))))},{immediate:!0,flush:"post"}),pe=()=>{de(),le()};return tryOnScopeDispose(pe),pe}let _iOSWorkaround=!1;function onClickOutside(t,r,$={}){const{window:V=defaultWindow,ignore:oe=[],capture:ie=!0,detectIframe:le=!1}=$;if(!V)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(V.document.body.children).forEach($e=>$e.addEventListener("click",noop$4)),V.document.documentElement.addEventListener("click",noop$4));let ue=!0;const de=$e=>oe.some(Ie=>{if(typeof Ie=="string")return Array.from(V.document.querySelectorAll(Ie)).some(Ve=>Ve===$e.target||$e.composedPath().includes(Ve));{const Ve=unrefElement(Ie);return Ve&&($e.target===Ve||$e.composedPath().includes(Ve))}}),he=[useEventListener(V,"click",$e=>{const Ie=unrefElement(t);if(!(!Ie||Ie===$e.target||$e.composedPath().includes(Ie))){if($e.detail===0&&(ue=!de($e)),!ue){ue=!0;return}r($e)}},{passive:!0,capture:ie}),useEventListener(V,"pointerdown",$e=>{const Ie=unrefElement(t);Ie&&(ue=!$e.composedPath().includes(Ie)&&!de($e))},{passive:!0}),le&&useEventListener(V,"blur",$e=>{setTimeout(()=>{var Ie;const Ve=unrefElement(t);((Ie=V.document.activeElement)==null?void 0:Ie.tagName)==="IFRAME"&&!(Ve!=null&&Ve.contains(V.document.activeElement))&&r($e)},0)})].filter(Boolean);return()=>he.forEach($e=>$e())}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={};t.length===3?(r=t[0],$=t[1],V=t[2]):t.length===2?typeof t[1]=="object"?(r=!0,$=t[0],V=t[1]):(r=t[0],$=t[1]):(r=!0,$=t[0]);const{target:oe=defaultWindow,eventName:ie="keydown",passive:le=!1,dedupe:ue=!1}=V,de=createKeyPredicate(r);return useEventListener(oe,ie,he=>{he.repeat&&toValue(ue)||de(he)&&$(he)},le)}function templateRef(t,r=null){const $=getCurrentInstance();let V=()=>{};const oe=customRef((ie,le)=>(V=le,{get(){var ue,de;return ie(),(de=(ue=$==null?void 0:$.proxy)==null?void 0:ue.$refs[t])!=null?de:r},set(){}}));return tryOnMounted(V),onUpdated(V),oe}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:$=defaultWindow}=r,V=useSupported(()=>$&&"matchMedia"in $&&typeof $.matchMedia=="function");let oe;const ie=ref(!1),le=pe=>{ie.value=pe.matches},ue=()=>{oe&&("removeEventListener"in oe?oe.removeEventListener("change",le):oe.removeListener(le))},de=watchEffect(()=>{V.value&&(ue(),oe=$.matchMedia(toValue(t)),"addEventListener"in oe?oe.addEventListener("change",le):oe.addListener(le),ie.value=oe.matches)});return tryOnScopeDispose(()=>{de(),ue(),oe=void 0}),ie}function cloneFnJSON(t){return JSON.parse(JSON.stringify(t))}function useResizeObserver(t,r,$={}){const{window:V=defaultWindow,...oe}=$;let ie;const le=useSupported(()=>V&&"ResizeObserver"in V),ue=()=>{ie&&(ie.disconnect(),ie=void 0)},de=computed(()=>Array.isArray(t)?t.map(_e=>unrefElement(_e)):[unrefElement(t)]),pe=watch(de,_e=>{if(ue(),le.value&&V){ie=new ResizeObserver(r);for(const $e of _e)$e&&ie.observe($e,oe)}},{immediate:!0,flush:"post",deep:!0}),he=()=>{ue(),pe()};return tryOnScopeDispose(he),{isSupported:le,stop:he}}function useIntersectionObserver(t,r,$={}){const{root:V,rootMargin:oe="0px",threshold:ie=.1,window:le=defaultWindow,immediate:ue=!0}=$,de=useSupported(()=>le&&"IntersectionObserver"in le),pe=computed(()=>{const Ve=toValue(t);return(Array.isArray(Ve)?Ve:[Ve]).map(unrefElement).filter(notNullish)});let he=noop$4;const _e=ref(ue),$e=de.value?watch(()=>[pe.value,unrefElement(V),_e.value],([Ve,Fe])=>{if(he(),!_e.value||!Ve.length)return;const Ue=new IntersectionObserver(r,{root:unrefElement(Fe),rootMargin:oe,threshold:ie});Ve.forEach(qe=>qe&&Ue.observe(qe)),he=()=>{Ue.disconnect(),he=noop$4}},{immediate:ue,flush:"post"}):noop$4,Ie=()=>{he(),$e(),_e.value=!1};return tryOnScopeDispose(Ie),{isSupported:de,isActive:_e,pause(){he(),_e.value=!1},resume(){_e.value=!0},stop:Ie}}const eventHandlers=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function useFullscreen(t,r={}){const{document:$=defaultDocument,autoExit:V=!1}=r,oe=computed(()=>{var qe;return(qe=unrefElement(t))!=null?qe:$==null?void 0:$.querySelector("html")}),ie=ref(!1),le=computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(qe=>$&&qe in $||oe.value&&qe in oe.value)),ue=computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(qe=>$&&qe in $||oe.value&&qe in oe.value)),de=computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(qe=>$&&qe in $||oe.value&&qe in oe.value)),pe=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(qe=>$&&qe in $),he=useSupported(()=>oe.value&&$&&le.value!==void 0&&ue.value!==void 0&&de.value!==void 0),_e=()=>pe?($==null?void 0:$[pe])===oe.value:!1,$e=()=>{if(de.value){if($&&$[de.value]!=null)return $[de.value];{const qe=oe.value;if((qe==null?void 0:qe[de.value])!=null)return!!qe[de.value]}}return!1};async function Ie(){if(!(!he.value||!ie.value)){if(ue.value)if(($==null?void 0:$[ue.value])!=null)await $[ue.value]();else{const qe=oe.value;(qe==null?void 0:qe[ue.value])!=null&&await qe[ue.value]()}ie.value=!1}}async function Ve(){if(!he.value||ie.value)return;$e()&&await Ie();const qe=oe.value;le.value&&(qe==null?void 0:qe[le.value])!=null&&(await qe[le.value](),ie.value=!0)}async function Fe(){await(ie.value?Ie():Ve())}const Ue=()=>{const qe=$e();(!qe||qe&&_e())&&(ie.value=qe)};return useEventListener($,eventHandlers,Ue,!1),useEventListener(()=>unrefElement(oe),eventHandlers,Ue,!1),V&&tryOnScopeDispose(Ie),{isSupported:he,isFullscreen:ie,enter:Ve,exit:Ie,toggle:Fe}}function useVModel(t,r,$,V={}){var oe,ie,le;const{clone:ue=!1,passive:de=!1,eventName:pe,deep:he=!1,defaultValue:_e,shouldEmit:$e}=V,Ie=getCurrentInstance(),Ve=$||(Ie==null?void 0:Ie.emit)||((oe=Ie==null?void 0:Ie.$emit)==null?void 0:oe.bind(Ie))||((le=(ie=Ie==null?void 0:Ie.proxy)==null?void 0:ie.$emit)==null?void 0:le.bind(Ie==null?void 0:Ie.proxy));let Fe=pe;r||(r="modelValue"),Fe=Fe||`update:${r.toString()}`;const Ue=Lt=>ue?typeof ue=="function"?ue(Lt):cloneFnJSON(Lt):Lt,qe=()=>isDef(t[r])?Ue(t[r]):_e,Et=Lt=>{$e?$e(Lt)&&Ve(Fe,Lt):Ve(Fe,Lt)};if(de){const Lt=qe(),hn=ref(Lt);let Cn=!1;return watch(()=>t[r],bn=>{Cn||(Cn=!0,hn.value=Ue(bn),nextTick(()=>Cn=!1))}),watch(hn,bn=>{!Cn&&(bn!==t[r]||he)&&Et(bn)},{deep:he}),hn}else return computed({get(){return qe()},set(Lt){Et(Lt)}})}function useWindowSize(t={}){const{window:r=defaultWindow,initialWidth:$=Number.POSITIVE_INFINITY,initialHeight:V=Number.POSITIVE_INFINITY,listenOrientation:oe=!0,includeScrollbar:ie=!0}=t,le=ref($),ue=ref(V),de=()=>{r&&(ie?(le.value=r.innerWidth,ue.value=r.innerHeight):(le.value=r.document.documentElement.clientWidth,ue.value=r.document.documentElement.clientHeight))};if(de(),tryOnMounted(de),useEventListener("resize",de,{passive:!0}),oe){const pe=useMediaQuery("(orientation: portrait)");watch(pe,()=>de())}return{width:le,height:ue}}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,$)=>{dialogStore.value.splice(r,1),t.closeCallBack&&t.closeCallBack({options:t,index:r,args:$})},updateDialog=(t,r="title",$=0)=>{dialogStore.value[$][r]=t},closeAllDialog=()=>{dialogStore.value=[]},ReDialog=_n(_sfc_main$2);/*! Element Plus v2.3.14 */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$1=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.17","@logicflow/extension":"^1.2.18","@pureadmin/descriptions":"^1.2.0","@pureadmin/table":"^2.3.4","@pureadmin/utils":"^1.9.10","@vueuse/core":"^10.5.0","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","@zxcvbn-ts/core":"^3.0.4","animate.css":"^4.1.1",axios:"^1.6.0","china-area-data":"^5.0.1",cropperjs:"^1.6.1",dayjs:"^1.11.10",echarts:"^5.4.3","el-table-infinite-scroll":"^3.0.3","element-plus":"^2.4.1","intro.js":"^7.2.0","js-cookie":"^3.0.5",jsbarcode:"^3.11.5",localforage:"^1.10.0","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.7","pinyin-pro":"^3.17.0",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^11.0.3",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.3.1","version-rocket":"^1.7.0",vue:"^3.3.7","vue-i18n":"^9.6.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.2.1","vue-router":"^4.2.5","vue-tippy":"^6.3.1","vue-types":"^5.1.1","vue-virtual-scroller":"2.0.0-beta.8","vue-waterfall-plugin-next":"^2.2.4","vue3-danmaku":"^1.6.0",vuedraggable:"^4.1.0","wavesurfer.js":"^7.4.2",xgplayer:"^3.0.9",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.7.2","@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":"^1.4.0","@pureadmin/theme":"^3.2.0","@types/intro.js":"^5.1.2","@types/js-cookie":"^3.0.4","@types/mockjs":"^1.0.8","@types/node":"^20.8.2","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.2","@types/qs":"^6.9.8","@types/sortablejs":"^1.15.3","@typescript-eslint/eslint-plugin":"^6.7.4","@typescript-eslint/parser":"^6.7.4","@vitejs/plugin-vue":"^4.4.0","@vitejs/plugin-vue-jsx":"^3.0.2","@vue/eslint-config-prettier":"^8.0.0","@vue/eslint-config-typescript":"^12.0.0",autoprefixer:"^10.4.16",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.50.0","eslint-plugin-prettier":"^5.0.0","eslint-plugin-vue":"^9.18.1",husky:"^8.0.3","lint-staged":"^14.0.1",picocolors:"^1.0.0",postcss:"^8.4.31","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.9",prettier:"^3.0.3",rimraf:"^5.0.5","rollup-plugin-visualizer":"^5.9.2",sass:"^1.69.0","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":"^13.0.0","stylelint-config-recommended-scss":"^13.0.0","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard":"^34.0.0","stylelint-config-standard-scss":"^11.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^4.0.2","stylelint-scss":"^5.2.1",svgo:"^3.0.2",tailwindcss:"^3.3.5",terser:"^5.24.0",typescript:"^5.2.2",vite:"^4.5.0","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.2","vue-tsc":"^1.8.22"},name:"vue-pure-admin",version:"4.5.0"},{VITE_PUBLIC_PATH:$,MODE:V}={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};V==="production"&&checkVersion({pollingTime:3e5,localPackageVersion:t,originVersionFileUrl:`${location.origin}${$}version.json`},{title:r,description:"检测到新版本",buttonText:"立即更新"})}}),_export_sfc=(t,r)=>{const $=t.__vccOpts||t;for(const[V,oe]of r)$[V]=oe;return $};function _sfc_render(t,r,$,V,oe,ie){const le=resolveComponent("router-view"),ue=resolveComponent("ReDialog"),de=resolveComponent("el-config-provider");return openBlock(),createBlock(de,{locale:t.currentLocale},{default:withCtx(()=>[createVNode(le),createVNode(ue)]),_:1},8,["locale"])}const App=_export_sfc(_sfc_main$1,[["render",_sfc_render]]),scriptRel="modulepreload",assetsURL=function(t){return"/vue-pure-admin/"+t},seen={},__vitePreload=function(r,$,V){if(!$||$.length===0)return r();const oe=document.getElementsByTagName("link");return Promise.all($.map(ie=>{if(ie=assetsURL(ie),ie in seen)return;seen[ie]=!0;const le=ie.endsWith(".css"),ue=le?'[rel="stylesheet"]':"";if(!!V)for(let he=oe.length-1;he>=0;he--){const _e=oe[he];if(_e.href===ie&&(!le||_e.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${ie}"]${ue}`))return;const pe=document.createElement("link");if(pe.rel=le?"stylesheet":scriptRel,le||(pe.as="script",pe.crossOrigin=""),pe.href=ie,document.head.appendChild(pe),le)return new Promise((he,_e)=>{pe.addEventListener("load",he),pe.addEventListener("error",()=>_e(new Error(`Unable to preload CSS for ${ie}`)))})})).then(()=>r()).catch(ie=>{const le=new Event("vite:preloadError",{cancelable:!0});if(le.payload=ie,window.dispatchEvent(le),!le.defaultPrevented)throw ie})},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"])},hsanimatecss:t=>{const{normalize:r}=t;return r(["AnimateCss Selector"])},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(["days no need to login"])},rememberInfo:t=>{const{normalize:r}=t;return r(["After checking and logging in, will automatically log in to the system without entering your username and password within the specified number of days."])},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(["图片裁剪"])},hsanimatecss:t=>{const{normalize:r}=t;return r(["AnimateCss选择器组件"])},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(["天内免登录"])},rememberInfo: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.5.0
|
||
* (c) 2023 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const inBrowser=typeof window<"u",makeSymbol=(t,r=!1)=>r?Symbol.for(t):Symbol(t),generateFormatCacheKey=(t,r,$)=>friendlyJSONstringify({l:t,k:r,s:$}),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,assign$4=Object.assign;function escapeHtml(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const hasOwnProperty$2=Object.prototype.hasOwnProperty;function hasOwn$3(t,r){return hasOwnProperty$2.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$7=t=>t!==null&&typeof t=="object",objectToString$1=Object.prototype.toString,toTypeString=t=>objectToString$1.call(t),isPlainObject$2=t=>{if(!isObject$7(t))return!1;const r=Object.getPrototypeOf(t);return r===null||r.constructor===Object},toDisplayString=t=>t==null?"":isArray$9(t)||isPlainObject$2(t)&&t.toString===objectToString$1?JSON.stringify(t,null,2):String(t);function join(t,r=""){return t.reduce(($,V,oe)=>oe===0?$+V:$+r+V,"")}function incrementer(t){let r=t;return()=>++r}function warn$1(t,r){typeof console<"u"&&(console.warn("[intlify] "+t),r&&console.warn(r.stack))}/*!
|
||
* message-compiler v9.5.0
|
||
* (c) 2023 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const RE_ARGS=/\{([0-9a-zA-Z]+)\}/g;function format$2(t,...r){return r.length===1&&isObject$6(r[0])&&(r=r[0]),(!r||!r.hasOwnProperty)&&(r={}),t.replace(RE_ARGS,($,V)=>r.hasOwnProperty(V)?r[V]:"")}const isObject$6=t=>t!==null&&typeof t=="object",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,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},errorMessages={[CompileErrorCodes.EXPECTED_TOKEN]:"Expected token: '{0}'",[CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[CompileErrorCodes.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[CompileErrorCodes.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[CompileErrorCodes.EMPTY_PLACEHOLDER]:"Empty placeholder",[CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[CompileErrorCodes.INVALID_LINKED_FORMAT]:"Invalid linked format",[CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[CompileErrorCodes.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[CompileErrorCodes.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function createCompileError(t,r,$={}){const{domain:V,messages:oe,args:ie}=$,le=format$2((oe||errorMessages)[t]||"",...ie||[]),ue=new SyntaxError(String(le));return ue.code=t,r&&(ue.location=r),ue.domain=V,ue}/*!
|
||
* core-base v9.5.0
|
||
* (c) 2023 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),$=t.charCodeAt(t.length-1);return r===$&&(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 $=-1,V=0,oe=0,ie,le,ue,de,pe,he,_e;const $e=[];$e[0]=()=>{le===void 0?le=ue:le+=ue},$e[1]=()=>{le!==void 0&&(r.push(le),le=void 0)},$e[2]=()=>{$e[0](),oe++},$e[3]=()=>{if(oe>0)oe--,V=4,$e[0]();else{if(oe=0,le===void 0||(le=formatSubPath(le),le===!1))return!1;$e[1]()}};function Ie(){const Ve=t[$+1];if(V===5&&Ve==="'"||V===6&&Ve==='"')return $++,ue="\\"+Ve,$e[0](),!0}for(;V!==null;)if($++,ie=t[$],!(ie==="\\"&&Ie())){if(de=getPathCharType(ie),_e=pathStateMachine[V],pe=_e[de]||_e.l||8,pe===8||(V=pe[0],pe[1]!==void 0&&(he=$e[pe[1]],he&&(ue=ie,he()===!1))))return;if(V===7)return r}}const cache=new Map;function resolveWithKeyValue(t,r){return isObject$7(t)?t[r]:null}function resolveValue(t,r){if(!isObject$7(t))return null;let $=cache.get(r);if($||($=parse$5(r),$&&cache.set(r,$)),!$)return null;const V=$.length;let oe=t,ie=0;for(;ie<V;){const le=oe[$[ie]];if(le===void 0)return null;oe=le,ie++}return oe}const DEFAULT_MODIFIER=t=>t,DEFAULT_MESSAGE=t=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=t=>t.length===0?"":join(t),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,$=getPluralIndex(t),V=isObject$7(t.pluralRules)&&isString$4(r)&&isFunction$2(t.pluralRules[r])?t.pluralRules[r]:pluralDefault,oe=isObject$7(t.pluralRules)&&isString$4(r)&&isFunction$2(t.pluralRules[r])?pluralDefault:void 0,ie=qe=>qe[V($,qe.length,oe)],le=t.list||[],ue=qe=>le[qe],de=t.named||{};isNumber$3(t.pluralIndex)&&normalizeNamed($,de);const pe=qe=>de[qe];function he(qe){const Et=isFunction$2(t.messages)?t.messages(qe):isObject$7(t.messages)?t.messages[qe]:!1;return Et||(t.parent?t.parent.message(qe):DEFAULT_MESSAGE)}const _e=qe=>t.modifiers?t.modifiers[qe]:DEFAULT_MODIFIER,$e=isPlainObject$2(t.processor)&&isFunction$2(t.processor.normalize)?t.processor.normalize:DEFAULT_NORMALIZE,Ie=isPlainObject$2(t.processor)&&isFunction$2(t.processor.interpolate)?t.processor.interpolate:DEFAULT_INTERPOLATE,Ve=isPlainObject$2(t.processor)&&isString$4(t.processor.type)?t.processor.type:DEFAULT_MESSAGE_DATA_TYPE,Ue={list:ue,named:pe,plural:ie,linked:(qe,...Et)=>{const[Lt,hn]=Et;let Cn="text",bn="";Et.length===1?isObject$7(Lt)?(bn=Lt.modifier||bn,Cn=Lt.type||Cn):isString$4(Lt)&&(bn=Lt||bn):Et.length===2&&(isString$4(Lt)&&(bn=Lt||bn),isString$4(hn)&&(Cn=hn||Cn));const Sn=he(qe)(Ue),En=Cn==="vnode"&&isArray$9(Sn)&&bn?Sn[0]:Sn;return bn?_e(bn)(En,Cn):En},message:he,type:Ve,interpolate:Ie,normalize:$e,values:assign$4({},le,de)};return Ue}const CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8};function getLocale(t,r){return r.locale!=null?resolveLocale(r.locale):resolveLocale(t.locale)}let _resolveLocale;function resolveLocale(t){return isString$4(t)?t:_resolveLocale!=null&&t.resolvedOnce?_resolveLocale:_resolveLocale=t()}function fallbackWithSimple(t,r,$){return[...new Set([$,...isArray$9(r)?r:isObject$7(r)?Object.keys(r):isString$4(r)?[r]:[$]])]}function fallbackWithLocaleChain(t,r,$){const V=isString$4($)?$:DEFAULT_LOCALE$1,oe=t;oe.__localeChainCache||(oe.__localeChainCache=new Map);let ie=oe.__localeChainCache.get(V);if(!ie){ie=[];let le=[$];for(;isArray$9(le);)le=appendBlockToChain(ie,le,r);const ue=isArray$9(r)||!isPlainObject$2(r)?r:r.default?r.default:null;le=isString$4(ue)?[ue]:ue,isArray$9(le)&&appendBlockToChain(ie,le,!1),oe.__localeChainCache.set(V,ie)}return ie}function appendBlockToChain(t,r,$){let V=!0;for(let oe=0;oe<r.length&&isBoolean$2(V);oe++){const ie=r[oe];isString$4(ie)&&(V=appendLocaleToChain(t,r[oe],$))}return V}function appendLocaleToChain(t,r,$){let V;const oe=r.split("-");do{const ie=oe.join("-");V=appendItemToChain(t,ie,$),oe.splice(-1,1)}while(oe.length&&V===!0);return V}function appendItemToChain(t,r,$){let V=!1;if(!t.includes(r)&&(V=!0,r)){V=r[r.length-1]!=="!";const oe=r.replace(/!/g,"");t.push(oe),(isArray$9($)||isPlainObject$2($))&&$[oe]&&(V=$[oe])}return V}const VERSION$2="9.5.0",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$7(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,r)=>r==="text"&&isString$4(t)?t.toLowerCase():r==="vnode"&&isObject$7(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,r)=>r==="text"&&isString$4(t)?capitalize(t):r==="vnode"&&isObject$7(t)&&"__v_isVNode"in t?capitalize(t.children):t}}let _compiler,_resolver;function registerMessageResolver(t){_resolver=t}let _fallbacker;function registerLocaleFallbacker(t){_fallbacker=t}const setAdditionalMeta=t=>{};let _fallbackContext=null;const setFallbackContext=t=>{_fallbackContext=t},getFallbackContext=()=>_fallbackContext;let _cid=0;function createCoreContext(t={}){const r=isFunction$2(t.onWarn)?t.onWarn:warn$1,$=isString$4(t.version)?t.version:VERSION$2,V=isString$4(t.locale)||isFunction$2(t.locale)?t.locale:DEFAULT_LOCALE$1,oe=isFunction$2(V)?DEFAULT_LOCALE$1:V,ie=isArray$9(t.fallbackLocale)||isPlainObject$2(t.fallbackLocale)||isString$4(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:oe,le=isPlainObject$2(t.messages)?t.messages:{[oe]:{}},ue=isPlainObject$2(t.datetimeFormats)?t.datetimeFormats:{[oe]:{}},de=isPlainObject$2(t.numberFormats)?t.numberFormats:{[oe]:{}},pe=assign$4({},t.modifiers||{},getDefaultLinkedModifiers()),he=t.pluralRules||{},_e=isFunction$2(t.missing)?t.missing:null,$e=isBoolean$2(t.missingWarn)||isRegExp$4(t.missingWarn)?t.missingWarn:!0,Ie=isBoolean$2(t.fallbackWarn)||isRegExp$4(t.fallbackWarn)?t.fallbackWarn:!0,Ve=!!t.fallbackFormat,Fe=!!t.unresolving,Ue=isFunction$2(t.postTranslation)?t.postTranslation:null,qe=isPlainObject$2(t.processor)?t.processor:null,Et=isBoolean$2(t.warnHtmlMessage)?t.warnHtmlMessage:!0,Lt=!!t.escapeParameter,hn=isFunction$2(t.messageCompiler)?t.messageCompiler:_compiler,Cn=isFunction$2(t.messageResolver)?t.messageResolver:_resolver||resolveWithKeyValue,bn=isFunction$2(t.localeFallbacker)?t.localeFallbacker:_fallbacker||fallbackWithSimple,Sn=isObject$7(t.fallbackContext)?t.fallbackContext:void 0,En=t,wn=isObject$7(En.__datetimeFormatters)?En.__datetimeFormatters:new Map,$n=isObject$7(En.__numberFormatters)?En.__numberFormatters:new Map,Tn=isObject$7(En.__meta)?En.__meta:{};_cid++;const xn={version:$,cid:_cid,locale:V,fallbackLocale:ie,messages:le,modifiers:pe,pluralRules:he,missing:_e,missingWarn:$e,fallbackWarn:Ie,fallbackFormat:Ve,unresolving:Fe,postTranslation:Ue,processor:qe,warnHtmlMessage:Et,escapeParameter:Lt,messageCompiler:hn,messageResolver:Cn,localeFallbacker:bn,fallbackContext:Sn,onWarn:r,__meta:Tn};return xn.datetimeFormats=ue,xn.numberFormats=de,xn.__datetimeFormatters=wn,xn.__numberFormatters=$n,xn}function handleMissing(t,r,$,V,oe){const{missing:ie,onWarn:le}=t;if(ie!==null){const ue=ie(t,$,r,oe);return isString$4(ue)?ue:r}else return r}function updateFallbackLocale(t,r,$){const V=t;V.__localeChainCache=new Map,t.localeFallbacker(t,$,r)}const code$2=CompileErrorCodes.__EXTEND_POINT__,inc$2=incrementer(code$2),CoreErrorCodes={INVALID_ARGUMENT:code$2,INVALID_DATE_ARGUMENT:inc$2(),INVALID_ISO_DATE_ARGUMENT:inc$2(),NOT_SUPPORT_NON_STRING_MESSAGE:inc$2(),__EXTEND_POINT__:inc$2()};function createCoreError(t){return createCompileError(t,null,void 0)}const isMessageAST=t=>isObject$7(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t),NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=t=>isFunction$2(t);function translate$1(t,...r){const{fallbackFormat:$,postTranslation:V,unresolving:oe,messageCompiler:ie,fallbackLocale:le,messages:ue}=t,[de,pe]=parseTranslateArgs(...r),he=isBoolean$2(pe.missingWarn)?pe.missingWarn:t.missingWarn,_e=isBoolean$2(pe.fallbackWarn)?pe.fallbackWarn:t.fallbackWarn,$e=isBoolean$2(pe.escapeParameter)?pe.escapeParameter:t.escapeParameter,Ie=!!pe.resolvedMessage,Ve=isString$4(pe.default)||isBoolean$2(pe.default)?isBoolean$2(pe.default)?ie?de:()=>de:pe.default:$?ie?de:()=>de:"",Fe=$||Ve!=="",Ue=getLocale(t,pe);$e&&escapeParams(pe);let[qe,Et,Lt]=Ie?[de,Ue,ue[Ue]||{}]:resolveMessageFormat(t,de,Ue,le,_e,he),hn=qe,Cn=de;if(!Ie&&!(isString$4(hn)||isMessageAST(hn)||isMessageFunction(hn))&&Fe&&(hn=Ve,Cn=hn),!Ie&&(!(isString$4(hn)||isMessageAST(hn)||isMessageFunction(hn))||!isString$4(Et)))return oe?NOT_REOSLVED:de;let bn=!1;const Sn=()=>{bn=!0},En=isMessageFunction(hn)?hn:compileMessageFormat(t,de,Et,hn,Cn,Sn);if(bn)return hn;const wn=getMessageContextOptions(t,Et,Lt,pe),$n=createMessageContext(wn),Tn=evaluateMessage(t,En,$n);return V?V(Tn,de):Tn}function escapeParams(t){isArray$9(t.list)?t.list=t.list.map(r=>isString$4(r)?escapeHtml(r):r):isObject$7(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){const{messages:le,onWarn:ue,messageResolver:de,localeFallbacker:pe}=t,he=pe(t,V,$);let _e={},$e,Ie=null;const Ve="translate";for(let Fe=0;Fe<he.length&&($e=he[Fe],_e=le[$e]||{},(Ie=de(_e,r))===null&&(Ie=_e[r]),!(isString$4(Ie)||isMessageAST(Ie)||isMessageFunction(Ie)));Fe++){const Ue=handleMissing(t,r,$e,ie,Ve);Ue!==r&&(Ie=Ue)}return[Ie,$e,_e]}function compileMessageFormat(t,r,$,V,oe,ie){const{messageCompiler:le,warnHtmlMessage:ue}=t;if(isMessageFunction(V)){const pe=V;return pe.locale=pe.locale||$,pe.key=pe.key||r,pe}if(le==null){const pe=()=>V;return pe.locale=$,pe.key=r,pe}const de=le(V,getCompileContext(t,$,oe,V,ue,ie));return de.locale=$,de.key=r,de.source=V,de}function evaluateMessage(t,r,$){return r($)}function parseTranslateArgs(...t){const[r,$,V]=t,oe={};if(!isString$4(r)&&!isNumber$3(r)&&!isMessageFunction(r)&&!isMessageAST(r))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const ie=isNumber$3(r)?String(r):(isMessageFunction(r),r);return isNumber$3($)?oe.plural=$:isString$4($)?oe.default=$:isPlainObject$2($)&&!isEmptyObject($)?oe.named=$:isArray$9($)&&(oe.list=$),isNumber$3(V)?oe.plural=V:isString$4(V)?oe.default=V:isPlainObject$2(V)&&assign$4(oe,V),[ie,oe]}function getCompileContext(t,r,$,V,oe,ie){return{locale:r,key:$,warnHtmlMessage:oe,onError:le=>{throw ie&&ie(le),le},onCacheKey:le=>generateFormatCacheKey(r,$,le)}}function getMessageContextOptions(t,r,$,V){const{modifiers:oe,pluralRules:ie,messageResolver:le,fallbackLocale:ue,fallbackWarn:de,missingWarn:pe,fallbackContext:he}=t,$e={locale:r,modifiers:oe,pluralRules:ie,messages:Ie=>{let Ve=le($,Ie);if(Ve==null&&he){const[,,Fe]=resolveMessageFormat(he,Ie,r,ue,de,pe);Ve=le(Fe,Ie)}if(isString$4(Ve)||isMessageAST(Ve)){let Fe=!1;const qe=compileMessageFormat(t,Ie,r,Ve,Ie,()=>{Fe=!0});return Fe?NOOP_MESSAGE_FUNCTION:qe}else return isMessageFunction(Ve)?Ve:NOOP_MESSAGE_FUNCTION}};return t.processor&&($e.processor=t.processor),V.list&&($e.list=V.list),V.named&&($e.named=V.named),isNumber$3(V.plural)&&($e.pluralIndex=V.plural),$e}function datetime(t,...r){const{datetimeFormats:$,unresolving:V,fallbackLocale:oe,onWarn:ie,localeFallbacker:le}=t,{__datetimeFormatters:ue}=t,[de,pe,he,_e]=parseDateTimeArgs(...r),$e=isBoolean$2(he.missingWarn)?he.missingWarn:t.missingWarn;isBoolean$2(he.fallbackWarn)?he.fallbackWarn:t.fallbackWarn;const Ie=!!he.part,Ve=getLocale(t,he),Fe=le(t,oe,Ve);if(!isString$4(de)||de==="")return new Intl.DateTimeFormat(Ve,_e).format(pe);let Ue={},qe,Et=null;const Lt="datetime format";for(let bn=0;bn<Fe.length&&(qe=Fe[bn],Ue=$[qe]||{},Et=Ue[de],!isPlainObject$2(Et));bn++)handleMissing(t,de,qe,$e,Lt);if(!isPlainObject$2(Et)||!isString$4(qe))return V?NOT_REOSLVED:de;let hn=`${qe}__${de}`;isEmptyObject(_e)||(hn=`${hn}__${JSON.stringify(_e)}`);let Cn=ue.get(hn);return Cn||(Cn=new Intl.DateTimeFormat(qe,assign$4({},Et,_e)),ue.set(hn,Cn)),Ie?Cn.formatToParts(pe):Cn.format(pe)}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]=t,ie={};let le={},ue;if(isString$4(r)){const de=r.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!de)throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);const pe=de[3]?de[3].trim().startsWith("T")?`${de[1].trim()}${de[3].trim()}`:`${de[1].trim()}T${de[3].trim()}`:de[1].trim();ue=new Date(pe);try{ue.toISOString()}catch{throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT)}}else if(isDate$2(r)){if(isNaN(r.getTime()))throw createCoreError(CoreErrorCodes.INVALID_DATE_ARGUMENT);ue=r}else if(isNumber$3(r))ue=r;else throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);return isString$4($)?ie.key=$:isPlainObject$2($)&&Object.keys($).forEach(de=>{DATETIME_FORMAT_OPTIONS_KEYS.includes(de)?le[de]=$[de]:ie[de]=$[de]}),isString$4(V)?ie.locale=V:isPlainObject$2(V)&&(le=V),isPlainObject$2(oe)&&(le=oe),[ie.key||"",ue,ie,le]}function clearDateTimeFormat(t,r,$){const V=t;for(const oe in $){const ie=`${r}__${oe}`;V.__datetimeFormatters.has(ie)&&V.__datetimeFormatters.delete(ie)}}function number$2(t,...r){const{numberFormats:$,unresolving:V,fallbackLocale:oe,onWarn:ie,localeFallbacker:le}=t,{__numberFormatters:ue}=t,[de,pe,he,_e]=parseNumberArgs(...r),$e=isBoolean$2(he.missingWarn)?he.missingWarn:t.missingWarn;isBoolean$2(he.fallbackWarn)?he.fallbackWarn:t.fallbackWarn;const Ie=!!he.part,Ve=getLocale(t,he),Fe=le(t,oe,Ve);if(!isString$4(de)||de==="")return new Intl.NumberFormat(Ve,_e).format(pe);let Ue={},qe,Et=null;const Lt="number format";for(let bn=0;bn<Fe.length&&(qe=Fe[bn],Ue=$[qe]||{},Et=Ue[de],!isPlainObject$2(Et));bn++)handleMissing(t,de,qe,$e,Lt);if(!isPlainObject$2(Et)||!isString$4(qe))return V?NOT_REOSLVED:de;let hn=`${qe}__${de}`;isEmptyObject(_e)||(hn=`${hn}__${JSON.stringify(_e)}`);let Cn=ue.get(hn);return Cn||(Cn=new Intl.NumberFormat(qe,assign$4({},Et,_e)),ue.set(hn,Cn)),Ie?Cn.formatToParts(pe):Cn.format(pe)}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]=t,ie={};let le={};if(!isNumber$3(r))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const ue=r;return isString$4($)?ie.key=$:isPlainObject$2($)&&Object.keys($).forEach(de=>{NUMBER_FORMAT_OPTIONS_KEYS.includes(de)?le[de]=$[de]:ie[de]=$[de]}),isString$4(V)?ie.locale=V:isPlainObject$2(V)&&(le=V),isPlainObject$2(oe)&&(le=oe),[ie.key||"",ue,ie,le]}function clearNumberFormat(t,r,$){const V=t;for(const oe in $){const ie=`${r}__${oe}`;V.__numberFormatters.has(ie)&&V.__numberFormatters.delete(ie)}}/*!
|
||
* vue-i18n v9.5.0
|
||
* (c) 2023 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const VERSION$1="9.5.0",code$1=CoreWarnCodes.__EXTEND_POINT__,inc$1=incrementer(code$1);inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1(),inc$1();const code=CoreErrorCodes.__EXTEND_POINT__,inc=incrementer(code),I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSTALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSTALLED_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 TranslateVNodeSymbol=makeSymbol("__translateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules"),InejctWithOptionSymbol=makeSymbol("__injectWithOption"),DisposeSymbol=makeSymbol("__dispose");function handleFlatJson(t){if(!isObject$7(t))return t;for(const r in t)if(hasOwn$3(t,r))if(!r.includes("."))isObject$7(t[r])&&handleFlatJson(t[r]);else{const $=r.split("."),V=$.length-1;let oe=t,ie=!1;for(let le=0;le<V;le++){if($[le]in oe||(oe[$[le]]={}),!isObject$7(oe[$[le]])){ie=!0;break}oe=oe[$[le]]}ie||(oe[$[V]]=t[r],delete t[r]),isObject$7(oe[$[V]])&&handleFlatJson(oe[$[V]])}return t}function getLocaleMessages(t,r){const{messages:$,__i18n:V,messageResolver:oe,flatJson:ie}=r,le=isPlainObject$2($)?$:isArray$9(V)?{}:{[t]:{}};if(isArray$9(V)&&V.forEach(ue=>{if("locale"in ue&&"resource"in ue){const{locale:de,resource:pe}=ue;de?(le[de]=le[de]||{},deepCopy(pe,le[de])):deepCopy(pe,le)}else isString$4(ue)&&deepCopy(JSON.parse(ue),le)}),oe==null&&ie)for(const ue in le)hasOwn$3(le,ue)&&handleFlatJson(le[ue]);return le}const isNotObjectOrIsArray=t=>!isObject$7(t)||isArray$9(t);function deepCopy(t,r){if(isNotObjectOrIsArray(t)||isNotObjectOrIsArray(r))throw createI18nError(I18nErrorCodes.INVALID_VALUE);for(const $ in t)hasOwn$3(t,$)&&(isNotObjectOrIsArray(t[$])||isNotObjectOrIsArray(r[$])?r[$]=t[$]:deepCopy(t[$],r[$]))}function getComponentOptions(t){return t.type}function adjustI18nResources(t,r,$){let V=isObject$7(r.messages)?r.messages:{};"__i18nGlobal"in $&&(V=getLocaleMessages(t.locale.value,{messages:V,__i18n:$.__i18nGlobal}));const oe=Object.keys(V);oe.length&&oe.forEach(ie=>{t.mergeLocaleMessage(ie,V[ie])});{if(isObject$7(r.datetimeFormats)){const ie=Object.keys(r.datetimeFormats);ie.length&&ie.forEach(le=>{t.mergeDateTimeFormat(le,r.datetimeFormats[le])})}if(isObject$7(r.numberFormats)){const ie=Object.keys(r.numberFormats);ie.length&&ie.forEach(le=>{t.mergeNumberFormat(le,r.numberFormats[le])})}}}function createTextNode(t){return createVNode(Text$1,null,t,0)}const DEVTOOLS_META="__INTLIFY_META__";let composerID=0;function defineCoreMissingHandler(t){return(r,$,V,oe)=>t($,V,getCurrentInstance()||void 0,oe)}const getMetaInfo=()=>{const t=getCurrentInstance();let r=null;return t&&(r=getComponentOptions(t)[DEVTOOLS_META])?{[DEVTOOLS_META]:r}:null};function createComposer(t={},r){const{__root:$,__injectWithOption:V}=t,oe=$===void 0;let ie=isBoolean$2(t.inheritLocale)?t.inheritLocale:!0;const le=ref($&&ie?$.locale.value:isString$4(t.locale)?t.locale:DEFAULT_LOCALE$1),ue=ref($&&ie?$.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=$?$.missingWarn:isBoolean$2(t.missingWarn)||isRegExp$4(t.missingWarn)?t.missingWarn:!0,$e=$?$.fallbackWarn:isBoolean$2(t.fallbackWarn)||isRegExp$4(t.fallbackWarn)?t.fallbackWarn:!0,Ie=$?$.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=$?$.warnHtmlMessage:isBoolean$2(t.warnHtmlMessage)?t.warnHtmlMessage:!0,Lt=!!t.escapeParameter;const hn=$?$.modifiers:isPlainObject$2(t.modifiers)?t.modifiers:{};let Cn=t.pluralRules||$&&$.pluralRules,bn;bn=(()=>{oe&&setFallbackContext(null);const nr={version:VERSION$1,locale:le.value,fallbackLocale:ue.value,messages:de.value,modifiers:hn,pluralRules:Cn,missing:Ue===null?void 0:Ue,missingWarn:_e,fallbackWarn:$e,fallbackFormat:Ve,unresolving:!0,postTranslation:qe===null?void 0:qe,warnHtmlMessage:Et,escapeParameter:Lt,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};nr.datetimeFormats=pe.value,nr.numberFormats=he.value,nr.__datetimeFormatters=isPlainObject$2(bn)?bn.__datetimeFormatters:void 0,nr.__numberFormatters=isPlainObject$2(bn)?bn.__numberFormatters:void 0;const pr=createCoreContext(nr);return oe&&setFallbackContext(pr),pr})(),updateFallbackLocale(bn,le.value,ue.value);function En(){return[le.value,ue.value,de.value,pe.value,he.value]}const wn=computed({get:()=>le.value,set:nr=>{le.value=nr,bn.locale=le.value}}),$n=computed({get:()=>ue.value,set:nr=>{ue.value=nr,bn.fallbackLocale=ue.value,updateFallbackLocale(bn,le.value,nr)}}),Tn=computed(()=>de.value),xn=computed(()=>pe.value),An=computed(()=>he.value);function Mn(){return isFunction$2(qe)?qe:null}function Vn(nr){qe=nr,bn.postTranslation=nr}function Bn(){return Fe}function Dn(nr){nr!==null&&(Ue=defineCoreMissingHandler(nr)),Fe=nr,bn.missing=Ue}const Ln=(nr,pr,gr,$r,Rr,Lr)=>{En();let Vr;try{oe||(bn.fallbackContext=$?getFallbackContext():void 0),Vr=nr(bn)}finally{oe||(bn.fallbackContext=void 0)}if(isNumber$3(Vr)&&Vr===NOT_REOSLVED){const[Nr,dr]=pr();return $&&Ie?$r($):Rr(Nr)}else{if(Lr(Vr))return Vr;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function Pn(...nr){return Ln(pr=>Reflect.apply(translate$1,null,[pr,...nr]),()=>parseTranslateArgs(...nr),"translate",pr=>Reflect.apply(pr.t,pr,[...nr]),pr=>pr,pr=>isString$4(pr))}function Fn(...nr){const[pr,gr,$r]=nr;if($r&&!isObject$7($r))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return Pn(pr,gr,assign$4({resolvedMessage:!0},$r||{}))}function Un(...nr){return Ln(pr=>Reflect.apply(datetime,null,[pr,...nr]),()=>parseDateTimeArgs(...nr),"datetime format",pr=>Reflect.apply(pr.d,pr,[...nr]),()=>MISSING_RESOLVE_VALUE,pr=>isString$4(pr))}function Wn(...nr){return Ln(pr=>Reflect.apply(number$2,null,[pr,...nr]),()=>parseNumberArgs(...nr),"number format",pr=>Reflect.apply(pr.n,pr,[...nr]),()=>MISSING_RESOLVE_VALUE,pr=>isString$4(pr))}function Zn(nr){return nr.map(pr=>isString$4(pr)||isNumber$3(pr)||isBoolean$2(pr)?createTextNode(String(pr)):pr)}const br={normalize:Zn,interpolate:nr=>nr,type:"vnode"};function Qn(...nr){return Ln(pr=>{let gr;const $r=pr;try{$r.processor=br,gr=Reflect.apply(translate$1,null,[$r,...nr])}finally{$r.processor=null}return gr},()=>parseTranslateArgs(...nr),"translate",pr=>pr[TranslateVNodeSymbol](...nr),pr=>[createTextNode(pr)],pr=>isArray$9(pr))}function Gn(...nr){return Ln(pr=>Reflect.apply(number$2,null,[pr,...nr]),()=>parseNumberArgs(...nr),"number format",pr=>pr[NumberPartsSymbol](...nr),()=>[],pr=>isString$4(pr)||isArray$9(pr))}function Yn(...nr){return Ln(pr=>Reflect.apply(datetime,null,[pr,...nr]),()=>parseDateTimeArgs(...nr),"datetime format",pr=>pr[DatetimePartsSymbol](...nr),()=>[],pr=>isString$4(pr)||isArray$9(pr))}function er(nr){Cn=nr,bn.pluralRules=Cn}function lr(nr,pr){if(!nr)return!1;const gr=isString$4(pr)?pr:le.value,$r=Kn(gr);return bn.messageResolver($r,nr)!==null}function sr(nr){let pr=null;const gr=fallbackWithLocaleChain(bn,ue.value,le.value);for(let $r=0;$r<gr.length;$r++){const Rr=de.value[gr[$r]]||{},Lr=bn.messageResolver(Rr,nr);if(Lr!=null){pr=Lr;break}}return pr}function zn(nr){const pr=sr(nr);return pr??($?$.tm(nr)||{}:{})}function Kn(nr){return de.value[nr]||{}}function Jn(nr,pr){de.value[nr]=pr,bn.messages=de.value}function cr(nr,pr){de.value[nr]=de.value[nr]||{},deepCopy(pr,de.value[nr]),bn.messages=de.value}function _r(nr){return pe.value[nr]||{}}function ur(nr,pr){pe.value[nr]=pr,bn.datetimeFormats=pe.value,clearDateTimeFormat(bn,nr,pr)}function wr(nr,pr){pe.value[nr]=assign$4(pe.value[nr]||{},pr),bn.datetimeFormats=pe.value,clearDateTimeFormat(bn,nr,pr)}function Cr(nr){return he.value[nr]||{}}function mr(nr,pr){he.value[nr]=pr,bn.numberFormats=he.value,clearNumberFormat(bn,nr,pr)}function Er(nr,pr){he.value[nr]=assign$4(he.value[nr]||{},pr),bn.numberFormats=he.value,clearNumberFormat(bn,nr,pr)}composerID++,$&&inBrowser&&(watch($.locale,nr=>{ie&&(le.value=nr,bn.locale=nr,updateFallbackLocale(bn,le.value,ue.value))}),watch($.fallbackLocale,nr=>{ie&&(ue.value=nr,bn.fallbackLocale=nr,updateFallbackLocale(bn,le.value,ue.value))}));const Tr={id:composerID,locale:wn,fallbackLocale:$n,get inheritLocale(){return ie},set inheritLocale(nr){ie=nr,nr&&$&&(le.value=$.locale.value,ue.value=$.fallbackLocale.value,updateFallbackLocale(bn,le.value,ue.value))},get availableLocales(){return Object.keys(de.value).sort()},messages:Tn,get modifiers(){return hn},get pluralRules(){return Cn||{}},get isGlobal(){return oe},get missingWarn(){return _e},set missingWarn(nr){_e=nr,bn.missingWarn=_e},get fallbackWarn(){return $e},set fallbackWarn(nr){$e=nr,bn.fallbackWarn=$e},get fallbackRoot(){return Ie},set fallbackRoot(nr){Ie=nr},get fallbackFormat(){return Ve},set fallbackFormat(nr){Ve=nr,bn.fallbackFormat=Ve},get warnHtmlMessage(){return Et},set warnHtmlMessage(nr){Et=nr,bn.warnHtmlMessage=nr},get escapeParameter(){return Lt},set escapeParameter(nr){Lt=nr,bn.escapeParameter=nr},t:Pn,getLocaleMessage:Kn,setLocaleMessage:Jn,mergeLocaleMessage:cr,getPostTranslationHandler:Mn,setPostTranslationHandler:Vn,getMissingHandler:Bn,setMissingHandler:Dn,[SetPluralRulesSymbol]:er};return Tr.datetimeFormats=xn,Tr.numberFormats=An,Tr.rt=Fn,Tr.te=lr,Tr.tm=zn,Tr.d=Un,Tr.n=Wn,Tr.getDateTimeFormat=_r,Tr.setDateTimeFormat=ur,Tr.mergeDateTimeFormat=wr,Tr.getNumberFormat=Cr,Tr.setNumberFormat=mr,Tr.mergeNumberFormat=Er,Tr[InejctWithOptionSymbol]=V,Tr[TranslateVNodeSymbol]=Qn,Tr[DatetimePartsSymbol]=Yn,Tr[NumberPartsSymbol]=Gn,Tr}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((V,oe)=>[...V,...oe.type===Fragment?oe.children:[oe]],[]):r.reduce(($,V)=>{const oe=t[V];return oe&&($[V]=oe()),$},{})}function getFragmentableTag(t){return Fragment}const TranslationImpl=defineComponent({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:$,attrs:V}=r,oe=t.i18n||useI18n$1({useScope:t.scope,__useComponent:!0});return()=>{const ie=Object.keys($).filter(_e=>_e!=="_"),le={};t.locale&&(le.locale=t.locale),t.plural!==void 0&&(le.plural=isString$4(t.plural)?+t.plural:t.plural);const ue=getInterpolateArg(r,ie),de=oe[TranslateVNodeSymbol](t.keypath,ue,le),pe=assign$4({},V),he=isString$4(t.tag)||isObject$7(t.tag)?t.tag:getFragmentableTag();return h$2(he,pe,de)}}}),Translation=TranslationImpl;function isVNode(t){return isArray$9(t)&&!isString$4(t[0])}function renderFormatter(t,r,$,V){const{slots:oe,attrs:ie}=r;return()=>{const le={part:!0};let ue={};t.locale&&(le.locale=t.locale),isString$4(t.format)?le.key=t.format:isObject$7(t.format)&&(isString$4(t.format.key)&&(le.key=t.format.key),ue=Object.keys(t.format).reduce(($e,Ie)=>$.includes(Ie)?assign$4({},$e,{[Ie]:t.format[Ie]}):$e,{}));const de=V(t.value,le,ue);let pe=[le.key];isArray$9(de)?pe=de.map(($e,Ie)=>{const Ve=oe[$e.type],Fe=Ve?Ve({[$e.type]:$e.value,index:Ie,parts:de}):[$e.value];return isVNode(Fe)&&(Fe[0].key=`${$e.type}-${Ie}`),Fe}):isString$4(de)&&(pe=[de]);const he=assign$4({},ie),_e=isString$4(t.tag)||isObject$7(t.tag)?t.tag:getFragmentableTag();return h$2(_e,he,pe)}}const NumberFormatImpl=defineComponent({name:"i18n-n",props:assign$4({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(t,r){const $=t.i18n||useI18n$1({useScope:"parent",__useComponent:!0});return renderFormatter(t,r,NUMBER_FORMAT_OPTIONS_KEYS,(...V)=>$[NumberPartsSymbol](...V))}}),NumberFormat=NumberFormatImpl,DatetimeFormatImpl=defineComponent({name:"i18n-d",props:assign$4({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(t,r){const $=t.i18n||useI18n$1({useScope:"parent",__useComponent:!0});return renderFormatter(t,r,DATETIME_FORMAT_OPTIONS_KEYS,(...V)=>$[DatetimePartsSymbol](...V))}}),DatetimeFormat=DatetimeFormatImpl;function getComposer$2(t,r){const $=t;if(t.mode==="composition")return $.__getInstance(r)||t.global;{const V=$.__getInstance(r);return V!=null?V.__composer:t.global.__composer}}function vTDirective(t){const r=le=>{const{instance:ue,modifiers:de,value:pe}=le;if(!ue||!ue.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const he=getComposer$2(t,ue.$),_e=parseValue(pe);return[Reflect.apply(he.t,he,[...makeParams(_e)]),he]};return{created:(le,ue)=>{const[de,pe]=r(ue);inBrowser&&t.global===pe&&(le.__i18nWatcher=watch(pe.locale,()=>{ue.instance&&ue.instance.$forceUpdate()})),le.__composer=pe,le.textContent=de},unmounted:le=>{inBrowser&&le.__i18nWatcher&&(le.__i18nWatcher(),le.__i18nWatcher=void 0,delete le.__i18nWatcher),le.__composer&&(le.__composer=void 0,delete le.__composer)},beforeUpdate:(le,{value:ue})=>{if(le.__composer){const de=le.__composer,pe=parseValue(ue);le.textContent=Reflect.apply(de.t,de,[...makeParams(pe)])}},getSSRProps:le=>{const[ue]=r(le);return{textContent:ue}}}}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:$,args:V,choice:oe,plural:ie}=t,le={},ue=V||{};return isString$4($)&&(le.locale=$),isNumber$3(oe)&&(le.plural=oe),isNumber$3(ie)&&(le.plural=ie),[r,ue,le]}function apply(t,r,...$){const V=isPlainObject$2($[0])?$[0]:{},oe=!!V.useI18nComponentName;(isBoolean$2(V.globalInstall)?V.globalInstall:!0)&&([oe?"i18n":Translation.name,"I18nT"].forEach(le=>t.component(le,Translation)),[NumberFormat.name,"I18nN"].forEach(le=>t.component(le,NumberFormat)),[DatetimeFormat.name,"I18nD"].forEach(le=>t.component(le,DatetimeFormat))),t.directive("t",vTDirective(r))}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(t={},r){const $=isBoolean$2(t.globalInjection)?t.globalInjection:!0,V=!0,oe=new Map,[ie,le]=createGlobal(t),ue=makeSymbol("");function de(_e){return oe.get(_e)||null}function pe(_e,$e){oe.set(_e,$e)}function he(_e){oe.delete(_e)}{const _e={get mode(){return"composition"},get allowComposition(){return V},async install($e,...Ie){if($e.__VUE_I18N_SYMBOL__=ue,$e.provide($e.__VUE_I18N_SYMBOL__,_e),isPlainObject$2(Ie[0])){const Ue=Ie[0];_e.__composerExtend=Ue.__composerExtend,_e.__vueI18nExtend=Ue.__vueI18nExtend}let Ve=null;$&&(Ve=injectGlobalFields($e,_e.global)),apply($e,_e,...Ie);const Fe=$e.unmount;$e.unmount=()=>{Ve&&Ve(),_e.dispose(),Fe()}},get global(){return le},dispose(){ie.stop()},__instances:oe,__getInstance:de,__setInstance:pe,__deleteInstance:he};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_INSTALLED);const $=getI18nInstance(r),V=getGlobalComposer($),oe=getComponentOptions(r),ie=getScope(t,oe);if(ie==="global")return adjustI18nResources(V,t,oe),V;if(ie==="parent"){let de=getComposer($,r,t.__useComponent);return de==null&&(de=V),de}const le=$;let ue=le.__getInstance(r);if(ue==null){const de=assign$4({},t);"__i18n"in oe&&(de.__i18n=oe.__i18n),V&&(de.__root=V),ue=createComposer(de),le.__composerExtend&&(ue[DisposeSymbol]=le.__composerExtend(ue)),setupLifeCycle(le,r,ue),le.__setInstance(r,ue)}return ue}function createGlobal(t,r,$){const V=effectScope();{const oe=V.run(()=>createComposer(t));if(oe==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[V,oe]}}function getI18nInstance(t){{const r=inject(t.isCE?I18nInjectionKey:t.appContext.app.__VUE_I18N_SYMBOL__);if(!r)throw createI18nError(t.isCE?I18nErrorCodes.NOT_INSTALLED_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,$=!1){let V=null;const oe=r.root;let ie=getParentComponentInstance(r,$);for(;ie!=null;){const le=t;if(t.mode==="composition"&&(V=le.__getInstance(ie)),V!=null||oe===ie)break;ie=ie.parent}return V}function getParentComponentInstance(t,r=!1){return t==null?null:r&&t.vnode.ctx||t.parent}function setupLifeCycle(t,r,$){onMounted(()=>{},r),onUnmounted(()=>{const V=$;t.__deleteInstance(r);const oe=V[DisposeSymbol];oe&&(oe(),delete V[DisposeSymbol])},r)}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm","te"];function injectGlobalFields(t,r){const $=Object.create(null);return 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($,oe,le)}),t.config.globalProperties.$i18n=$,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)}),()=>{delete t.config.globalProperties.$i18n,globalExportMethods.forEach(oe=>{delete t.config.globalProperties[`$${oe}`]})}}registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);function bind$3(t,r){return function(){return t.apply(r,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,kindOf=(t=>r=>{const $=toString.call(r);return t[$]||(t[$]=$.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:$=!1}={}){if(t===null||typeof t>"u")return;let V,oe;if(typeof t!="object"&&(t=[t]),isArray$8(t))for(V=0,oe=t.length;V<oe;V++)r.call(null,t[V],V,t);else{const ie=$?Object.getOwnPropertyNames(t):Object.keys(t),le=ie.length;let ue;for(V=0;V<le;V++)ue=ie[V],r.call(null,t[ue],ue,t)}}function findKey(t,r){r=r.toLowerCase();const $=Object.keys(t);let V=$.length,oe;for(;V-- >0;)if(oe=$[V],r===oe.toLowerCase())return oe;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)=>{const ie=t&&findKey(r,oe)||oe;isPlainObject$1(r[ie])&&isPlainObject$1(V)?r[ie]=merge$2(r[ie],V):isPlainObject$1(V)?r[ie]=merge$2({},V):isArray$8(V)?r[ie]=V.slice():r[ie]=V};for(let V=0,oe=arguments.length;V<oe;V++)arguments[V]&&forEach(arguments[V],$);return r}const extend$1=(t,r,$,{allOwnKeys:V}={})=>(forEach(r,(oe,ie)=>{$&&isFunction$1(oe)?t[ie]=bind$3(oe,$):t[ie]=oe},{allOwnKeys:V}),t),stripBOM=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),inherits$1=(t,r,$,V)=>{t.prototype=Object.create(r.prototype,V),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:r.prototype}),$&&Object.assign(t.prototype,$)},toFlatObject=(t,r,$,V)=>{let oe,ie,le;const ue={};if(r=r||{},t==null)return r;do{for(oe=Object.getOwnPropertyNames(t),ie=oe.length;ie-- >0;)le=oe[ie],(!V||V(le,t,r))&&!ue[le]&&(r[le]=t[le],ue[le]=!0);t=$!==!1&&getPrototypeOf(t)}while(t&&(!$||$(t,r))&&t!==Object.prototype);return r},endsWith=(t,r,$)=>{t=String(t),($===void 0||$>t.length)&&($=t.length),$-=r.length;const V=t.indexOf(r,$);return V!==-1&&V===$},toArray=t=>{if(!t)return null;if(isArray$8(t))return t;let r=t.length;if(!isNumber$2(r))return null;const $=new Array(r);for(;r-- >0;)$[r]=t[r];return $},isTypedArray$1=(t=>r=>t&&r instanceof t)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(t,r)=>{const V=(t&&t[Symbol.iterator]).call(t);let oe;for(;(oe=V.next())&&!oe.done;){const ie=oe.value;r.call(t,ie[0],ie[1])}},matchAll=(t,r)=>{let $;const V=[];for(;($=t.exec(r))!==null;)V.push($);return V},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase$1=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function($,V,oe){return V.toUpperCase()+oe}),hasOwnProperty$1=(({hasOwnProperty:t})=>(r,$)=>t.call(r,$))(Object.prototype),isRegExp$3=kindOfTest("RegExp"),reduceDescriptors=(t,r)=>{const $=Object.getOwnPropertyDescriptors(t),V={};forEach($,(oe,ie)=>{let le;(le=r(oe,ie,t))!==!1&&(V[ie]=le||oe)}),Object.defineProperties(t,V)},freezeMethods=t=>{reduceDescriptors(t,(r,$)=>{if(isFunction$1(t)&&["arguments","caller","callee"].indexOf($)!==-1)return!1;const V=t[$];if(isFunction$1(V)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+$+"'")})}})},toObjectSet=(t,r)=>{const $={},V=oe=>{oe.forEach(ie=>{$[ie]=!0})};return isArray$8(t)?V(t):V(String(t).split(r)),$},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 $="";const{length:V}=r;for(;t--;)$+=r[Math.random()*V|0];return $};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)=>{if(isObject$5(V)){if(r.indexOf(V)>=0)return;if(!("toJSON"in V)){r[oe]=V;const ie=isArray$8(V)?[]:{};return forEach(V,(le,ue)=>{const de=$(le,oe+1);!isUndefined(de)&&(ie[ue]=de)}),r[oe]=void 0,ie}}return V};return $(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:hasOwnProperty$1,hasOwnProp:hasOwnProperty$1,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){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),$&&(this.config=$),V&&(this.request=V),oe&&(this.response=oe)}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)=>{const le=Object.create(prototype$1);return utils$4.toFlatObject(t,le,function(de){return de!==Error.prototype},ue=>ue!=="isAxiosError"),AxiosError.call(le,t.message,r,$,V,oe),le.cause=t,le.name=t.name,ie&&Object.assign(le,ie),le};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,$){return t?t.concat(r).map(function(oe,ie){return oe=removeBrackets(oe),!$&&ie?"["+oe+"]":oe}).join($?".":""):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,$){if(!utils$4.isObject(t))throw new TypeError("target must be an object");r=r||new FormData,$=utils$4.toFlatObject($,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Fe,Ue){return!utils$4.isUndefined(Ue[Fe])});const V=$.metaTokens,oe=$.visitor||he,ie=$.dots,le=$.indexes,de=($.Blob||typeof Blob<"u"&&Blob)&&utils$4.isSpecCompliantForm(r);if(!utils$4.isFunction(oe))throw new TypeError("visitor must be a function");function pe(Ve){if(Ve===null)return"";if(utils$4.isDate(Ve))return Ve.toISOString();if(!de&&utils$4.isBlob(Ve))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$4.isArrayBuffer(Ve)||utils$4.isTypedArray(Ve)?de&&typeof Blob=="function"?new Blob([Ve]):Buffer.from(Ve):Ve}function he(Ve,Fe,Ue){let qe=Ve;if(Ve&&!Ue&&typeof Ve=="object"){if(utils$4.endsWith(Fe,"{}"))Fe=V?Fe:Fe.slice(0,-2),Ve=JSON.stringify(Ve);else if(utils$4.isArray(Ve)&&isFlatArray(Ve)||(utils$4.isFileList(Ve)||utils$4.endsWith(Fe,"[]"))&&(qe=utils$4.toArray(Ve)))return Fe=removeBrackets(Fe),qe.forEach(function(Lt,hn){!(utils$4.isUndefined(Lt)||Lt===null)&&r.append(le===!0?renderKey([Fe],hn,ie):le===null?Fe:Fe+"[]",pe(Lt))}),!1}return isVisitable(Ve)?!0:(r.append(renderKey(Ue,Fe,ie),pe(Ve)),!1)}const _e=[],$e=Object.assign(predicates,{defaultVisitor:he,convertValue:pe,isVisitable});function Ie(Ve,Fe){if(!utils$4.isUndefined(Ve)){if(_e.indexOf(Ve)!==-1)throw Error("Circular reference detected in "+Fe.join("."));_e.push(Ve),utils$4.forEach(Ve,function(qe,Et){(!(utils$4.isUndefined(qe)||qe===null)&&oe.call(r,qe,utils$4.isString(Et)?Et.trim():Et,Fe,$e))===!0&&Ie(qe,Fe?Fe.concat(Et):[Et])}),_e.pop()}}if(!utils$4.isObject(t))throw new TypeError("data must be an object");return Ie(t),r}function encode$2(t){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(V){return r[V]})}function AxiosURLSearchParams(t,r){this._pairs=[],t&&toFormData(t,this,r)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(r,$){this._pairs.push([r,$])};prototype.toString=function(r){const $=r?function(V){return r.call(this,V,encode$2)}:encode$2;return this._pairs.map(function(oe){return $(oe[0])+"="+$(oe[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,$){if(!r)return t;const V=$&&$.encode||encode$1,oe=$&&$.serialize;let ie;if(oe?ie=oe(r,$):ie=utils$4.isURLSearchParams(r)?r.toString():new AxiosURLSearchParams(r,$).toString(V),ie){const le=t.indexOf("#");le!==-1&&(t=t.slice(0,le)),t+=(t.indexOf("?")===-1?"?":"&")+ie}return t}class InterceptorManager{constructor(){this.handlers=[]}use(r,$,V){return this.handlers.push({fulfilled:r,rejected:$,synchronous:V?V.synchronous:!1,runWhen:V?V.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(V){V!==null&&r(V)})}}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){return platform$1.isNode&&utils$4.isBuffer($)?(this.append(V,$.toString("base64")),!1):ie.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={},$=Object.keys(t);let V;const oe=$.length;let ie;for(V=0;V<oe;V++)ie=$[V],r[ie]=t[ie];return r}function formDataToJSON(t){function r($,V,oe,ie){let le=$[ie++];const ue=Number.isFinite(+le),de=ie>=$.length;return le=!le&&utils$4.isArray(oe)?oe.length:le,de?(utils$4.hasOwnProp(oe,le)?oe[le]=[oe[le],V]:oe[le]=V,!ue):((!oe[le]||!utils$4.isObject(oe[le]))&&(oe[le]=[]),r($,V,oe[le],ie)&&utils$4.isArray(oe[le])&&(oe[le]=arrayToObject$1(oe[le])),!ue)}if(utils$4.isFormData(t)&&utils$4.isFunction(t.entries)){const $={};return utils$4.forEachEntry(t,(V,oe)=>{r(parsePropPath(V),oe,$,0)}),$}return null}function stringifySafely(t,r,$){if(utils$4.isString(t))try{return(r||JSON.parse)(t),utils$4.trim(t)}catch(V){if(V.name!=="SyntaxError")throw V}return($||JSON.stringify)(t)}const defaults$3={transitional:transitionalDefaults,adapter:["xhr","http"],transformRequest:[function(r,$){const V=$.getContentType()||"",oe=V.indexOf("application/json")>-1,ie=utils$4.isObject(r);if(ie&&utils$4.isHTMLForm(r)&&(r=new FormData(r)),utils$4.isFormData(r))return oe&&oe?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 $.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let ue;if(ie){if(V.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(r,this.formSerializer).toString();if((ue=utils$4.isFileList(r))||V.indexOf("multipart/form-data")>-1){const de=this.env&&this.env.FormData;return toFormData(ue?{"files[]":r}:r,de&&new de,this.formSerializer)}}return ie||oe?($.setContentType("application/json",!1),stringifySafely(r)):r}],transformResponse:[function(r){const $=this.transitional||defaults$3.transitional,V=$&&$.forcedJSONParsing,oe=this.responseType==="json";if(r&&utils$4.isString(r)&&(V&&!this.responseType||oe)){const le=!($&&$.silentJSONParsing)&&oe;try{return JSON.parse(r)}catch(ue){if(le)throw ue.name==="SyntaxError"?AxiosError.from(ue,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):ue}}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;return t&&t.split(`
|
||
`).forEach(function(le){oe=le.indexOf(":"),$=le.substring(0,oe).trim().toLowerCase(),V=le.substring(oe+1).trim(),!(!$||r[$]&&ignoreDuplicateOf[$])&&($==="set-cookie"?r[$]?r[$].push(V):r[$]=[V]:r[$]=r[$]?r[$]+", "+V:V)}),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),$=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let V;for(;V=$.exec(t);)r[V[1]]=V[2];return r}const isValidHeaderName=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function matchHeaderValue(t,r,$,V,oe){if(utils$4.isFunction(V))return V.call(this,r,$);if(oe&&(r=$),!!utils$4.isString(r)){if(utils$4.isString(V))return r.indexOf(V)!==-1;if(utils$4.isRegExp(V))return V.test(r)}}function formatHeader(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,$,V)=>$.toUpperCase()+V)}function buildAccessors(t,r){const $=utils$4.toCamelCase(" "+r);["get","set","has"].forEach(V=>{Object.defineProperty(t,V+$,{value:function(oe,ie,le){return this[V].call(this,r,oe,ie,le)},configurable:!0})})}class AxiosHeaders{constructor(r){r&&this.set(r)}set(r,$,V){const oe=this;function ie(ue,de,pe){const he=normalizeHeader(de);if(!he)throw new Error("header name must be a non-empty string");const _e=utils$4.findKey(oe,he);(!_e||oe[_e]===void 0||pe===!0||pe===void 0&&oe[_e]!==!1)&&(oe[_e||de]=normalizeValue(ue))}const le=(ue,de)=>utils$4.forEach(ue,(pe,he)=>ie(pe,he,de));return utils$4.isPlainObject(r)||r instanceof this.constructor?le(r,$):utils$4.isString(r)&&(r=r.trim())&&!isValidHeaderName(r)?le(parseHeaders(r),$):r!=null&&ie($,r,V),this}get(r,$){if(r=normalizeHeader(r),r){const V=utils$4.findKey(this,r);if(V){const oe=this[V];if(!$)return oe;if($===!0)return parseTokens(oe);if(utils$4.isFunction($))return $.call(this,oe,V);if(utils$4.isRegExp($))return $.exec(oe);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,$){if(r=normalizeHeader(r),r){const V=utils$4.findKey(this,r);return!!(V&&this[V]!==void 0&&(!$||matchHeaderValue(this,this[V],V,$)))}return!1}delete(r,$){const V=this;let oe=!1;function ie(le){if(le=normalizeHeader(le),le){const ue=utils$4.findKey(V,le);ue&&(!$||matchHeaderValue(V,V[ue],ue,$))&&(delete V[ue],oe=!0)}}return utils$4.isArray(r)?r.forEach(ie):ie(r),oe}clear(r){const $=Object.keys(this);let V=$.length,oe=!1;for(;V--;){const ie=$[V];(!r||matchHeaderValue(this,this[ie],ie,r,!0))&&(delete this[ie],oe=!0)}return oe}normalize(r){const $=this,V={};return utils$4.forEach(this,(oe,ie)=>{const le=utils$4.findKey(V,ie);if(le){$[le]=normalizeValue(oe),delete $[ie];return}const ue=r?formatHeader(ie):String(ie).trim();ue!==ie&&delete $[ie],$[ue]=normalizeValue(oe),V[ue]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const $=Object.create(null);return utils$4.forEach(this,(V,oe)=>{V!=null&&V!==!1&&($[oe]=r&&utils$4.isArray(V)?V.join(", "):V)}),$}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,$])=>r+": "+$).join(`
|
||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...$){const V=new this(r);return $.forEach(oe=>V.set(oe)),V}static accessor(r){const V=(this[$internals]=this[$internals]={accessors:{}}).accessors,oe=this.prototype;function ie(le){const ue=normalizeHeader(le);V[ue]||(buildAccessors(oe,le),V[ue]=!0)}return utils$4.isArray(r)?r.forEach(ie):ie(r),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$4.reduceDescriptors(AxiosHeaders.prototype,({value:t},r)=>{let $=r[0].toUpperCase()+r.slice(1);return{get:()=>t,set(V){this[$]=V}}});utils$4.freezeMethods(AxiosHeaders);const AxiosHeaders$1=AxiosHeaders;function transformData(t,r){const $=this||defaults$4,V=r||$,oe=AxiosHeaders$1.from(V.headers);let ie=V.data;return utils$4.forEach(t,function(ue){ie=ue.call($,ie,oe.normalize(),r?r.status:void 0)}),oe.normalize(),ie}function isCancel(t){return!!(t&&t.__CANCEL__)}function CanceledError(t,r,$){AxiosError.call(this,t??"canceled",AxiosError.ERR_CANCELED,r,$),this.name="CanceledError"}utils$4.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(t,r,$){const V=$.config.validateStatus;!$.status||!V||V($.status)?t($):r(new AxiosError("Request failed with status code "+$.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor($.status/100)-4],$.config,$.request,$))}const cookies=platform$1.isStandardBrowserEnv?function(){return{write:function($,V,oe,ie,le,ue){const de=[];de.push($+"="+encodeURIComponent(V)),utils$4.isNumber(oe)&&de.push("expires="+new Date(oe).toGMTString()),utils$4.isString(ie)&&de.push("path="+ie),utils$4.isString(le)&&de.push("domain="+le),ue===!0&&de.push("secure"),document.cookie=de.join("; ")},read:function($){const V=document.cookie.match(new RegExp("(^|;\\s*)("+$+")=([^;]*)"));return V?decodeURIComponent(V[3]):null},remove:function($){this.write($,"",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),$=document.createElement("a");let V;function oe(ie){let le=ie;return r&&($.setAttribute("href",le),le=$.href),$.setAttribute("href",le),{href:$.href,protocol:$.protocol?$.protocol.replace(/:$/,""):"",host:$.host,search:$.search?$.search.replace(/^\?/,""):"",hash:$.hash?$.hash.replace(/^#/,""):"",hostname:$.hostname,port:$.port,pathname:$.pathname.charAt(0)==="/"?$.pathname:"/"+$.pathname}}return V=oe(window.location.href),function(le){const ue=utils$4.isString(le)?oe(le):le;return ue.protocol===V.protocol&&ue.host===V.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 $=new Array(t),V=new Array(t);let oe=0,ie=0,le;return r=r!==void 0?r:1e3,function(de){const pe=Date.now(),he=V[ie];le||(le=pe),$[oe]=de,V[oe]=pe;let _e=ie,$e=0;for(;_e!==oe;)$e+=$[_e++],_e=_e%t;if(oe=(oe+1)%t,oe===ie&&(ie=(ie+1)%t),pe-le<r)return;const Ie=he&&pe-he;return Ie?Math.round($e*1e3/Ie):void 0}}function progressEventReducer(t,r){let $=0;const V=speedometer(50,250);return oe=>{const ie=oe.loaded,le=oe.lengthComputable?oe.total:void 0,ue=ie-$,de=V(ue),pe=ie<=le;$=ie;const he={loaded:ie,total:le,progress:le?ie/le:void 0,bytes:ue,rate:de||void 0,estimated:de&&le&&pe?(le-ie)/de:void 0,event:oe};he[r?"download":"upload"]=!0,t(he)}}const isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(t){return new Promise(function($,V){let oe=t.data;const ie=AxiosHeaders$1.from(t.headers).normalize(),le=t.responseType;let ue;function de(){t.cancelToken&&t.cancelToken.unsubscribe(ue),t.signal&&t.signal.removeEventListener("abort",ue)}let pe;utils$4.isFormData(oe)&&(platform$1.isStandardBrowserEnv||platform$1.isStandardBrowserWebWorkerEnv?ie.setContentType(!1):ie.getContentType(/^\s*multipart\/form-data/)?utils$4.isString(pe=ie.getContentType())&&ie.setContentType(pe.replace(/^\s*(multipart\/form-data);+/,"$1")):ie.setContentType("multipart/form-data"));let he=new XMLHttpRequest;if(t.auth){const Ve=t.auth.username||"",Fe=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";ie.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:!le||le==="text"||le==="json"?he.responseText:he.response,status:he.status,statusText:he.statusText,headers:Ve,config:t,request:he};settle(function(Et){$(Et),de()},function(Et){V(Et),de()},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&&(V(new AxiosError("Request aborted",AxiosError.ECONNABORTED,t,he)),he=null)},he.onerror=function(){V(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),V(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&&ie.set(t.xsrfHeaderName,Ve)}oe===void 0&&ie.setContentType(null),"setRequestHeader"in he&&utils$4.forEach(ie.toJSON(),function(Fe,Ue){he.setRequestHeader(Ue,Fe)}),utils$4.isUndefined(t.withCredentials)||(he.withCredentials=!!t.withCredentials),le&&le!=="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)&&(ue=Ve=>{he&&(V(!Ve||Ve.type?new CanceledError(null,t,he):Ve),he.abort(),he=null)},t.cancelToken&&t.cancelToken.subscribe(ue),t.signal&&(t.signal.aborted?ue():t.signal.addEventListener("abort",ue)));const Ie=parseProtocol(_e);if(Ie&&platform$1.protocols.indexOf(Ie)===-1){V(new AxiosError("Unsupported protocol "+Ie+":",AxiosError.ERR_BAD_REQUEST,t));return}he.send(oe||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 renderReason=t=>`- ${t}`,isResolvedHandle=t=>utils$4.isFunction(t)||t===null||t===!1,adapters={getAdapter:t=>{t=utils$4.isArray(t)?t:[t];const{length:r}=t;let $,V;const oe={};for(let ie=0;ie<r;ie++){$=t[ie];let le;if(V=$,!isResolvedHandle($)&&(V=knownAdapters[(le=String($)).toLowerCase()],V===void 0))throw new AxiosError(`Unknown adapter '${le}'`);if(V)break;oe[le||"#"+ie]=V}if(!V){const ie=Object.entries(oe).map(([ue,de])=>`adapter ${ue} `+(de===!1?"is not supported by the environment":"is not available in the build"));let le=r?ie.length>1?`since :
|
||
`+ie.map(renderReason).join(`
|
||
`):" "+renderReason(ie[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+le,"ERR_NOT_SUPPORT")}return V},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(V){return throwIfCancellationRequested(t),V.data=transformData.call(t,t.transformResponse,V),V.headers=AxiosHeaders$1.from(V.headers),V},function(V){return isCancel(V)||(throwIfCancellationRequested(t),V&&V.response&&(V.response.data=transformData.call(t,t.transformResponse,V.response),V.response.headers=AxiosHeaders$1.from(V.response.headers))),Promise.reject(V)})}const headersToObject=t=>t instanceof AxiosHeaders$1?t.toJSON():t;function mergeConfig(t,r){r=r||{};const $={};function V(pe,he,_e){return utils$4.isPlainObject(pe)&&utils$4.isPlainObject(he)?utils$4.merge.call({caseless:_e},pe,he):utils$4.isPlainObject(he)?utils$4.merge({},he):utils$4.isArray(he)?he.slice():he}function oe(pe,he,_e){if(utils$4.isUndefined(he)){if(!utils$4.isUndefined(pe))return V(void 0,pe,_e)}else return V(pe,he,_e)}function ie(pe,he){if(!utils$4.isUndefined(he))return V(void 0,he)}function le(pe,he){if(utils$4.isUndefined(he)){if(!utils$4.isUndefined(pe))return V(void 0,pe)}else return V(void 0,he)}function ue(pe,he,_e){if(_e in r)return V(pe,he);if(_e in t)return V(void 0,pe)}const de={url:ie,method:ie,data:ie,baseURL:le,transformRequest:le,transformResponse:le,paramsSerializer:le,timeout:le,timeoutMessage:le,withCredentials:le,adapter:le,responseType:le,xsrfCookieName:le,xsrfHeaderName:le,onUploadProgress:le,onDownloadProgress:le,decompress:le,maxContentLength:le,maxBodyLength:le,beforeRedirect:le,transport:le,httpAgent:le,httpsAgent:le,cancelToken:le,socketPath:le,responseEncoding:le,validateStatus:ue,headers:(pe,he)=>oe(headersToObject(pe),headersToObject(he),!0)};return utils$4.forEach(Object.keys(Object.assign({},t,r)),function(he){const _e=de[he]||oe,$e=_e(t[he],r[he],he);utils$4.isUndefined($e)&&_e!==ue||($[he]=$e)}),$}const VERSION="1.5.1",validators$1={};["object","boolean","number","function","string","symbol"].forEach((t,r)=>{validators$1[t]=function(V){return typeof V===t||"a"+(r<1?"n ":" ")+t}});const deprecatedWarnings={};validators$1.transitional=function(r,$,V){function oe(ie,le){return"[Axios v"+VERSION+"] Transitional option '"+ie+"'"+le+(V?". "+V:"")}return(ie,le,ue)=>{if(r===!1)throw new AxiosError(oe(le," has been removed"+($?" in "+$:"")),AxiosError.ERR_DEPRECATED);return $&&!deprecatedWarnings[le]&&(deprecatedWarnings[le]=!0,console.warn(oe(le," has been deprecated since v"+$+" and will be removed in the near future"))),r?r(ie,le,ue):!0}};function assertOptions(t,r,$){if(typeof t!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const V=Object.keys(t);let oe=V.length;for(;oe-- >0;){const ie=V[oe],le=r[ie];if(le){const ue=t[ie],de=ue===void 0||le(ue,ie,t);if(de!==!0)throw new AxiosError("option "+ie+" must be "+de,AxiosError.ERR_BAD_OPTION_VALUE);continue}if($!==!0)throw new AxiosError("Unknown option "+ie,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,$){typeof r=="string"?($=$||{},$.url=r):$=r||{},$=mergeConfig(this.defaults,$);const{transitional:V,paramsSerializer:oe,headers:ie}=$;V!==void 0&&validator.assertOptions(V,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),oe!=null&&(utils$4.isFunction(oe)?$.paramsSerializer={serialize:oe}:validator.assertOptions(oe,{encode:validators.function,serialize:validators.function},!0)),$.method=($.method||this.defaults.method||"get").toLowerCase();let le=ie&&utils$4.merge(ie.common,ie[$.method]);ie&&utils$4.forEach(["delete","get","head","post","put","patch","common"],Ve=>{delete ie[Ve]}),$.headers=AxiosHeaders$1.concat(le,ie);const ue=[];let de=!0;this.interceptors.request.forEach(function(Fe){typeof Fe.runWhen=="function"&&Fe.runWhen($)===!1||(de=de&&Fe.synchronous,ue.unshift(Fe.fulfilled,Fe.rejected))});const pe=[];this.interceptors.response.forEach(function(Fe){pe.push(Fe.fulfilled,Fe.rejected)});let he,_e=0,$e;if(!de){const Ve=[dispatchRequest.bind(this),void 0];for(Ve.unshift.apply(Ve,ue),Ve.push.apply(Ve,pe),$e=Ve.length,he=Promise.resolve($);_e<$e;)he=he.then(Ve[_e++],Ve[_e++]);return he}$e=ue.length;let Ie=$;for(_e=0;_e<$e;){const Ve=ue[_e++],Fe=ue[_e++];try{Ie=Ve(Ie)}catch(Ue){Fe.call(this,Ue);break}}try{he=dispatchRequest.call(this,Ie)}catch(Ve){return Promise.reject(Ve)}for(_e=0,$e=pe.length;_e<$e;)he=he.then(pe[_e++],pe[_e++]);return he}getUri(r){r=mergeConfig(this.defaults,r);const $=buildFullPath(r.baseURL,r.url);return buildURL($,r.params,r.paramsSerializer)}}utils$4.forEach(["delete","get","head","options"],function(r){Axios.prototype[r]=function($,V){return this.request(mergeConfig(V||{},{method:r,url:$,data:(V||{}).data}))}});utils$4.forEach(["post","put","patch"],function(r){function $(V){return function(ie,le,ue){return this.request(mergeConfig(ue||{},{method:r,headers:V?{"Content-Type":"multipart/form-data"}:{},url:ie,data:le}))}}Axios.prototype[r]=$(),Axios.prototype[r+"Form"]=$(!0)});const Axios$1=Axios;class CancelToken{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let $;this.promise=new Promise(function(ie){$=ie});const V=this;this.promise.then(oe=>{if(!V._listeners)return;let ie=V._listeners.length;for(;ie-- >0;)V._listeners[ie](oe);V._listeners=null}),this.promise.then=oe=>{let ie;const le=new Promise(ue=>{V.subscribe(ue),ie=ue}).then(oe);return le.cancel=function(){V.unsubscribe(ie)},le},r(function(ie,le,ue){V.reason||(V.reason=new CanceledError(ie,le,ue),$(V.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 $=this._listeners.indexOf(r);$!==-1&&this._listeners.splice($,1)}static source(){let r;return{token:new CancelToken(function(oe){r=oe}),cancel:r}}}const CancelToken$1=CancelToken;function spread(t){return function($){return t.apply(null,$)}}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),$=bind$3(Axios$1.prototype.request,r);return utils$4.extend($,Axios$1.prototype,r,{allOwnKeys:!0}),utils$4.extend($,r,null,{allOwnKeys:!0}),$.create=function(oe){return createInstance(mergeConfig(t,oe))},$}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 $=config;return r.forEach(V=>{$&&typeof $[V]<"u"?$=$[V]:$=null}),$}}return config},getPlatformConfig=async t=>(t.config.globalProperties.$config=getConfig(),axios$1({method:"get",url:`${VITE_PUBLIC_PATH}platform-config.json`}).then(({data:r})=>{let $=t.config.globalProperties.$config;return t&&$&&typeof r=="object"&&($=Object.assign($,r),t.config.globalProperties.$config=$,setConfig($)),$}).catch(()=>{throw"请在public文件夹下添加platform-config.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,$])=>[r.match(/([A-Za-z0-9-_]+)\./i)[1],$.default]))[t]}const localesConfigs={zh:{...siphonI18n("zh-CN"),...zhCn},en:{...siphonI18n("en"),...en$1}};function getObjectKeys(t){const r=[],$=[];for(r.push({obj:t,key:""});r.length>0;){const{obj:V,key:oe}=r.pop();for(const ie in V){const le=oe?`${oe}.${ie}`:ie;V[ie]&&D$1(V[ie])?r.push({obj:V[ie],key:le}):$.push(le)}}return $}function transformI18n(t=""){var $;if(!t)return"";if(typeof t=="object"){const V=i18n.global.locale;return t[V==null?void 0:V.value]}const r=($=t.match(/(\S*)\./))==null?void 0:$.input;return r&&getObjectKeys(siphonI18n("zh-CN")).find(V=>V===r)||!r&&Object.keys(siphonI18n("zh-CN")).includes(t)?i18n.global.t.call(i18n.global.locale,t):t}const $t=t=>t;var na;const i18n=createI18n({legacy:!1,locale:((na=rr().getItem(`${responsiveStorageNameSpace()}locale`))==null?void 0:na.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"),[]),meta:{title:$t("menus.hsIconSelect")}},{path:"/able/timeline",name:"TimeLine",component:()=>__vitePreload(()=>import("./timeline.js"),["static/js/timeline.js","static/js/index61.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/index62.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/index63.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/index64.js","static/js/vue-tippy.esm-browser.js","static/css/index14.css"]),meta:{title:$t("menus.hscropping")}},{path:"/components/animatecss",name:"AnimateCss",component:()=>__vitePreload(()=>import("./index16.js"),[]),meta:{title:$t("menus.hsanimatecss"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/countTo",name:"CountTo",component:()=>__vitePreload(()=>import("./index17.js"),["static/js/index17.js","static/js/propTypes.js","static/css/index15.css"]),meta:{title:$t("menus.hscountTo")}},{path:"/components/selector",name:"Selector",component:()=>__vitePreload(()=>import("./index18.js"),["static/js/index18.js","static/css/index16.css"]),meta:{title:$t("menus.hsselector")}},{path:"/components/seamlessScroll",name:"SeamlessScroll",component:()=>__vitePreload(()=>import("./index19.js"),["static/js/index19.js","static/css/index17.css"]),meta:{title:$t("menus.hsseamless")}},{path:"/components/contextmenu",name:"ContextMenu",component:()=>__vitePreload(()=>import("./index20.js"),["static/js/index20.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("./index21.js"),["static/js/index21.js","static/js/index65.js"]),meta:{title:$t("menus.hstypeit")}},{path:"/components/json-editor",name:"JsonEditor",component:()=>__vitePreload(()=>import("./index22.js"),["static/js/index22.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("./index23.js"),["static/js/index23.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("./index24.js"),["static/js/index24.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/index66.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("./index25.js"),["static/js/index25.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("./index26.js"),["static/js/index26.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("./index27.js"),["static/js/index27.js","static/js/menu.js","static/js/dark.js","static/js/epTheme.js","static/js/mitt.js","static/js/app.js","static/js/set-up.js","static/js/home-filled.js","static/js/admin-line.js","static/js/git-branch-line.js","static/js/index63.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("./index28.js"),["static/js/index28.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/index65.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/index61.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("./index29.js"),["static/js/index29.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("./index30.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("./index31.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("./index32.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("./index33.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("./index34.js"),[]),name:"Menu1-3",meta:{title:$t("menus.hsmenu1-3"),keepAlive:!0}}]},{path:"/nested/menu2",name:"Menu2",component:()=>__vitePreload(()=>import("./index35.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$1={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 1024"},_hoisted_2$1=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$1=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$1=[_hoisted_2$1,_hoisted_3$1];function render$3(t,r){return openBlock(),createElementBlock("svg",_hoisted_1$1,_hoisted_4$1)}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("./index36.js"),["static/js/index36.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 $=arguments[r];for(var V in $)t[V]=$[V]}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 $(oe,ie,le){if(!(typeof document>"u")){le=assign$3({},r,le),typeof le.expires=="number"&&(le.expires=new Date(Date.now()+le.expires*864e5)),le.expires&&(le.expires=le.expires.toUTCString()),oe=encodeURIComponent(oe).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var ue="";for(var de in le)le[de]&&(ue+="; "+de,le[de]!==!0&&(ue+="="+le[de].split(";")[0]));return document.cookie=oe+"="+t.write(ie,oe)+ue}}function V(oe){if(!(typeof document>"u"||arguments.length&&!oe)){for(var ie=document.cookie?document.cookie.split("; "):[],le={},ue=0;ue<ie.length;ue++){var de=ie[ue].split("="),pe=de.slice(1).join("=");try{var he=decodeURIComponent(de[0]);if(le[he]=t.read(pe,he),oe===he)break}catch{}}return oe?le[oe]:le}}return Object.create({set:$,get:V,remove:function(oe,ie){$(oe,"",assign$3({},ie,{expires:-1}))},withAttributes:function(oe){return init$2(this.converter,assign$3({},this.attributes,oe))},withConverter:function(oe){return init$2(assign$3({},this.converter,oe),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=[];const oe=markRaw({install(ie){setActivePinia(oe),oe._a=ie,ie.provide(piniaSymbol,oe),ie.config.globalProperties.$pinia=oe,V.forEach(le=>$.push(le)),V=[]},use(ie){return!this._a&&!isVue2?V.push(ie):$.push(ie),this},_p:$,_a:null,_e:t,_s:new Map,state:r});return oe}const noop$2=()=>{};function addSubscription(t,r,$,V=noop$2){t.push(r);const oe=()=>{const ie=t.indexOf(r);ie>-1&&(t.splice(ie,1),V())};return!$&&getCurrentScope()&&onScopeDispose(oe),oe}function triggerSubscriptions(t,...r){t.slice().forEach($=>{$(...r)})}const fallbackRunWithContext=t=>t();function mergeReactiveObjects(t,r){t instanceof Map&&r instanceof Map&&r.forEach(($,V)=>t.set(V,$)),t instanceof Set&&r instanceof Set&&r.forEach(t.add,t);for(const $ in r){if(!r.hasOwnProperty($))continue;const V=r[$],oe=t[$];isPlainObject(oe)&&isPlainObject(V)&&t.hasOwnProperty($)&&!isRef(V)&&!isReactive(V)?t[$]=mergeReactiveObjects(oe,V):t[$]=V}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){const{state:oe,actions:ie,getters:le}=r,ue=$.state.value[t];let de;function pe(){ue||($.state.value[t]=oe?oe():{});const he=toRefs($.state.value[t]);return assign$2(he,ie,Object.keys(le||{}).reduce((_e,$e)=>(_e[$e]=markRaw(computed(()=>{setActivePinia($);const Ie=$._s.get(t);return le[$e].call(Ie,Ie)})),_e),{}))}return de=createSetupStore(t,pe,r,$,V,!0),de}function createSetupStore(t,r,$={},V,oe,ie){let le;const ue=assign$2({actions:{}},$),de={deep:!0};let pe,he,_e=[],$e=[],Ie;const Ve=V.state.value[t];!ie&&!Ve&&(V.state.value[t]={}),ref({});let Fe;function Ue(En){let wn;pe=he=!1,typeof En=="function"?(En(V.state.value[t]),wn={type:MutationType.patchFunction,storeId:t,events:Ie}):(mergeReactiveObjects(V.state.value[t],En),wn={type:MutationType.patchObject,payload:En,storeId:t,events:Ie});const $n=Fe=Symbol();nextTick().then(()=>{Fe===$n&&(pe=!0)}),he=!0,triggerSubscriptions(_e,wn,V.state.value[t])}const qe=ie?function(){const{state:wn}=$,$n=wn?wn():{};this.$patch(Tn=>{assign$2(Tn,$n)})}:noop$2;function Et(){le.stop(),_e=[],$e=[],V._s.delete(t)}function Lt(En,wn){return function(){setActivePinia(V);const $n=Array.from(arguments),Tn=[],xn=[];function An(Bn){Tn.push(Bn)}function Mn(Bn){xn.push(Bn)}triggerSubscriptions($e,{args:$n,name:En,store:Cn,after:An,onError:Mn});let Vn;try{Vn=wn.apply(this&&this.$id===t?this:Cn,$n)}catch(Bn){throw triggerSubscriptions(xn,Bn),Bn}return Vn instanceof Promise?Vn.then(Bn=>(triggerSubscriptions(Tn,Bn),Bn)).catch(Bn=>(triggerSubscriptions(xn,Bn),Promise.reject(Bn))):(triggerSubscriptions(Tn,Vn),Vn)}}const hn={_p:V,$id:t,$onAction:addSubscription.bind(null,$e),$patch:Ue,$reset:qe,$subscribe(En,wn={}){const $n=addSubscription(_e,En,wn.detached,()=>Tn()),Tn=le.run(()=>watch(()=>V.state.value[t],xn=>{(wn.flush==="sync"?he:pe)&&En({storeId:t,type:MutationType.direct,events:Ie},xn)},assign$2({},de,wn)));return $n},$dispose:Et},Cn=reactive(hn);V._s.set(t,Cn);const bn=V._a&&V._a.runWithContext||fallbackRunWithContext,Sn=V._e.run(()=>(le=effectScope(),bn(()=>le.run(r))));for(const En in Sn){const wn=Sn[En];if(isRef(wn)&&!isComputed(wn)||isReactive(wn))ie||(Ve&&shouldHydrate(wn)&&(isRef(wn)?wn.value=Ve[En]:mergeReactiveObjects(wn,Ve[En])),V.state.value[t][En]=wn);else if(typeof wn=="function"){const $n=Lt(En,wn);Sn[En]=$n,ue.actions[En]=wn}}return assign$2(Cn,Sn),assign$2(toRaw(Cn),Sn),Object.defineProperty(Cn,"$state",{get:()=>V.state.value[t],set:En=>{Ue(wn=>{assign$2(wn,En)})}}),V._p.forEach(En=>{assign$2(Cn,le.run(()=>En({store:Cn,app:V._a,pinia:V,options:ue})))}),Ve&&ie&&$.hydrate&&$.hydrate(Cn.$state,Ve),pe=!0,he=!0,Cn}function defineStore(t,r,$){let V,oe;const ie=typeof r=="function";typeof t=="string"?(V=t,oe=ie?$:r):(oe=t,V=t.id);function le(ue,de){const pe=hasInjectionContext();return ue=ue||(pe?inject(piniaSymbol,null):null),ue&&setActivePinia(ue),ue=activePinia,ue._s.has(V)||(ie?createSetupStore(V,r,oe,ue):createOptionsStore(V,oe,ue)),ue._s.get(V)}return le.$id=V,le}function storeToRefs(t){{t=toRaw(t);const r={};for(const $ in t){const V=t[$];(isRef(V)||isReactive(V))&&(r[$]=toRef(t,$))}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={},$=Symbol("test"),V=Object($);if(typeof $=="string"||Object.prototype.toString.call($)!=="[object Symbol]"||Object.prototype.toString.call(V)!=="[object Symbol]")return!1;var oe=42;r[$]=oe;for($ 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 ie=Object.getOwnPropertySymbols(r);if(ie.length!==1||ie[0]!==$||!Object.prototype.propertyIsEnumerable.call(r,$))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var le=Object.getOwnPropertyDescriptor(r,$);if(le.value!==oe||le.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 $=this;if(typeof $!="function"||toStr$1.call($)!==funcType)throw new TypeError(ERROR_MESSAGE+$);for(var V=slice$1.call(arguments,1),oe,ie=function(){if(this instanceof oe){var he=$.apply(this,V.concat(slice$1.call(arguments)));return Object(he)===he?he:this}else return $.apply(r,V.concat(slice$1.call(arguments)))},le=Math.max(0,$.length-V.length),ue=[],de=0;de<le;de++)ue.push("$"+de);if(oe=Function("binder","return function ("+ue.join(",")+"){ return binder.apply(this,arguments); }")(ie),$.prototype){var pe=function(){};pe.prototype=$.prototype,oe.prototype=new pe,pe.prototype=null}return oe},implementation=implementation$1,functionBind=Function.prototype.bind||implementation,hasOwnProperty={}.hasOwnProperty,call=Function.prototype.call,src=call.bind?call.bind(hasOwnProperty):function(t,r){return call.call(hasOwnProperty,t,r)},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 $;if(r==="%AsyncFunction%")$=getEvalledConstructor("async function () {}");else if(r==="%GeneratorFunction%")$=getEvalledConstructor("function* () {}");else if(r==="%AsyncGeneratorFunction%")$=getEvalledConstructor("async function* () {}");else if(r==="%AsyncGenerator%"){var V=t("%AsyncGeneratorFunction%");V&&($=V.prototype)}else if(r==="%AsyncIteratorPrototype%"){var oe=t("%AsyncGenerator%");oe&&getProto&&($=getProto(oe.prototype))}return INTRINSICS[r]=$,$},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 $=$strSlice(r,0,1),V=$strSlice(r,-1);if($==="%"&&V!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if(V==="%"&&$!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var oe=[];return $replace$1(r,rePropName,function(ie,le,ue,de){oe[oe.length]=ue?$replace$1(de,reEscapeChar,"$1"):le||ie}),oe},getBaseIntrinsic=function(r,$){var V=r,oe;if(hasOwn$2(LEGACY_ALIASES,V)&&(oe=LEGACY_ALIASES[V],V="%"+oe[0]+"%"),hasOwn$2(INTRINSICS,V)){var ie=INTRINSICS[V];if(ie===needsEval&&(ie=doEval(V)),typeof ie>"u"&&!$)throw new $TypeError$1("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:oe,name:V,value:ie}}throw new $SyntaxError("intrinsic "+r+" does not exist!")},getIntrinsic=function(r,$){if(typeof r!="string"||r.length===0)throw new $TypeError$1("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof $!="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 V=stringToPath(r),oe=V.length>0?V[0]:"",ie=getBaseIntrinsic("%"+oe+"%",$),le=ie.name,ue=ie.value,de=!1,pe=ie.alias;pe&&(oe=pe[0],$spliceApply(V,$concat$1([0,1],pe)));for(var he=1,_e=!0;he<V.length;he+=1){var $e=V[he],Ie=$strSlice($e,0,1),Ve=$strSlice($e,-1);if((Ie==='"'||Ie==="'"||Ie==="`"||Ve==='"'||Ve==="'"||Ve==="`")&&Ie!==Ve)throw new $SyntaxError("property names with quotes must have matching quotes");if(($e==="constructor"||!_e)&&(de=!0),oe+="."+$e,le="%"+oe+"%",hasOwn$2(INTRINSICS,le))ue=INTRINSICS[le];else if(ue!=null){if(!($e in ue)){if(!$)throw new $TypeError$1("base intrinsic for "+r+" exists, but the property is not available.");return}if($gOPD&&he+1>=V.length){var Fe=$gOPD(ue,$e);_e=!!Fe,_e&&"get"in Fe&&!("originalValue"in Fe.get)?ue=Fe.get:ue=ue[$e]}else _e=hasOwn$2(ue,$e),ue=ue[$e];_e&&!de&&(INTRINSICS[le]=ue)}}return ue},callBind$1={exports:{}};(function(t){var r=functionBind,$=getIntrinsic,V=$("%Function.prototype.apply%"),oe=$("%Function.prototype.call%"),ie=$("%Reflect.apply%",!0)||r.call(oe,V),le=$("%Object.getOwnPropertyDescriptor%",!0),ue=$("%Object.defineProperty%",!0),de=$("%Math.max%");if(ue)try{ue({},"a",{value:1})}catch{ue=null}t.exports=function(_e){var $e=ie(r,oe,arguments);if(le&&ue){var Ie=le($e,"length");Ie.configurable&&ue($e,"length",{value:1+de(0,_e.length-(arguments.length-1))})}return $e};var pe=function(){return ie(r,V,arguments)};ue?ue(t.exports,"apply",{value:pe}):t.exports.apply=pe})(callBind$1);var callBindExports=callBind$1.exports,GetIntrinsic$1=getIntrinsic,callBind=callBindExports,$indexOf=callBind(GetIntrinsic$1("String.prototype.indexOf")),callBound$1=function(r,$){var V=GetIntrinsic$1(r,!!$);return typeof V=="function"&&$indexOf(r,".prototype.")>-1?callBind(V):V};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 $=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var V=t<0?-$floor(-t):$floor(t);if(V!==t){var oe=String(V),ie=$slice.call(r,oe.length+1);return $replace.call(oe,$,"$&_")+"."+$replace.call($replace.call(ie,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(r,$,"$&_")}var utilInspect=require$$0,inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null,objectInspect=function t(r,$,V,oe){var ie=$||{};if(has$4(ie,"quoteStyle")&&ie.quoteStyle!=="single"&&ie.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has$4(ie,"maxStringLength")&&(typeof ie.maxStringLength=="number"?ie.maxStringLength<0&&ie.maxStringLength!==1/0:ie.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var le=has$4(ie,"customInspect")?ie.customInspect:!0;if(typeof le!="boolean"&&le!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has$4(ie,"indent")&&ie.indent!==null&&ie.indent!==" "&&!(parseInt(ie.indent,10)===ie.indent&&ie.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has$4(ie,"numericSeparator")&&typeof ie.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ue=ie.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,ie);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var de=String(r);return ue?addNumericSeparator(r,de):de}if(typeof r=="bigint"){var pe=String(r)+"n";return ue?addNumericSeparator(r,pe):pe}var he=typeof ie.depth>"u"?5:ie.depth;if(typeof V>"u"&&(V=0),V>=he&&he>0&&typeof r=="object")return isArray$7(r)?"[Array]":"[Object]";var _e=getIndent(ie,V);if(typeof oe>"u")oe=[];else if(indexOf$1(oe,r)>=0)return"[Circular]";function $e(An,Mn,Vn){if(Mn&&(oe=$arrSlice.call(oe),oe.push(Mn)),Vn){var Bn={depth:ie.depth};return has$4(ie,"quoteStyle")&&(Bn.quoteStyle=ie.quoteStyle),t(An,Bn,V+1,oe)}return t(An,ie,V+1,oe)}if(typeof r=="function"&&!isRegExp$2(r)){var Ie=nameOf(r),Ve=arrObjKeys(r,$e);return"[Function"+(Ie?": "+Ie:" (anonymous)")+"]"+(Ve.length>0?" { "+$join.call(Ve,", ")+" }":"")}if(isSymbol(r)){var Fe=hasShammedSymbols?$replace.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(r);return typeof r=="object"&&!hasShammedSymbols?markBoxed(Fe):Fe}if(isElement(r)){for(var Ue="<"+$toLowerCase.call(String(r.nodeName)),qe=r.attributes||[],Et=0;Et<qe.length;Et++)Ue+=" "+qe[Et].name+"="+wrapQuotes(quote(qe[Et].value),"double",ie);return Ue+=">",r.childNodes&&r.childNodes.length&&(Ue+="..."),Ue+="</"+$toLowerCase.call(String(r.nodeName))+">",Ue}if(isArray$7(r)){if(r.length===0)return"[]";var Lt=arrObjKeys(r,$e);return _e&&!singleLineValues(Lt)?"["+indentedJoin(Lt,_e)+"]":"[ "+$join.call(Lt,", ")+" ]"}if(isError(r)){var hn=arrObjKeys(r,$e);return!("cause"in Error.prototype)&&"cause"in r&&!isEnumerable.call(r,"cause")?"{ ["+String(r)+"] "+$join.call($concat.call("[cause]: "+$e(r.cause),hn),", ")+" }":hn.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+$join.call(hn,", ")+" }"}if(typeof r=="object"&&le){if(inspectSymbol&&typeof r[inspectSymbol]=="function"&&utilInspect)return utilInspect(r,{depth:he-V});if(le!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(isMap(r)){var Cn=[];return mapForEach&&mapForEach.call(r,function(An,Mn){Cn.push($e(Mn,r,!0)+" => "+$e(An,r))}),collectionOf("Map",mapSize.call(r),Cn,_e)}if(isSet(r)){var bn=[];return setForEach&&setForEach.call(r,function(An){bn.push($e(An,r))}),collectionOf("Set",setSize.call(r),bn,_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($e(Number(r)));if(isBigInt(r))return markBoxed($e(bigIntValueOf.call(r)));if(isBoolean(r))return markBoxed(booleanValueOf.call(r));if(isString$2(r))return markBoxed($e(String(r)));if(!isDate(r)&&!isRegExp$2(r)){var Sn=arrObjKeys(r,$e),En=gPO?gPO(r)===Object.prototype:r instanceof Object||r.constructor===Object,wn=r instanceof Object?"":"null prototype",$n=!En&&toStringTag&&Object(r)===r&&toStringTag in r?$slice.call(toStr(r),8,-1):wn?"Object":"",Tn=En||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",xn=Tn+($n||wn?"["+$join.call($concat.call([],$n||[],wn||[]),": ")+"] ":"");return Sn.length===0?xn+"{}":_e?xn+"{"+indentedJoin(Sn,_e)+"}":xn+"{ "+$join.call(Sn,", ")+" }"}return String(r)};function wrapQuotes(t,r,$){var V=($.quoteStyle||r)==="double"?'"':"'";return V+t+V}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 $=0,V=t.length;$<V;$++)if(t[$]===r)return $;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 $=t.length-r.maxStringLength,V="... "+$+" more character"+($>1?"s":"");return inspectString($slice.call(t,0,r.maxStringLength),r)+V}var oe=$replace.call($replace.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(oe,"single",r)}function lowbyte(t){var r=t.charCodeAt(0),$={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return $?"\\"+$:"\\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){var oe=V?indentedJoin($,V):$join.call($,", ");return t+" ("+r+") {"+oe+"}"}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 $;if(t.indent===" ")$=" ";else if(typeof t.indent=="number"&&t.indent>0)$=$join.call(Array(t.indent+1)," ");else return null;return{base:$,prev:$join.call(Array(r+1),$)}}function indentedJoin(t,r){if(t.length===0)return"";var $=`
|
||
`+r.prev+r.base;return $+$join.call(t,","+$)+`
|
||
`+r.prev}function arrObjKeys(t,r){var $=isArray$7(t),V=[];if($){V.length=t.length;for(var oe=0;oe<t.length;oe++)V[oe]=has$4(t,oe)?r(t[oe],t):""}var ie=typeof gOPS=="function"?gOPS(t):[],le;if(hasShammedSymbols){le={};for(var ue=0;ue<ie.length;ue++)le["$"+ie[ue]]=ie[ue]}for(var de in t)has$4(t,de)&&($&&String(Number(de))===de&&de<t.length||hasShammedSymbols&&le["$"+de]instanceof Symbol||($test.call(/[^\w$]/,de)?V.push(r(de,t)+": "+r(t[de],t)):V.push(de+": "+r(t[de],t))));if(typeof gOPS=="function")for(var pe=0;pe<ie.length;pe++)isEnumerable.call(t,ie[pe])&&V.push("["+r(ie[pe])+"]: "+r(t[ie[pe]],t));return V}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 $=t,V;(V=$.next)!==null;$=V)if(V.key===r)return $.next=V.next,V.next=t.next,t.next=V,V},listGet=function(t,r){var $=listGetNode(t,r);return $&&$.value},listSet=function(t,r,$){var V=listGetNode(t,r);V?V.value=$:t.next={key:r,next:t.next,value:$}},listHas=function(t,r){return!!listGetNode(t,r)},sideChannel=function(){var r,$,V,oe={assert:function(ie){if(!oe.has(ie))throw new $TypeError("Side channel does not contain "+inspect(ie))},get:function(ie){if($WeakMap&&ie&&(typeof ie=="object"||typeof ie=="function")){if(r)return $weakMapGet(r,ie)}else if($Map){if($)return $mapGet($,ie)}else if(V)return listGet(V,ie)},has:function(ie){if($WeakMap&&ie&&(typeof ie=="object"||typeof ie=="function")){if(r)return $weakMapHas(r,ie)}else if($Map){if($)return $mapHas($,ie)}else if(V)return listHas(V,ie);return!1},set:function(ie,le){$WeakMap&&ie&&(typeof ie=="object"||typeof ie=="function")?(r||(r=new $WeakMap),$weakMapSet(r,ie,le)):$Map?($||($=new $Map),$mapSet($,ie,le)):(V||(V={key:{},next:null}),listSet(V,ie,le))}};return oe},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 $=r.pop(),V=$.obj[$.prop];if(isArray$6(V)){for(var oe=[],ie=0;ie<V.length;++ie)typeof V[ie]<"u"&&oe.push(V[ie]);$.obj[$.prop]=oe}}},arrayToObject=function(r,$){for(var V=$&&$.plainObjects?Object.create(null):{},oe=0;oe<r.length;++oe)typeof r[oe]<"u"&&(V[oe]=r[oe]);return V},merge$1=function t(r,$,V){if(!$)return r;if(typeof $!="object"){if(isArray$6(r))r.push($);else if(r&&typeof r=="object")(V&&(V.plainObjects||V.allowPrototypes)||!has$3.call(Object.prototype,$))&&(r[$]=!0);else return[r,$];return r}if(!r||typeof r!="object")return[r].concat($);var oe=r;return isArray$6(r)&&!isArray$6($)&&(oe=arrayToObject(r,V)),isArray$6(r)&&isArray$6($)?($.forEach(function(ie,le){if(has$3.call(r,le)){var ue=r[le];ue&&typeof ue=="object"&&ie&&typeof ie=="object"?r[le]=t(ue,ie,V):r.push(ie)}else r[le]=ie}),r):Object.keys($).reduce(function(ie,le){var ue=$[le];return has$3.call(ie,le)?ie[le]=t(ie[le],ue,V):ie[le]=ue,ie},oe)},assign$1=function(r,$){return Object.keys($).reduce(function(V,oe){return V[oe]=$[oe],V},r)},decode$2=function(t,r,$){var V=t.replace(/\+/g," ");if($==="iso-8859-1")return V.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(V)}catch{return V}},encode=function(r,$,V,oe,ie){if(r.length===0)return r;var le=r;if(typeof r=="symbol"?le=Symbol.prototype.toString.call(r):typeof r!="string"&&(le=String(r)),V==="iso-8859-1")return escape(le).replace(/%u[0-9a-f]{4}/gi,function(he){return"%26%23"+parseInt(he.slice(2),16)+"%3B"});for(var ue="",de=0;de<le.length;++de){var pe=le.charCodeAt(de);if(pe===45||pe===46||pe===95||pe===126||pe>=48&&pe<=57||pe>=65&&pe<=90||pe>=97&&pe<=122||ie===formats$2.RFC1738&&(pe===40||pe===41)){ue+=le.charAt(de);continue}if(pe<128){ue=ue+hexTable[pe];continue}if(pe<2048){ue=ue+(hexTable[192|pe>>6]+hexTable[128|pe&63]);continue}if(pe<55296||pe>=57344){ue=ue+(hexTable[224|pe>>12]+hexTable[128|pe>>6&63]+hexTable[128|pe&63]);continue}de+=1,pe=65536+((pe&1023)<<10|le.charCodeAt(de)&1023),ue+=hexTable[240|pe>>18]+hexTable[128|pe>>12&63]+hexTable[128|pe>>6&63]+hexTable[128|pe&63]}return ue},compact=function(r){for(var $=[{obj:{o:r},prop:"o"}],V=[],oe=0;oe<$.length;++oe)for(var ie=$[oe],le=ie.obj[ie.prop],ue=Object.keys(le),de=0;de<ue.length;++de){var pe=ue[de],he=le[pe];typeof he=="object"&&he!==null&&V.indexOf(he)===-1&&($.push({obj:le,prop:pe}),V.push(he))}return compactQueue($),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,$){return[].concat(r,$)},maybeMap=function(r,$){if(isArray$6(r)){for(var V=[],oe=0;oe<r.length;oe+=1)V.push($(r[oe]));return V}return $(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,$){return r+"["+$+"]"},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){for(var qe=r,Et=Ue,Lt=0,hn=!1;(Et=Et.get(sentinel))!==void 0&&!hn;){var Cn=Et.get(r);if(Lt+=1,typeof Cn<"u"){if(Cn===Lt)throw new RangeError("Cyclic object value");hn=!0}typeof Et.get(sentinel)>"u"&&(Lt=0)}if(typeof de=="function"?qe=de($,qe):qe instanceof Date?qe=_e(qe):V==="comma"&&isArray$5(qe)&&(qe=utils$1.maybeMap(qe,function(Bn){return Bn instanceof Date?_e(Bn):Bn})),qe===null){if(ie)return ue&&!Ve?ue($,defaults$2.encoder,Fe,"key",$e):$;qe=""}if(isNonNullishPrimitive(qe)||utils$1.isBuffer(qe)){if(ue){var bn=Ve?$:ue($,defaults$2.encoder,Fe,"key",$e);return[Ie(bn)+"="+Ie(ue(qe,defaults$2.encoder,Fe,"value",$e))]}return[Ie($)+"="+Ie(String(qe))]}var Sn=[];if(typeof qe>"u")return Sn;var En;if(V==="comma"&&isArray$5(qe))Ve&&ue&&(qe=utils$1.maybeMap(qe,ue)),En=[{value:qe.length>0?qe.join(",")||null:void 0}];else if(isArray$5(de))En=de;else{var wn=Object.keys(qe);En=pe?wn.sort(pe):wn}for(var $n=oe&&isArray$5(qe)&&qe.length===1?$+"[]":$,Tn=0;Tn<En.length;++Tn){var xn=En[Tn],An=typeof xn=="object"&&typeof xn.value<"u"?xn.value:qe[xn];if(!(le&&An===null)){var Mn=isArray$5(qe)?typeof V=="function"?V($n,xn):$n:$n+(he?"."+xn:"["+xn+"]");Ue.set(r,Lt);var Vn=getSideChannel();Vn.set(sentinel,Ue),pushToArray(Sn,t(An,Mn,V,oe,ie,le,V==="comma"&&Ve&&isArray$5(qe)?null:ue,de,pe,he,_e,$e,Ie,Ve,Fe,Vn))}}return Sn},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 $=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 V=formats$1.default;if(typeof r.format<"u"){if(!has$2.call(formats$1.formatters,r.format))throw new TypeError("Unknown format option provided.");V=r.format}var oe=formats$1.formatters[V],ie=defaults$2.filter;return(typeof r.filter=="function"||isArray$5(r.filter))&&(ie=r.filter),{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:defaults$2.addQueryPrefix,allowDots:typeof r.allowDots>"u"?defaults$2.allowDots:!!r.allowDots,charset:$,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:ie,format:V,formatter:oe,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 $=t,V=normalizeStringifyOptions(r),oe,ie;typeof V.filter=="function"?(ie=V.filter,$=ie("",$)):isArray$5(V.filter)&&(ie=V.filter,oe=ie);var le=[];if(typeof $!="object"||$===null)return"";var ue;r&&r.arrayFormat in arrayPrefixGenerators?ue=r.arrayFormat:r&&"indices"in r?ue=r.indices?"indices":"repeat":ue="indices";var de=arrayPrefixGenerators[ue];if(r&&"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var pe=de==="comma"&&r&&r.commaRoundTrip;oe||(oe=Object.keys($)),V.sort&&oe.sort(V.sort);for(var he=getSideChannel(),_e=0;_e<oe.length;++_e){var $e=oe[_e];V.skipNulls&&$[$e]===null||pushToArray(le,stringify$2($[$e],$e,de,pe,V.strictNullHandling,V.skipNulls,V.encode?V.encoder:null,V.filter,V.sort,V.allowDots,V.serializeDate,V.format,V.formatter,V.encodeValuesOnly,V.charset,he))}var Ie=le.join(V.delimiter),Ve=V.addQueryPrefix===!0?"?":"";return V.charsetSentinel&&(V.charset==="iso-8859-1"?Ve+="utf8=%26%2310003%3B&":Ve+="utf8=%E2%9C%93&"),Ie.length>0?Ve+Ie:""},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,$){return String.fromCharCode(parseInt($,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,$){var V={__proto__:null},oe=$.ignoreQueryPrefix?r.replace(/^\?/,""):r,ie=$.parameterLimit===1/0?void 0:$.parameterLimit,le=oe.split($.delimiter,ie),ue=-1,de,pe=$.charset;if($.charsetSentinel)for(de=0;de<le.length;++de)le[de].indexOf("utf8=")===0&&(le[de]===charsetSentinel?pe="utf-8":le[de]===isoSentinel&&(pe="iso-8859-1"),ue=de,de=le.length);for(de=0;de<le.length;++de)if(de!==ue){var he=le[de],_e=he.indexOf("]="),$e=_e===-1?he.indexOf("="):_e+1,Ie,Ve;$e===-1?(Ie=$.decoder(he,defaults$1.decoder,pe,"key"),Ve=$.strictNullHandling?null:""):(Ie=$.decoder(he.slice(0,$e),defaults$1.decoder,pe,"key"),Ve=utils.maybeMap(parseArrayValue(he.slice($e+1),$),function(Fe){return $.decoder(Fe,defaults$1.decoder,pe,"value")})),Ve&&$.interpretNumericEntities&&pe==="iso-8859-1"&&(Ve=interpretNumericEntities(Ve)),he.indexOf("[]=")>-1&&(Ve=isArray$4(Ve)?[Ve]:Ve),has$1.call(V,Ie)?V[Ie]=utils.combine(V[Ie],Ve):V[Ie]=Ve}return V},parseObject=function(t,r,$,V){for(var oe=V?r:parseArrayValue(r,$),ie=t.length-1;ie>=0;--ie){var le,ue=t[ie];if(ue==="[]"&&$.parseArrays)le=[].concat(oe);else{le=$.plainObjects?Object.create(null):{};var de=ue.charAt(0)==="["&&ue.charAt(ue.length-1)==="]"?ue.slice(1,-1):ue,pe=parseInt(de,10);!$.parseArrays&&de===""?le={0:oe}:!isNaN(pe)&&ue!==de&&String(pe)===de&&pe>=0&&$.parseArrays&&pe<=$.arrayLimit?(le=[],le[pe]=oe):de!=="__proto__"&&(le[de]=oe)}oe=le}return oe},parseKeys=function(r,$,V,oe){if(r){var ie=V.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,le=/(\[[^[\]]*])/,ue=/(\[[^[\]]*])/g,de=V.depth>0&&le.exec(ie),pe=de?ie.slice(0,de.index):ie,he=[];if(pe){if(!V.plainObjects&&has$1.call(Object.prototype,pe)&&!V.allowPrototypes)return;he.push(pe)}for(var _e=0;V.depth>0&&(de=ue.exec(ie))!==null&&_e<V.depth;){if(_e+=1,!V.plainObjects&&has$1.call(Object.prototype,de[1].slice(1,-1))&&!V.allowPrototypes)return;he.push(de[1])}return de&&he.push("["+ie.slice(de.index)+"]"),parseObject(he,$,V,oe)}},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 $=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:$,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 $=normalizeParseOptions(r);if(t===""||t===null||typeof t>"u")return $.plainObjects?Object.create(null):{};for(var V=typeof t=="string"?parseValues(t,$):t,oe=$.plainObjects?Object.create(null):{},ie=Object.keys(V),le=0;le<ie.length;++le){var ue=ie[le],de=parseKeys(ue,V[ue],$,typeof t=="string");oe=utils.merge(oe,de,$)}return $.allowSparse===!0?oe:utils.compact(oe)},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){t.exports=V()})(commonjsGlobal,function(){var $={};$.version="0.2.0";var 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>'};$.configure=function(Ve){var Fe,Ue;for(Fe in Ve)Ue=Ve[Fe],Ue!==void 0&&Ve.hasOwnProperty(Fe)&&(V[Fe]=Ue);return this},$.status=null,$.set=function(Ve){var Fe=$.isStarted();Ve=oe(Ve,V.minimum,1),$.status=Ve===1?null:Ve;var Ue=$.render(!Fe),qe=Ue.querySelector(V.barSelector),Et=V.speed,Lt=V.easing;return Ue.offsetWidth,ue(function(hn){V.positionUsing===""&&(V.positionUsing=$.getPositioningCSS()),de(qe,le(Ve,Et,Lt)),Ve===1?(de(Ue,{transition:"none",opacity:1}),Ue.offsetWidth,setTimeout(function(){de(Ue,{transition:"all "+Et+"ms linear",opacity:0}),setTimeout(function(){$.remove(),hn()},Et)},Et)):setTimeout(hn,Et)}),this},$.isStarted=function(){return typeof $.status=="number"},$.start=function(){$.status||$.set(0);var Ve=function(){setTimeout(function(){$.status&&($.trickle(),Ve())},V.trickleSpeed)};return V.trickle&&Ve(),this},$.done=function(Ve){return!Ve&&!$.status?this:$.inc(.3+.5*Math.random()).set(1)},$.inc=function(Ve){var Fe=$.status;return Fe?(typeof Ve!="number"&&(Ve=(1-Fe)*oe(Math.random()*Fe,.1,.95)),Fe=oe(Fe+Ve,0,.994),$.set(Fe)):$.start()},$.trickle=function(){return $.inc(Math.random()*V.trickleRate)},function(){var Ve=0,Fe=0;$.promise=function(Ue){return!Ue||Ue.state()==="resolved"?this:(Fe===0&&$.start(),Ve++,Fe++,Ue.always(function(){Fe--,Fe===0?(Ve=0,$.done()):$.set((Ve-Fe)/Ve)}),this)}}(),$.render=function(Ve){if($.isRendered())return document.getElementById("nprogress");he(document.documentElement,"nprogress-busy");var Fe=document.createElement("div");Fe.id="nprogress",Fe.innerHTML=V.template;var Ue=Fe.querySelector(V.barSelector),qe=Ve?"-100":ie($.status||0),Et=document.querySelector(V.parent),Lt;return de(Ue,{transition:"all 0 linear",transform:"translate3d("+qe+"%,0,0)"}),V.showSpinner||(Lt=Fe.querySelector(V.spinnerSelector),Lt&&Ie(Lt)),Et!=document.body&&he(Et,"nprogress-custom-parent"),Et.appendChild(Fe),Fe},$.remove=function(){_e(document.documentElement,"nprogress-busy"),_e(document.querySelector(V.parent),"nprogress-custom-parent");var Ve=document.getElementById("nprogress");Ve&&Ie(Ve)},$.isRendered=function(){return!!document.getElementById("nprogress")},$.getPositioningCSS=function(){var Ve=document.body.style,Fe="WebkitTransform"in Ve?"Webkit":"MozTransform"in Ve?"Moz":"msTransform"in Ve?"ms":"OTransform"in Ve?"O":"";return Fe+"Perspective"in Ve?"translate3d":Fe+"Transform"in Ve?"translate":"margin"};function oe(Ve,Fe,Ue){return Ve<Fe?Fe:Ve>Ue?Ue:Ve}function ie(Ve){return(-1+Ve)*100}function le(Ve,Fe,Ue){var qe;return V.positionUsing==="translate3d"?qe={transform:"translate3d("+ie(Ve)+"%,0,0)"}:V.positionUsing==="translate"?qe={transform:"translate("+ie(Ve)+"%,0)"}:qe={"margin-left":ie(Ve)+"%"},qe.transition="all "+Fe+"ms "+Ue,qe}var ue=function(){var Ve=[];function Fe(){var Ue=Ve.shift();Ue&&Ue(Fe)}return function(Ue){Ve.push(Ue),Ve.length==1&&Fe()}}(),de=function(){var Ve=["Webkit","O","Moz","ms"],Fe={};function Ue(hn){return hn.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(Cn,bn){return bn.toUpperCase()})}function qe(hn){var Cn=document.body.style;if(hn in Cn)return hn;for(var bn=Ve.length,Sn=hn.charAt(0).toUpperCase()+hn.slice(1),En;bn--;)if(En=Ve[bn]+Sn,En in Cn)return En;return hn}function Et(hn){return hn=Ue(hn),Fe[hn]||(Fe[hn]=qe(hn))}function Lt(hn,Cn,bn){Cn=Et(Cn),hn.style[Cn]=bn}return function(hn,Cn){var bn=arguments,Sn,En;if(bn.length==2)for(Sn in Cn)En=Cn[Sn],En!==void 0&&Cn.hasOwnProperty(Sn)&&Lt(hn,Sn,En);else Lt(hn,bn[1],bn[2])}}();function pe(Ve,Fe){var Ue=typeof Ve=="string"?Ve:$e(Ve);return Ue.indexOf(" "+Fe+" ")>=0}function he(Ve,Fe){var Ue=$e(Ve),qe=Ue+Fe;pe(Ue,Fe)||(Ve.className=qe.substring(1))}function _e(Ve,Fe){var Ue=$e(Ve),qe;pe(Ve,Fe)&&(qe=Ue.replace(" "+Fe+" "," "),Ve.className=qe.substring(1,qe.length-1))}function $e(Ve){return(" "+(Ve.className||"")+" ").replace(/\s+/gi," ")}function Ie(Ve){Ve&&Ve.parentNode&&Ve.parentNode.removeChild(Ve)}return $})})(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}},Xr=class Xr{constructor(){this.httpInterceptorsRequest(),this.httpInterceptorsResponse()}static retryOriginalRequest(r){return new Promise($=>{Xr.requests.push(V=>{r.headers.Authorization=formatToken(V),$(r)})})}httpInterceptorsRequest(){Xr.axiosInstance.interceptors.request.use(async r=>(NProgress.start(),typeof r.beforeRequestCallback=="function"?(r.beforeRequestCallback(r),r):Xr.initConfig.beforeRequestCallback?(Xr.initConfig.beforeRequestCallback(r),r):["/refresh-token","/login"].find(V=>V===r.url)?r:new Promise(V=>{const oe=getToken();if(oe){const ie=new Date().getTime();parseInt(oe.expires)-ie<=0?(Xr.isRefreshing||(Xr.isRefreshing=!0,useUserStoreHook().handRefreshToken({refreshToken:oe.refreshToken}).then(ue=>{const de=ue.data.accessToken;r.headers.Authorization=formatToken(de),Xr.requests.forEach(pe=>pe(de)),Xr.requests=[]}).finally(()=>{Xr.isRefreshing=!1})),V(Xr.retryOriginalRequest(r))):(r.headers.Authorization=formatToken(oe.accessToken),V(r))}else V(r)})),r=>Promise.reject(r))}httpInterceptorsResponse(){Xr.axiosInstance.interceptors.response.use($=>{const V=$.config;return NProgress.done(),typeof V.beforeResponseCallback=="function"?(V.beforeResponseCallback($),$.data):(Xr.initConfig.beforeResponseCallback&&Xr.initConfig.beforeResponseCallback($),$.data)},$=>{const V=$;return V.isCancelRequest=axios$1.isCancel(V),NProgress.done(),Promise.reject(V)})}request(r,$,V,oe){const ie={method:r,url:$,...V,...oe};return new Promise((le,ue)=>{Xr.axiosInstance.request(ie).then(de=>{le(de)}).catch(de=>{ue(de)})})}post(r,$,V){return this.request("post",r,$,V)}get(r,$,V){return this.request("get",r,$,V)}};ao(Xr,"requests",[]),ao(Xr,"isRefreshing",!1),ao(Xr,"initConfig",{}),ao(Xr,"axiosInstance",axios$1.create(defaultConfig$1));let PureHttp=Xr;const http=new PureHttp,getLogin=t=>http.request("post","/login",{data:t}),refreshTokenApi=t=>http.request("post","/refresh-token",{data:t}),useMultiTagsStore=defineStore({id:"pure-multiTags",state:()=>{var t,r;return{multiTags:(t=rr().getItem(`${responsiveStorageNameSpace()}configure`))!=null&&t.multiTagsCache?rr().getItem(`${responsiveStorageNameSpace()}tags`):[...routerArrays],multiTagsCache:(r=rr().getItem(`${responsiveStorageNameSpace()}configure`))==null?void 0:r.multiTagsCache}},getters:{getMultiTagsCache(t){return t.multiTagsCache}},actions:{multiTagsCacheChange(t){this.multiTagsCache=t,t?rr().setItem(`${responsiveStorageNameSpace()}tags`,this.multiTags):rr().removeItem(`${responsiveStorageNameSpace()}tags`)},tagsCache(t){this.getMultiTagsCache&&rr().setItem(`${responsiveStorageNameSpace()}tags`,t)},handleTags(t,r,$){var V,oe,ie,le,ue;switch(t){case"equal":this.multiTags=r,this.tagsCache(this.multiTags);break;case"push":{const de=r;if((V=de==null?void 0:de.meta)!=null&&V.hiddenTag||pt(de==null?void 0:de.name)||((oe=de==null?void 0:de.meta)==null?void 0:oe.title.length)===0||xe$1((ie=de==null?void 0:de.meta)==null?void 0:ie.showLink)&&!((le=de==null?void 0:de.meta)!=null&&le.showLink))return;const pe=de.path,he=this.multiTags.some(Ve=>Ve.path===pe),_e=this.multiTags.some(Ve=>Xt(Ve==null?void 0:Ve.query,de==null?void 0:de.query)),$e=this.multiTags.some(Ve=>Xt(Ve==null?void 0:Ve.params,de==null?void 0:de.params));if(he&&_e&&$e)return;const Ie=((ue=de==null?void 0:de.meta)==null?void 0:ue.dynamicLevel)??-1;if(Ie>0&&this.multiTags.filter(Ve=>(Ve==null?void 0:Ve.path)===pe).length>=Ie){const Ve=this.multiTags.findIndex(Fe=>(Fe==null?void 0:Fe.path)===pe);Ve!==-1&&this.multiTags.splice(Ve,1)}this.multiTags.push(r),this.tagsCache(this.multiTags)}break;case"splice":if($)this.multiTags.splice($==null?void 0:$.startIndex,$==null?void 0:$.length);else{const de=this.multiTags.findIndex(pe=>pe.path===r);if(de===-1)return;this.multiTags.splice(de,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(userKey))==null?void 0:t.username)??"",roles:((r=rr().getItem(userKey))==null?void 0:r.roles)??[],verifyCode:"",currentPage:0,isRemembered:!1,loginDay:7}},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},SET_ISREMEMBERED(t){this.isRemembered=t},SET_LOGINDAY(t){this.loginDay=Number(t)},async loginByUsername(t){return new Promise((r,$)=>{getLogin(t).then(V=>{V&&(setToken(V.data),r(V))}).catch(V=>{$(V)})})},logOut(){this.username="",this.roles=[],removeToken(),useMultiTagsStoreHook().handleTags("equal",[...routerArrays]),resetRouter(),router.push("/login")},async handRefreshToken(t){return new Promise((r,$)=>{refreshTokenApi(t).then(V=>{V&&(setToken(V.data),r(V))}).catch(V=>{$(V)})})}}});function useUserStoreHook(){return useUserStore(store)}const userKey="user-info",TokenKey="authorized-token",multipleTabsKey="multiple-tabs";function getToken(){return api.get(TokenKey)?JSON.parse(api.get(TokenKey)):rr().getItem(userKey)}function setToken(t){var de,pe;let r=0;const{accessToken:$,refreshToken:V}=t,{isRemembered:oe,loginDay:ie}=useUserStoreHook();r=new Date(t.expires).getTime();const le=JSON.stringify({accessToken:$,expires:r});r>0?api.set(TokenKey,le,{expires:(r-Date.now())/864e5}):api.set(TokenKey,le),api.set(multipleTabsKey,"true",oe?{expires:ie}:{});function ue(he,_e){useUserStoreHook().SET_USERNAME(he),useUserStoreHook().SET_ROLES(_e),rr().setItem(userKey,{refreshToken:V,expires:r,username:he,roles:_e})}if(t.username&&t.roles){const{username:he,roles:_e}=t;ue(he,_e)}else{const he=((de=rr().getItem(userKey))==null?void 0:de.username)??"",_e=((pe=rr().getItem(userKey))==null?void 0:pe.roles)??[];ue(he,_e)}}function removeToken(){api.remove(TokenKey),api.remove(multipleTabsKey),rr().removeItem(userKey)}const formatToken=t=>"Bearer "+t;(function(){const t=yr(location.href),r=["username","roles","accessToken"],$=r.length;if(Object.keys(t).length!==$)return;let V=[],oe=0;for(;oe<$;)Object.keys(t).includes(r[oe])&&V.length<=$?V.push(r[oe]):V=[],oe++;if(V.length===$){removeToken(),setToken(t),delete t.roles,delete t.accessToken;const ie=`${location.origin}${location.pathname}${Vt(location.hash,"?")}?${JSON.stringify(t).replace(/["{}]/g,"").replace(/:/g,"=").replace(/,/g,"&")}`;window.location.replace(ie)}else return})();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 $ of t)$.children&&$.children.length>0&&extractPathList($.children),r.push($.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]of t.entries())V.children&&V.children.length===1&&delete V.children,V.id=$,V.parentId=r.length?r[r.length-1]:null,V.pathList=[...r,V.id],V.uniqueId=V.pathList.length>1?V.pathList.join("-"):V.pathList[0],V.children&&V.children.length>0&&deleteChildren(V.children,V.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]of t.entries())V.id=$,V.parentId=r.length?r[r.length-1]:null,V.pathList=[...r,V.id],V.children&&V.children.length>0&&buildHierarchyTree(V.children,V.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 $=t.find(oe=>oe.uniqueId===r);if($)return $;const V=t.filter(oe=>oe.children).map(oe=>oe.children).flat(1);return getNodeByUniqueId(V,r)},appendFieldByUniqueId=(t,r,$)=>{if(!Array.isArray(t))return console.warn("menuTree must be an array"),[];if(!t||t.length===0)return[];for(const V of t){const oe=V.children&&V.children.length>0;V.uniqueId===r&&Object.prototype.toString.call($)==="[object Object]"&&Object.assign(V,$),oe&&appendFieldByUniqueId(V.children,r,$)}return t},handleTree=(t,r,$,V)=>{if(!Array.isArray(t))return console.warn("data must be an array"),[];const oe={id:r||"id",parentId:$||"parentId",childrenList:V||"children"},ie={},le={},ue=[];for(const pe of t){const he=pe[oe.parentId];ie[he]==null&&(ie[he]=[]),le[pe[oe.id]]=pe,ie[he].push(pe)}for(const pe of t){const he=pe[oe.parentId];le[he]==null&&ue.push(pe)}for(const pe of ue)de(pe);function de(pe){if(ie[pe[oe.id]]!==null&&(pe[oe.childrenList]=ie[pe[oe.id]]),pe[oe.childrenList])for(const he of pe[oe.childrenList])de(he)}return ue},Layout=()=>__vitePreload(()=>import("./index27.js"),["static/js/index27.js","static/js/menu.js","static/js/dark.js","static/js/epTheme.js","static/js/mitt.js","static/js/app.js","static/js/set-up.js","static/js/home-filled.js","static/js/admin-line.js","static/js/git-branch-line.js","static/js/index63.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/index65.js","static/js/qrCode.vue_vue_type_script_setup_true_lang.js","static/js/index62.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/index27.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("./index38.js"),["static/js/index38.js","static/css/index28.css"]),meta:{title:$t("menus.hsempty"),showLink:!1,rank:103}}];/*!
|
||
* vue-router v4.2.5
|
||
* (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 $={};for(const V in r){const oe=r[V];$[V]=isArray$3(oe)?oe.map(t):t(oe)}return $}const noop$1=()=>{},isArray$3=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=t=>t.replace(TRAILING_SLASH_RE,"");function parseURL(t,r,$="/"){let V,oe={},ie="",le="";const ue=r.indexOf("#");let de=r.indexOf("?");return ue<de&&ue>=0&&(de=-1),de>-1&&(V=r.slice(0,de),ie=r.slice(de+1,ue>-1?ue:r.length),oe=t(ie)),ue>-1&&(V=V||r.slice(0,ue),le=r.slice(ue,r.length)),V=resolveRelativePath(V??r,$),{fullPath:V+(ie&&"?")+ie+le,path:V,query:oe,hash:le}}function stringifyURL(t,r){const $=r.query?t(r.query):"";return r.path+($&&"?")+$+(r.hash||"")}function stripBase(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function isSameRouteLocation(t,r,$){const V=r.matched.length-1,oe=$.matched.length-1;return V>-1&&V===oe&&isSameRouteRecord(r.matched[V],$.matched[oe])&&isSameRouteLocationParams(r.params,$.params)&&t(r.query)===t($.query)&&r.hash===$.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 $ in t)if(!isSameRouteLocationParamsValue(t[$],r[$]))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)=>$===r[V]):t.length===1&&t[0]===r}function resolveRelativePath(t,r){if(t.startsWith("/"))return t;if(!t)return r;const $=r.split("/"),V=t.split("/"),oe=V[V.length-1];(oe===".."||oe===".")&&V.push("");let ie=$.length-1,le,ue;for(le=0;le<V.length;le++)if(ue=V[le],ue!==".")if(ue==="..")ie>1&&ie--;else break;return $.slice(0,ie).join("/")+"/"+V.slice(le-(le===V.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 $=document.documentElement.getBoundingClientRect(),V=t.getBoundingClientRect();return{behavior:r.behavior,left:V.left-$.left-(r.left||0),top:V.top-$.top-(r.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(t){let r;if("el"in t){const $=t.el,V=typeof $=="string"&&$.startsWith("#"),oe=typeof $=="string"?V?document.getElementById($.slice(1)):document.querySelector($):$;if(!oe)return;r=getElementPosition(oe,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:$,search:V,hash:oe}=r,ie=t.indexOf("#");if(ie>-1){let ue=oe.includes(t.slice(ie))?t.slice(ie).length:1,de=oe.slice(ue);return de[0]!=="/"&&(de="/"+de),stripBase(de,"")}return stripBase($,t)+V+oe}function useHistoryListeners(t,r,$,V){let oe=[],ie=[],le=null;const ue=({state:$e})=>{const Ie=createCurrentLocation(t,location),Ve=$.value,Fe=r.value;let Ue=0;if($e){if($.value=Ie,r.value=$e,le&&le===Ve){le=null;return}Ue=Fe?$e.position-Fe.position:0}else V(Ie);oe.forEach(qe=>{qe($.value,Ve,{delta:Ue,type:NavigationType.pop,direction:Ue?Ue>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function de(){le=$.value}function pe($e){oe.push($e);const Ie=()=>{const Ve=oe.indexOf($e);Ve>-1&&oe.splice(Ve,1)};return ie.push(Ie),Ie}function he(){const{history:$e}=window;$e.state&&$e.replaceState(assign({},$e.state,{scroll:computeScrollPosition()}),"")}function _e(){for(const $e of ie)$e();ie=[],window.removeEventListener("popstate",ue),window.removeEventListener("beforeunload",he)}return window.addEventListener("popstate",ue),window.addEventListener("beforeunload",he,{passive:!0}),{pauseListeners:de,listen:pe,destroy:_e}}function buildState(t,r,$,V=!1,oe=!1){return{back:t,current:r,forward:$,replaced:V,position:window.history.length,scroll:oe?computeScrollPosition():null}}function useHistoryStateNavigation(t){const{history:r,location:$}=window,V={value:createCurrentLocation(t,$)},oe={value:r.state};oe.value||ie(V.value,{back:null,current:V.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function ie(de,pe,he){const _e=t.indexOf("#"),$e=_e>-1?($.host&&document.querySelector("base")?t:t.slice(_e))+de:createBaseLocation()+t+de;try{r[he?"replaceState":"pushState"](pe,"",$e),oe.value=pe}catch(Ie){console.error(Ie),$[he?"replace":"assign"]($e)}}function le(de,pe){const he=assign({},r.state,buildState(oe.value.back,de,oe.value.forward,!0),pe,{position:oe.value.position});ie(de,he,!0),V.value=de}function ue(de,pe){const he=assign({},oe.value,r.state,{forward:de,scroll:computeScrollPosition()});ie(he.current,he,!0);const _e=assign({},buildState(V.value,de,null),{position:he.position+1},pe);ie(de,_e,!1),V.value=de}return{location:V,state:oe,push:ue,replace:le}}function createWebHistory(t){t=normalizeBase(t);const r=useHistoryStateNavigation(t),$=useHistoryListeners(t,r.state,r.location,r.replace);function V(ie,le=!0){le||$.pauseListeners(),history.go(ie)}const oe=assign({location:"",base:t,go:V,createHref:createHref.bind(null,t)},r,$);return Object.defineProperty(oe,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(oe,"state",{enumerable:!0,get:()=>r.state.value}),oe}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 $=assign({},BASE_PATH_PARSER_OPTIONS,r),V=[];let oe=$.start?"^":"";const ie=[];for(const pe of t){const he=pe.length?[]:[90];$.strict&&!pe.length&&(oe+="/");for(let _e=0;_e<pe.length;_e++){const $e=pe[_e];let Ie=40+($.sensitive?.25:0);if($e.type===0)_e||(oe+="/"),oe+=$e.value.replace(REGEX_CHARS_RE,"\\$&"),Ie+=40;else if($e.type===1){const{value:Ve,repeatable:Fe,optional:Ue,regexp:qe}=$e;ie.push({name:Ve,repeatable:Fe,optional:Ue});const Et=qe||BASE_PARAM_PATTERN;if(Et!==BASE_PARAM_PATTERN){Ie+=10;try{new RegExp(`(${Et})`)}catch(hn){throw new Error(`Invalid custom RegExp for param "${Ve}" (${Et}): `+hn.message)}}let Lt=Fe?`((?:${Et})(?:/(?:${Et}))*)`:`(${Et})`;_e||(Lt=Ue&&pe.length<2?`(?:/${Lt})`:"/"+Lt),Ue&&(Lt+="?"),oe+=Lt,Ie+=20,Ue&&(Ie+=-8),Fe&&(Ie+=-20),Et===".*"&&(Ie+=-50)}he.push(Ie)}V.push(he)}if($.strict&&$.end){const pe=V.length-1;V[pe][V[pe].length-1]+=.7000000000000001}$.strict||(oe+="/?"),$.end?oe+="$":$.strict&&(oe+="(?:/|$)");const le=new RegExp(oe,$.sensitive?"":"i");function ue(pe){const he=pe.match(le),_e={};if(!he)return null;for(let $e=1;$e<he.length;$e++){const Ie=he[$e]||"",Ve=ie[$e-1];_e[Ve.name]=Ie&&Ve.repeatable?Ie.split("/"):Ie}return _e}function de(pe){let he="",_e=!1;for(const $e of t){(!_e||!he.endsWith("/"))&&(he+="/"),_e=!1;for(const Ie of $e)if(Ie.type===0)he+=Ie.value;else if(Ie.type===1){const{value:Ve,repeatable:Fe,optional:Ue}=Ie,qe=Ve in pe?pe[Ve]:"";if(isArray$3(qe)&&!Fe)throw new Error(`Provided param "${Ve}" is an array but it is not repeatable (* or + modifiers)`);const Et=isArray$3(qe)?qe.join("/"):qe;if(!Et)if(Ue)$e.length<2&&(he.endsWith("/")?he=he.slice(0,-1):_e=!0);else throw new Error(`Missing required param "${Ve}"`);he+=Et}}return he||"/"}return{re:le,score:V,keys:ie,parse:ue,stringify:de}}function compareScoreArray(t,r){let $=0;for(;$<t.length&&$<r.length;){const V=r[$]-t[$];if(V)return 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 $=0;const V=t.score,oe=r.score;for(;$<V.length&&$<oe.length;){const ie=compareScoreArray(V[$],oe[$]);if(ie)return ie;$++}if(Math.abs(oe.length-V.length)===1){if(isLastScoreNegative(V))return 1;if(isLastScoreNegative(oe))return-1}return oe.length-V.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(Ie){throw new Error(`ERR (${$})/"${pe}": ${Ie}`)}let $=0,V=$;const oe=[];let ie;function le(){ie&&oe.push(ie),ie=[]}let ue=0,de,pe="",he="";function _e(){pe&&($===0?ie.push({type:0,value:pe}):$===1||$===2||$===3?(ie.length>1&&(de==="*"||de==="+")&&r(`A repeatable param (${pe}) must be alone in its segment. eg: '/:ids+.`),ie.push({type:1,value:pe,regexp:he,repeatable:de==="*"||de==="+",optional:de==="*"||de==="?"})):r("Invalid state to consume buffer"),pe="")}function $e(){pe+=de}for(;ue<t.length;){if(de=t[ue++],de==="\\"&&$!==2){V=$,$=4;continue}switch($){case 0:de==="/"?(pe&&_e(),le()):de===":"?(_e(),$=1):$e();break;case 4:$e(),$=V;break;case 1:de==="("?$=2:VALID_PARAM_RE.test(de)?$e():(_e(),$=0,de!=="*"&&de!=="?"&&de!=="+"&&ue--);break;case 2:de===")"?he[he.length-1]=="\\"?he=he.slice(0,-1)+de:$=3:he+=de;break;case 3:_e(),$=0,de!=="*"&&de!=="?"&&de!=="+"&&ue--,he="";break;default:r("Unknown state");break}}return $===2&&r(`Unfinished custom RegExp for param "${pe}"`),_e(),le(),oe}function createRouteRecordMatcher(t,r,$){const V=tokensToParser(tokenizePath(t.path),$),oe=assign(V,{record:t,parent:r,children:[],alias:[]});return r&&!oe.record.aliasOf==!r.record.aliasOf&&r.children.push(oe),oe}function createRouterMatcher(t,r){const $=[],V=new Map;r=mergeOptions({strict:!1,end:!0,sensitive:!1},r);function oe(he){return V.get(he)}function ie(he,_e,$e){const Ie=!$e,Ve=normalizeRouteRecord(he);Ve.aliasOf=$e&&$e.record;const Fe=mergeOptions(r,he),Ue=[Ve];if("alias"in he){const Lt=typeof he.alias=="string"?[he.alias]:he.alias;for(const hn of Lt)Ue.push(assign({},Ve,{components:$e?$e.record.components:Ve.components,path:hn,aliasOf:$e?$e.record:Ve}))}let qe,Et;for(const Lt of Ue){const{path:hn}=Lt;if(_e&&hn[0]!=="/"){const Cn=_e.record.path,bn=Cn[Cn.length-1]==="/"?"":"/";Lt.path=_e.record.path+(hn&&bn+hn)}if(qe=createRouteRecordMatcher(Lt,_e,Fe),$e?$e.alias.push(qe):(Et=Et||qe,Et!==qe&&Et.alias.push(qe),Ie&&he.name&&!isAliasRecord(qe)&&le(he.name)),Ve.children){const Cn=Ve.children;for(let bn=0;bn<Cn.length;bn++)ie(Cn[bn],qe,$e&&$e.children[bn])}$e=$e||qe,(qe.record.components&&Object.keys(qe.record.components).length||qe.record.name||qe.record.redirect)&&de(qe)}return Et?()=>{le(Et)}:noop$1}function le(he){if(isRouteName(he)){const _e=V.get(he);_e&&(V.delete(he),$.splice($.indexOf(_e),1),_e.children.forEach(le),_e.alias.forEach(le))}else{const _e=$.indexOf(he);_e>-1&&($.splice(_e,1),he.record.name&&V.delete(he.record.name),he.children.forEach(le),he.alias.forEach(le))}}function ue(){return $}function de(he){let _e=0;for(;_e<$.length&&comparePathParserScore(he,$[_e])>=0&&(he.record.path!==$[_e].record.path||!isRecordChildOf(he,$[_e]));)_e++;$.splice(_e,0,he),he.record.name&&!isAliasRecord(he)&&V.set(he.record.name,he)}function pe(he,_e){let $e,Ie={},Ve,Fe;if("name"in he&&he.name){if($e=V.get(he.name),!$e)throw createRouterError(1,{location:he});Fe=$e.record.name,Ie=assign(paramsFromLocation(_e.params,$e.keys.filter(Et=>!Et.optional).map(Et=>Et.name)),he.params&¶msFromLocation(he.params,$e.keys.map(Et=>Et.name))),Ve=$e.stringify(Ie)}else if("path"in he)Ve=he.path,$e=$.find(Et=>Et.re.test(Ve)),$e&&(Ie=$e.parse(Ve),Fe=$e.record.name);else{if($e=_e.name?V.get(_e.name):$.find(Et=>Et.re.test(_e.path)),!$e)throw createRouterError(1,{location:he,currentLocation:_e});Fe=$e.record.name,Ie=assign({},_e.params,he.params),Ve=$e.stringify(Ie)}const Ue=[];let qe=$e;for(;qe;)Ue.unshift(qe.record),qe=qe.parent;return{name:Fe,path:Ve,params:Ie,matched:Ue,meta:mergeMetaFields(Ue)}}return t.forEach(he=>ie(he)),{addRoute:ie,resolve:pe,removeRoute:le,getRoutes:ue,getRecordMatcher:oe}}function paramsFromLocation(t,r){const $={};for(const V of r)V in t&&($[V]=t[V]);return $}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={},$=t.props||!1;if("component"in t)r.default=$;else for(const V in t.components)r[V]=typeof $=="object"?$[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,$)=>assign(r,$.meta),{})}function mergeOptions(t,r){const $={};for(const V in t)$[V]=V in r?r[V]:t[V];return $}function isRecordChildOf(t,r){return r.children.some($=>$===t||isRecordChildOf(t,$))}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 V=(t[0]==="?"?t.slice(1):t).split("&");for(let oe=0;oe<V.length;++oe){const ie=V[oe].replace(PLUS_RE," "),le=ie.indexOf("="),ue=decode$1(le<0?ie:ie.slice(0,le)),de=le<0?null:decode$1(ie.slice(le+1));if(ue in r){let pe=r[ue];isArray$3(pe)||(pe=r[ue]=[pe]),pe.push(de)}else r[ue]=de}return r}function stringifyQuery(t){let r="";for(let $ in t){const V=t[$];if($=encodeQueryKey($),V==null){V!==void 0&&(r+=(r.length?"&":"")+$);continue}(isArray$3(V)?V.map(ie=>ie&&encodeQueryValue(ie)):[V&&encodeQueryValue(V)]).forEach(ie=>{ie!==void 0&&(r+=(r.length?"&":"")+$,ie!=null&&(r+="="+ie))})}return r}function normalizeQuery(t){const r={};for(const $ in t){const V=t[$];V!==void 0&&(r[$]=isArray$3(V)?V.map(oe=>oe==null?null:""+oe):V==null?V:""+V)}return r}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let t=[];function r(V){return t.push(V),()=>{const oe=t.indexOf(V);oe>-1&&t.splice(oe,1)}}function $(){t=[]}return{add:r,list:()=>t.slice(),reset:$}}function guardToPromiseFn(t,r,$,V,oe){const ie=V&&(V.enterCallbacks[oe]=V.enterCallbacks[oe]||[]);return()=>new Promise((le,ue)=>{const de=_e=>{_e===!1?ue(createRouterError(4,{from:$,to:r})):_e instanceof Error?ue(_e):isRouteLocation(_e)?ue(createRouterError(2,{from:r,to:_e})):(ie&&V.enterCallbacks[oe]===ie&&typeof _e=="function"&&ie.push(_e),le())},pe=t.call(V&&V.instances[oe],r,$,de);let he=Promise.resolve(pe);t.length<3&&(he=he.then(de)),he.catch(_e=>ue(_e))})}function extractComponentsGuards(t,r,$,V){const oe=[];for(const ie of t)for(const le in ie.components){let ue=ie.components[le];if(!(r!=="beforeRouteEnter"&&!ie.instances[le]))if(isRouteComponent(ue)){const pe=(ue.__vccOpts||ue)[r];pe&&oe.push(guardToPromiseFn(pe,$,V,ie,le))}else{let de=ue();oe.push(()=>de.then(pe=>{if(!pe)return Promise.reject(new Error(`Couldn't resolve component "${le}" at "${ie.path}"`));const he=isESModule(pe)?pe.default:pe;ie.components[le]=he;const $e=(he.__vccOpts||he)[r];return $e&&guardToPromiseFn($e,$,V,ie,le)()}))}}return oe}function isRouteComponent(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function useLink(t){const r=inject(routerKey),$=inject(routeLocationKey),V=computed(()=>r.resolve(unref(t.to))),oe=computed(()=>{const{matched:de}=V.value,{length:pe}=de,he=de[pe-1],_e=$.matched;if(!he||!_e.length)return-1;const $e=_e.findIndex(isSameRouteRecord.bind(null,he));if($e>-1)return $e;const Ie=getOriginalPath(de[pe-2]);return pe>1&&getOriginalPath(he)===Ie&&_e[_e.length-1].path!==Ie?_e.findIndex(isSameRouteRecord.bind(null,de[pe-2])):$e}),ie=computed(()=>oe.value>-1&&includesParams($.params,V.value.params)),le=computed(()=>oe.value>-1&&oe.value===$.matched.length-1&&isSameRouteLocationParams($.params,V.value.params));function ue(de={}){return guardEvent(de)?r[unref(t.replace)?"replace":"push"](unref(t.to)).catch(noop$1):Promise.resolve()}return{route:V,href:computed(()=>V.value.href),isActive:ie,isExactActive:le,navigate:ue}}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 $=reactive(useLink(t)),{options:V}=inject(routerKey),oe=computed(()=>({[getLinkClass(t.activeClass,V.linkActiveClass,"router-link-active")]:$.isActive,[getLinkClass(t.exactActiveClass,V.linkExactActiveClass,"router-link-exact-active")]:$.isExactActive}));return()=>{const ie=r.default&&r.default($);return t.custom?ie:h$2("a",{"aria-current":$.isExactActive?t.ariaCurrentValue:null,href:$.href,onClick:$.navigate,class:oe.value},ie)}}}),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 $ in r){const V=r[$],oe=t[$];if(typeof V=="string"){if(V!==oe)return!1}else if(!isArray$3(oe)||oe.length!==V.length||V.some((ie,le)=>ie!==oe[le]))return!1}return!0}function getOriginalPath(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const getLinkClass=(t,r,$)=>t??r??$,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:$}){const V=inject(routerViewLocationKey),oe=computed(()=>t.route||V.value),ie=inject(viewDepthKey,0),le=computed(()=>{let pe=unref(ie);const{matched:he}=oe.value;let _e;for(;(_e=he[pe])&&!_e.components;)pe++;return pe}),ue=computed(()=>oe.value.matched[le.value]);provide(viewDepthKey,computed(()=>le.value+1)),provide(matchedRouteKey,ue),provide(routerViewLocationKey,oe);const de=ref();return watch(()=>[de.value,ue.value,t.name],([pe,he,_e],[$e,Ie,Ve])=>{he&&(he.instances[_e]=pe,Ie&&Ie!==he&&pe&&pe===$e&&(he.leaveGuards.size||(he.leaveGuards=Ie.leaveGuards),he.updateGuards.size||(he.updateGuards=Ie.updateGuards))),pe&&he&&(!Ie||!isSameRouteRecord(he,Ie)||!$e)&&(he.enterCallbacks[_e]||[]).forEach(Fe=>Fe(pe))},{flush:"post"}),()=>{const pe=oe.value,he=t.name,_e=ue.value,$e=_e&&_e.components[he];if(!$e)return normalizeSlot($.default,{Component:$e,route:pe});const Ie=_e.props[he],Ve=Ie?Ie===!0?pe.params:typeof Ie=="function"?Ie(pe):Ie:null,Ue=h$2($e,assign({},Ve,r,{onVnodeUnmounted:qe=>{qe.component.isUnmounted&&(_e.instances[he]=null)},ref:de}));return normalizeSlot($.default,{Component:Ue,route:pe})||Ue}}});function normalizeSlot(t,r){if(!t)return null;const $=t(r);return $.length===1?$[0]:$}const RouterView=RouterViewImpl;function createRouter(t){const r=createRouterMatcher(t.routes,t),$=t.parseQuery||parseQuery,V=t.stringifyQuery||stringifyQuery,oe=t.history,ie=useCallbacks(),le=useCallbacks(),ue=useCallbacks(),de=shallowRef(START_LOCATION_NORMALIZED);let pe=START_LOCATION_NORMALIZED;isBrowser$1&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const he=applyToParams.bind(null,Gn=>""+Gn),_e=applyToParams.bind(null,encodeParam),$e=applyToParams.bind(null,decode$1);function Ie(Gn,Yn){let er,lr;return isRouteName(Gn)?(er=r.getRecordMatcher(Gn),lr=Yn):lr=Gn,r.addRoute(lr,er)}function Ve(Gn){const Yn=r.getRecordMatcher(Gn);Yn&&r.removeRoute(Yn)}function Fe(){return r.getRoutes().map(Gn=>Gn.record)}function Ue(Gn){return!!r.getRecordMatcher(Gn)}function qe(Gn,Yn){if(Yn=assign({},Yn||de.value),typeof Gn=="string"){const Jn=parseURL($,Gn,Yn.path),cr=r.resolve({path:Jn.path},Yn),_r=oe.createHref(Jn.fullPath);return assign(Jn,cr,{params:$e(cr.params),hash:decode$1(Jn.hash),redirectedFrom:void 0,href:_r})}let er;if("path"in Gn)er=assign({},Gn,{path:parseURL($,Gn.path,Yn.path).path});else{const Jn=assign({},Gn.params);for(const cr in Jn)Jn[cr]==null&&delete Jn[cr];er=assign({},Gn,{params:_e(Jn)}),Yn.params=_e(Yn.params)}const lr=r.resolve(er,Yn),sr=Gn.hash||"";lr.params=he($e(lr.params));const zn=stringifyURL(V,assign({},Gn,{hash:encodeHash(sr),path:lr.path})),Kn=oe.createHref(zn);return assign({fullPath:zn,hash:sr,query:V===stringifyQuery?normalizeQuery(Gn.query):Gn.query||{}},lr,{redirectedFrom:void 0,href:Kn})}function Et(Gn){return typeof Gn=="string"?parseURL($,Gn,de.value.path):assign({},Gn)}function Lt(Gn,Yn){if(pe!==Gn)return createRouterError(8,{from:Yn,to:Gn})}function hn(Gn){return Sn(Gn)}function Cn(Gn){return hn(assign(Et(Gn),{replace:!0}))}function bn(Gn){const Yn=Gn.matched[Gn.matched.length-1];if(Yn&&Yn.redirect){const{redirect:er}=Yn;let lr=typeof er=="function"?er(Gn):er;return typeof lr=="string"&&(lr=lr.includes("?")||lr.includes("#")?lr=Et(lr):{path:lr},lr.params={}),assign({query:Gn.query,hash:Gn.hash,params:"path"in lr?{}:Gn.params},lr)}}function Sn(Gn,Yn){const er=pe=qe(Gn),lr=de.value,sr=Gn.state,zn=Gn.force,Kn=Gn.replace===!0,Jn=bn(er);if(Jn)return Sn(assign(Et(Jn),{state:typeof Jn=="object"?assign({},sr,Jn.state):sr,force:zn,replace:Kn}),Yn||er);const cr=er;cr.redirectedFrom=Yn;let _r;return!zn&&isSameRouteLocation(V,lr,er)&&(_r=createRouterError(16,{to:cr,from:lr}),Un(lr,lr,!0,!1)),(_r?Promise.resolve(_r):$n(cr,lr)).catch(ur=>isNavigationFailure(ur)?isNavigationFailure(ur,2)?ur:Fn(ur):Ln(ur,cr,lr)).then(ur=>{if(ur){if(isNavigationFailure(ur,2))return Sn(assign({replace:Kn},Et(ur.to),{state:typeof ur.to=="object"?assign({},sr,ur.to.state):sr,force:zn}),Yn||cr)}else ur=xn(cr,lr,!0,Kn,sr);return Tn(cr,lr,ur),ur})}function En(Gn,Yn){const er=Lt(Gn,Yn);return er?Promise.reject(er):Promise.resolve()}function wn(Gn){const Yn=or.values().next().value;return Yn&&typeof Yn.runWithContext=="function"?Yn.runWithContext(Gn):Gn()}function $n(Gn,Yn){let er;const[lr,sr,zn]=extractChangingRecords(Gn,Yn);er=extractComponentsGuards(lr.reverse(),"beforeRouteLeave",Gn,Yn);for(const Jn of lr)Jn.leaveGuards.forEach(cr=>{er.push(guardToPromiseFn(cr,Gn,Yn))});const Kn=En.bind(null,Gn,Yn);return er.push(Kn),Qn(er).then(()=>{er=[];for(const Jn of ie.list())er.push(guardToPromiseFn(Jn,Gn,Yn));return er.push(Kn),Qn(er)}).then(()=>{er=extractComponentsGuards(sr,"beforeRouteUpdate",Gn,Yn);for(const Jn of sr)Jn.updateGuards.forEach(cr=>{er.push(guardToPromiseFn(cr,Gn,Yn))});return er.push(Kn),Qn(er)}).then(()=>{er=[];for(const Jn of zn)if(Jn.beforeEnter)if(isArray$3(Jn.beforeEnter))for(const cr of Jn.beforeEnter)er.push(guardToPromiseFn(cr,Gn,Yn));else er.push(guardToPromiseFn(Jn.beforeEnter,Gn,Yn));return er.push(Kn),Qn(er)}).then(()=>(Gn.matched.forEach(Jn=>Jn.enterCallbacks={}),er=extractComponentsGuards(zn,"beforeRouteEnter",Gn,Yn),er.push(Kn),Qn(er))).then(()=>{er=[];for(const Jn of le.list())er.push(guardToPromiseFn(Jn,Gn,Yn));return er.push(Kn),Qn(er)}).catch(Jn=>isNavigationFailure(Jn,8)?Jn:Promise.reject(Jn))}function Tn(Gn,Yn,er){ue.list().forEach(lr=>wn(()=>lr(Gn,Yn,er)))}function xn(Gn,Yn,er,lr,sr){const zn=Lt(Gn,Yn);if(zn)return zn;const Kn=Yn===START_LOCATION_NORMALIZED,Jn=isBrowser$1?history.state:{};er&&(lr||Kn?oe.replace(Gn.fullPath,assign({scroll:Kn&&Jn&&Jn.scroll},sr)):oe.push(Gn.fullPath,sr)),de.value=Gn,Un(Gn,Yn,er,Kn),Fn()}let An;function Mn(){An||(An=oe.listen((Gn,Yn,er)=>{if(!br.listening)return;const lr=qe(Gn),sr=bn(lr);if(sr){Sn(assign(sr,{replace:!0}),lr).catch(noop$1);return}pe=lr;const zn=de.value;isBrowser$1&&saveScrollPosition(getScrollKey(zn.fullPath,er.delta),computeScrollPosition()),$n(lr,zn).catch(Kn=>isNavigationFailure(Kn,12)?Kn:isNavigationFailure(Kn,2)?(Sn(Kn.to,lr).then(Jn=>{isNavigationFailure(Jn,20)&&!er.delta&&er.type===NavigationType.pop&&oe.go(-1,!1)}).catch(noop$1),Promise.reject()):(er.delta&&oe.go(-er.delta,!1),Ln(Kn,lr,zn))).then(Kn=>{Kn=Kn||xn(lr,zn,!1),Kn&&(er.delta&&!isNavigationFailure(Kn,8)?oe.go(-er.delta,!1):er.type===NavigationType.pop&&isNavigationFailure(Kn,20)&&oe.go(-1,!1)),Tn(lr,zn,Kn)}).catch(noop$1)}))}let Vn=useCallbacks(),Bn=useCallbacks(),Dn;function Ln(Gn,Yn,er){Fn(Gn);const lr=Bn.list();return lr.length?lr.forEach(sr=>sr(Gn,Yn,er)):console.error(Gn),Promise.reject(Gn)}function Pn(){return Dn&&de.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((Gn,Yn)=>{Vn.add([Gn,Yn])})}function Fn(Gn){return Dn||(Dn=!Gn,Mn(),Vn.list().forEach(([Yn,er])=>Gn?er(Gn):Yn()),Vn.reset()),Gn}function Un(Gn,Yn,er,lr){const{scrollBehavior:sr}=t;if(!isBrowser$1||!sr)return Promise.resolve();const zn=!er&&getSavedScrollPosition(getScrollKey(Gn.fullPath,0))||(lr||!er)&&history.state&&history.state.scroll||null;return nextTick().then(()=>sr(Gn,Yn,zn)).then(Kn=>Kn&&scrollToPosition(Kn)).catch(Kn=>Ln(Kn,Gn,Yn))}const Wn=Gn=>oe.go(Gn);let Zn;const or=new Set,br={currentRoute:de,listening:!0,addRoute:Ie,removeRoute:Ve,hasRoute:Ue,getRoutes:Fe,resolve:qe,options:t,push:hn,replace:Cn,go:Wn,back:()=>Wn(-1),forward:()=>Wn(1),beforeEach:ie.add,beforeResolve:le.add,afterEach:ue.add,onError:Bn.add,isReady:Pn,install(Gn){const Yn=this;Gn.component("RouterLink",RouterLink),Gn.component("RouterView",RouterView),Gn.config.globalProperties.$router=Yn,Object.defineProperty(Gn.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(de)}),isBrowser$1&&!Zn&&de.value===START_LOCATION_NORMALIZED&&(Zn=!0,hn(oe.location).catch(sr=>{}));const er={};for(const sr in START_LOCATION_NORMALIZED)Object.defineProperty(er,sr,{get:()=>de.value[sr],enumerable:!0});Gn.provide(routerKey,Yn),Gn.provide(routeLocationKey,shallowReactive(er)),Gn.provide(routerViewLocationKey,de);const lr=Gn.unmount;or.add(Gn),Gn.unmount=function(){or.delete(Gn),or.size<1&&(pe=START_LOCATION_NORMALIZED,An&&An(),An=null,de.value=START_LOCATION_NORMALIZED,Zn=!1,Dn=!1),lr()}}};function Qn(Gn){return Gn.reduce((Yn,er)=>Yn.then(()=>wn(er)),Promise.resolve())}return br}function extractChangingRecords(t,r){const $=[],V=[],oe=[],ie=Math.max(r.matched.length,t.matched.length);for(let le=0;le<ie;le++){const ue=r.matched[le];ue&&(t.matched.find(pe=>isSameRouteRecord(pe,ue))?V.push(ue):$.push(ue));const de=t.matched[le];de&&(r.matched.find(pe=>isSameRouteRecord(pe,de))||oe.push(de))}return[$,V,oe]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const getAsyncRoutes=()=>http.request("get","/get-async-routes"),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"),[]),"/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/index63.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/index62.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/index61.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/animatecss/index.vue":()=>__vitePreload(()=>import("./index16.js"),[]),"/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("./index20.js"),["static/js/index20.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("./index17.js"),["static/js/index17.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/index64.js","static/js/vue-tippy.esm-browser.js","static/css/index14.css"]),"/src/views/components/danmaku/index.vue":()=>__vitePreload(()=>import("./index23.js"),["static/js/index23.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("./index22.js"),["static/js/index22.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("./index19.js"),["static/js/index19.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("./index18.js"),["static/js/index18.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("./index21.js"),["static/js/index21.js","static/js/index65.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/index66.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("./index24.js"),["static/js/index24.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/index66.js","static/js/picUpload.vue_vue_type_script_setup_true_lang.js","static/css/index20.css"]),"/src/views/empty/index.vue":()=>__vitePreload(()=>import("./index38.js"),["static/js/index38.js","static/css/index28.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("./index25.js"),["static/js/index25.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("./index26.js"),["static/js/index26.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("./index29.js"),["static/js/index29.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/index62.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/index65.js","static/js/qrCode.vue_vue_type_script_setup_true_lang.js","static/js/index62.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/index27.css"]),"/src/views/menuoverflow/index.vue":()=>__vitePreload(()=>import("./index30.js"),[]),"/src/views/nested/menu1/menu1-1/index.vue":()=>__vitePreload(()=>import("./index31.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue":()=>__vitePreload(()=>import("./index32.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue":()=>__vitePreload(()=>import("./index33.js"),[]),"/src/views/nested/menu1/menu1-3/index.vue":()=>__vitePreload(()=>import("./index34.js"),[]),"/src/views/nested/menu2/index.vue":()=>__vitePreload(()=>import("./index35.js"),[]),"/src/views/permission/button/index.vue":()=>__vitePreload(()=>import("./index39.js"),[]),"/src/views/permission/page/index.vue":()=>__vitePreload(()=>import("./index40.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("./index41.js"),["static/js/index41.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("./index42.js"),["static/js/index42.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("./index43.js"),["static/js/index43.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("./index44.js"),["static/js/index44.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("./index45.js"),["static/js/index45.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("./index46.js"),["static/js/index46.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("./index47.js"),["static/js/index47.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("./index48.js"),["static/js/index48.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("./index49.js"),["static/js/index49.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("./index50.js"),["static/js/index50.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("./index51.js"),["static/js/index51.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("./index52.js"),["static/js/index52.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("./index53.js"),["static/js/index53.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("./index54.js"),["static/js/index54.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("./index55.js"),["static/js/index55.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("./index36.js"),["static/js/index36.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/index66.js","static/js/hooks2.js"]),"/src/views/system/dept/index.vue":()=>__vitePreload(()=>import("./index56.js"),["static/js/index56.js","static/js/hook.js","static/js/form.vue_vue_type_script_setup_true_lang2.js","static/js/index66.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/index66.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("./index57.js"),["static/js/index57.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("./index58.js"),["static/js/index58.js","static/js/index.vue_vue_type_script_setup_true_lang16.js","static/js/index66.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/index66.js"]),"/src/views/system/user/index.vue":()=>__vitePreload(()=>import("./index59.js"),["static/js/index59.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/index66.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/index64.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/index64.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/index66.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/index64.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("./index60.js"),["static/js/index60.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/index65.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/index65.js","static/js/office-building.js","static/js/iphone.js","static/js/user-3-fill.js"]),"/src/views/welcome/index.vue":()=>__vitePreload(()=>import("./index28.js"),["static/js/index28.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/index65.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/index61.js","static/css/index12.css","static/css/index25.css"])});function handRank(t){const{name:r,path:$,parentId:V,meta:oe}=t;return k(V)?!!(k(oe==null?void 0:oe.rank)||(oe==null?void 0:oe.rank)===0&&r!=="Home"&&$!=="/"):!1}function ascending(t){return t.forEach((r,$)=>{handRank(r)&&(r.meta.rank=$+2)}),t.sort((r,$)=>(r==null?void 0:r.meta.rank)-($==null?void 0:$.meta.rank))}function filterTree(t){const r=nn(t).filter($=>{var V;return((V=$.meta)==null?void 0:V.showLink)!==!1});return r.forEach($=>$.children&&($.children=filterTree($.children))),r}function filterChildrenTree(t){const r=nn(t).filter($=>{var V;return((V=$==null?void 0:$.children)==null?void 0:V.length)!==0});return r.forEach($=>$.children&&($.children=filterTree($.children))),r}function isOneOfArray(t,r){return Array.isArray(t)&&Array.isArray(r)?Mr(t,r).length>0:!0}function filterNoPermissionTree(t){var V;const r=((V=rr().getItem(userKey))==null?void 0:V.roles)??[],$=nn(t).filter(oe=>{var ie;return isOneOfArray((ie=oe.meta)==null?void 0:ie.roles,r)});return $.forEach(oe=>oe.children&&(oe.children=filterNoPermissionTree(oe.children))),filterChildrenTree($)}function getParentPaths(t,r,$="path"){function V(oe,ie,le){for(let ue=0;ue<oe.length;ue++){const de=oe[ue];if(de[$]===ie)return le;if(!(!de.children||!de.children.length)){if(le.push(de.path),V(de.children,ie,le).length)return le;le.pop()}}return[]}return V(r,t,[])}function findRouteByPath(t,r){let $=r.find(V=>V.path==t);if($)return isProxy($)?toRaw($):$;for(let V=0;V<r.length;V++)if(r[V].children instanceof Array&&r[V].children.length>0&&($=findRouteByPath(t,r[V].children),$))return isProxy($)?toRaw($):$;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($=>$.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 $=router.getRoutes().find(V=>V.path==="/");router.addRoute($)}}),usePermissionStoreHook().handleWholeMenus(t),addPathMatch()}function initRouter(){var t;if((t=getConfig())!=null&&t.CachingAsyncRoutes){const r="async-routes",$=rr().getItem(r);return $&&($==null?void 0:$.length)>0?new Promise(V=>{handleAsyncRoutes($),V(router)}):new Promise(V=>{getAsyncRoutes().then(({data:oe})=>{handleAsyncRoutes(nn(oe)),rr().setItem(r,oe),V(router)})})}else return new Promise(r=>{getAsyncRoutes().then(({data:$})=>{handleAsyncRoutes(nn($)),r(router)})})}function formatFlatteningRoutes(t){if(t.length===0)return t;let r=buildHierarchyTree(t);for(let $=0;$<r.length;$++)r[$].children&&(r=r.slice(0,$+1).concat(r[$].children,r.slice($+1)));return r}function formatTwoStageRoutes(t){if(t.length===0)return t;const r=[];return t.forEach($=>{var V;$.path==="/"?r.push({component:$.component,name:$.name,path:$.path,redirect:$.redirect,meta:$.meta,children:[]}):(V=r[0])==null||V.children.push({...$})}),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($=>{var V;if($.meta.backstage=!0,$!=null&&$.children&&$.children.length&&!$.redirect&&($.redirect=$.children[0].path),$!=null&&$.children&&$.children.length&&!$.name&&($.name=$.children[0].name+"Parent"),(V=$.meta)!=null&&V.frameSrc)$.component=IFrame;else{const oe=$!=null&&$.component?r.findIndex(ie=>ie.includes($.component)):r.findIndex(ie=>ie.includes($.path));$.component=modulesRoutes[r[oe]]}$!=null&&$.children&&$.children.length&&addAsyncRoutes($.children)}),t}function getHistoryMode(t){const r=t.split(","),$=r[0],V=r[1];if(r.length===1){if($==="hash")return createWebHashHistory("");if($==="h5")return createWebHistory("")}else if(r.length===2){if($==="hash")return createWebHashHistory(V);if($==="h5")return createWebHistory(V)}}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):vr(t,r)):!1}function getTopMenu(t=!1){var $;const r=($=usePermissionStoreHook().wholeMenus[0])==null?void 0:$.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 $=this.cachePageList.findIndex(V=>V===r);switch(t){case"refresh":this.cachePageList=this.cachePageList.filter(V=>V!==r);break;case"add":this.cachePageList.push(r);break;case"delete":$!==-1&&this.cachePageList.splice($,1);break}Tt(()=>{let V=this.cachePageList.length;const oe=Ar(useMultiTagsStoreHook().multiTags,"name");for(;V>0;)oe.findIndex(ie=>ie===this.cachePageList[V-1])===-1&&this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[V-1]),1),V--})()},clearAllCachePage(){this.wholeMenus=[],this.cachePageList=[]}}});function usePermissionStoreHook(){return usePermissionStore(store)}const 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,$){return new Promise(V=>{if($)return $;if(r.meta.saveSrollTop){const oe=document.documentElement.scrollTop||document.body.scrollTop;V({left:0,top:oe})}})}});function resetRouter(){router.getRoutes().forEach(t=>{const{name:r,meta:$}=t;r&&router.hasRoute(r)&&($!=null&&$.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,$)=>{var le,ue,de;(le=t.meta)!=null&&le.keepAlive&&(handleAliveRoute(t,"add"),(r.name===void 0||r.name==="Redirect")&&handleAliveRoute(t));const V=rr().getItem(userKey);NProgress.start();const oe=pt(t==null?void 0:t.name);oe||t.matched.some(pe=>{if(!pe.meta.title)return"";const he=getConfig().Title;he?document.title=`${transformI18n(pe.meta.title)} | ${he}`:document.title=transformI18n(pe.meta.title)});function ie(){whiteList.includes(t.fullPath)?$(r.fullPath):$()}api.get(multipleTabsKey)&&V?((ue=t.meta)!=null&&ue.roles&&!isOneOfArray((de=t.meta)==null?void 0:de.roles,V==null?void 0:V.roles)&&$({path:"/error/403"}),VITE_HIDE_HOME==="true"&&t.fullPath==="/welcome"&&$({path:"/error/404"}),r!=null&&r.name?oe?(vt(t==null?void 0:t.name),NProgress.done()):ie():(usePermissionStoreHook().wholeMenus.length===0&&t.path!=="/login"&&initRouter().then(pe=>{var he,_e;if(!useMultiTagsStoreHook().getMultiTagsCache){const{path:$e}=t,Ie=findRouteByPath($e,pe.options.routes[0].children);if(getTopMenu(!0),Ie&&((he=Ie.meta)!=null&&he.title))if(k(Ie.parentId)&&((_e=Ie.meta)!=null&&_e.backstage)){const{path:Ve,name:Fe,meta:Ue}=Ie.children[0];useMultiTagsStoreHook().handleTags("push",{path:Ve,name:Fe,meta:Ue})}else{const{path:Ve,name:Fe,meta:Ue}=Ie;useMultiTagsStoreHook().handleTags("push",{path:Ve,name:Fe,meta:Ue})}}k(t.name)&&pe.push(t.fullPath)}),ie())):t.path!=="/login"?whiteList.indexOf(t.path)!==-1?$():(removeToken(),$({path:"/login"})):$()});router.afterEach(()=>{NProgress.done()});function isObject$4(t){return t!==null&&typeof t=="object"}function _defu(t,r,$=".",V){if(!isObject$4(r))return _defu(t,{},$,V);const oe=Object.assign({},r);for(const ie in t){if(ie==="__proto__"||ie==="constructor")continue;const le=t[ie];le!=null&&(V&&V(oe,ie,le,$)||(Array.isArray(le)&&Array.isArray(oe[ie])?oe[ie]=[...le,...oe[ie]]:isObject$4(le)&&isObject$4(oe[ie])?oe[ie]=_defu(le,oe[ie],($?`${$}.`:"")+ie.toString(),V):oe[ie]=le))}return oe}function createDefu(t){return(...r)=>r.reduce(($,V)=>_defu($,V,"",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=0,oe=!1,ie=!1;const le=new WeakSet,ue={schedule:(de,pe=!1,he=!1)=>{const _e=he&&oe,$e=_e?r:$;return pe&&le.add(de),$e.indexOf(de)===-1&&($e.push(de),_e&&oe&&(V=r.length)),de},cancel:de=>{const pe=$.indexOf(de);pe!==-1&&$.splice(pe,1),le.delete(de)},process:de=>{if(oe){ie=!0;return}if(oe=!0,[r,$]=[$,r],$.length=0,V=r.length,V)for(let pe=0;pe<V;pe++){const he=r[pe];he(de),le.has(he)&&(ue.schedule(he),t())}oe=!1,ie&&(ie=!1,ue.process(de))}};return ue}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 $=steps[r];return t[r]=(V,oe=!1,ie=!1)=>(runNextFrame||startLoop(),$.schedule(V,oe,ie)),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 $={};for(var V in t)Object.prototype.hasOwnProperty.call(t,V)&&r.indexOf(V)<0&&($[V]=t[V]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,V=Object.getOwnPropertySymbols(t);oe<V.length;oe++)r.indexOf(V[oe])<0&&Object.prototype.propertyIsEnumerable.call(t,V[oe])&&($[V[oe]]=t[V[oe]]);return $}var warning=function(){},invariant=function(){};const clamp$2=(t,r,$)=>Math.min(Math.max($,t),r),safeMin=.001,minDuration=.01,maxDuration=10,minDamping=.05,maxDamping=1;function findSpring({duration:t=800,bounce:r=.25,velocity:$=0,mass:V=1}){let oe,ie;warning(t<=maxDuration*1e3);let le=1-r;le=clamp$2(minDamping,maxDamping,le),t=clamp$2(minDuration,maxDuration,t/1e3),le<1?(oe=pe=>{const he=pe*le,_e=he*t,$e=he-$,Ie=calcAngularFreq(pe,le),Ve=Math.exp(-_e);return safeMin-$e/Ie*Ve},ie=pe=>{const _e=pe*le*t,$e=_e*$+$,Ie=Math.pow(le,2)*Math.pow(pe,2)*t,Ve=Math.exp(-_e),Fe=calcAngularFreq(Math.pow(pe,2),le);return(-oe(pe)+safeMin>0?-1:1)*(($e-Ie)*Ve)/Fe}):(oe=pe=>{const he=Math.exp(-pe*t),_e=(pe-$)*t+1;return-safeMin+he*_e},ie=pe=>{const he=Math.exp(-pe*t),_e=($-pe)*(t*t);return he*_e});const ue=5/t,de=approximateRoot(oe,ie,ue);if(t=t*1e3,isNaN(de))return{stiffness:100,damping:10,duration:t};{const pe=Math.pow(de,2)*V;return{stiffness:pe,damping:le*2*Math.sqrt(V*pe),duration:t}}}const rootIterations=12;function approximateRoot(t,r,$){let V=$;for(let oe=1;oe<rootIterations;oe++)V=V-t(V)/r(V);return V}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($=>t[$]!==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 $=findSpring(t);r=Object.assign(Object.assign(Object.assign({},r),$),{velocity:0,mass:1}),r.isResolvedFromDuration=!0}return r}function spring(t){var{from:r=0,to:$=1,restSpeed:V=2,restDelta:oe}=t,ie=__rest(t,["from","to","restSpeed","restDelta"]);const le={done:!1,value:r};let{stiffness:ue,damping:de,mass:pe,velocity:he,duration:_e,isResolvedFromDuration:$e}=getSpringOptions(ie),Ie=zero,Ve=zero;function Fe(){const Ue=he?-(he/1e3):0,qe=$-r,Et=de/(2*Math.sqrt(ue*pe)),Lt=Math.sqrt(ue/pe)/1e3;if(oe===void 0&&(oe=Math.min(Math.abs($-r)/100,.4)),Et<1){const hn=calcAngularFreq(Lt,Et);Ie=Cn=>{const bn=Math.exp(-Et*Lt*Cn);return $-bn*((Ue+Et*Lt*qe)/hn*Math.sin(hn*Cn)+qe*Math.cos(hn*Cn))},Ve=Cn=>{const bn=Math.exp(-Et*Lt*Cn);return Et*Lt*bn*(Math.sin(hn*Cn)*(Ue+Et*Lt*qe)/hn+qe*Math.cos(hn*Cn))-bn*(Math.cos(hn*Cn)*(Ue+Et*Lt*qe)-hn*qe*Math.sin(hn*Cn))}}else if(Et===1)Ie=hn=>$-Math.exp(-Lt*hn)*(qe+(Ue+Lt*qe)*hn);else{const hn=Lt*Math.sqrt(Et*Et-1);Ie=Cn=>{const bn=Math.exp(-Et*Lt*Cn),Sn=Math.min(hn*Cn,300);return $-bn*((Ue+Et*Lt*qe)*Math.sinh(Sn)+hn*qe*Math.cosh(Sn))/hn}}}return Fe(),{next:Ue=>{const qe=Ie(Ue);if($e)le.done=Ue>=_e;else{const Et=Ve(Ue)*1e3,Lt=Math.abs(Et)<=V,hn=Math.abs($-qe)<=oe;le.done=Lt&&hn}return le.value=le.done?$:qe,le},flipTarget:()=>{he=-he,[r,$]=[$,r],Fe()}}}spring.needsInterpolation=(t,r)=>typeof t=="string"||typeof r=="string";const zero=t=>0,progress=(t,r,$)=>{const V=r-t;return V===0?1:($-t)/V},mix=(t,r,$)=>-$*t+$*r+t,clamp$1=(t,r)=>$=>Math.max(Math.min($,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)=>$=>!!(isString$1($)&&singleColorRegex.test($)&&$.startsWith(t)||r&&Object.prototype.hasOwnProperty.call($,r)),splitColor=(t,r,$)=>V=>{if(!isString$1(V))return V;const[oe,ie,le,ue]=V.match(floatRegex);return{[t]:parseFloat(oe),[r]:parseFloat(ie),[$]:parseFloat(le),alpha:ue!==void 0?parseFloat(ue):1}},hsla={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:t,saturation:r,lightness:$,alpha:V=1})=>"hsla("+Math.round(t)+", "+percent.transform(sanitize(r))+", "+percent.transform(sanitize($))+", "+sanitize(alpha.transform(V))+")"},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:$,alpha:V=1})=>"rgba("+rgbUnit.transform(t)+", "+rgbUnit.transform(r)+", "+rgbUnit.transform($)+", "+sanitize(alpha.transform(V))+")"};function parseHex(t){let r="",$="",V="",oe="";return t.length>5?(r=t.substr(1,2),$=t.substr(3,2),V=t.substr(5,2),oe=t.substr(7,2)):(r=t.substr(1,1),$=t.substr(2,1),V=t.substr(3,1),oe=t.substr(4,1),r+=r,$+=$,V+=V,oe+=oe),{red:parseInt(r,16),green:parseInt($,16),blue:parseInt(V,16),alpha:oe?parseInt(oe,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;return isNaN(t)&&isString$1(t)&&(($=(r=t.match(floatRegex))===null||r===void 0?void 0:r.length)!==null&&$!==void 0?$:0)+((oe=(V=t.match(colorRegex))===null||V===void 0?void 0:V.length)!==null&&oe!==void 0?oe:0)>0}function analyse$1(t){typeof t=="number"&&(t=`${t}`);const r=[];let $=0;const V=t.match(colorRegex);V&&($=V.length,t=t.replace(colorRegex,colorToken),r.push(...V.map(color$1.parse)));const oe=t.match(floatRegex);return oe&&(t=t.replace(floatRegex,numberToken),r.push(...oe.map(number$1.parse))),{values:r,numColors:$,tokenised:t}}function parse$2(t){return analyse$1(t).values}function createTransformer(t){const{values:r,numColors:$,tokenised:V}=analyse$1(t),oe=r.length;return ie=>{let le=V;for(let ue=0;ue<oe;ue++)le=le.replace(ue<$?colorToken:numberToken,ue<$?color$1.transform(ie[ue]):sanitize(ie[ue]));return le}}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,$]=t.slice(0,-1).split("(");if(r==="drop-shadow")return t;const[V]=$.match(floatRegex)||[];if(!V)return t;const oe=$.replace(V,"");let ie=maxDefaults.has(r)?1:0;return V!==$&&(ie*=100),r+"("+ie+oe+")"}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,$){return $<0&&($+=1),$>1&&($-=1),$<1/6?t+(r-t)*6*$:$<1/2?r:$<2/3?t+(r-t)*(2/3-$)*6:t}function hslaToRgba({hue:t,saturation:r,lightness:$,alpha:V}){t/=360,r/=100,$/=100;let oe=0,ie=0,le=0;if(!r)oe=ie=le=$;else{const ue=$<.5?$*(1+r):$+r-$*r,de=2*$-ue;oe=hueToRgb(de,ue,t+1/3),ie=hueToRgb(de,ue,t),le=hueToRgb(de,ue,t-1/3)}return{red:Math.round(oe*255),green:Math.round(ie*255),blue:Math.round(le*255),alpha:V}}const mixLinearColor=(t,r,$)=>{const V=t*t,oe=r*r;return Math.sqrt(Math.max(0,$*(oe-V)+V))},colorTypes=[hex,rgba,hsla],getColorType=t=>colorTypes.find(r=>r.test(t)),mixColor=(t,r)=>{let $=getColorType(t),V=getColorType(r),oe=$.parse(t),ie=V.parse(r);$===hsla&&(oe=hslaToRgba(oe),$=rgba),V===hsla&&(ie=hslaToRgba(ie),V=rgba);const le=Object.assign({},oe);return ue=>{for(const de in le)de!=="alpha"&&(le[de]=mixLinearColor(oe[de],ie[de],ue));return le.alpha=mix(oe.alpha,ie.alpha,ue),$.transform(le)}},isNum=t=>typeof t=="number",combineFunctions=(t,r)=>$=>r(t($)),pipe=(...t)=>t.reduce(combineFunctions);function getMixer(t,r){return isNum(t)?$=>mix(t,r,$):color$1.test(t)?mixColor(t,r):mixComplex(t,r)}const mixArray=(t,r)=>{const $=[...t],V=$.length,oe=t.map((ie,le)=>getMixer(ie,r[le]));return ie=>{for(let le=0;le<V;le++)$[le]=oe[le](ie);return $}},mixObject=(t,r)=>{const $=Object.assign(Object.assign({},t),r),V={};for(const oe in $)t[oe]!==void 0&&r[oe]!==void 0&&(V[oe]=getMixer(t[oe],r[oe]));return oe=>{for(const ie in V)$[ie]=V[ie](oe);return $}};function analyse(t){const r=complex.parse(t),$=r.length;let V=0,oe=0,ie=0;for(let le=0;le<$;le++)V||typeof r[le]=="number"?V++:r[le].hue!==void 0?ie++:oe++;return{parsed:r,numNumbers:V,numRGB:oe,numHSL:ie}}const mixComplex=(t,r)=>{const $=complex.createTransformer(r),V=analyse(t),oe=analyse(r);return V.numHSL===oe.numHSL&&V.numRGB===oe.numRGB&&V.numNumbers>=oe.numNumbers?pipe(mixArray(V.parsed,oe.parsed),$):le=>`${le>0?r:t}`},mixNumber=(t,r)=>$=>mix(t,r,$);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,$){const V=[],oe=$||detectMixerFactory(t[0]),ie=t.length-1;for(let le=0;le<ie;le++){let ue=oe(t[le],t[le+1]);if(r){const de=Array.isArray(r)?r[le]:r;ue=pipe(de,ue)}V.push(ue)}return V}function fastInterpolate([t,r],[$]){return V=>$(progress(t,r,V))}function slowInterpolate(t,r){const $=t.length,V=$-1;return oe=>{let ie=0,le=!1;if(oe<=t[0]?le=!0:oe>=t[V]&&(ie=V-1,le=!0),!le){let de=1;for(;de<$&&!(t[de]>oe||de===V);de++);ie=de-1}const ue=progress(t[ie],t[ie+1],oe);return r[ie](ue)}}function interpolate(t,r,{clamp:$=!0,ease:V,mixer:oe}={}){const ie=t.length;invariant(ie===r.length),invariant(!V||!Array.isArray(V)||V.length===ie-1),t[0]>t[ie-1]&&(t=[].concat(t),r=[].concat(r),t.reverse(),r.reverse());const le=createMixers(r,V,oe),ue=ie===2?fastInterpolate(t,le):slowInterpolate(t,le);return $?de=>ue(clamp$2(t[0],t[ie-1],de)):ue}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 $=>($*=2)<1?.5*r($):.5*(2-Math.pow(2,-10*($-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)=>V!==0?V/(r-1):0)}function convertOffsetToTimes(t,r){return t.map($=>$*r)}function keyframes$1({from:t=0,to:r=1,ease:$,offset:V,duration:oe=300}){const ie={done:!1,value:t},le=Array.isArray(r)?r:[t,r],ue=convertOffsetToTimes(V&&V.length===le.length?V:defaultOffset(le),oe);function de(){return interpolate(ue,le,{ease:Array.isArray($)?$:defaultEasing(le,$)})}let pe=de();return{next:he=>(ie.value=pe(he),ie.done=he>=oe,ie),flipTarget:()=>{le.reverse(),pe=de()}}}function decay({velocity:t=0,from:r=0,power:$=.8,timeConstant:V=350,restDelta:oe=.5,modifyTarget:ie}){const le={done:!1,value:r};let ue=$*t;const de=r+ue,pe=ie===void 0?de:ie(de);return pe!==de&&(ue=pe-r),{next:he=>{const _e=-ue*Math.exp(-he/V);return le.done=!(_e>oe||_e<-oe),le.value=le.done?pe:pe+_e,le},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,$=0){return t-r-$}function reverseElapsed(t,r,$=0,V=!0){return V?loopElapsed(r+-t,r,$):r-(t-r)+$}function hasRepeatDelayElapsed(t,r,$,V){return V?t>=r+$:t<=-$}const framesync=t=>{const r=({delta:$})=>t($);return{start:()=>sync.update(r,!0),stop:()=>cancelSync.update(r)}};function animate(t){var r,$,{from:V,autoplay:oe=!0,driver:ie=framesync,elapsed:le=0,repeat:ue=0,repeatType:de="loop",repeatDelay:pe=0,onPlay:he,onStop:_e,onComplete:$e,onRepeat:Ie,onUpdate:Ve}=t,Fe=__rest(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:Ue}=Fe,qe,Et=0,Lt=Fe.duration,hn,Cn=!1,bn=!0,Sn;const En=detectAnimationFromOptions(Fe);!(($=(r=En).needsInterpolation)===null||$===void 0)&&$.call(r,V,Ue)&&(Sn=interpolate([0,100],[V,Ue],{clamp:!1}),V=0,Ue=100);const wn=En(Object.assign(Object.assign({},Fe),{from:V,to:Ue}));function $n(){Et++,de==="reverse"?(bn=Et%2===0,le=reverseElapsed(le,Lt,pe,bn)):(le=loopElapsed(le,Lt,pe),de==="mirror"&&wn.flipTarget()),Cn=!1,Ie&&Ie()}function Tn(){qe.stop(),$e&&$e()}function xn(Mn){if(bn||(Mn=-Mn),le+=Mn,!Cn){const Vn=wn.next(Math.max(0,le));hn=Vn.value,Sn&&(hn=Sn(hn)),Cn=bn?Vn.done:le<=0}Ve==null||Ve(hn),Cn&&(Et===0&&(Lt??(Lt=le)),Et<ue?hasRepeatDelayElapsed(le,Lt,pe,bn)&&$n():Tn())}function An(){he==null||he(),qe=ie(xn),qe.start()}return oe&&An(),{stop:()=>{_e==null||_e(),qe.stop()}}}function velocityPerSecond(t,r){return r?t*(1e3/r):0}function inertia({from:t=0,velocity:r=0,min:$,max:V,power:oe=.8,timeConstant:ie=750,bounceStiffness:le=500,bounceDamping:ue=10,restDelta:de=1,modifyTarget:pe,driver:he,onUpdate:_e,onComplete:$e,onStop:Ie}){let Ve;function Fe(Lt){return $!==void 0&&Lt<$||V!==void 0&&Lt>V}function Ue(Lt){return $===void 0?V:V===void 0||Math.abs($-Lt)<Math.abs(V-Lt)?$:V}function qe(Lt){Ve==null||Ve.stop(),Ve=animate(Object.assign(Object.assign({},Lt),{driver:he,onUpdate:hn=>{var Cn;_e==null||_e(hn),(Cn=Lt.onUpdate)===null||Cn===void 0||Cn.call(Lt,hn)},onComplete:$e,onStop:Ie}))}function Et(Lt){qe(Object.assign({type:"spring",stiffness:le,damping:ue,restDelta:de},Lt))}if(Fe(t))Et({from:t,velocity:r,to:Ue(t)});else{let Lt=oe*r+t;typeof pe<"u"&&(Lt=pe(Lt));const hn=Ue(Lt),Cn=hn===$?-1:1;let bn,Sn;const En=wn=>{bn=Sn,Sn=wn,r=velocityPerSecond(wn-bn,getFrameData().delta),(Cn===1&&wn>hn||Cn===-1&&wn<hn)&&Et({from:wn,to:hn,velocity:r})};qe({type:"decay",from:t,velocity:r,timeConstant:ie,power:oe,restDelta:de,modifyTarget:pe,onUpdate:Fe(Lt)?En:void 0})}return{stop:()=>Ve==null?void 0:Ve.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,$)=>((a(r,$)*t+b(r,$))*t+c$1(r))*t,getSlope=(t,r,$)=>3*a(r,$)*t*t+2*b(r,$)*t+c$1(r),subdivisionPrecision=1e-7,subdivisionMaxIterations=10;function binarySubdivide(t,r,$,V,oe){let ie,le,ue=0;do le=r+($-r)/2,ie=calcBezier(le,V,oe)-t,ie>0?$=le:r=le;while(Math.abs(ie)>subdivisionPrecision&&++ue<subdivisionMaxIterations);return le}const newtonIterations=8,newtonMinSlope=.001;function newtonRaphsonIterate(t,r,$,V){for(let oe=0;oe<newtonIterations;++oe){const ie=getSlope(r,$,V);if(ie===0)return r;const le=calcBezier(r,$,V)-t;r-=le/ie}return r}const kSplineTableSize=11,kSampleStepSize=1/(kSplineTableSize-1);function cubicBezier(t,r,$,V){if(t===r&&$===V)return linear;const oe=new Float32Array(kSplineTableSize);for(let le=0;le<kSplineTableSize;++le)oe[le]=calcBezier(le*kSampleStepSize,t,$);function ie(le){let ue=0,de=1;const pe=kSplineTableSize-1;for(;de!==pe&&oe[de]<=le;++de)ue+=kSampleStepSize;--de;const he=(le-oe[de])/(oe[de+1]-oe[de]),_e=ue+he*kSampleStepSize,$e=getSlope(_e,t,$);return $e>=newtonMinSlope?newtonRaphsonIterate(le,_e,t,$):$e===0?_e:binarySubdivide(le,ue,ue+kSampleStepSize,t,$)}return le=>le===0||le===1?le:calcBezier(ie(le),r,V)}const motionState={};class SubscriptionManager{constructor(){this.subscriptions=new Set}add(r){return this.subscriptions.add(r),()=>this.subscriptions.delete(r)}notify(r,$,V){if(this.subscriptions.size)for(const oe of this.subscriptions)oe(r,$,V)}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=$=>{this.prev=this.current,this.current=$;const{delta:V,timestamp:oe}=getFrameData();this.lastUpdated!==oe&&(this.timeDelta=V,this.lastUpdated=oe),sync.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>sync.postRender(this.velocityCheck),this.velocityCheck=({timestamp:$})=>{this.canTrackVelocity||(this.canTrackVelocity=isFloat(this.current)),$!==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($=>{const{stop:V}=r($);this.stopAnimation=V}).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=V=>{const oe=ie=>{t.value[ie]&&(t.value[ie].stop(),t.value[ie].destroy(),delete t.value[ie])};V?isArray$2(V)?V.forEach(oe):oe(V):Object.keys(t.value).forEach(oe)},$=(V,oe,ie)=>{if(t.value[V])return t.value[V];const le=getMotionValue(oe);return le.onChange(ue=>ie[V]=ue),t.value[V]=le,le};return tryOnUnmounted(r),{motionValues:t,get:$,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 $;return isKeyframesTarget(r)?$=keyframes:$=defaultTransitions[t]||defaultTransitions.default,{to:r,...$(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 $=getValueType(t);return $!==filter$1&&($=complex),$.getAnimatableNone?$.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]=t;return cubicBezier(r,$,V,oe)}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}){const oe={...V};return r&&(oe.offset=r),t&&(oe.ease=isEasingArray(t)?t.map(easingDefinitionToFunction):easingDefinitionToFunction(t)),$&&(oe.elapsed=-$),oe}function getPopmotionAnimationOptions(t,r,$){return Array.isArray(r.to)&&(t.duration||(t.duration=800)),hydrateKeyframes(r),isTransitionDefined(t)||(t={...t,...getDefaultTransition($,r.to)}),{...r,...convertTransitionToAnimationOptions(t)}}function isTransitionDefined({delay:t,repeat:r,repeatType:$,repeatDelay:V,from:oe,...ie}){return!!Object.keys(ie).length}function getValueTransition(t,r){return t[r]||t.default||t}function getAnimation(t,r,$,V,oe){const ie=getValueTransition(V,t);let le=ie.from===null||ie.from===void 0?r.get():ie.from;const ue=isAnimatable(t,$);le==="none"&&ue&&typeof $=="string"&&(le=getAnimatableNone(t,$));const de=isAnimatable(t,le);function pe(_e){const $e={from:le,to:$,velocity:V.velocity?V.velocity:r.getVelocity(),onUpdate:Ie=>r.set(Ie)};return ie.type==="inertia"||ie.type==="decay"?inertia({...$e,...ie}):animate({...getPopmotionAnimationOptions(ie,$e,t),onUpdate:Ie=>{$e.onUpdate(Ie),ie.onUpdate&&ie.onUpdate(Ie)},onComplete:()=>{V.onComplete&&V.onComplete(),oe&&oe(),_e&&_e()}})}function he(_e){return r.set($),V.onComplete&&V.onComplete(),oe&&oe(),_e&&_e(),{stop:()=>{}}}return!de||!ue||ie.type===!1?he:pe}function useMotionTransitions(){const{motionValues:t,stop:r,get:$}=useMotionValues();return{motionValues:t,stop:r,push:(oe,ie,le,ue={},de)=>{const pe=le[oe],he=$(oe,pe,le);if(ue&&ue.immediate){he.set(ie);return}const _e=getAnimation(oe,he,ie,ue,de);he.start(_e)}}}function useMotionControls(t,r={},{motionValues:$,push:V,stop:oe}=useMotionTransitions()){const ie=unref(r),le=ref(!1);watch($,_e=>{le.value=Object.values(_e).filter($e=>$e.isAnimating()).length>0},{immediate:!0,deep:!0});const ue=_e=>{if(!ie||!ie[_e])throw new Error(`The variant ${_e} does not exist.`);return ie[_e]},de=_e=>(typeof _e=="string"&&(_e=ue(_e)),Promise.all(Object.entries(_e).map(([$e,Ie])=>{if($e!=="transition")return new Promise(Ve=>V($e,Ie,t,_e.transition||getDefaultTransition($e,_e[$e]),Ve))}).filter(Boolean)));return{isAnimating:le,apply:de,set:_e=>{const $e=isObject$8(_e)?_e:ue(_e);Object.entries($e).forEach(([Ie,Ve])=>{Ie!=="transition"&&V(Ie,Ve,t,{immediate:!0})})},leave:async _e=>{let $e;if(ie&&(ie.leave&&($e=ie.leave),!ie.leave&&ie.initial&&($e=ie.initial)),!$e){_e();return}await de($e),_e()},stop:oe}}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:$,apply:V}){const oe=unref($),ie=ref(!1),le=ref(!1),ue=ref(!1),de=computed(()=>{let he=[];return oe&&(oe.hovered&&(he=[...he,...Object.keys(oe.hovered)]),oe.tapped&&(he=[...he,...Object.keys(oe.tapped)]),oe.focused&&(he=[...he,...Object.keys(oe.focused)])),he}),pe=computed(()=>{const he={};Object.assign(he,r.value),ie.value&&oe.hovered&&Object.assign(he,oe.hovered),le.value&&oe.tapped&&Object.assign(he,oe.tapped),ue.value&&oe.focused&&Object.assign(he,oe.focused);for(const _e in he)de.value.includes(_e)||delete he[_e];return he});oe.hovered&&(useEventListener(t,"mouseenter",()=>ie.value=!0),useEventListener(t,"mouseleave",()=>{ie.value=!1,le.value=!1}),useEventListener(t,"mouseout",()=>{ie.value=!1,le.value=!1})),oe.tapped&&(supportsMouseEvents()&&(useEventListener(t,"mousedown",()=>le.value=!0),useEventListener(t,"mouseup",()=>le.value=!1)),supportsPointerEvents()&&(useEventListener(t,"pointerdown",()=>le.value=!0),useEventListener(t,"pointerup",()=>le.value=!1)),supportsTouchEvents()&&(useEventListener(t,"touchstart",()=>le.value=!0),useEventListener(t,"touchend",()=>le.value=!1))),oe.focused&&(useEventListener(t,"focus",()=>ue.value=!0),useEventListener(t,"blur",()=>ue.value=!1)),watch(pe,V)}function registerLifeCycleHooks({set:t,target:r,variants:$,variant:V}){const oe=unref($);watch(()=>r,()=>{oe&&(oe.initial&&t("initial"),oe.enter&&(V.value="enter"))},{immediate:!0,flush:"pre"})}function registerVariantsSync({state:t,apply:r}){watch(t,$=>{$&&r($)},{immediate:!0})}function registerVisibilityHooks({target:t,variants:r,variant:$}){const V=unref(r);V&&(V.visible||V.visibleOnce)&&useIntersectionObserver(t,([{isIntersecting:oe}])=>{V.visible?oe?$.value="visible":$.value="initial":V.visibleOnce&&(oe&&$.value!=="visibleOnce"?$.value="visibleOnce":$.value||($.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}),$=ref({});return watch(r,()=>{const V={};for(const[oe,ie]of Object.entries(r)){const le=getValueType(oe),ue=getValueAsType(ie,le);V[oe]=ue}$.value=V},{immediate:!0,deep:!0}),{state:r,style:$}}function usePermissiveTarget(t,r){watch(()=>unrefElement(t),$=>{$&&r($)},{immediate:!0})}const translateAlias={x:"translateX",y:"translateY",z:"translateZ"};function reactiveTransform(t={},r=!0){const $=reactive({...t}),V=ref("");return watch($,oe=>{let ie="",le=!1;if(r&&(oe.x||oe.y||oe.z)){const ue=[oe.x||0,oe.y||0,oe.z||0].map(px.transform).join(",");ie+=`translate3d(${ue}) `,le=!0}for(const[ue,de]of Object.entries(oe)){if(r&&(ue==="x"||ue==="y"||ue==="z"))continue;const pe=getValueType(ue),he=getValueAsType(de,pe);ie+=`${translateAlias[ue]||ue}(${he}) `}r&&!le&&(ie+="translateZ(0px) "),V.value=ie.trim()},{immediate:!0,deep:!0}),{state:$,transform:V}}const transformAxes=["","X","Y","Z"],order=["perspective","translate","scale","rotate","skew"],transformProps=["transformPerspective","x","y","z"];order.forEach(t=>{transformAxes.forEach(r=>{const $=t+r;transformProps.push($)})});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={},$={};return Object.entries(t).forEach(([V,oe])=>{isTransformProp(V)||isTransformOriginProp(V)?r[V]=oe:$[V]=oe}),{transform:r,style:$}}function variantToStyle(t){const{transform:r,style:$}=splitValues(t),{transform:V}=reactiveTransform(r),{style:oe}=reactiveStyle($);return V.value&&(oe.value.transform=V.value),oe.value}function useElementStyle(t,r){let $,V;const{state:oe,style:ie}=reactiveStyle();return usePermissiveTarget(t,le=>{V=le;for(const ue of Object.keys(valueTypes))le.style[ue]===null||le.style[ue]===""||isTransformProp(ue)||isTransformOriginProp(ue)||(oe[ue]=le.style[ue]);$&&Object.entries($).forEach(([ue,de])=>le.style[ue]=de),r&&r(oe)}),watch(ie,le=>{if(!V){$=le;return}for(const ue in le)V.style[ue]=le[ue]},{immediate:!0}),{style:oe}}function parseTransform(t){const r=t.trim().split(/\) |\)/);if(r.length===1)return{};const $=V=>V.endsWith("px")||V.endsWith("deg")?parseFloat(V):isNaN(Number(V))?Number(V):V;return r.reduce((V,oe)=>{if(!oe)return V;const[ie,le]=oe.split("("),de=le.split(",").map(he=>$(he.endsWith(")")?he.replace(")",""):he.trim())),pe=de.length===1?de[0]:de;return{...V,[ie]:pe}},{})}function stateFromTransform(t,r){Object.entries(parseTransform(r)).forEach(([$,V])=>{const oe=["x","y","z"];if($==="translate3d"){if(V===0){oe.forEach(ie=>t[ie]=0);return}V.forEach((ie,le)=>t[oe[le]]=ie);return}if(V=parseFloat(V),$==="translateX"){t.x=V;return}if($==="translateY"){t.y=V;return}if($==="translateZ"){t.z=V;return}t[$]=V})}function useElementTransform(t,r){let $,V;const{state:oe,transform:ie}=reactiveTransform();return usePermissiveTarget(t,le=>{V=le,le.style.transform&&stateFromTransform(oe,le.style.transform),$&&(le.style.transform=$),r&&r(oe)}),watch(ie,le=>{if(!V){$=le;return}V.style.transform=le},{immediate:!0}),{transform:oe}}function useMotionProperties(t,r){const $=reactive({}),V=le=>Object.entries(le).forEach(([ue,de])=>$[ue]=de),{style:oe}=useElementStyle(t,V),{transform:ie}=useElementTransform(t,V);return watch($,le=>{Object.entries(le).forEach(([ue,de])=>{const pe=isTransformProp(ue)?ie:oe;pe[ue]&&pe[ue]===de||(pe[ue]=de)})},{immediate:!0,deep:!0}),usePermissiveTarget(t,()=>r&&V(r)),{motionProperties:$,style:oe,transform:ie}}function useMotionVariants(t={}){const r=unref(t),$=ref();return{state:computed(()=>{if($.value)return r[$.value]}),variant:$}}function useMotion(t,r={},$){const{motionProperties:V}=useMotionProperties(t),{variant:oe,state:ie}=useMotionVariants(r),le=useMotionControls(V,r),ue={target:t,variant:oe,variants:r,state:ie,motionProperties:V,...le};return useMotionFeatures(ue,$),ue}const directivePropsKeys=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"];function resolveVariants(t,r){const $=t.props?t.props:t.data&&t.data.attrs?t.data.attrs:{};$&&($.variants&&isObject$8($.variants)&&(r.value={...r.value,...$.variants}),directivePropsKeys.forEach(V=>{if(V==="delay"){if($&&$[V]&&typeof $[V]=="number"){const oe=$[V];r&&r.value&&(r.value.enter&&(r.value.enter.transition||(r.value.enter.transition={}),r.value.enter.transition={delay:oe,...r.value.enter.transition}),r.value.visible&&(r.value.visible.transition||(r.value.visible.transition={}),r.value.visible.transition={delay:oe,...r.value.visible.transition}),r.value.visibleOnce&&(r.value.visibleOnce.transition||(r.value.visibleOnce.transition={}),r.value.visibleOnce.transition={delay:oe,...r.value.visibleOnce.transition}))}return}V==="visible-once"&&(V="visibleOnce"),$&&$[V]&&isObject$8($[V])&&(r.value[V]=$[V])}))}function directive(t){return{created:($,V,oe)=>{const ie=V.value&&typeof V.value=="string"?V.value:oe.key;ie&&motionState[ie]&&motionState[ie].stop();const le=ref(t||{});typeof V.value=="object"&&(le.value=V.value),resolveVariants(oe,le);const ue=useMotion($,le);$.motionInstance=ue,ie&&(motionState[ie]=ue)},getSSRProps($,V){let{initial:oe}=$.value||V&&(V==null?void 0:V.props)||{};oe=unref(oe);const ie=defu((t==null?void 0:t.initial)||{},oe||{});return!ie||Object.keys(ie).length===0?void 0:{style:variantToStyle(ie)}}}}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 ue;const r=useSlots(),$=reactive({});if(!t.is&&!r.default)return()=>h$2("div",{});const V=computed(()=>{let de;return t.preset&&(de=presets[t.preset]),de}),oe=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})),ie=computed(()=>{const de={...oe.value,...V.value||{},...t.variants||{}};return t.delay&&(de.enter.transition={...de.enter.transition},de.enter.transition.delay=parseInt(t.delay)),de}),le=computed(()=>{if(!t.is)return;let de=t.is;return typeof le.value=="string"&&!isHTMLTag(de)&&(de=resolveComponent(de)),de});if(((ue=process==null?void 0:process.env)==null?void 0:ue.NODE_ENV)==="development"||process!=null&&process.dev){const de=pe=>{var he;(he=pe.variants)!=null&&he.initial&&pe.set("initial"),setTimeout(()=>{var _e,$e,Ie;(_e=pe.variants)!=null&&_e.enter&&pe.apply("enter"),($e=pe.variants)!=null&&$e.visible&&pe.apply("visible"),(Ie=pe.variants)!=null&&Ie.visibleOnce&&pe.apply("visibleOnce")},10)};onUpdated(()=>Object.entries($).forEach(([pe,he])=>de(he)))}return{slots:r,component:le,motionConfig:ie,instances:$}},render({slots:t,motionConfig:r,instances:$,component:V}){var ue;const oe=variantToStyle(r.initial||{}),ie=(de,pe)=>(de.props||(de.props={}),de.props.style=oe,de.props.onVnodeMounted=({el:he})=>{const _e=useMotion(he,r);$[pe]=_e},de);if(V){const de=h$2(V,void 0,t);return ie(de,0),de}return(((ue=t.default)==null?void 0:ue.call(t))||[]).map((de,pe)=>ie(de,pe))}});function slugify(t){const r="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",$="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",V=new RegExp(r.split("").join("|"),"g");return t.toString().replace(/[A-Z]/g,oe=>`-${oe}`).toLowerCase().replace(/\s+/g,"-").replace(V,oe=>$.charAt(r.indexOf(oe))).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 $ in presets){const V=presets[$];t.directive(`motion-${slugify($)}`,directive(V))}if(r&&r.directives)for(const $ in r.directives){const V=r.directives[$];!V.initial&&__DEV__&&console.warn(`Your directive v-motion-${$} is missing initial variant!`),t.directive(`motion-${$}`,directive(V))}}};/*! *****************************************************************************
|
||
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){$.__proto__=V}||function($,V){for(var oe in V)Object.prototype.hasOwnProperty.call(V,oe)&&($[oe]=V[oe])},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 $(){this.constructor=t}t.prototype=r===null?Object.create(r):($.prototype=r.prototype,new $)}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 $=r.browser,V=t.match(/Firefox\/([\d.]+)/),oe=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),ie=t.match(/Edge?\/([\d.]+)/),le=/micromessenger/i.test(t);V&&($.firefox=!0,$.version=V[1]),oe&&($.ie=!0,$.version=oe[1]),ie&&($.edge=!0,$.version=ie[1],$.newEdge=+ie[1].split(".")[0]>18),le&&($.weChat=!0),r.svgSupported=typeof SVGRect<"u",r.touchEventsSupported="ontouchstart"in window&&!$.ie&&!$.edge,r.pointerEventsSupported="onpointerdown"in window&&($.edge||$.ie&&+$.version>=11),r.domSupported=typeof document<"u";var ue=document.documentElement.style;r.transform3dSupported=($.ie&&"transition"in ue||$.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in ue)&&!("OTransition"in ue),r.transformSupported=r.transform3dSupported||$.ie&&+$.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 $=0;$<t.length;$++){var V=String.fromCharCode($+32),oe=(t.charCodeAt($)-OFFSET)/SCALE;r[V]=oe}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){if(!t){var oe=platformApi.createCanvas();t=oe&&oe.getContext("2d")}if(t)return r!==V&&(r=t.font=V||DEFAULT_FONT),t.measureText($);$=$||"",V=V||DEFAULT_FONT;var ie=/(\d+)px/.exec(V),le=ie&&+ie[1]||DEFAULT_FONT_SIZE,ue=0;if(V.indexOf("mono")>=0)ue=le*$.length;else for(var de=0;de<$.length;de++){var pe=DEFAULT_TEXT_WIDTH_MAP[$[de]];ue+=pe==null?le:pe*le}return{width:ue}}}(),loadImage:function(t,r,$){var V=new Image;return V.onload=r,V.onerror=$,V.src=t,V}};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,$=objToString.call(t);if($==="[object Array]"){if(!isPrimitive(t)){r=[];for(var V=0,oe=t.length;V<oe;V++)r[V]=clone$3(t[V])}}else if(TYPED_ARRAY[$]){if(!isPrimitive(t)){var ie=t.constructor;if(ie.from)r=ie.from(t);else{r=new ie(t.length);for(var V=0,oe=t.length;V<oe;V++)r[V]=t[V]}}}else if(!BUILTIN_OBJECT[$]&&!isPrimitive(t)&&!isDom(t)){r={};for(var le in t)t.hasOwnProperty(le)&&le!==protoKey&&(r[le]=clone$3(t[le]))}return r}function merge(t,r,$){if(!isObject$3(r)||!isObject$3(t))return $?clone$3(r):t;for(var V in r)if(r.hasOwnProperty(V)&&V!==protoKey){var oe=t[V],ie=r[V];isObject$3(ie)&&isObject$3(oe)&&!isArray$1(ie)&&!isArray$1(oe)&&!isDom(ie)&&!isDom(oe)&&!isBuiltInObject(ie)&&!isBuiltInObject(oe)&&!isPrimitive(ie)&&!isPrimitive(oe)?merge(oe,ie,$):($||!(V in t))&&(t[V]=clone$3(r[V]))}return t}function mergeAll(t,r){for(var $=t[0],V=1,oe=t.length;V<oe;V++)$=merge($,t[V],r);return $}function extend(t,r){if(Object.assign)Object.assign(t,r);else for(var $ in r)r.hasOwnProperty($)&&$!==protoKey&&(t[$]=r[$]);return t}function defaults(t,r,$){for(var V=keys(r),oe=0;oe<V.length;oe++){var ie=V[oe];($?r[ie]!=null:t[ie]==null)&&(t[ie]=r[ie])}return t}var createCanvas=platformApi.createCanvas;function indexOf(t,r){if(t){if(t.indexOf)return t.indexOf(r);for(var $=0,V=t.length;$<V;$++)if(t[$]===r)return $}return-1}function inherits(t,r){var $=t.prototype;function V(){}V.prototype=r.prototype,t.prototype=new V;for(var oe in $)$.hasOwnProperty(oe)&&(t.prototype[oe]=$[oe]);t.prototype.constructor=t,t.superClass=r}function mixin(t,r,$){if(t="prototype"in t?t.prototype:t,r="prototype"in r?r.prototype:r,Object.getOwnPropertyNames)for(var V=Object.getOwnPropertyNames(r),oe=0;oe<V.length;oe++){var ie=V[oe];ie!=="constructor"&&($?r[ie]!=null:t[ie]==null)&&(t[ie]=r[ie])}else defaults(t,r,$)}function isArrayLike(t){return!t||typeof t=="string"?!1:typeof t.length=="number"}function each$c(t,r,$){if(t&&r)if(t.forEach&&t.forEach===nativeForEach)t.forEach(r,$);else if(t.length===+t.length)for(var V=0,oe=t.length;V<oe;V++)r.call($,t[V],V,t);else for(var ie in t)t.hasOwnProperty(ie)&&r.call($,t[ie],ie,t)}function map$2(t,r,$){if(!t)return[];if(!r)return slice(t);if(t.map&&t.map===nativeMap)return t.map(r,$);for(var V=[],oe=0,ie=t.length;oe<ie;oe++)V.push(r.call($,t[oe],oe,t));return V}function reduce(t,r,$,V){if(t&&r){for(var oe=0,ie=t.length;oe<ie;oe++)$=r.call(V,$,t[oe],oe,t);return $}}function filter(t,r,$){if(!t)return[];if(!r)return slice(t);if(t.filter&&t.filter===nativeFilter)return t.filter(r,$);for(var V=[],oe=0,ie=t.length;oe<ie;oe++)r.call($,t[oe],oe,t)&&V.push(t[oe]);return V}function find(t,r,$){if(t&&r){for(var V=0,oe=t.length;V<oe;V++)if(r.call($,t[V],V,t))return t[V]}}function keys(t){if(!t)return[];if(Object.keys)return Object.keys(t);var r=[];for(var $ in t)t.hasOwnProperty($)&&r.push($);return r}function bindPolyfill(t,r){for(var $=[],V=2;V<arguments.length;V++)$[V-2]=arguments[V];return function(){return t.apply(r,$.concat(nativeSlice.call(arguments)))}}var bind$1=protoFunction&&isFunction(protoFunction.bind)?protoFunction.call.bind(protoFunction.bind):bindPolyfill;function curry$1(t){for(var r=[],$=1;$<arguments.length;$++)r[$-1]=arguments[$];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 $=0,V=t.length;$<V;$++)if(t[$]!=null)return t[$]}function retrieve2(t,r){return t??r}function retrieve3(t,r,$){return t??r??$}function slice(t){for(var r=[],$=1;$<arguments.length;$++)r[$-1]=arguments[$];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 $=this.has(r);return $&&delete this.data[r],$},t.prototype.has=function(r){return this.data.hasOwnProperty(r)},t.prototype.get=function(r){return this.data[r]},t.prototype.set=function(r,$){return this.data[r]=$,this},t.prototype.keys=function(){return keys(this.data)},t.prototype.forEach=function(r){var $=this.data;for(var V in $)$.hasOwnProperty(V)&&r($[V],V)},t}(),isNativeMapSupported=typeof Map=="function";function maybeNativeMap(){return isNativeMapSupported?new Map:new MapPolyfill}var HashMap=function(){function t(r){var $=isArray$1(r);this.data=maybeNativeMap();var V=this;r instanceof t?r.each(oe):r&&each$c(r,oe);function oe(ie,le){$?V.set(ie,le):V.set(le,ie)}}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,$){return this.data.set(r,$),$},t.prototype.each=function(r,$){this.data.forEach(function(V,oe){r.call($,V,oe)})},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 $=new t.constructor(t.length+r.length),V=0;V<t.length;V++)$[V]=t[V];for(var oe=t.length,V=0;V<r.length;V++)$[V+oe]=r[V];return $}function createObject(t,r){var $;if(Object.create)$=Object.create(t);else{var V=function(){};V.prototype=t,$=new V}return r&&extend($,r),$}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,$){return t[0]=r,t[1]=$,t}function add(t,r,$){return t[0]=r[0]+$[0],t[1]=r[1]+$[1],t}function scaleAndAdd(t,r,$,V){return t[0]=r[0]+$[0]*V,t[1]=r[1]+$[1]*V,t}function sub(t,r,$){return t[0]=r[0]-$[0],t[1]=r[1]-$[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,$){return t[0]=r[0]*$[0],t[1]=r[1]*$[1],t}function div(t,r,$){return t[0]=r[0]/$[0],t[1]=r[1]/$[1],t}function dot(t,r){return t[0]*r[0]+t[1]*r[1]}function scale$2(t,r,$){return t[0]=r[0]*$,t[1]=r[1]*$,t}function normalize$1(t,r){var $=len(r);return $===0?(t[0]=0,t[1]=0):(t[0]=r[0]/$,t[1]=r[1]/$),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){return t[0]=r[0]+V*($[0]-r[0]),t[1]=r[1]+V*($[1]-r[1]),t}function applyTransform$1(t,r,$){var V=r[0],oe=r[1];return t[0]=$[0]*V+$[2]*oe+$[4],t[1]=$[1]*V+$[3]*oe+$[5],t}function min$1(t,r,$){return t[0]=Math.min(r[0],$[0]),t[1]=Math.min(r[1],$[1]),t}function max$1(t,r,$){return t[0]=Math.max(r[0],$[0]),t[1]=Math.max(r[1],$[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,$){this.target=r,this.topTarget=$&&$.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 $=r.target;$&&!$.draggable;)$=$.parent||$.__hostTarget;$&&(this._draggingTarget=$,$.dragging=!0,this._x=r.offsetX,this._y=r.offsetY,this.handler.dispatchToElement(new Param($,r),"dragstart",r.event))},t.prototype._drag=function(r){var $=this._draggingTarget;if($){var V=r.offsetX,oe=r.offsetY,ie=V-this._x,le=oe-this._y;this._x=V,this._y=oe,$.drift(ie,le,r),this.handler.dispatchToElement(new Param($,r),"drag",r.event);var ue=this.handler.findHover(V,oe,$).target,de=this._dropTarget;this._dropTarget=ue,$!==ue&&(de&&ue!==de&&this.handler.dispatchToElement(new Param(de,r),"dragleave",r.event),ue&&ue!==de&&this.handler.dispatchToElement(new Param(ue,r),"dragenter",r.event))}},t.prototype._dragEnd=function(r){var $=this._draggingTarget;$&&($.dragging=!1),this.handler.dispatchToElement(new Param($,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){this._$handlers||(this._$handlers={});var ie=this._$handlers;if(typeof $=="function"&&(oe=V,V=$,$=null),!V||!r)return this;var le=this._$eventProcessor;$!=null&&le&&le.normalizeQuery&&($=le.normalizeQuery($)),ie[r]||(ie[r]=[]);for(var ue=0;ue<ie[r].length;ue++)if(ie[r][ue].h===V)return this;var de={h:V,query:$,ctx:oe||this,callAtLast:V.zrEventfulCallAtLast},pe=ie[r].length-1,he=ie[r][pe];return he&&he.callAtLast?ie[r].splice(pe,0,de):ie[r].push(de),this},t.prototype.isSilent=function(r){var $=this._$handlers;return!$||!$[r]||!$[r].length},t.prototype.off=function(r,$){var V=this._$handlers;if(!V)return this;if(!r)return this._$handlers={},this;if($){if(V[r]){for(var oe=[],ie=0,le=V[r].length;ie<le;ie++)V[r][ie].h!==$&&oe.push(V[r][ie]);V[r]=oe}V[r]&&V[r].length===0&&delete V[r]}else delete V[r];return this},t.prototype.trigger=function(r){for(var $=[],V=1;V<arguments.length;V++)$[V-1]=arguments[V];if(!this._$handlers)return this;var oe=this._$handlers[r],ie=this._$eventProcessor;if(oe)for(var le=$.length,ue=oe.length,de=0;de<ue;de++){var pe=oe[de];if(!(ie&&ie.filter&&pe.query!=null&&!ie.filter(r,pe.query)))switch(le){case 0:pe.h.call(pe.ctx);break;case 1:pe.h.call(pe.ctx,$[0]);break;case 2:pe.h.call(pe.ctx,$[0],$[1]);break;default:pe.h.apply(pe.ctx,$);break}}return ie&&ie.afterTrigger&&ie.afterTrigger(r),this},t.prototype.triggerWithContext=function(r){for(var $=[],V=1;V<arguments.length;V++)$[V-1]=arguments[V];if(!this._$handlers)return this;var oe=this._$handlers[r],ie=this._$eventProcessor;if(oe)for(var le=$.length,ue=$[le-1],de=oe.length,pe=0;pe<de;pe++){var he=oe[pe];if(!(ie&&ie.filter&&he.query!=null&&!ie.filter(r,he.query)))switch(le){case 0:he.h.call(ue);break;case 1:he.h.call(ue,$[0]);break;case 2:he.h.call(ue,$[0],$[1]);break;default:he.h.apply(ue,$.slice(1,le-1));break}}return ie&&ie.afterTrigger&&ie.afterTrigger(r),this},t}();const Eventful$1=Eventful;var LN2=Math.log(2);function determinant(t,r,$,V,oe,ie){var le=V+"-"+oe,ue=t.length;if(ie.hasOwnProperty(le))return ie[le];if(r===1){var de=Math.round(Math.log((1<<ue)-1&~oe)/LN2);return t[$][de]}for(var pe=V|1<<$,he=$+1;V&1<<he;)he++;for(var _e=0,$e=0,Ie=0;$e<ue;$e++){var Ve=1<<$e;Ve&oe||(_e+=(Ie%2?-1:1)*t[$][$e]*determinant(t,r-1,he,pe,oe|Ve,ie),Ie++)}return ie[le]=_e,_e}function buildTransformer(t,r){var $=[[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]]],V={},oe=determinant($,8,0,0,0,V);if(oe!==0){for(var ie=[],le=0;le<8;le++)for(var ue=0;ue<8;ue++)ie[ue]==null&&(ie[ue]=0),ie[ue]+=((le+ue)%2?-1:1)*determinant($,7,le===0?1:0,1<<le,1<<ue,V)/oe*r[le];return function(de,pe,he){var _e=pe*ie[6]+he*ie[7]+1;de[0]=(pe*ie[0]+he*ie[1]+ie[2])/_e,de[1]=(pe*ie[3]+he*ie[4]+ie[5])/_e}}}var EVENT_SAVED_PROP="___zrEVENTSAVED",_calcOut$1=[];function transformLocalCoord(t,r,$,V,oe){return transformCoordWithViewport(_calcOut$1,r,V,oe,!0)&&transformCoordWithViewport(t,$,_calcOut$1[0],_calcOut$1[1])}function transformCoordWithViewport(t,r,$,V,oe){if(r.getBoundingClientRect&&env$1.domSupported&&!isCanvasEl(r)){var ie=r[EVENT_SAVED_PROP]||(r[EVENT_SAVED_PROP]={}),le=prepareCoordMarkers(r,ie),ue=preparePointerTransformer(le,ie,oe);if(ue)return ue(t,$,V),!0}return!1}function prepareCoordMarkers(t,r){var $=r.markers;if($)return $;$=r.markers=[];for(var V=["left","right"],oe=["top","bottom"],ie=0;ie<4;ie++){var le=document.createElement("div"),ue=le.style,de=ie%2,pe=(ie>>1)%2;ue.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",V[de]+":0",oe[pe]+":0",V[1-de]+":auto",oe[1-pe]+":auto",""].join("!important;"),t.appendChild(le),$.push(le)}return $}function preparePointerTransformer(t,r,$){for(var V=$?"invTrans":"trans",oe=r[V],ie=r.srcCoords,le=[],ue=[],de=!0,pe=0;pe<4;pe++){var he=t[pe].getBoundingClientRect(),_e=2*pe,$e=he.left,Ie=he.top;le.push($e,Ie),de=de&&ie&&$e===ie[_e]&&Ie===ie[_e+1],ue.push(t[pe].offsetLeft,t[pe].offsetTop)}return de&&oe?oe:(r.srcCoords=le,r[V]=$?buildTransformer(ue,le):buildTransformer(le,ue))}function isCanvasEl(t){return t.nodeName.toUpperCase()==="CANVAS"}var replaceReg=/([&<>"'])/g,replaceMap={"&":"&","<":"<",">":">",'"':""","'":"'"};function encodeHTML(t){return t==null?"":(t+"").replace(replaceReg,function(r,$){return replaceMap[$]})}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){return $=$||{},V?calculateZrXY(t,r,$):firefoxNotSupportOffsetXY&&r.layerX!=null&&r.layerX!==r.offsetX?($.zrX=r.layerX,$.zrY=r.layerY):r.offsetX!=null?($.zrX=r.offsetX,$.zrY=r.offsetY):calculateZrXY(t,r,$),$}function calculateZrXY(t,r,$){if(env$1.domSupported&&t.getBoundingClientRect){var V=r.clientX,oe=r.clientY;if(isCanvasEl(t)){var ie=t.getBoundingClientRect();$.zrX=V-ie.left,$.zrY=oe-ie.top;return}else if(transformCoordWithViewport(_calcOut,t,V,oe)){$.zrX=_calcOut[0],$.zrY=_calcOut[1];return}}$.zrX=$.zrY=0}function getNativeEvent(t){return t||window.event}function normalizeEvent(t,r,$){if(r=getNativeEvent(r),r.zrX!=null)return r;var V=r.type,oe=V&&V.indexOf("touch")>=0;if(oe){var le=V!=="touchend"?r.targetTouches[0]:r.changedTouches[0];le&&clientToLocal(t,le,r,$)}else{clientToLocal(t,r,r,$);var ie=getWheelDeltaMayPolyfill(r);r.zrDelta=ie?ie/120:-(r.detail||0)/3}var ue=r.button;return r.which==null&&ue!==void 0&&MOUSE_EVENT_REG.test(r.type)&&(r.which=ue&1?1:ue&2?3:ue&4?2:0),r}function getWheelDeltaMayPolyfill(t){var r=t.wheelDelta;if(r)return r;var $=t.deltaX,V=t.deltaY;if($==null||V==null)return r;var oe=Math.abs(V!==0?V:$),ie=V>0?-1:V<0?1:$>0?-1:1;return 3*oe*ie}function addEventListener(t,r,$,V){t.addEventListener(r,$,V)}function removeEventListener(t,r,$,V){t.removeEventListener(r,$,V)}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){return this._doTrack(r,$,V),this._recognize(r)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(r,$,V){var oe=r.touches;if(oe){for(var ie={points:[],touches:[],target:$,event:r},le=0,ue=oe.length;le<ue;le++){var de=oe[le],pe=clientToLocal(V,de,{});ie.points.push([pe.zrX,pe.zrY]),ie.touches.push(de)}this._track.push(ie)}},t.prototype._recognize=function(r){for(var $ in recognizers)if(recognizers.hasOwnProperty($)){var V=recognizers[$](this._track,r);if(V)return V}},t}();function dist(t){var r=t[1][0]-t[0][0],$=t[1][1]-t[0][1];return Math.sqrt(r*r+$*$)}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 $=t.length;if($){var V=(t[$-1]||{}).points,oe=(t[$-2]||{}).points||V;if(oe&&oe.length>1&&V&&V.length>1){var ie=dist(V)/dist(oe);!isFinite(ie)&&(ie=1),r.pinchScale=ie;var le=center(V);return r.pinchX=le[0],r.pinchY=le[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,$){var V=r[0]*$[0]+r[2]*$[1],oe=r[1]*$[0]+r[3]*$[1],ie=r[0]*$[2]+r[2]*$[3],le=r[1]*$[2]+r[3]*$[3],ue=r[0]*$[4]+r[2]*$[5]+r[4],de=r[1]*$[4]+r[3]*$[5]+r[5];return t[0]=V,t[1]=oe,t[2]=ie,t[3]=le,t[4]=ue,t[5]=de,t}function translate(t,r,$){return t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t[4]=r[4]+$[0],t[5]=r[5]+$[1],t}function rotate(t,r,$){var V=r[0],oe=r[2],ie=r[4],le=r[1],ue=r[3],de=r[5],pe=Math.sin($),he=Math.cos($);return t[0]=V*he+le*pe,t[1]=-V*pe+le*he,t[2]=oe*he+ue*pe,t[3]=-oe*pe+he*ue,t[4]=he*ie+pe*de,t[5]=he*de-pe*ie,t}function scale$1(t,r,$){var V=$[0],oe=$[1];return t[0]=r[0]*V,t[1]=r[1]*oe,t[2]=r[2]*V,t[3]=r[3]*oe,t[4]=r[4]*V,t[5]=r[5]*oe,t}function invert(t,r){var $=r[0],V=r[2],oe=r[4],ie=r[1],le=r[3],ue=r[5],de=$*le-ie*V;return de?(de=1/de,t[0]=le*de,t[1]=-ie*de,t[2]=-V*de,t[3]=$*de,t[4]=(V*ue-le*oe)*de,t[5]=(ie*oe-$*ue)*de,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,$){this.x=r||0,this.y=$||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,$){return this.x=r,this.y=$,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,$){this.x+=r.x*$,this.y+=r.y*$},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 $=this.x-r.x,V=this.y-r.y;return Math.sqrt($*$+V*V)},t.prototype.distanceSquare=function(r){var $=this.x-r.x,V=this.y-r.y;return $*$+V*V},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(r){if(r){var $=this.x,V=this.y;return this.x=r[0]*$+r[2]*V+r[4],this.y=r[1]*$+r[3]*V+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){r.x=$,r.y=V},t.copy=function(r,$){r.x=$.x,r.y=$.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,$){return r.x*$.x+r.y*$.y},t.add=function(r,$,V){r.x=$.x+V.x,r.y=$.y+V.y},t.sub=function(r,$,V){r.x=$.x-V.x,r.y=$.y-V.y},t.scale=function(r,$,V){r.x=$.x*V,r.y=$.y*V},t.scaleAndAdd=function(r,$,V,oe){r.x=$.x+V.x*oe,r.y=$.y+V.y*oe},t.lerp=function(r,$,V,oe){var ie=1-oe;r.x=ie*$.x+oe*V.x,r.y=ie*$.y+oe*V.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){V<0&&(r=r+V,V=-V),oe<0&&($=$+oe,oe=-oe),this.x=r,this.y=$,this.width=V,this.height=oe}return t.prototype.union=function(r){var $=mathMin$8(r.x,this.x),V=mathMin$8(r.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mathMax$8(r.x+r.width,this.x+this.width)-$:this.width=r.width,isFinite(this.y)&&isFinite(this.height)?this.height=mathMax$8(r.y+r.height,this.y+this.height)-V:this.height=r.height,this.x=$,this.y=V},t.prototype.applyTransform=function(r){t.applyTransform(this,this,r)},t.prototype.calculateTransform=function(r){var $=this,V=r.width/$.width,oe=r.height/$.height,ie=create();return translate(ie,ie,[-$.x,-$.y]),scale$1(ie,ie,[V,oe]),translate(ie,ie,[r.x,r.y]),ie},t.prototype.intersect=function(r,$){if(!r)return!1;r instanceof t||(r=t.create(r));var V=this,oe=V.x,ie=V.x+V.width,le=V.y,ue=V.y+V.height,de=r.x,pe=r.x+r.width,he=r.y,_e=r.y+r.height,$e=!(ie<de||pe<oe||ue<he||_e<le);if($){var Ie=1/0,Ve=0,Fe=Math.abs(ie-de),Ue=Math.abs(pe-oe),qe=Math.abs(ue-he),Et=Math.abs(_e-le),Lt=Math.min(Fe,Ue),hn=Math.min(qe,Et);ie<de||pe<oe?Lt>Ve&&(Ve=Lt,Fe<Ue?Point$1.set(maxTv$1,-Fe,0):Point$1.set(maxTv$1,Ue,0)):Lt<Ie&&(Ie=Lt,Fe<Ue?Point$1.set(minTv$1,Fe,0):Point$1.set(minTv$1,-Ue,0)),ue<he||_e<le?hn>Ve&&(Ve=hn,qe<Et?Point$1.set(maxTv$1,0,-qe):Point$1.set(maxTv$1,0,Et)):Lt<Ie&&(Ie=Lt,qe<Et?Point$1.set(minTv$1,0,qe):Point$1.set(minTv$1,0,-Et))}return $&&Point$1.copy($,$e?minTv$1:maxTv$1),$e},t.prototype.contain=function(r,$){var V=this;return r>=V.x&&r<=V.x+V.width&&$>=V.y&&$<=V.y+V.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,$){r.x=$.x,r.y=$.y,r.width=$.width,r.height=$.height},t.applyTransform=function(r,$,V){if(!V){r!==$&&t.copy(r,$);return}if(V[1]<1e-5&&V[1]>-1e-5&&V[2]<1e-5&&V[2]>-1e-5){var oe=V[0],ie=V[3],le=V[4],ue=V[5];r.x=$.x*oe+le,r.y=$.y*ie+ue,r.width=$.width*oe,r.height=$.height*ie,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=$.x,lt.y=rt.y=$.y,rb.x=rt.x=$.x+$.width,rb.y=lb.y=$.y+$.height,lt.transform(V),rt.transform(V),rb.transform(V),lb.transform(V),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 de=mathMax$8(lt.x,rb.x,lb.x,rt.x),pe=mathMax$8(lt.y,rb.y,lb.y,rt.y);r.width=de-r.x,r.height=pe-r.y},t}();const BoundingRect$1=BoundingRect;var SILENT="silent";function makeEventPacket(t,r,$){return{type:t,event:$,target:r.target,topTarget:r.topTarget,cancelBubble:!1,offsetX:$.zrX,offsetY:$.zrY,gestureEvent:$.gestureEvent,pinchX:$.pinchX,pinchY:$.pinchY,pinchScale:$.pinchScale,wheelDelta:$.zrDelta,zrByTouch:$.zrByTouch,which:$.which,stop:stopEvent}}function stopEvent(){stop(this.event)}var EmptyProxy=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.handler=null,$}return r.prototype.dispose=function(){},r.prototype.setCursor=function(){},r}(Eventful$1),HoveredResult=function(){function t(r,$){this.x=r,this.y=$}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){var ue=t.call(this)||this;return ue._hovered=new HoveredResult(0,0),ue.storage=$,ue.painter=V,ue.painterRoot=ie,ue._pointerSize=le,oe=oe||new EmptyProxy,ue.proxy=null,ue.setHandlerProxy(oe),ue._draggingMgr=new Draggable$1(ue),ue}return r.prototype.setHandlerProxy=function($){this.proxy&&this.proxy.dispose(),$&&(each$c(handlerNames,function(V){$.on&&$.on(V,this[V],this)},this),$.handler=this),this.proxy=$},r.prototype.mousemove=function($){var V=$.zrX,oe=$.zrY,ie=isOutsideBoundary(this,V,oe),le=this._hovered,ue=le.target;ue&&!ue.__zr&&(le=this.findHover(le.x,le.y),ue=le.target);var de=this._hovered=ie?new HoveredResult(V,oe):this.findHover(V,oe),pe=de.target,he=this.proxy;he.setCursor&&he.setCursor(pe?pe.cursor:"default"),ue&&pe!==ue&&this.dispatchToElement(le,"mouseout",$),this.dispatchToElement(de,"mousemove",$),pe&&pe!==ue&&this.dispatchToElement(de,"mouseover",$)},r.prototype.mouseout=function($){var V=$.zrEventControl;V!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",$),V!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:$})},r.prototype.resize=function(){this._hovered=new HoveredResult(0,0)},r.prototype.dispatch=function($,V){var oe=this[$];oe&&oe.call(this,V)},r.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},r.prototype.setCursorStyle=function($){var V=this.proxy;V.setCursor&&V.setCursor($)},r.prototype.dispatchToElement=function($,V,oe){$=$||{};var ie=$.target;if(!(ie&&ie.silent)){for(var le="on"+V,ue=makeEventPacket(V,$,oe);ie&&(ie[le]&&(ue.cancelBubble=!!ie[le].call(ie,ue)),ie.trigger(V,ue),ie=ie.__hostTarget?ie.__hostTarget:ie.parent,!ue.cancelBubble););ue.cancelBubble||(this.trigger(V,ue),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(de){typeof de[le]=="function"&&de[le].call(de,ue),de.trigger&&de.trigger(V,ue)}))}},r.prototype.findHover=function($,V,oe){var ie=this.storage.getDisplayList(),le=new HoveredResult($,V);if(setHoverTarget(ie,le,$,V,oe),this._pointerSize&&!le.target){for(var ue=[],de=this._pointerSize,pe=de/2,he=new BoundingRect$1($-pe,V-pe,de,de),_e=ie.length-1;_e>=0;_e--){var $e=ie[_e];$e!==oe&&!$e.ignore&&!$e.ignoreCoarsePointer&&(!$e.parent||!$e.parent.ignoreCoarsePointer)&&(tmpRect$1.copy($e.getBoundingRect()),$e.transform&&tmpRect$1.applyTransform($e.transform),tmpRect$1.intersect(he)&&ue.push($e))}if(ue.length)for(var Ie=4,Ve=Math.PI/12,Fe=Math.PI*2,Ue=0;Ue<pe;Ue+=Ie)for(var qe=0;qe<Fe;qe+=Ve){var Et=$+Ue*Math.cos(qe),Lt=V+Ue*Math.sin(qe);if(setHoverTarget(ue,le,Et,Lt,oe),le.target)return le}}return le},r.prototype.processGesture=function($,V){this._gestureMgr||(this._gestureMgr=new GestureMgr);var oe=this._gestureMgr;V==="start"&&oe.clear();var ie=oe.recognize($,this.findHover($.zrX,$.zrY,null).target,this.proxy.dom);if(V==="end"&&oe.clear(),ie){var le=ie.type;$.gestureEvent=le;var ue=new HoveredResult;ue.target=ie.target,this.dispatchToElement(ue,le,ie.event)}},r}(Eventful$1);each$c(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){Handler.prototype[t]=function(r){var $=r.zrX,V=r.zrY,oe=isOutsideBoundary(this,$,V),ie,le;if((t!=="mouseup"||!oe)&&(ie=this.findHover($,V),le=ie.target),t==="mousedown")this._downEl=le,this._downPoint=[r.zrX,r.zrY],this._upEl=le;else if(t==="mouseup")this._upEl=le;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(ie,t,r)}});function isHover(t,r,$){if(t[t.rectHover?"rectContain":"contain"](r,$)){for(var V=t,oe=void 0,ie=!1;V;){if(V.ignoreClip&&(ie=!0),!ie){var le=V.getClipPath();if(le&&!le.contain(r,$))return!1;V.silent&&(oe=!0)}var ue=V.__hostTarget;V=ue||V.parent}return oe?SILENT:!0}return!1}function setHoverTarget(t,r,$,V,oe){for(var ie=t.length-1;ie>=0;ie--){var le=t[ie],ue=void 0;if(le!==oe&&!le.ignore&&(ue=isHover(le,$,V))&&(!r.topTarget&&(r.topTarget=le),ue!==SILENT)){r.target=le;break}}}function isOutsideBoundary(t,r,$){var V=t.painter;return r<0||r>V.getWidth()||$<0||$>V.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){var oe=r+1;if(oe===$)return 1;if(V(t[oe++],t[r])<0){for(;oe<$&&V(t[oe],t[oe-1])<0;)oe++;reverseRun(t,r,oe)}else for(;oe<$&&V(t[oe],t[oe-1])>=0;)oe++;return oe-r}function reverseRun(t,r,$){for($--;r<$;){var V=t[r];t[r++]=t[$],t[$--]=V}}function binaryInsertionSort(t,r,$,V,oe){for(V===r&&V++;V<$;V++){for(var ie=t[V],le=r,ue=V,de;le<ue;)de=le+ue>>>1,oe(ie,t[de])<0?ue=de:le=de+1;var pe=V-le;switch(pe){case 3:t[le+3]=t[le+2];case 2:t[le+2]=t[le+1];case 1:t[le+1]=t[le];break;default:for(;pe>0;)t[le+pe]=t[le+pe-1],pe--}t[le]=ie}}function gallopLeft(t,r,$,V,oe,ie){var le=0,ue=0,de=1;if(ie(t,r[$+oe])>0){for(ue=V-oe;de<ue&&ie(t,r[$+oe+de])>0;)le=de,de=(de<<1)+1,de<=0&&(de=ue);de>ue&&(de=ue),le+=oe,de+=oe}else{for(ue=oe+1;de<ue&&ie(t,r[$+oe-de])<=0;)le=de,de=(de<<1)+1,de<=0&&(de=ue);de>ue&&(de=ue);var pe=le;le=oe-de,de=oe-pe}for(le++;le<de;){var he=le+(de-le>>>1);ie(t,r[$+he])>0?le=he+1:de=he}return de}function gallopRight(t,r,$,V,oe,ie){var le=0,ue=0,de=1;if(ie(t,r[$+oe])<0){for(ue=oe+1;de<ue&&ie(t,r[$+oe-de])<0;)le=de,de=(de<<1)+1,de<=0&&(de=ue);de>ue&&(de=ue);var pe=le;le=oe-de,de=oe-pe}else{for(ue=V-oe;de<ue&&ie(t,r[$+oe+de])>=0;)le=de,de=(de<<1)+1,de<=0&&(de=ue);de>ue&&(de=ue),le+=oe,de+=oe}for(le++;le<de;){var he=le+(de-le>>>1);ie(t,r[$+he])<0?de=he:le=he+1}return de}function TimSort(t,r){var $=DEFAULT_MIN_GALLOPING,V,oe,ie=0;t.length;var le=[];V=[],oe=[];function ue(Ie,Ve){V[ie]=Ie,oe[ie]=Ve,ie+=1}function de(){for(;ie>1;){var Ie=ie-2;if(Ie>=1&&oe[Ie-1]<=oe[Ie]+oe[Ie+1]||Ie>=2&&oe[Ie-2]<=oe[Ie]+oe[Ie-1])oe[Ie-1]<oe[Ie+1]&&Ie--;else if(oe[Ie]>oe[Ie+1])break;he(Ie)}}function pe(){for(;ie>1;){var Ie=ie-2;Ie>0&&oe[Ie-1]<oe[Ie+1]&&Ie--,he(Ie)}}function he(Ie){var Ve=V[Ie],Fe=oe[Ie],Ue=V[Ie+1],qe=oe[Ie+1];oe[Ie]=Fe+qe,Ie===ie-3&&(V[Ie+1]=V[Ie+2],oe[Ie+1]=oe[Ie+2]),ie--;var Et=gallopRight(t[Ue],t,Ve,Fe,0,r);Ve+=Et,Fe-=Et,Fe!==0&&(qe=gallopLeft(t[Ve+Fe-1],t,Ue,qe,qe-1,r),qe!==0&&(Fe<=qe?_e(Ve,Fe,Ue,qe):$e(Ve,Fe,Ue,qe)))}function _e(Ie,Ve,Fe,Ue){var qe=0;for(qe=0;qe<Ve;qe++)le[qe]=t[Ie+qe];var Et=0,Lt=Fe,hn=Ie;if(t[hn++]=t[Lt++],--Ue===0){for(qe=0;qe<Ve;qe++)t[hn+qe]=le[Et+qe];return}if(Ve===1){for(qe=0;qe<Ue;qe++)t[hn+qe]=t[Lt+qe];t[hn+Ue]=le[Et];return}for(var Cn=$,bn,Sn,En;;){bn=0,Sn=0,En=!1;do if(r(t[Lt],le[Et])<0){if(t[hn++]=t[Lt++],Sn++,bn=0,--Ue===0){En=!0;break}}else if(t[hn++]=le[Et++],bn++,Sn=0,--Ve===1){En=!0;break}while((bn|Sn)<Cn);if(En)break;do{if(bn=gallopRight(t[Lt],le,Et,Ve,0,r),bn!==0){for(qe=0;qe<bn;qe++)t[hn+qe]=le[Et+qe];if(hn+=bn,Et+=bn,Ve-=bn,Ve<=1){En=!0;break}}if(t[hn++]=t[Lt++],--Ue===0){En=!0;break}if(Sn=gallopLeft(le[Et],t,Lt,Ue,0,r),Sn!==0){for(qe=0;qe<Sn;qe++)t[hn+qe]=t[Lt+qe];if(hn+=Sn,Lt+=Sn,Ue-=Sn,Ue===0){En=!0;break}}if(t[hn++]=le[Et++],--Ve===1){En=!0;break}Cn--}while(bn>=DEFAULT_MIN_GALLOPING||Sn>=DEFAULT_MIN_GALLOPING);if(En)break;Cn<0&&(Cn=0),Cn+=2}if($=Cn,$<1&&($=1),Ve===1){for(qe=0;qe<Ue;qe++)t[hn+qe]=t[Lt+qe];t[hn+Ue]=le[Et]}else{if(Ve===0)throw new Error;for(qe=0;qe<Ve;qe++)t[hn+qe]=le[Et+qe]}}function $e(Ie,Ve,Fe,Ue){var qe=0;for(qe=0;qe<Ue;qe++)le[qe]=t[Fe+qe];var Et=Ie+Ve-1,Lt=Ue-1,hn=Fe+Ue-1,Cn=0,bn=0;if(t[hn--]=t[Et--],--Ve===0){for(Cn=hn-(Ue-1),qe=0;qe<Ue;qe++)t[Cn+qe]=le[qe];return}if(Ue===1){for(hn-=Ve,Et-=Ve,bn=hn+1,Cn=Et+1,qe=Ve-1;qe>=0;qe--)t[bn+qe]=t[Cn+qe];t[hn]=le[Lt];return}for(var Sn=$;;){var En=0,wn=0,$n=!1;do if(r(le[Lt],t[Et])<0){if(t[hn--]=t[Et--],En++,wn=0,--Ve===0){$n=!0;break}}else if(t[hn--]=le[Lt--],wn++,En=0,--Ue===1){$n=!0;break}while((En|wn)<Sn);if($n)break;do{if(En=Ve-gallopRight(le[Lt],t,Ie,Ve,Ve-1,r),En!==0){for(hn-=En,Et-=En,Ve-=En,bn=hn+1,Cn=Et+1,qe=En-1;qe>=0;qe--)t[bn+qe]=t[Cn+qe];if(Ve===0){$n=!0;break}}if(t[hn--]=le[Lt--],--Ue===1){$n=!0;break}if(wn=Ue-gallopLeft(t[Et],le,0,Ue,Ue-1,r),wn!==0){for(hn-=wn,Lt-=wn,Ue-=wn,bn=hn+1,Cn=Lt+1,qe=0;qe<wn;qe++)t[bn+qe]=le[Cn+qe];if(Ue<=1){$n=!0;break}}if(t[hn--]=t[Et--],--Ve===0){$n=!0;break}Sn--}while(En>=DEFAULT_MIN_GALLOPING||wn>=DEFAULT_MIN_GALLOPING);if($n)break;Sn<0&&(Sn=0),Sn+=2}if($=Sn,$<1&&($=1),Ue===1){for(hn-=Ve,Et-=Ve,bn=hn+1,Cn=Et+1,qe=Ve-1;qe>=0;qe--)t[bn+qe]=t[Cn+qe];t[hn]=le[Lt]}else{if(Ue===0)throw new Error;for(Cn=hn-(Ue-1),qe=0;qe<Ue;qe++)t[Cn+qe]=le[qe]}}return{mergeRuns:de,forceMergeRuns:pe,pushRun:ue}}function sort(t,r,$,V){$||($=0),V||(V=t.length);var oe=V-$;if(!(oe<2)){var ie=0;if(oe<DEFAULT_MIN_MERGE){ie=makeAscendingRun(t,$,V,r),binaryInsertionSort(t,$,V,$+ie,r);return}var le=TimSort(t,r),ue=minRunLength(oe);do{if(ie=makeAscendingRun(t,$,V,r),ie<ue){var de=oe;de>ue&&(de=ue),binaryInsertionSort(t,$,$+de,$+ie,r),ie=de}le.pushRun($,ie),le.mergeRuns(),oe-=ie,$+=ie}while(oe!==0);le.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,$){for(var V=0;V<this._roots.length;V++)this._roots[V].traverse(r,$)},t.prototype.getDisplayList=function(r,$){$=$||!1;var V=this._displayList;return(r||!V.length)&&this.updateDisplayList($),V},t.prototype.updateDisplayList=function(r){this._displayListLen=0;for(var $=this._roots,V=this._displayList,oe=0,ie=$.length;oe<ie;oe++)this._updateAndAddDisplayable($[oe],null,r);V.length=this._displayListLen,sort(V,shapeCompareFunc)},t.prototype._updateAndAddDisplayable=function(r,$,V){if(!(r.ignore&&!V)){r.beforeUpdate(),r.update(),r.afterUpdate();var oe=r.getClipPath();if(r.ignoreClip)$=null;else if(oe){$?$=$.slice():$=[];for(var ie=oe,le=r;ie;)ie.parent=le,ie.updateTransform(),$.push(ie),le=ie,ie=ie.getClipPath()}if(r.childrenRef){for(var ue=r.childrenRef(),de=0;de<ue.length;de++){var pe=ue[de];r.__dirty&&(pe.__dirty|=REDRAW_BIT),this._updateAndAddDisplayable(pe,$,V)}r.__dirty=0}else{var he=r;$&&$.length?he.__clipPaths=$:he.__clipPaths&&he.__clipPaths.length>0&&(he.__clipPaths=[]),isNaN(he.z)&&(logInvalidZError(),he.z=0),isNaN(he.z2)&&(logInvalidZError(),he.z2=0),isNaN(he.zlevel)&&(logInvalidZError(),he.zlevel=0),this._displayList[this._displayListLen++]=he}var _e=r.getDecalElement&&r.getDecalElement();_e&&this._updateAndAddDisplayable(_e,$,V);var $e=r.getTextGuideLine();$e&&this._updateAndAddDisplayable($e,$,V);var Ie=r.getTextContent();Ie&&this._updateAndAddDisplayable(Ie,$,V)}},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 $=0,V=r.length;$<V;$++)this.delRoot(r[$]);return}var oe=indexOf(this._roots,r);oe>=0&&this._roots.splice(oe,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,$=.1,V=.4;return t===0?0:t===1?1:(!$||$<1?($=1,r=V/4):r=V*Math.asin(1/$)/(2*Math.PI),-($*Math.pow(2,10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/V)))},elasticOut:function(t){var r,$=.1,V=.4;return t===0?0:t===1?1:(!$||$<1?($=1,r=V/4):r=V*Math.asin(1/$)/(2*Math.PI),$*Math.pow(2,-10*t)*Math.sin((t-r)*(2*Math.PI)/V)+1)},elasticInOut:function(t){var r,$=.1,V=.4;return t===0?0:t===1?1:(!$||$<1?($=1,r=V/4):r=V*Math.asin(1/$)/(2*Math.PI),(t*=2)<1?-.5*($*Math.pow(2,10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/V)):$*Math.pow(2,-10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/V)*.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){var ie=1-oe;return ie*ie*(ie*t+3*oe*r)+oe*oe*(oe*V+3*ie*$)}function cubicDerivativeAt(t,r,$,V,oe){var ie=1-oe;return 3*(((r-t)*ie+2*($-r)*oe)*ie+(V-$)*oe*oe)}function cubicRootAt(t,r,$,V,oe,ie){var le=V+3*(r-$)-t,ue=3*($-r*2+t),de=3*(r-t),pe=t-oe,he=ue*ue-3*le*de,_e=ue*de-9*le*pe,$e=de*de-3*ue*pe,Ie=0;if(isAroundZero(he)&&isAroundZero(_e))if(isAroundZero(ue))ie[0]=0;else{var Ve=-de/ue;Ve>=0&&Ve<=1&&(ie[Ie++]=Ve)}else{var Fe=_e*_e-4*he*$e;if(isAroundZero(Fe)){var Ue=_e/he,Ve=-ue/le+Ue,qe=-Ue/2;Ve>=0&&Ve<=1&&(ie[Ie++]=Ve),qe>=0&&qe<=1&&(ie[Ie++]=qe)}else if(Fe>0){var Et=mathSqrt$3(Fe),Lt=he*ue+1.5*le*(-_e+Et),hn=he*ue+1.5*le*(-_e-Et);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 Ve=(-ue-(Lt+hn))/(3*le);Ve>=0&&Ve<=1&&(ie[Ie++]=Ve)}else{var Cn=(2*he*ue-3*le*_e)/(2*mathSqrt$3(he*he*he)),bn=Math.acos(Cn)/3,Sn=mathSqrt$3(he),En=Math.cos(bn),Ve=(-ue-2*Sn*En)/(3*le),qe=(-ue+Sn*(En+THREE_SQRT*Math.sin(bn)))/(3*le),wn=(-ue+Sn*(En-THREE_SQRT*Math.sin(bn)))/(3*le);Ve>=0&&Ve<=1&&(ie[Ie++]=Ve),qe>=0&&qe<=1&&(ie[Ie++]=qe),wn>=0&&wn<=1&&(ie[Ie++]=wn)}}return Ie}function cubicExtrema(t,r,$,V,oe){var ie=6*$-12*r+6*t,le=9*r+3*V-3*t-9*$,ue=3*r-3*t,de=0;if(isAroundZero(le)){if(isNotAroundZero$1(ie)){var pe=-ue/ie;pe>=0&&pe<=1&&(oe[de++]=pe)}}else{var he=ie*ie-4*le*ue;if(isAroundZero(he))oe[0]=-ie/(2*le);else if(he>0){var _e=mathSqrt$3(he),pe=(-ie+_e)/(2*le),$e=(-ie-_e)/(2*le);pe>=0&&pe<=1&&(oe[de++]=pe),$e>=0&&$e<=1&&(oe[de++]=$e)}}return de}function cubicSubdivide(t,r,$,V,oe,ie){var le=(r-t)*oe+t,ue=($-r)*oe+r,de=(V-$)*oe+$,pe=(ue-le)*oe+le,he=(de-ue)*oe+ue,_e=(he-pe)*oe+pe;ie[0]=t,ie[1]=le,ie[2]=pe,ie[3]=_e,ie[4]=_e,ie[5]=he,ie[6]=de,ie[7]=V}function cubicProjectPoint(t,r,$,V,oe,ie,le,ue,de,pe,he){var _e,$e=.005,Ie=1/0,Ve,Fe,Ue,qe;_v0[0]=de,_v0[1]=pe;for(var Et=0;Et<1;Et+=.05)_v1[0]=cubicAt(t,$,oe,le,Et),_v1[1]=cubicAt(r,V,ie,ue,Et),Ue=distSquare(_v0,_v1),Ue<Ie&&(_e=Et,Ie=Ue);Ie=1/0;for(var Lt=0;Lt<32&&!($e<EPSILON_NUMERIC);Lt++)Ve=_e-$e,Fe=_e+$e,_v1[0]=cubicAt(t,$,oe,le,Ve),_v1[1]=cubicAt(r,V,ie,ue,Ve),Ue=distSquare(_v1,_v0),Ve>=0&&Ue<Ie?(_e=Ve,Ie=Ue):(_v2[0]=cubicAt(t,$,oe,le,Fe),_v2[1]=cubicAt(r,V,ie,ue,Fe),qe=distSquare(_v2,_v0),Fe<=1&&qe<Ie?(_e=Fe,Ie=qe):$e*=.5);return he&&(he[0]=cubicAt(t,$,oe,le,_e),he[1]=cubicAt(r,V,ie,ue,_e)),mathSqrt$3(Ie)}function cubicLength(t,r,$,V,oe,ie,le,ue,de){for(var pe=t,he=r,_e=0,$e=1/de,Ie=1;Ie<=de;Ie++){var Ve=Ie*$e,Fe=cubicAt(t,$,oe,le,Ve),Ue=cubicAt(r,V,ie,ue,Ve),qe=Fe-pe,Et=Ue-he;_e+=Math.sqrt(qe*qe+Et*Et),pe=Fe,he=Ue}return _e}function quadraticAt(t,r,$,V){var oe=1-V;return oe*(oe*t+2*V*r)+V*V*$}function quadraticDerivativeAt(t,r,$,V){return 2*((1-V)*(r-t)+V*($-r))}function quadraticRootAt(t,r,$,V,oe){var ie=t-2*r+$,le=2*(r-t),ue=t-V,de=0;if(isAroundZero(ie)){if(isNotAroundZero$1(le)){var pe=-ue/le;pe>=0&&pe<=1&&(oe[de++]=pe)}}else{var he=le*le-4*ie*ue;if(isAroundZero(he)){var pe=-le/(2*ie);pe>=0&&pe<=1&&(oe[de++]=pe)}else if(he>0){var _e=mathSqrt$3(he),pe=(-le+_e)/(2*ie),$e=(-le-_e)/(2*ie);pe>=0&&pe<=1&&(oe[de++]=pe),$e>=0&&$e<=1&&(oe[de++]=$e)}}return de}function quadraticExtremum(t,r,$){var V=t+$-2*r;return V===0?.5:(t-r)/V}function quadraticSubdivide(t,r,$,V,oe){var ie=(r-t)*V+t,le=($-r)*V+r,ue=(le-ie)*V+ie;oe[0]=t,oe[1]=ie,oe[2]=ue,oe[3]=ue,oe[4]=le,oe[5]=$}function quadraticProjectPoint(t,r,$,V,oe,ie,le,ue,de){var pe,he=.005,_e=1/0;_v0[0]=le,_v0[1]=ue;for(var $e=0;$e<1;$e+=.05){_v1[0]=quadraticAt(t,$,oe,$e),_v1[1]=quadraticAt(r,V,ie,$e);var Ie=distSquare(_v0,_v1);Ie<_e&&(pe=$e,_e=Ie)}_e=1/0;for(var Ve=0;Ve<32&&!(he<EPSILON_NUMERIC);Ve++){var Fe=pe-he,Ue=pe+he;_v1[0]=quadraticAt(t,$,oe,Fe),_v1[1]=quadraticAt(r,V,ie,Fe);var Ie=distSquare(_v1,_v0);if(Fe>=0&&Ie<_e)pe=Fe,_e=Ie;else{_v2[0]=quadraticAt(t,$,oe,Ue),_v2[1]=quadraticAt(r,V,ie,Ue);var qe=distSquare(_v2,_v0);Ue<=1&&qe<_e?(pe=Ue,_e=qe):he*=.5}}return de&&(de[0]=quadraticAt(t,$,oe,pe),de[1]=quadraticAt(r,V,ie,pe)),mathSqrt$3(_e)}function quadraticLength(t,r,$,V,oe,ie,le){for(var ue=t,de=r,pe=0,he=1/le,_e=1;_e<=le;_e++){var $e=_e*he,Ie=quadraticAt(t,$,oe,$e),Ve=quadraticAt(r,V,ie,$e),Fe=Ie-ue,Ue=Ve-de;pe+=Math.sqrt(Fe*Fe+Ue*Ue),ue=Ie,de=Ve}return pe}var regexp=/cubic-bezier\(([0-9,\.e ]+)\)/;function createCubicEasingFunc(t){var r=t&®exp.exec(t);if(r){var $=r[1].split(","),V=+trim$1($[0]),oe=+trim$1($[1]),ie=+trim$1($[2]),le=+trim$1($[3]);if(isNaN(V+oe+ie+le))return;var ue=[];return function(de){return de<=0?0:de>=1?1:cubicRootAt(0,V,ie,1,de,ue)&&cubicAt(0,oe,le,1,ue[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,$){if(this._inited||(this._startTime=r+this._delay,this._inited=!0),this._paused){this._pausedTime+=$;return}var V=this._life,oe=r-this._startTime-this._pausedTime,ie=oe/V;ie<0&&(ie=0),ie=Math.min(ie,1);var le=this.easingFunc,ue=le?le(ie):ie;if(this.onframe(ue),ie===1)if(this.loop){var de=oe%V;this._startTime=r-de,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 $=new Entry(r);return this.insertEntry($),$},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 $=r.prev,V=r.next;$?$.next=V:this.head=V,V?V.prev=$:this.tail=$,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,$){var V=this._list,oe=this._map,ie=null;if(oe[r]==null){var le=V.len(),ue=this._lastRemovedEntry;if(le>=this._maxSize&&le>0){var de=V.head;V.remove(de),delete oe[de.key],ie=de.value,this._lastRemovedEntry=de}ue?ue.value=$:ue=new Entry($),ue.key=r,V.insertEntry(ue),oe[r]=ue}return ie},t.prototype.get=function(r){var $=this._map[r],V=this._list;if($!=null)return $!==V.tail&&(V.remove($),V.insertEntry($)),$.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,$){return $<0?$+=1:$>1&&($-=1),$*6<1?t+(r-t)*$*6:$*2<1?r:$*3<2?t+(r-t)*(2/3-$)*6:t}function lerpNumber(t,r,$){return t+(r-t)*$}function setRgba(t,r,$,V,oe){return t[0]=r,t[1]=$,t[2]=V,t[3]=oe,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 $=colorCache.get(t);if($)return copyRgba(r,$);t=t+"";var V=t.replace(/ /g,"").toLowerCase();if(V in kCSSColorTable)return copyRgba(r,kCSSColorTable[V]),putToCache(t,r),r;var oe=V.length;if(V.charAt(0)==="#"){if(oe===4||oe===5){var ie=parseInt(V.slice(1,4),16);if(!(ie>=0&&ie<=4095)){setRgba(r,0,0,0,1);return}return setRgba(r,(ie&3840)>>4|(ie&3840)>>8,ie&240|(ie&240)>>4,ie&15|(ie&15)<<4,oe===5?parseInt(V.slice(4),16)/15:1),putToCache(t,r),r}else if(oe===7||oe===9){var ie=parseInt(V.slice(1,7),16);if(!(ie>=0&&ie<=16777215)){setRgba(r,0,0,0,1);return}return setRgba(r,(ie&16711680)>>16,(ie&65280)>>8,ie&255,oe===9?parseInt(V.slice(7),16)/255:1),putToCache(t,r),r}return}var le=V.indexOf("("),ue=V.indexOf(")");if(le!==-1&&ue+1===oe){var de=V.substr(0,le),pe=V.substr(le+1,ue-(le+1)).split(","),he=1;switch(de){case"rgba":if(pe.length!==4)return pe.length===3?setRgba(r,+pe[0],+pe[1],+pe[2],1):setRgba(r,0,0,0,1);he=parseCssFloat(pe.pop());case"rgb":if(pe.length>=3)return setRgba(r,parseCssInt(pe[0]),parseCssInt(pe[1]),parseCssInt(pe[2]),pe.length===3?he:parseCssFloat(pe[3])),putToCache(t,r),r;setRgba(r,0,0,0,1);return;case"hsla":if(pe.length!==4){setRgba(r,0,0,0,1);return}return pe[3]=parseCssFloat(pe[3]),hsla2rgba(pe,r),putToCache(t,r),r;case"hsl":if(pe.length!==3){setRgba(r,0,0,0,1);return}return hsla2rgba(pe,r),putToCache(t,r),r;default:return}}setRgba(r,0,0,0,1)}}function hsla2rgba(t,r){var $=(parseFloat(t[0])%360+360)%360/360,V=parseCssFloat(t[1]),oe=parseCssFloat(t[2]),ie=oe<=.5?oe*(V+1):oe+V-oe*V,le=oe*2-ie;return r=r||[],setRgba(r,clampCssByte(cssHueToRgb(le,ie,$+1/3)*255),clampCssByte(cssHueToRgb(le,ie,$)*255),clampCssByte(cssHueToRgb(le,ie,$-1/3)*255),1),t.length===4&&(r[3]=t[3]),r}function rgba2hsla(t){if(t){var r=t[0]/255,$=t[1]/255,V=t[2]/255,oe=Math.min(r,$,V),ie=Math.max(r,$,V),le=ie-oe,ue=(ie+oe)/2,de,pe;if(le===0)de=0,pe=0;else{ue<.5?pe=le/(ie+oe):pe=le/(2-ie-oe);var he=((ie-r)/6+le/2)/le,_e=((ie-$)/6+le/2)/le,$e=((ie-V)/6+le/2)/le;r===ie?de=$e-_e:$===ie?de=1/3+he-$e:V===ie&&(de=2/3+_e-he),de<0&&(de+=1),de>1&&(de-=1)}var Ie=[de*360,pe,ue];return t[3]!=null&&Ie.push(t[3]),Ie}}function lift(t,r){var $=parse$1(t);if($){for(var V=0;V<3;V++)r<0?$[V]=$[V]*(1-r)|0:$[V]=(255-$[V])*r+$[V]|0,$[V]>255?$[V]=255:$[V]<0&&($[V]=0);return stringify($,$.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,$){if(!(!(r&&r.length)||!(t>=0&&t<=1))){$=$||[];var V=t*(r.length-1),oe=Math.floor(V),ie=Math.ceil(V),le=r[oe],ue=r[ie],de=V-oe;return $[0]=clampCssByte(lerpNumber(le[0],ue[0],de)),$[1]=clampCssByte(lerpNumber(le[1],ue[1],de)),$[2]=clampCssByte(lerpNumber(le[2],ue[2],de)),$[3]=clampCssFloat(lerpNumber(le[3],ue[3],de)),$}}var fastMapToColor=fastLerp;function lerp(t,r,$){if(!(!(r&&r.length)||!(t>=0&&t<=1))){var V=t*(r.length-1),oe=Math.floor(V),ie=Math.ceil(V),le=parse$1(r[oe]),ue=parse$1(r[ie]),de=V-oe,pe=stringify([clampCssByte(lerpNumber(le[0],ue[0],de)),clampCssByte(lerpNumber(le[1],ue[1],de)),clampCssByte(lerpNumber(le[2],ue[2],de)),clampCssFloat(lerpNumber(le[3],ue[3],de))],"rgba");return $?{color:pe,leftIndex:oe,rightIndex:ie,value:V}:pe}}var mapToColor=lerp;function modifyHSL(t,r,$,V){var oe=parse$1(t);if(t)return oe=rgba2hsla(oe),r!=null&&(oe[0]=clampCssAngle(r)),$!=null&&(oe[1]=parseCssFloat($)),V!=null&&(oe[2]=parseCssFloat(V)),stringify(hsla2rgba(oe),"rgba")}function modifyAlpha(t,r){var $=parse$1(t);if($&&r!=null)return $[3]=clampCssFloat(r),stringify($,"rgba")}function stringify(t,r){if(!(!t||!t.length)){var $=t[0]+","+t[1]+","+t[2];return(r==="rgba"||r==="hsva"||r==="hsla")&&($+=","+t[3]),r+"("+$+")"}}function lum(t,r){var $=parse$1(t);return $?(.299*$[0]+.587*$[1]+.114*$[2])*$[3]/255+(1-$[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,$){return(r-t)*$+t}function interpolate1DArray(t,r,$,V){for(var oe=r.length,ie=0;ie<oe;ie++)t[ie]=interpolateNumber$1(r[ie],$[ie],V);return t}function interpolate2DArray(t,r,$,V){for(var oe=r.length,ie=oe&&r[0].length,le=0;le<oe;le++){t[le]||(t[le]=[]);for(var ue=0;ue<ie;ue++)t[le][ue]=interpolateNumber$1(r[le][ue],$[le][ue],V)}return t}function add1DArray(t,r,$,V){for(var oe=r.length,ie=0;ie<oe;ie++)t[ie]=r[ie]+$[ie]*V;return t}function add2DArray(t,r,$,V){for(var oe=r.length,ie=oe&&r[0].length,le=0;le<oe;le++){t[le]||(t[le]=[]);for(var ue=0;ue<ie;ue++)t[le][ue]=r[le][ue]+$[le][ue]*V}return t}function fillColorStops(t,r){for(var $=t.length,V=r.length,oe=$>V?r:t,ie=Math.min($,V),le=oe[ie-1]||{color:[0,0,0,0],offset:0},ue=ie;ue<Math.max($,V);ue++)oe.push({offset:le.offset,color:le.color.slice()})}function fillArray(t,r,$){var V=t,oe=r;if(!(!V.push||!oe.push)){var ie=V.length,le=oe.length;if(ie!==le){var ue=ie>le;if(ue)V.length=le;else for(var de=ie;de<le;de++)V.push($===1?oe[de]:arraySlice.call(oe[de]))}for(var pe=V[0]&&V[0].length,de=0;de<V.length;de++)if($===1)isNaN(V[de])&&(V[de]=oe[de]);else for(var he=0;he<pe;he++)isNaN(V[de][he])&&(V[de][he]=oe[de][he])}}function cloneValue(t){if(isArrayLike(t)){var r=t.length;if(isArrayLike(t[0])){for(var $=[],V=0;V<r;V++)$.push(arraySlice.call(t[V]));return $}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){this._needsSort=!0;var oe=this.keyframes,ie=oe.length,le=!1,ue=VALUE_TYPE_UNKOWN,de=$;if(isArrayLike($)){var pe=guessArrayDim($);ue=pe,(pe===1&&!isNumber($[0])||pe===2&&!isNumber($[0][0]))&&(le=!0)}else if(isNumber($)&&!eqNaN($))ue=VALUE_TYPE_NUMBER;else if(isString($))if(!isNaN(+$))ue=VALUE_TYPE_NUMBER;else{var he=parse$1($);he&&(de=he,ue=VALUE_TYPE_COLOR)}else if(isGradientObject($)){var _e=extend({},de);_e.colorStops=map$2($.colorStops,function(Ie){return{offset:Ie.offset,color:parse$1(Ie.color)}}),isLinearGradient($)?ue=VALUE_TYPE_LINEAR_GRADIENT:isRadialGradient($)&&(ue=VALUE_TYPE_RADIAL_GRADIENT),de=_e}ie===0?this.valType=ue:(ue!==this.valType||ue===VALUE_TYPE_UNKOWN)&&(le=!0),this.discrete=this.discrete||le;var $e={time:r,value:de,rawValue:$,percent:0};return V&&($e.easing=V,$e.easingFunc=isFunction(V)?V:easingFuncs$1[V]||createCubicEasingFunc(V)),oe.push($e),$e},t.prototype.prepare=function(r,$){var V=this.keyframes;this._needsSort&&V.sort(function(Fe,Ue){return Fe.time-Ue.time});for(var oe=this.valType,ie=V.length,le=V[ie-1],ue=this.discrete,de=isArrayValueType(oe),pe=isGradientValueType(oe),he=0;he<ie;he++){var _e=V[he],$e=_e.value,Ie=le.value;_e.percent=_e.time/r,ue||(de&&he!==ie-1?fillArray($e,Ie,oe):pe&&fillColorStops($e.colorStops,Ie.colorStops))}if(!ue&&oe!==VALUE_TYPE_RADIAL_GRADIENT&&$&&this.needsAnimate()&&$.needsAnimate()&&oe===$.valType&&!$._finished){this._additiveTrack=$;for(var Ve=V[0].value,he=0;he<ie;he++)oe===VALUE_TYPE_NUMBER?V[he].additiveValue=V[he].value-Ve:oe===VALUE_TYPE_COLOR?V[he].additiveValue=add1DArray([],V[he].value,Ve,-1):isArrayValueType(oe)&&(V[he].additiveValue=oe===VALUE_TYPE_1D_ARRAY?add1DArray([],V[he].value,Ve,-1):add2DArray([],V[he].value,Ve,-1))}},t.prototype.step=function(r,$){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var V=this._additiveTrack!=null,oe=V?"additiveValue":"value",ie=this.valType,le=this.keyframes,ue=le.length,de=this.propName,pe=ie===VALUE_TYPE_COLOR,he,_e=this._lastFr,$e=Math.min,Ie,Ve;if(ue===1)Ie=Ve=le[0];else{if($<0)he=0;else if($<this._lastFrP){var Fe=$e(_e+1,ue-1);for(he=Fe;he>=0&&!(le[he].percent<=$);he--);he=$e(he,ue-2)}else{for(he=_e;he<ue&&!(le[he].percent>$);he++);he=$e(he-1,ue-2)}Ve=le[he+1],Ie=le[he]}if(Ie&&Ve){this._lastFr=he,this._lastFrP=$;var Ue=Ve.percent-Ie.percent,qe=Ue===0?1:$e(($-Ie.percent)/Ue,1);Ve.easingFunc&&(qe=Ve.easingFunc(qe));var Et=V?this._additiveValue:pe?tmpRgba:r[de];if((isArrayValueType(ie)||pe)&&!Et&&(Et=this._additiveValue=[]),this.discrete)r[de]=qe<1?Ie.rawValue:Ve.rawValue;else if(isArrayValueType(ie))ie===VALUE_TYPE_1D_ARRAY?interpolate1DArray(Et,Ie[oe],Ve[oe],qe):interpolate2DArray(Et,Ie[oe],Ve[oe],qe);else if(isGradientValueType(ie)){var Lt=Ie[oe],hn=Ve[oe],Cn=ie===VALUE_TYPE_LINEAR_GRADIENT;r[de]={type:Cn?"linear":"radial",x:interpolateNumber$1(Lt.x,hn.x,qe),y:interpolateNumber$1(Lt.y,hn.y,qe),colorStops:map$2(Lt.colorStops,function(Sn,En){var wn=hn.colorStops[En];return{offset:interpolateNumber$1(Sn.offset,wn.offset,qe),color:rgba2String(interpolate1DArray([],Sn.color,wn.color,qe))}}),global:hn.global},Cn?(r[de].x2=interpolateNumber$1(Lt.x2,hn.x2,qe),r[de].y2=interpolateNumber$1(Lt.y2,hn.y2,qe)):r[de].r=interpolateNumber$1(Lt.r,hn.r,qe)}else if(pe)interpolate1DArray(Et,Ie[oe],Ve[oe],qe),V||(r[de]=rgba2String(Et));else{var bn=interpolateNumber$1(Ie[oe],Ve[oe],qe);V?this._additiveValue=bn:r[de]=bn}V&&this._addToTarget(r)}}},t.prototype._addToTarget=function(r){var $=this.valType,V=this.propName,oe=this._additiveValue;$===VALUE_TYPE_NUMBER?r[V]=r[V]+oe:$===VALUE_TYPE_COLOR?(parse$1(r[V],tmpRgba),add1DArray(tmpRgba,tmpRgba,oe,1),r[V]=rgba2String(tmpRgba)):$===VALUE_TYPE_1D_ARRAY?add1DArray(r[V],r[V],oe,1):$===VALUE_TYPE_2D_ARRAY&&add2DArray(r[V],r[V],oe,1)},t}(),Animator=function(){function t(r,$,V,oe){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=r,this._loop=$,$&&oe){logError("Can' use additive animation on looped animation.");return}this._additiveAnimators=oe,this._allowDiscrete=V}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){return this.whenWithKeys(r,$,keys($),V)},t.prototype.whenWithKeys=function(r,$,V,oe){for(var ie=this._tracks,le=0;le<V.length;le++){var ue=V[le],de=ie[ue];if(!de){de=ie[ue]=new Track(ue);var pe=void 0,he=this._getAdditiveTrack(ue);if(he){var _e=he.keyframes,$e=_e[_e.length-1];pe=$e&&$e.value,he.valType===VALUE_TYPE_COLOR&&pe&&(pe=rgba2String(pe))}else pe=this._target[ue];if(pe==null)continue;r>0&&de.addKeyframe(0,cloneValue(pe),oe),this._trackKeys.push(ue)}de.addKeyframe(r,cloneValue($[ue]),oe)}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 $=r.length,V=0;V<$;V++)r[V].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var r=this.animation,$=this._abortedCbs;if(r&&r.removeClip(this._clip),this._clip=null,$)for(var V=0;V<$.length;V++)$[V].call(this)},t.prototype._setTracksFinished=function(){for(var r=this._tracks,$=this._trackKeys,V=0;V<$.length;V++)r[$[V]].setFinished()},t.prototype._getAdditiveTrack=function(r){var $,V=this._additiveAnimators;if(V)for(var oe=0;oe<V.length;oe++){var ie=V[oe].getTrack(r);ie&&($=ie)}return $},t.prototype.start=function(r){if(!(this._started>0)){this._started=1;for(var $=this,V=[],oe=this._maxTime||0,ie=0;ie<this._trackKeys.length;ie++){var le=this._trackKeys[ie],ue=this._tracks[le],de=this._getAdditiveTrack(le),pe=ue.keyframes,he=pe.length;if(ue.prepare(oe,de),ue.needsAnimate())if(!this._allowDiscrete&&ue.discrete){var _e=pe[he-1];_e&&($._target[ue.propName]=_e.rawValue),ue.setFinished()}else V.push(ue)}if(V.length||this._force){var $e=new Clip$1({life:oe,loop:this._loop,delay:this._delay||0,onframe:function(Ie){$._started=2;var Ve=$._additiveAnimators;if(Ve){for(var Fe=!1,Ue=0;Ue<Ve.length;Ue++)if(Ve[Ue]._clip){Fe=!0;break}Fe||($._additiveAnimators=null)}for(var Ue=0;Ue<V.length;Ue++)V[Ue].step($._target,Ie);var qe=$._onframeCbs;if(qe)for(var Ue=0;Ue<qe.length;Ue++)qe[Ue]($._target,Ie)},ondestroy:function(){$._doneCallback()}});this._clip=$e,this.animation&&this.animation.addClip($e),r&&$e.setEasing(r)}else this._doneCallback();return this}},t.prototype.stop=function(r){if(this._clip){var $=this._clip;r&&$.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($){return r._tracks[$]})},t.prototype.stopTracks=function(r,$){if(!r.length||!this._clip)return!0;for(var V=this._tracks,oe=this._trackKeys,ie=0;ie<r.length;ie++){var le=V[r[ie]];le&&!le.isFinished()&&($?le.step(this._target,1):this._started===1&&le.step(this._target,0),le.setFinished())}for(var ue=!0,ie=0;ie<oe.length;ie++)if(!V[oe[ie]].isFinished()){ue=!1;break}return ue&&this._abortedCallback(),ue},t.prototype.saveTo=function(r,$,V){if(r){$=$||this._trackKeys;for(var oe=0;oe<$.length;oe++){var ie=$[oe],le=this._tracks[ie];if(!(!le||le.isFinished())){var ue=le.keyframes,de=ue[V?0:ue.length-1];de&&(r[ie]=cloneValue(de.rawValue))}}}},t.prototype.__changeFinalValue=function(r,$){$=$||keys(r);for(var V=0;V<$.length;V++){var oe=$[V],ie=this._tracks[oe];if(ie){var le=ie.keyframes;if(le.length>1){var ue=le.pop();ie.addKeyframe(ue.time,r[oe]),ie.prepare(this._maxTime,ie.getAdditiveTrack())}}}},t}();const Animator$1=Animator;function getTime(){return new Date().getTime()}var Animation=function(t){__extends(r,t);function r($){var V=t.call(this)||this;return V._running=!1,V._time=0,V._pausedTime=0,V._pauseStart=0,V._paused=!1,$=$||{},V.stage=$.stage||{},V}return r.prototype.addClip=function($){$.animation&&this.removeClip($),this._head?(this._tail.next=$,$.prev=this._tail,$.next=null,this._tail=$):this._head=this._tail=$,$.animation=this},r.prototype.addAnimator=function($){$.animation=this;var V=$.getClip();V&&this.addClip(V)},r.prototype.removeClip=function($){if($.animation){var V=$.prev,oe=$.next;V?V.next=oe:this._head=oe,oe?oe.prev=V:this._tail=V,$.next=$.prev=$.animation=null}},r.prototype.removeAnimator=function($){var V=$.getClip();V&&this.removeClip(V),$.animation=null},r.prototype.update=function($){for(var V=getTime()-this._pausedTime,oe=V-this._time,ie=this._head;ie;){var le=ie.next,ue=ie.step(V,oe);ue&&(ie.ondestroy(),this.removeClip(ie)),ie=le}this._time=V,$||(this.trigger("frame",oe),this.stage.update&&this.stage.update())},r.prototype._startLoop=function(){var $=this;this._running=!0;function V(){$._running&&(requestAnimationFrame$2(V),!$._paused&&$.update())}requestAnimationFrame$2(V)},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 $=this._head;$;){var V=$.next;$.prev=$.next=$.animation=null,$=V}this._head=this._tail=null},r.prototype.isFinished=function(){return this._head==null},r.prototype.animate=function($,V){V=V||{},this.start();var oe=new Animator$1($,V.loop);return this.addAnimator(oe),oe},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"],$={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},V=map$2(t,function(oe){var ie=oe.replace("mouse","pointer");return $.hasOwnProperty(ie)?ie:oe});return{mouse:t,touch:r,pointer:V}}(),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 $=r,V=!1;$&&$.nodeType!==9&&!(V=$.domBelongToZr||$!==r&&$===t.painterRoot);)$=$.parentNode;return V}var FakeGlobalEvent=function(){function t(r,$){this.stopPropagation=noop,this.stopImmediatePropagation=noop,this.preventDefault=noop,this.type=$.type,this.target=this.currentTarget=r.dom,this.pointerType=$.pointerType,this.clientX=$.clientX,this.clientY=$.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 $=r.domHandlers;env$1.pointerEventsSupported?each$c(localNativeListenerNames.pointer,function(V){mountSingleDOMEventListener(r,V,function(oe){$[V].call(t,oe)})}):(env$1.touchEventsSupported&&each$c(localNativeListenerNames.touch,function(V){mountSingleDOMEventListener(r,V,function(oe){$[V].call(t,oe),setTouchTimer(r)})}),each$c(localNativeListenerNames.mouse,function(V){mountSingleDOMEventListener(r,V,function(oe){oe=getNativeEvent(oe),r.touching||$[V].call(t,oe)})}))}function mountGlobalDOMEventListeners(t,r){env$1.pointerEventsSupported?each$c(globalNativeListenerNames.pointer,$):env$1.touchEventsSupported||each$c(globalNativeListenerNames.mouse,$);function $(V){function oe(ie){ie=getNativeEvent(ie),isLocalEl(t,ie.target)||(ie=normalizeGlobalEvent(t,ie),r.domHandlers[V].call(t,ie))}mountSingleDOMEventListener(r,V,oe,{capture:!0})}}function mountSingleDOMEventListener(t,r,$,V){t.mounted[r]=$,t.listenerOpts[r]=V,addEventListener(t.domTarget,r,$,V)}function unmountDOMEventListeners(t){var r=t.mounted;for(var $ in r)r.hasOwnProperty($)&&removeEventListener(t.domTarget,$,r[$],t.listenerOpts[$]);t.mounted={}}var DOMHandlerScope=function(){function t(r,$){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=r,this.domHandlers=$}return t}(),HandlerDomProxy=function(t){__extends(r,t);function r($,V){var oe=t.call(this)||this;return oe.__pointerCapturing=!1,oe.dom=$,oe.painterRoot=V,oe._localHandlerScope=new DOMHandlerScope($,localDOMHandlers),globalEventSupported&&(oe._globalHandlerScope=new DOMHandlerScope(document,globalDOMHandlers)),mountLocalDOMEventListeners(oe,oe._localHandlerScope),oe}return r.prototype.dispose=function(){unmountDOMEventListeners(this._localHandlerScope),globalEventSupported&&unmountDOMEventListeners(this._globalHandlerScope)},r.prototype.setCursor=function($){this.dom.style&&(this.dom.style.cursor=$||"default")},r.prototype.__togglePointerCapture=function($){if(this.__mayPointerCapture=null,globalEventSupported&&+this.__pointerCapturing^+$){this.__pointerCapturing=$;var V=this._globalHandlerScope;$?mountGlobalDOMEventListeners(this,V):unmountDOMEventListeners(V)}},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,$=this.needLocalTransform(),V=this.transform;if(!($||r)){V&&(mIdentity(V),this.invTransform=null);return}V=V||create(),$?this.getLocalTransform(V):mIdentity(V),r&&($?mul(V,r,V):copy$1(V,r)),this.transform=V,this._resolveGlobalScaleRatio(V)},t.prototype._resolveGlobalScaleRatio=function(r){var $=this.globalScaleRatio;if($!=null&&$!==1){this.getGlobalScale(scaleTmp);var V=scaleTmp[0]<0?-1:1,oe=scaleTmp[1]<0?-1:1,ie=((scaleTmp[0]-V)*$+V)/scaleTmp[0]||0,le=((scaleTmp[1]-oe)*$+oe)/scaleTmp[1]||0;r[0]*=ie,r[1]*=ie,r[2]*=le,r[3]*=le}this.invTransform=this.invTransform||create(),invert(this.invTransform,r)},t.prototype.getComputedTransform=function(){for(var r=this,$=[];r;)$.push(r),r=r.parent;for(;r=$.pop();)r.updateTransform();return this.transform},t.prototype.setLocalTransform=function(r){if(r){var $=r[0]*r[0]+r[1]*r[1],V=r[2]*r[2]+r[3]*r[3],oe=Math.atan2(r[1],r[0]),ie=Math.PI/2+oe-Math.atan2(r[3],r[2]);V=Math.sqrt(V)*Math.cos(ie),$=Math.sqrt($),this.skewX=ie,this.skewY=0,this.rotation=-oe,this.x=+r[4],this.y=+r[5],this.scaleX=$,this.scaleY=V,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var r=this.parent,$=this.transform;r&&r.transform&&(mul(tmpTransform,r.invTransform,$),$=tmpTransform);var V=this.originX,oe=this.originY;(V||oe)&&(originTransform[4]=V,originTransform[5]=oe,mul(tmpTransform,$,originTransform),tmpTransform[4]-=V,tmpTransform[5]-=oe,$=tmpTransform),this.setLocalTransform($)}},t.prototype.getGlobalScale=function(r){var $=this.transform;return r=r||[],$?(r[0]=Math.sqrt($[0]*$[0]+$[1]*$[1]),r[1]=Math.sqrt($[2]*$[2]+$[3]*$[3]),$[0]<0&&(r[0]=-r[0]),$[3]<0&&(r[1]=-r[1]),r):(r[0]=1,r[1]=1,r)},t.prototype.transformCoordToLocal=function(r,$){var V=[r,$],oe=this.invTransform;return oe&&applyTransform$1(V,V,oe),V},t.prototype.transformCoordToGlobal=function(r,$){var V=[r,$],oe=this.transform;return oe&&applyTransform$1(V,V,oe),V},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,$){$=$||[];var V=r.originX||0,oe=r.originY||0,ie=r.scaleX,le=r.scaleY,ue=r.anchorX,de=r.anchorY,pe=r.rotation||0,he=r.x,_e=r.y,$e=r.skewX?Math.tan(r.skewX):0,Ie=r.skewY?Math.tan(-r.skewY):0;if(V||oe||ue||de){var Ve=V+ue,Fe=oe+de;$[4]=-Ve*ie-$e*Fe*le,$[5]=-Fe*le-Ie*Ve*ie}else $[4]=$[5]=0;return $[0]=ie,$[3]=le,$[1]=Ie*ie,$[2]=$e*le,pe&&rotate($,$,pe),$[4]+=V+he,$[5]+=oe+_e,$},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 $=0;$<TRANSFORMABLE_PROPS.length;$++){var V=TRANSFORMABLE_PROPS[$];t[V]=r[V]}}const Transformable$1=Transformable;var textWidthCache={};function getWidth(t,r){r=r||DEFAULT_FONT;var $=textWidthCache[r];$||($=textWidthCache[r]=new LRU$1(500));var V=$.get(t);return V==null&&(V=platformApi.measureText(t,r).width,$.put(t,V)),V}function innerGetBoundingRect(t,r,$,V){var oe=getWidth(t,r),ie=getLineHeight(r),le=adjustTextX(0,oe,$),ue=adjustTextY(0,ie,V),de=new BoundingRect$1(le,ue,oe,ie);return de}function getBoundingRect(t,r,$,V){var oe=((t||"")+"").split(`
|
||
`),ie=oe.length;if(ie===1)return innerGetBoundingRect(oe[0],r,$,V);for(var le=new BoundingRect$1(0,0,0,0),ue=0;ue<oe.length;ue++){var de=innerGetBoundingRect(oe[ue],r,$,V);ue===0?le.copy(de):le.union(de)}return le}function adjustTextX(t,r,$){return $==="right"?t-=r:$==="center"&&(t-=r/2),t}function adjustTextY(t,r,$){return $==="middle"?t-=r/2:$==="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,$){var V=r.position||"inside",oe=r.distance!=null?r.distance:5,ie=$.height,le=$.width,ue=ie/2,de=$.x,pe=$.y,he="left",_e="top";if(V instanceof Array)de+=parsePercent$1(V[0],$.width),pe+=parsePercent$1(V[1],$.height),he=null,_e=null;else switch(V){case"left":de-=oe,pe+=ue,he="right",_e="middle";break;case"right":de+=oe+le,pe+=ue,_e="middle";break;case"top":de+=le/2,pe-=oe,he="center",_e="bottom";break;case"bottom":de+=le/2,pe+=ie+oe,he="center";break;case"inside":de+=le/2,pe+=ue,he="center",_e="middle";break;case"insideLeft":de+=oe,pe+=ue,_e="middle";break;case"insideRight":de+=le-oe,pe+=ue,he="right",_e="middle";break;case"insideTop":de+=le/2,pe+=oe,he="center";break;case"insideBottom":de+=le/2,pe+=ie-oe,he="center",_e="bottom";break;case"insideTopLeft":de+=oe,pe+=oe;break;case"insideTopRight":de+=le-oe,pe+=oe,he="right";break;case"insideBottomLeft":de+=oe,pe+=ie-oe,_e="bottom";break;case"insideBottomRight":de+=le-oe,pe+=ie-oe,he="right",_e="bottom";break}return t=t||{},t.x=de,t.y=pe,t.align=he,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){switch(this.draggable){case"horizontal":$=0;break;case"vertical":r=0;break}var oe=this.transform;oe||(oe=this.transform=[1,0,0,1,0,0]),oe[4]+=r,oe[5]+=$,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 $=this._textContent;if($&&(!$.ignore||r)){this.textConfig||(this.textConfig={});var V=this.textConfig,oe=V.local,ie=$.innerTransformable,le=void 0,ue=void 0,de=!1;ie.parent=oe?this:null;var pe=!1;if(ie.copyTransform($),V.position!=null){var he=tmpBoundingRect;V.layoutRect?he.copy(V.layoutRect):he.copy(this.getBoundingRect()),oe||he.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tmpTextPosCalcRes,V,he):calculateTextPosition(tmpTextPosCalcRes,V,he),ie.x=tmpTextPosCalcRes.x,ie.y=tmpTextPosCalcRes.y,le=tmpTextPosCalcRes.align,ue=tmpTextPosCalcRes.verticalAlign;var _e=V.origin;if(_e&&V.rotation!=null){var $e=void 0,Ie=void 0;_e==="center"?($e=he.width*.5,Ie=he.height*.5):($e=parsePercent$1(_e[0],he.width),Ie=parsePercent$1(_e[1],he.height)),pe=!0,ie.originX=-ie.x+$e+(oe?0:he.x),ie.originY=-ie.y+Ie+(oe?0:he.y)}}V.rotation!=null&&(ie.rotation=V.rotation);var Ve=V.offset;Ve&&(ie.x+=Ve[0],ie.y+=Ve[1],pe||(ie.originX=-Ve[0],ie.originY=-Ve[1]));var Fe=V.inside==null?typeof V.position=="string"&&V.position.indexOf("inside")>=0:V.inside,Ue=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),qe=void 0,Et=void 0,Lt=void 0;Fe&&this.canBeInsideText()?(qe=V.insideFill,Et=V.insideStroke,(qe==null||qe==="auto")&&(qe=this.getInsideTextFill()),(Et==null||Et==="auto")&&(Et=this.getInsideTextStroke(qe),Lt=!0)):(qe=V.outsideFill,Et=V.outsideStroke,(qe==null||qe==="auto")&&(qe=this.getOutsideFill()),(Et==null||Et==="auto")&&(Et=this.getOutsideStroke(qe),Lt=!0)),qe=qe||"#000",(qe!==Ue.fill||Et!==Ue.stroke||Lt!==Ue.autoStroke||le!==Ue.align||ue!==Ue.verticalAlign)&&(de=!0,Ue.fill=qe,Ue.stroke=Et,Ue.autoStroke=Lt,Ue.align=le,Ue.verticalAlign=ue,$.setDefaultTextStyle(Ue)),$.__dirty|=REDRAW_BIT,de&&$.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 $=this.__zr&&this.__zr.getBackgroundColor(),V=typeof $=="string"&&parse$1($);V||(V=[255,255,255,1]);for(var oe=V[3],ie=this.__zr.isDarkMode(),le=0;le<3;le++)V[le]=V[le]*oe+(ie?0:255)*(1-oe);return V[3]=1,stringify(V,"rgba")},t.prototype.traverse=function(r,$){},t.prototype.attrKV=function(r,$){r==="textConfig"?this.setTextConfig($):r==="textContent"?this.setTextContent($):r==="clipPath"?this.setClipPath($):r==="extra"?(this.extra=this.extra||{},extend(this.extra,$)):this[r]=$},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(r,$){if(typeof r=="string")this.attrKV(r,$);else if(isObject$3(r))for(var V=r,oe=keys(V),ie=0;ie<oe.length;ie++){var le=oe[ie];this.attrKV(le,r[le])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(r){this._innerSaveToNormal(r);for(var $=this._normalState,V=0;V<this.animators.length;V++){var oe=this.animators[V],ie=oe.__fromStateTransition;if(!(oe.getLoop()||ie&&ie!==PRESERVED_NORMAL_STATE)){var le=oe.targetName,ue=le?$[le]:$;oe.saveTo(ue)}}},t.prototype._innerSaveToNormal=function(r){var $=this._normalState;$||($=this._normalState={}),r.textConfig&&!$.textConfig&&($.textConfig=this.textConfig),this._savePrimaryToNormal(r,$,PRIMARY_STATES_KEYS$1)},t.prototype._savePrimaryToNormal=function(r,$,V){for(var oe=0;oe<V.length;oe++){var ie=V[oe];r[ie]!=null&&!(ie in $)&&($[ie]=this[ie])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(r){return this.states[r]},t.prototype.ensureState=function(r){var $=this.states;return $[r]||($[r]={}),$[r]},t.prototype.clearStates=function(r){this.useState(PRESERVED_NORMAL_STATE,!1,r)},t.prototype.useState=function(r,$,V,oe){var ie=r===PRESERVED_NORMAL_STATE,le=this.hasState();if(!(!le&&ie)){var ue=this.currentStates,de=this.stateTransition;if(!(indexOf(ue,r)>=0&&($||ue.length===1))){var pe;if(this.stateProxy&&!ie&&(pe=this.stateProxy(r)),pe||(pe=this.states&&this.states[r]),!pe&&!ie){logError("State "+r+" not exists.");return}ie||this.saveCurrentToNormalState(pe);var he=!!(pe&&pe.hoverLayer||oe);he&&this._toggleHoverLayerFlag(!0),this._applyStateObj(r,pe,this._normalState,$,!V&&!this.__inHover&&de&&de.duration>0,de);var _e=this._textContent,$e=this._textGuide;return _e&&_e.useState(r,$,V,he),$e&&$e.useState(r,$,V,he),ie?(this.currentStates=[],this._normalState={}):$?this.currentStates.push(r):this.currentStates=[r],this._updateAnimationTargets(),this.markRedraw(),!he&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT),pe}}},t.prototype.useStates=function(r,$,V){if(!r.length)this.clearStates();else{var oe=[],ie=this.currentStates,le=r.length,ue=le===ie.length;if(ue){for(var de=0;de<le;de++)if(r[de]!==ie[de]){ue=!1;break}}if(ue)return;for(var de=0;de<le;de++){var pe=r[de],he=void 0;this.stateProxy&&(he=this.stateProxy(pe,r)),he||(he=this.states[pe]),he&&oe.push(he)}var _e=oe[le-1],$e=!!(_e&&_e.hoverLayer||V);$e&&this._toggleHoverLayerFlag(!0);var Ie=this._mergeStates(oe),Ve=this.stateTransition;this.saveCurrentToNormalState(Ie),this._applyStateObj(r.join(","),Ie,this._normalState,!1,!$&&!this.__inHover&&Ve&&Ve.duration>0,Ve);var Fe=this._textContent,Ue=this._textGuide;Fe&&Fe.useStates(r,$,$e),Ue&&Ue.useStates(r,$,$e),this._updateAnimationTargets(),this.currentStates=r.slice(),this.markRedraw(),!$e&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT)}},t.prototype._updateAnimationTargets=function(){for(var r=0;r<this.animators.length;r++){var $=this.animators[r];$.targetName&&$.changeTarget(this[$.targetName])}},t.prototype.removeState=function(r){var $=indexOf(this.currentStates,r);if($>=0){var V=this.currentStates.slice();V.splice($,1),this.useStates(V)}},t.prototype.replaceState=function(r,$,V){var oe=this.currentStates.slice(),ie=indexOf(oe,r),le=indexOf(oe,$)>=0;ie>=0?le?oe.splice(ie,1):oe[ie]=$:V&&!le&&oe.push($),this.useStates(oe)},t.prototype.toggleState=function(r,$){$?this.useState(r,!0):this.removeState(r)},t.prototype._mergeStates=function(r){for(var $={},V,oe=0;oe<r.length;oe++){var ie=r[oe];extend($,ie),ie.textConfig&&(V=V||{},extend(V,ie.textConfig))}return V&&($.textConfig=V),$},t.prototype._applyStateObj=function(r,$,V,oe,ie,le){var ue=!($&&oe);$&&$.textConfig?(this.textConfig=extend({},oe?this.textConfig:V.textConfig),extend(this.textConfig,$.textConfig)):ue&&V.textConfig&&(this.textConfig=V.textConfig);for(var de={},pe=!1,he=0;he<PRIMARY_STATES_KEYS$1.length;he++){var _e=PRIMARY_STATES_KEYS$1[he],$e=ie&&DEFAULT_ANIMATABLE_MAP[_e];$&&$[_e]!=null?$e?(pe=!0,de[_e]=$[_e]):this[_e]=$[_e]:ue&&V[_e]!=null&&($e?(pe=!0,de[_e]=V[_e]):this[_e]=V[_e])}if(!ie)for(var he=0;he<this.animators.length;he++){var Ie=this.animators[he],Ve=Ie.targetName;Ie.getLoop()||Ie.__changeFinalValue(Ve?($||V)[Ve]:$||V)}pe&&this._transitionState(r,de,le)},t.prototype._attachComponent=function(r){if(!(r.__zr&&!r.__hostTarget)&&r!==this){var $=this.__zr;$&&r.addSelfToZr($),r.__zr=$,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 $=this._textContent;$!==r&&($&&$!==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 $=this._textContent,V=this._textGuide;$&&($.__inHover=r),V&&(V.__inHover=r)},t.prototype.addSelfToZr=function(r){if(this.__zr!==r){this.__zr=r;var $=this.animators;if($)for(var V=0;V<$.length;V++)r.animation.addAnimator($[V]);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 $=this.animators;if($)for(var V=0;V<$.length;V++)r.animation.removeAnimator($[V]);this._clipPath&&this._clipPath.removeSelfFromZr(r),this._textContent&&this._textContent.removeSelfFromZr(r),this._textGuide&&this._textGuide.removeSelfFromZr(r)}},t.prototype.animate=function(r,$,V){var oe=r?this[r]:this,ie=new Animator$1(oe,$,V);return r&&(ie.targetName=r),this.addAnimator(ie,r),ie},t.prototype.addAnimator=function(r,$){var V=this.__zr,oe=this;r.during(function(){oe.updateDuringAnimation($)}).done(function(){var ie=oe.animators,le=indexOf(ie,r);le>=0&&ie.splice(le,1)}),this.animators.push(r),V&&V.animation.addAnimator(r),V&&V.wakeUp()},t.prototype.updateDuringAnimation=function(r){this.markRedraw()},t.prototype.stopAnimation=function(r,$){for(var V=this.animators,oe=V.length,ie=[],le=0;le<oe;le++){var ue=V[le];!r||r===ue.scope?ue.stop($):ie.push(ue)}return this.animators=ie,this},t.prototype.animateTo=function(r,$,V){animateTo(this,r,$,V)},t.prototype.animateFrom=function(r,$,V){animateTo(this,r,$,V,!0)},t.prototype._transitionState=function(r,$,V,oe){for(var ie=animateTo(this,$,V,oe),le=0;le<ie.length;le++)ie[le].__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){Object.defineProperty(r,V,{get:function(){if(!this[oe]){var de=this[oe]=[];ue(this,de)}return this[oe]},set:function(de){this[ie]=de[0],this[le]=de[1],this[oe]=de,ue(this,de)}});function ue(de,pe){Object.defineProperty(pe,0,{get:function(){return de[ie]},set:function(he){de[ie]=he}}),Object.defineProperty(pe,1,{get:function(){return de[le]},set:function(he){de[le]=he}})}}Object.defineProperty&&($("position","_legacyPos","x","y"),$("scale","_legacyScale","scaleX","scaleY"),$("origin","_legacyOrigin","originX","originY"))}(),t}();mixin(Element$1,Eventful$1);mixin(Element$1,Transformable$1);function animateTo(t,r,$,V,oe){$=$||{};var ie=[];animateToShallow(t,"",t,r,$,V,ie,oe);var le=ie.length,ue=!1,de=$.done,pe=$.aborted,he=function(){ue=!0,le--,le<=0&&(ue?de&&de():pe&&pe())},_e=function(){le--,le<=0&&(ue?de&&de():pe&&pe())};le||de&&de(),ie.length>0&&$.during&&ie[0].during(function(Ve,Fe){$.during(Fe)});for(var $e=0;$e<ie.length;$e++){var Ie=ie[$e];he&&Ie.done(he),_e&&Ie.aborted(_e),$.force&&Ie.duration($.duration),Ie.start($.easing)}return ie}function copyArrShallow(t,r,$){for(var V=0;V<$;V++)t[V]=r[V]}function is2DArray(t){return isArrayLike(t[0])}function copyValue(t,r,$){if(isArrayLike(r[$]))if(isArrayLike(t[$])||(t[$]=[]),isTypedArray(r[$])){var V=r[$].length;t[$].length!==V&&(t[$]=new r[$].constructor(V),copyArrShallow(t[$],r[$],V))}else{var oe=r[$],ie=t[$],le=oe.length;if(is2DArray(oe))for(var ue=oe[0].length,de=0;de<le;de++)ie[de]?copyArrShallow(ie[de],oe[de],ue):ie[de]=Array.prototype.slice.call(oe[de]);else copyArrShallow(ie,oe,le);ie.length=oe.length}else t[$]=r[$]}function isValueSame(t,r){return t===r||isArrayLike(t)&&isArrayLike(r)&&is1DArraySame(t,r)}function is1DArraySame(t,r){var $=t.length;if($!==r.length)return!1;for(var V=0;V<$;V++)if(t[V]!==r[V])return!1;return!0}function animateToShallow(t,r,$,V,oe,ie,le,ue){for(var de=keys(V),pe=oe.duration,he=oe.delay,_e=oe.additive,$e=oe.setToFinal,Ie=!isObject$3(ie),Ve=t.animators,Fe=[],Ue=0;Ue<de.length;Ue++){var qe=de[Ue],Et=V[qe];if(Et!=null&&$[qe]!=null&&(Ie||ie[qe]))if(isObject$3(Et)&&!isArrayLike(Et)&&!isGradientObject(Et)){if(r){ue||($[qe]=Et,t.updateDuringAnimation(r));continue}animateToShallow(t,qe,$[qe],Et,oe,ie&&ie[qe],le,ue)}else Fe.push(qe);else ue||($[qe]=Et,t.updateDuringAnimation(r),Fe.push(qe))}var Lt=Fe.length;if(!_e&&Lt)for(var hn=0;hn<Ve.length;hn++){var Cn=Ve[hn];if(Cn.targetName===r){var bn=Cn.stopTracks(Fe);if(bn){var Sn=indexOf(Ve,Cn);Ve.splice(Sn,1)}}}if(oe.force||(Fe=filter(Fe,function(Tn){return!isValueSame(V[Tn],$[Tn])}),Lt=Fe.length),Lt>0||oe.force&&!le.length){var En=void 0,wn=void 0,$n=void 0;if(ue){wn={},$e&&(En={});for(var hn=0;hn<Lt;hn++){var qe=Fe[hn];wn[qe]=$[qe],$e?En[qe]=V[qe]:$[qe]=V[qe]}}else if($e){$n={};for(var hn=0;hn<Lt;hn++){var qe=Fe[hn];$n[qe]=cloneValue($[qe]),copyValue($,V,qe)}}var Cn=new Animator$1($,!1,!1,_e?filter(Ve,function(xn){return xn.targetName===r}):null);Cn.targetName=r,oe.scope&&(Cn.scope=oe.scope),$e&&En&&Cn.whenWithKeys(0,En,Fe),$n&&Cn.whenWithKeys(0,$n,Fe),Cn.whenWithKeys(pe??500,ue?wn:V,Fe).delay(he||0),t.addAnimator(Cn,r),le.push(Cn)}}const Element$2=Element$1;var Group$2=function(t){__extends(r,t);function r($){var V=t.call(this)||this;return V.isGroup=!0,V._children=[],V.attr($),V}return r.prototype.childrenRef=function(){return this._children},r.prototype.children=function(){return this._children.slice()},r.prototype.childAt=function($){return this._children[$]},r.prototype.childOfName=function($){for(var V=this._children,oe=0;oe<V.length;oe++)if(V[oe].name===$)return V[oe]},r.prototype.childCount=function(){return this._children.length},r.prototype.add=function($){return $&&$!==this&&$.parent!==this&&(this._children.push($),this._doAdd($)),this},r.prototype.addBefore=function($,V){if($&&$!==this&&$.parent!==this&&V&&V.parent===this){var oe=this._children,ie=oe.indexOf(V);ie>=0&&(oe.splice(ie,0,$),this._doAdd($))}return this},r.prototype.replace=function($,V){var oe=indexOf(this._children,$);return oe>=0&&this.replaceAt(V,oe),this},r.prototype.replaceAt=function($,V){var oe=this._children,ie=oe[V];if($&&$!==this&&$.parent!==this&&$!==ie){oe[V]=$,ie.parent=null;var le=this.__zr;le&&ie.removeSelfFromZr(le),this._doAdd($)}return this},r.prototype._doAdd=function($){$.parent&&$.parent.remove($),$.parent=this;var V=this.__zr;V&&V!==$.__zr&&$.addSelfToZr(V),V&&V.refresh()},r.prototype.remove=function($){var V=this.__zr,oe=this._children,ie=indexOf(oe,$);return ie<0?this:(oe.splice(ie,1),$.parent=null,V&&$.removeSelfFromZr(V),V&&V.refresh(),this)},r.prototype.removeAll=function(){for(var $=this._children,V=this.__zr,oe=0;oe<$.length;oe++){var ie=$[oe];V&&ie.removeSelfFromZr(V),ie.parent=null}return $.length=0,this},r.prototype.eachChild=function($,V){for(var oe=this._children,ie=0;ie<oe.length;ie++){var le=oe[ie];$.call(V,le,ie)}return this},r.prototype.traverse=function($,V){for(var oe=0;oe<this._children.length;oe++){var ie=this._children[oe],le=$.call(V,ie);ie.isGroup&&!le&&ie.traverse($,V)}return this},r.prototype.addSelfToZr=function($){t.prototype.addSelfToZr.call(this,$);for(var V=0;V<this._children.length;V++){var oe=this._children[V];oe.addSelfToZr($)}},r.prototype.removeSelfFromZr=function($){t.prototype.removeSelfFromZr.call(this,$);for(var V=0;V<this._children.length;V++){var oe=this._children[V];oe.removeSelfFromZr($)}},r.prototype.getBoundingRect=function($){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];if(!(de.ignore||de.invisible)){var pe=de.getBoundingRect(),he=de.getLocalTransform(ie);he?(BoundingRect$1.applyTransform(V,pe,he),le=le||V.clone(),le.union(V)):(le=le||pe.clone(),le.union(pe))}}return le||V},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,$=0,V=r.length,oe=0;oe<V;oe++)$+=lum(r[oe].color,1);return $/=V,$<DARK_MODE_THRESHOLD}return!1}var ZRender=function(){function t(r,$,V){var oe=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,V=V||{},this.dom=$,this.id=r;var ie=new Storage$1,le=V.renderer||"canvas";painterCtors[le]||(le=keys(painterCtors)[0]),V.useDirtyRect=V.useDirtyRect==null?!1:V.useDirtyRect;var ue=new painterCtors[le]($,ie,V,r),de=V.ssr||ue.ssrOnly;this.storage=ie,this.painter=ue;var pe=!env$1.node&&!env$1.worker&&!de?new HandlerProxy(ue.getViewportRoot(),ue.root):null,he=V.useCoarsePointer,_e=he==null||he==="auto"?env$1.touchEventsSupported:!!he,$e=44,Ie;_e&&(Ie=retrieve2(V.pointerSize,$e)),this.handler=new Handler$1(ie,ue,pe,ue.root,Ie),this.animation=new Animation$1({stage:{update:de?null:function(){return oe._flush(!0)}}}),de||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,$){this.painter.configLayer&&this.painter.configLayer(r,$),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=getTime();this._needsRefresh&&($=!0,this.refreshImmediately(r)),this._needsRefreshHover&&($=!0,this.refreshHoverImmediately());var oe=getTime();$?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:oe-V})):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,$){return this.handler.findHover(r,$)},t.prototype.on=function(r,$,V){return this.handler.on(r,$,V),this},t.prototype.off=function(r,$){this.handler.off(r,$)},t.prototype.trigger=function(r,$){this.handler.trigger(r,$)},t.prototype.clear=function(){for(var r=this.storage.getRoots(),$=0;$<r.length;$++)r[$]instanceof Group$3&&r[$].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 $=new ZRender(guid(),t,r);return instances$1[$.id]=$,$}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){var oe=r[0],ie=r[1],le=$[0],ue=$[1],de=ie-oe,pe=ue-le;if(de===0)return pe===0?le:(le+ue)/2;if(V)if(de>0){if(t<=oe)return le;if(t>=ie)return ue}else{if(t>=oe)return le;if(t<=ie)return ue}else{if(t===oe)return le;if(t===ie)return ue}return(t-oe)/de*pe+le}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,$){return r==null&&(r=10),r=Math.min(Math.max(0,r),ROUND_SUPPORTED_PRECISION_MAX),t=(+t).toFixed(r),$?t:+t}function asc$2(t){return t.sort(function(r,$){return r-$}),t}function getPrecision(t){if(t=+t,isNaN(t))return 0;if(t>1e-14){for(var r=1,$=0;$<15;$++,r*=10)if(Math.round(t*r)/r===t)return $}return getPrecisionSafe(t)}function getPrecisionSafe(t){var r=t.toString().toLowerCase(),$=r.indexOf("e"),V=$>0?+r.slice($+1):0,oe=$>0?$:r.length,ie=r.indexOf("."),le=ie<0?0:oe-1-ie;return Math.max(0,le-V)}function getPixelPrecision(t,r){var $=Math.log,V=Math.LN10,oe=Math.floor($(t[1]-t[0])/V),ie=Math.round($(Math.abs(r[1]-r[0]))/V),le=Math.min(Math.max(-oe+ie,0),20);return isFinite(le)?le:20}function getPercentWithPrecision(t,r,$){if(!t[r])return 0;var V=getPercentSeats(t,$);return V[r]||0}function getPercentSeats(t,r){var $=reduce(t,function(Ie,Ve){return Ie+(isNaN(Ve)?0:Ve)},0);if($===0)return[];for(var V=Math.pow(10,r),oe=map$2(t,function(Ie){return(isNaN(Ie)?0:Ie)/$*V*100}),ie=V*100,le=map$2(oe,function(Ie){return Math.floor(Ie)}),ue=reduce(le,function(Ie,Ve){return Ie+Ve},0),de=map$2(oe,function(Ie,Ve){return Ie-le[Ve]});ue<ie;){for(var pe=Number.NEGATIVE_INFINITY,he=null,_e=0,$e=de.length;_e<$e;++_e)de[_e]>pe&&(pe=de[_e],he=_e);++le[he],de[he]=0,++ue}return map$2(le,function(Ie){return Ie/V})}function addSafe(t,r){var $=Math.max(getPrecision(t),getPrecision(r)),V=t+r;return $>ROUND_SUPPORTED_PRECISION_MAX?V:round$1(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 $=+r[4]||0;return r[8].toUpperCase()!=="Z"&&($-=+r[8].slice(0,3)),new Date(Date.UTC(+r[1],+(r[2]||1)-1,+r[3]||1,$,+(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 $=quantityExponent(t),V=Math.pow(10,$),oe=t/V,ie;return r?oe<1.5?ie=1:oe<2.5?ie=2:oe<4?ie=3:oe<7?ie=5:ie=10:oe<1?ie=1:oe<2?ie=2:oe<3?ie=3:oe<5?ie=5:ie=10,t=ie*V,$>=-20?+t.toFixed($<0?-$:0):t}function quantile(t,r){var $=(t.length-1)*r+1,V=Math.floor($),oe=+t[V-1],ie=$-V;return ie?oe+ie*(t[V]-oe):oe}function reformIntervals(t){t.sort(function(de,pe){return ue(de,pe,0)?-1:1});for(var r=-1/0,$=1,V=0;V<t.length;){for(var oe=t[V].interval,ie=t[V].close,le=0;le<2;le++)oe[le]<=r&&(oe[le]=r,ie[le]=le?1:1-$),r=oe[le],$=ie[le];oe[0]===oe[1]&&ie[0]*ie[1]!==1?t.splice(V,1):V++}return t;function ue(de,pe,he){return de.interval[he]<pe.interval[he]||de.interval[he]===pe.interval[he]&&(de.close[he]-pe.close[he]===(he?-1:1)||!he&&ue(de,pe,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,$){if(hasConsole){if($){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,$){return(r-t)*$+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,$){if(t){t[r]=t[r]||{},t.emphasis=t.emphasis||{},t.emphasis[r]=t.emphasis[r]||{};for(var V=0,oe=$.length;V<oe;V++){var ie=$[V];!t.emphasis[r].hasOwnProperty(ie)&&t[r].hasOwnProperty(ie)&&(t.emphasis[r][ie]=t[r][ie])}}}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,$){var V=$==="normalMerge",oe=$==="replaceMerge",ie=$==="replaceAll";t=t||[],r=(r||[]).slice();var le=createHashMap();each$c(r,function(de,pe){if(!isObject$3(de)){r[pe]=null;return}});var ue=prepareResult(t,le,$);return(V||oe)&&mappingById(ue,t,le,r),V&&mappingByName(ue,r),V||oe?mappingByIndex(ue,r,oe):ie&&mappingInReplaceAllMode(ue,r),makeIdAndName(ue),ue}function prepareResult(t,r,$){var V=[];if($==="replaceAll")return V;for(var oe=0;oe<t.length;oe++){var ie=t[oe];ie&&ie.id!=null&&r.set(ie.id,oe),V.push({existing:$==="replaceMerge"||isComponentIdInternal(ie)?null:ie,newOption:null,keyInfo:null,brandNew:null})}return V}function mappingById(t,r,$,V){each$c(V,function(oe,ie){if(!(!oe||oe.id==null)){var le=makeComparableKey(oe.id),ue=$.get(le);if(ue!=null){var de=t[ue];assert(!de.newOption,'Duplicated option on id "'+le+'".'),de.newOption=oe,de.existing=r[ue],V[ie]=null}}})}function mappingByName(t,r){each$c(r,function($,V){if(!(!$||$.name==null))for(var oe=0;oe<t.length;oe++){var ie=t[oe].existing;if(!t[oe].newOption&&ie&&(ie.id==null||$.id==null)&&!isComponentIdInternal($)&&!isComponentIdInternal(ie)&&keyExistAndEqual("name",ie,$)){t[oe].newOption=$,r[V]=null;return}}})}function mappingByIndex(t,r,$){each$c(r,function(V){if(V){for(var oe,ie=0;(oe=t[ie])&&(oe.newOption||isComponentIdInternal(oe.existing)||oe.existing&&V.id!=null&&!keyExistAndEqual("id",V,oe.existing));)ie++;oe?(oe.newOption=V,oe.brandNew=$):t.push({newOption:V,brandNew:$,existing:null,keyInfo:null}),ie++}})}function mappingInReplaceAllMode(t,r){each$c(r,function($){t.push({newOption:$,brandNew:!0,existing:null,keyInfo:null})})}function makeIdAndName(t){var r=createHashMap();each$c(t,function($){var V=$.existing;V&&r.set(V.id,$)}),each$c(t,function($){var V=$.newOption;assert(!V||V.id==null||!r.get(V.id)||r.get(V.id)===$,"id duplicates: "+(V&&V.id)),V&&V.id!=null&&r.set(V.id,$),!$.keyInfo&&($.keyInfo={})}),each$c(t,function($,V){var oe=$.existing,ie=$.newOption,le=$.keyInfo;if(isObject$3(ie)){if(le.name=ie.name!=null?makeComparableKey(ie.name):oe?oe.name:DUMMY_COMPONENT_NAME_PREFIX+V,oe)le.id=makeComparableKey(oe.id);else if(ie.id!=null)le.id=makeComparableKey(ie.id);else{var ue=0;do le.id="\0"+le.name+"\0"+ue++;while(r.get(le.id))}r.set(le.id,$)}})}function keyExistAndEqual(t,r,$){var V=convertOptionIdName(r[t],null),oe=convertOptionIdName($[t],null);return V!=null&&oe!=null&&V===oe}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,$){each$c(t,function(V){var oe=V.newOption;isObject$3(oe)&&(V.keyInfo.mainType=r,V.keyInfo.subType=determineSubType(r,oe,V.existing,$))})}function determineSubType(t,r,$,V){var oe=r.type?r.type:$?$.subType:V.determineSubType(t,r);return oe}function compressBatches(t,r){var $={},V={};return oe(t||[],$),oe(r||[],V,$),[ie($),ie(V)];function oe(le,ue,de){for(var pe=0,he=le.length;pe<he;pe++){var _e=convertOptionIdName(le[pe].seriesId,null);if(_e==null)return;for(var $e=normalizeToArray(le[pe].dataIndex),Ie=de&&de[_e],Ve=0,Fe=$e.length;Ve<Fe;Ve++){var Ue=$e[Ve];Ie&&Ie[Ue]?Ie[Ue]=null:(ue[_e]||(ue[_e]={}))[Ue]=1}}}function ie(le,ue){var de=[];for(var pe in le)if(le.hasOwnProperty(pe)&&le[pe]!=null)if(ue)de.push(+pe);else{var he=ie(le[pe],!0);he.length&&de.push({seriesId:pe,dataIndex:he})}return de}}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($){return t.indexOfRawIndex($)}):t.indexOfRawIndex(r.dataIndex);if(r.name!=null)return isArray$1(r.name)?map$2(r.name,function($){return t.indexOfName($)}):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,$){var V=preParseFinder(r,$),oe=V.mainTypeSpecified,ie=V.queryOptionMap,le=V.others,ue=le,de=$?$.defaultMainType:null;return!oe&&de&&ie.set(de,{}),ie.each(function(pe,he){var _e=queryReferringComponents(t,he,pe,{useDefault:de===he,enableAll:$&&$.enableAll!=null?$.enableAll:!0,enableNone:$&&$.enableNone!=null?$.enableNone:!0});ue[he+"Models"]=_e.models,ue[he+"Model"]=_e.models[0]}),ue}function preParseFinder(t,r){var $;if(isString(t)){var V={};V[t+"Index"]=0,$=V}else $=t;var oe=createHashMap(),ie={},le=!1;return each$c($,function(ue,de){if(de==="dataIndex"||de==="dataIndexInside"){ie[de]=ue;return}var pe=de.match(/^(\w+)(Index|Id|Name)$/)||[],he=pe[1],_e=(pe[2]||"").toLowerCase();if(!(!he||!_e||r&&r.includeMainTypes&&indexOf(r.includeMainTypes,he)<0)){le=le||!!he;var $e=oe.get(he)||oe.set(he,{});$e[_e]=ue}}),{mainTypeSpecified:le,queryOptionMap:oe,others:ie}}var SINGLE_REFERRING={useDefault:!0,enableAll:!1,enableNone:!1},MULTIPLE_REFERRING={useDefault:!1,enableAll:!0,enableNone:!0};function queryReferringComponents(t,r,$,V){V=V||SINGLE_REFERRING;var oe=$.index,ie=$.id,le=$.name,ue={models:null,specified:oe!=null||ie!=null||le!=null};if(!ue.specified){var de=void 0;return ue.models=V.useDefault&&(de=t.getComponent(r))?[de]:[],ue}return oe==="none"||oe===!1?(assert(V.enableNone,'`"none"` or `false` is not a valid value on index option.'),ue.models=[],ue):(oe==="all"&&(assert(V.enableAll,'`"all"` is not a valid value on index option.'),oe=ie=le=null),ue.models=t.queryComponents({mainType:r,index:oe,id:ie,name:le}),ue)}function setAttribute(t,r,$){t.setAttribute?t.setAttribute(r,$):t[r]=$}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){var ie=r==null||r==="auto";if(V==null)return V;if(isNumber(V)){var le=interpolateNumber($||0,V,oe);return round$1(le,ie?Math.max(getPrecision($||0),getPrecision(V)):r)}else{if(isString(V))return oe<1?$:V;for(var ue=[],de=$,pe=V,he=Math.max(de?de.length:0,pe.length),_e=0;_e<he;++_e){var $e=t.getDimensionInfo(_e);if($e&&$e.type==="ordinal")ue[_e]=(oe<1&&de?de:pe)[_e];else{var Ie=de&&de[_e]?de[_e]:0,Ve=pe[_e],le=interpolateNumber(Ie,Ve,oe);ue[_e]=round$1(le,ie?Math.max(getPrecision(Ie),getPrecision(Ve)):r)}}return ue}}var TYPE_DELIMITER=".",IS_CONTAINER="___EC__COMPONENT__CONTAINER___",IS_EXTENDED_CLASS="___EC__EXTENDED_CLASS___";function parseClassType(t){var r={main:"",sub:""};if(t){var $=t.split(TYPE_DELIMITER);r.main=$[0]||"",r.sub=$[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($){var V=this,oe;return isESClass(V)?oe=function(ie){__extends(le,ie);function le(){return ie.apply(this,arguments)||this}return le}(V):(oe=function(){($.$constructor||V).apply(this,arguments)},inherits(oe,this)),extend(oe.prototype,$),oe[IS_EXTENDED_CLASS]=!0,oe.extend=this.extend,oe.superCall=superCall,oe.superApply=superApply,oe.superClass=V,oe}}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($){return!!($&&$[r])}}function superCall(t,r){for(var $=[],V=2;V<arguments.length;V++)$[V-2]=arguments[V];return this.superClass.prototype[r].apply(t,$)}function superApply(t,r,$){return this.superClass.prototype[r].apply(t,$)}function enableClassManagement(t){var r={};t.registerClass=function(V){var oe=V.type||V.prototype.type;if(oe){checkClassType(oe),V.prototype.type=oe;var ie=parseClassType(oe);if(!ie.sub)r[ie.main]=V;else if(ie.sub!==IS_CONTAINER){var le=$(ie);le[ie.sub]=V}}return V},t.getClass=function(V,oe,ie){var le=r[V];if(le&&le[IS_CONTAINER]&&(le=oe?le[oe]:null),ie&&!le)throw new Error(oe?"Component "+V+"."+(oe||"")+" is used but not imported.":V+".type should be specified.");return le},t.getClassesByMainType=function(V){var oe=parseClassType(V),ie=[],le=r[oe.main];return le&&le[IS_CONTAINER]?each$c(le,function(ue,de){de!==IS_CONTAINER&&ie.push(ue)}):ie.push(le),ie},t.hasClass=function(V){var oe=parseClassType(V);return!!r[oe.main]},t.getAllClassMainTypes=function(){var V=[];return each$c(r,function(oe,ie){V.push(ie)}),V},t.hasSubTypes=function(V){var oe=parseClassType(V),ie=r[oe.main];return ie&&ie[IS_CONTAINER]};function $(V){var oe=r[V.main];return(!oe||!oe[IS_CONTAINER])&&(oe=r[V.main]={},oe[IS_CONTAINER]=!0),oe}}function makeStyleMapper(t,r){for(var $=0;$<t.length;$++)t[$][1]||(t[$][1]=t[$][0]);return r=r||!1,function(V,oe,ie){for(var le={},ue=0;ue<t.length;ue++){var de=t[ue][1];if(!(oe&&indexOf(oe,de)>=0||ie&&indexOf(ie,de)<0)){var pe=V.getShallow(de,r);pe!=null&&(le[t[ue][0]]=pe)}}return le}}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,$){return getAreaStyle(this,r,$)},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){if(t)if(typeof t=="string"){if(r&&r.__zrImageSrc===t||!$)return r;var ie=globalImageCache.get(t),le={hostEl:$,cb:V,cbPayload:oe};return ie?(r=ie.image,!isImageReady(r)&&ie.pending.push(le)):(r=platformApi.loadImage(t,imageOnLoad,imageOnLoad),r.__zrImageSrc=t,globalImageCache.put(t,r.__cachedImgObj={image:r,pending:[le]})),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 $=t.pending[r],V=$.cb;V&&V(this,$.cbPayload),$.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){if(!r)return"";var ie=(t+"").split(`
|
||
`);oe=prepareTruncateOptions(r,$,V,oe);for(var le=0,ue=ie.length;le<ue;le++)ie[le]=truncateSingleLine(ie[le],oe);return ie.join(`
|
||
`)}function prepareTruncateOptions(t,r,$,V){V=V||{};var oe=extend({},V);oe.font=r,$=retrieve2($,"..."),oe.maxIterations=retrieve2(V.maxIterations,2);var ie=oe.minChar=retrieve2(V.minChar,0);oe.cnCharWidth=getWidth("国",r);var le=oe.ascCharWidth=getWidth("a",r);oe.placeholder=retrieve2(V.placeholder,"");for(var ue=t=Math.max(0,t-1),de=0;de<ie&&ue>=le;de++)ue-=le;var pe=getWidth($,r);return pe>ue&&($="",pe=0),ue=t-pe,oe.ellipsis=$,oe.ellipsisWidth=pe,oe.contentWidth=ue,oe.containerWidth=t,oe}function truncateSingleLine(t,r){var $=r.containerWidth,V=r.font,oe=r.contentWidth;if(!$)return"";var ie=getWidth(t,V);if(ie<=$)return t;for(var le=0;;le++){if(ie<=oe||le>=r.maxIterations){t+=r.ellipsis;break}var ue=le===0?estimateLength(t,oe,r.ascCharWidth,r.cnCharWidth):ie>0?Math.floor(t.length*oe/ie):0;t=t.substr(0,ue),ie=getWidth(t,V)}return t===""&&(t=r.placeholder),t}function estimateLength(t,r,$,V){for(var oe=0,ie=0,le=t.length;ie<le&&oe<r;ie++){var ue=t.charCodeAt(ie);oe+=0<=ue&&ue<=127?$:V}return ie}function parsePlainText(t,r){t!=null&&(t+="");var $=r.overflow,V=r.padding,oe=r.font,ie=$==="truncate",le=getLineHeight(oe),ue=retrieve2(r.lineHeight,le),de=!!r.backgroundColor,pe=r.lineOverflow==="truncate",he=r.width,_e;he!=null&&($==="break"||$==="breakAll")?_e=t?wrapText(t,r.font,he,$==="breakAll",0).lines:[]:_e=t?t.split(`
|
||
`):[];var $e=_e.length*ue,Ie=retrieve2(r.height,$e);if($e>Ie&&pe){var Ve=Math.floor(Ie/ue);_e=_e.slice(0,Ve)}if(t&&ie&&he!=null)for(var Fe=prepareTruncateOptions(he,oe,r.ellipsis,{minChar:r.truncateMinChar,placeholder:r.placeholder}),Ue=0;Ue<_e.length;Ue++)_e[Ue]=truncateSingleLine(_e[Ue],Fe);for(var qe=Ie,Et=0,Ue=0;Ue<_e.length;Ue++)Et=Math.max(getWidth(_e[Ue],oe),Et);he==null&&(he=Et);var Lt=Et;return V&&(qe+=V[0]+V[2],Lt+=V[1]+V[3],he+=V[1]+V[3]),de&&(Lt=he),{lines:_e,height:Ie,outerWidth:Lt,outerHeight:qe,lineHeight:ue,calculatedLineHeight:le,contentWidth:Et,contentHeight:$e,width:he}}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 $=new RichTextContentBlock;if(t!=null&&(t+=""),!t)return $;for(var V=r.width,oe=r.height,ie=r.overflow,le=(ie==="break"||ie==="breakAll")&&V!=null?{width:V,accumWidth:0,breakAll:ie==="breakAll"}:null,ue=STYLE_REG.lastIndex=0,de;(de=STYLE_REG.exec(t))!=null;){var pe=de.index;pe>ue&&pushTokens($,t.substring(ue,pe),r,le),pushTokens($,de[2],r,le,de[1]),ue=STYLE_REG.lastIndex}ue<t.length&&pushTokens($,t.substring(ue,t.length),r,le);var he=[],_e=0,$e=0,Ie=r.padding,Ve=ie==="truncate",Fe=r.lineOverflow==="truncate";function Ue(Ln,Pn,Fn){Ln.width=Pn,Ln.lineHeight=Fn,_e+=Fn,$e=Math.max($e,Pn)}e:for(var qe=0;qe<$.lines.length;qe++){for(var Et=$.lines[qe],Lt=0,hn=0,Cn=0;Cn<Et.tokens.length;Cn++){var bn=Et.tokens[Cn],Sn=bn.styleName&&r.rich[bn.styleName]||{},En=bn.textPadding=Sn.padding,wn=En?En[1]+En[3]:0,$n=bn.font=Sn.font||r.font;bn.contentHeight=getLineHeight($n);var Tn=retrieve2(Sn.height,bn.contentHeight);if(bn.innerHeight=Tn,En&&(Tn+=En[0]+En[2]),bn.height=Tn,bn.lineHeight=retrieve3(Sn.lineHeight,r.lineHeight,Tn),bn.align=Sn&&Sn.align||r.align,bn.verticalAlign=Sn&&Sn.verticalAlign||"middle",Fe&&oe!=null&&_e+bn.lineHeight>oe){Cn>0?(Et.tokens=Et.tokens.slice(0,Cn),Ue(Et,hn,Lt),$.lines=$.lines.slice(0,qe+1)):$.lines=$.lines.slice(0,qe);break e}var xn=Sn.width,An=xn==null||xn==="auto";if(typeof xn=="string"&&xn.charAt(xn.length-1)==="%")bn.percentWidth=xn,he.push(bn),bn.contentWidth=getWidth(bn.text,$n);else{if(An){var Mn=Sn.backgroundColor,Vn=Mn&&Mn.image;Vn&&(Vn=findExistImage(Vn),isImageReady(Vn)&&(bn.width=Math.max(bn.width,Vn.width*Tn/Vn.height)))}var Bn=Ve&&V!=null?V-hn:null;Bn!=null&&Bn<bn.width?!An||Bn<wn?(bn.text="",bn.width=bn.contentWidth=0):(bn.text=truncateText(bn.text,Bn-wn,$n,r.ellipsis,{minChar:r.truncateMinChar}),bn.width=bn.contentWidth=getWidth(bn.text,$n)):bn.contentWidth=getWidth(bn.text,$n)}bn.width+=wn,hn+=bn.width,Sn&&(Lt=Math.max(Lt,bn.lineHeight))}Ue(Et,hn,Lt)}$.outerWidth=$.width=retrieve2(V,$e),$.outerHeight=$.height=retrieve2(oe,_e),$.contentHeight=_e,$.contentWidth=$e,Ie&&($.outerWidth+=Ie[1]+Ie[3],$.outerHeight+=Ie[0]+Ie[2]);for(var qe=0;qe<he.length;qe++){var bn=he[qe],Dn=bn.percentWidth;bn.width=parseInt(Dn,10)/100*$.width}return $}function pushTokens(t,r,$,V,oe){var ie=r==="",le=oe&&$.rich[oe]||{},ue=t.lines,de=le.font||$.font,pe=!1,he,_e;if(V){var $e=le.padding,Ie=$e?$e[1]+$e[3]:0;if(le.width!=null&&le.width!=="auto"){var Ve=parsePercent$1(le.width,V.width)+Ie;ue.length>0&&Ve+V.accumWidth>V.width&&(he=r.split(`
|
||
`),pe=!0),V.accumWidth=Ve}else{var Fe=wrapText(r,de,V.width,V.breakAll,V.accumWidth);V.accumWidth=Fe.accumWidth+Ie,_e=Fe.linesWidths,he=Fe.lines}}else he=r.split(`
|
||
`);for(var Ue=0;Ue<he.length;Ue++){var qe=he[Ue],Et=new RichTextToken;if(Et.styleName=oe,Et.text=qe,Et.isLineHolder=!qe&&!ie,typeof le.width=="number"?Et.width=le.width:Et.width=_e?_e[Ue]:getWidth(qe,de),!Ue&&!pe){var Lt=(ue[ue.length-1]||(ue[0]=new RichTextLine)).tokens,hn=Lt.length;hn===1&&Lt[0].isLineHolder?Lt[0]=Et:(qe||!hn||ie)&&Lt.push(Et)}else ue.push(new RichTextLine([Et]))}}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){for(var ie=[],le=[],ue="",de="",pe=0,he=0,_e=0;_e<t.length;_e++){var $e=t.charAt(_e);if($e===`
|
||
`){de&&(ue+=de,he+=pe),ie.push(ue),le.push(he),ue="",de="",pe=0,he=0;continue}var Ie=getWidth($e,r),Ve=V?!1:!isWordBreakChar($e);if(ie.length?he+Ie>$:oe+he+Ie>$){he?(ue||de)&&(Ve?(ue||(ue=de,de="",pe=0,he=pe),ie.push(ue),le.push(he-pe),de+=$e,pe+=Ie,ue="",he=pe):(de&&(ue+=de,de="",pe=0),ie.push(ue),le.push(he),ue=$e,he=Ie)):Ve?(ie.push(de),le.push(pe),de=$e,pe=Ie):(ie.push($e),le.push(Ie));continue}he+=Ie,Ve?(de+=$e,pe+=Ie):(de&&(ue+=de,de="",pe=0),ue+=$e)}return!ie.length&&!ue&&(ue=t,de="",pe=0),de&&(ue+=de),ue&&(ie.push(ue),le.push(he)),ie.length===1&&(he+=oe),{accumWidth:he,lines:ie,linesWidths:le}}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($){return t.call(this,$)||this}return r.prototype._init=function($){for(var V=keys($),oe=0;oe<V.length;oe++){var ie=V[oe];ie==="style"?this.useStyle($[ie]):t.prototype.attrKV.call(this,ie,$[ie])}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){var le=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&isDisplayableCulled(this,$,V)||le&&!le[0]&&!le[3])return!1;if(oe&&this.__clipPaths){for(var ue=0;ue<this.__clipPaths.length;++ue)if(this.__clipPaths[ue].isZeroArea())return!1}if(ie&&this.parent)for(var de=this.parent;de;){if(de.ignore)return!1;de=de.parent}return!0},r.prototype.contain=function($,V){return this.rectContain($,V)},r.prototype.traverse=function($,V){$.call(V,this)},r.prototype.rectContain=function($,V){var oe=this.transformCoordToLocal($,V),ie=this.getBoundingRect();return ie.contain(oe[0],oe[1])},r.prototype.getPaintRect=function(){var $=this._paintRect;if(!this._paintRect||this.__dirty){var V=this.transform,oe=this.getBoundingRect(),ie=this.style,le=ie.shadowBlur||0,ue=ie.shadowOffsetX||0,de=ie.shadowOffsetY||0;$=this._paintRect||(this._paintRect=new BoundingRect$1(0,0,0,0)),V?BoundingRect$1.applyTransform($,oe,V):$.copy(oe),(le||ue||de)&&($.width+=le*2+Math.abs(ue),$.height+=le*2+Math.abs(de),$.x=Math.min($.x,$.x+ue-le),$.y=Math.min($.y,$.y+de-le));var pe=this.dirtyRectTolerance;$.isZero()||($.x=Math.floor($.x-pe),$.y=Math.floor($.y-pe),$.width=Math.ceil($.width+1+pe*2),$.height=Math.ceil($.height+1+pe*2))}return $},r.prototype.setPrevPaintRect=function($){$?(this._prevPaintRect=this._prevPaintRect||new BoundingRect$1(0,0,0,0),this._prevPaintRect.copy($)):this._prevPaintRect=null},r.prototype.getPrevPaintRect=function(){return this._prevPaintRect},r.prototype.animateStyle=function($){return this.animate("style",$)},r.prototype.updateDuringAnimation=function($){$==="style"?this.dirtyStyle():this.markRedraw()},r.prototype.attrKV=function($,V){$!=="style"?t.prototype.attrKV.call(this,$,V):this.style?this.setStyle(V):this.useStyle(V)},r.prototype.setStyle=function($,V){return typeof $=="string"?this.style[$]=V:extend(this.style,$),this.dirtyStyle(),this},r.prototype.dirtyStyle=function($){$||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($){return createObject(DEFAULT_COMMON_STYLE,$)},r.prototype.useStyle=function($){$[STYLE_MAGIC_KEY]||($=this.createStyle($)),this.__inHover?this.__hoverStyle=$:this.style=$,this.dirtyStyle()},r.prototype.isStyleObject=function($){return $[STYLE_MAGIC_KEY]},r.prototype._innerSaveToNormal=function($){t.prototype._innerSaveToNormal.call(this,$);var V=this._normalState;$.style&&!V.style&&(V.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal($,V,PRIMARY_STATES_KEYS)},r.prototype._applyStateObj=function($,V,oe,ie,le,ue){t.prototype._applyStateObj.call(this,$,V,oe,ie,le,ue);var de=!(V&&ie),pe;if(V&&V.style?le?ie?pe=V.style:(pe=this._mergeStyle(this.createStyle(),oe.style),this._mergeStyle(pe,V.style)):(pe=this._mergeStyle(this.createStyle(),ie?this.style:oe.style),this._mergeStyle(pe,V.style)):de&&(pe=oe.style),pe)if(le){var he=this.style;if(this.style=this.createStyle(de?{}:he),de)for(var _e=keys(he),$e=0;$e<_e.length;$e++){var Ie=_e[$e];Ie in pe&&(pe[Ie]=pe[Ie],this.style[Ie]=he[Ie])}for(var Ve=keys(pe),$e=0;$e<Ve.length;$e++){var Ie=Ve[$e];this.style[Ie]=this.style[Ie]}this._transitionState($,{style:pe},ue,this.getAnimationStyleProps())}else this.useStyle(pe);for(var Fe=this.__inHover?PRIMARY_STATES_KEYS_IN_HOVER_LAYER:PRIMARY_STATES_KEYS,$e=0;$e<Fe.length;$e++){var Ie=Fe[$e];V&&V[Ie]!=null?this[Ie]=V[Ie]:de&&oe[Ie]!=null&&(this[Ie]=oe[Ie])}},r.prototype._mergeStates=function($){for(var V=t.prototype._mergeStates.call(this,$),oe,ie=0;ie<$.length;ie++){var le=$[ie];le.style&&(oe=oe||{},this._mergeStyle(oe,le.style))}return oe&&(V.style=oe),V},r.prototype._mergeStyle=function($,V){return extend($,V),$},r.prototype.getAnimationStyleProps=function(){return DEFAULT_COMMON_ANIMATION_PROPS},r.initDefaultProps=function(){var $=r.prototype;$.type="displayable",$.invisible=!1,$.z=0,$.z2=0,$.zlevel=0,$.culling=!1,$.cursor="pointer",$.rectHover=!1,$.incremental=!1,$._rect=null,$.dirtyRectTolerance=0,$.__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,$){return tmpRect.copy(t.getBoundingRect()),t.transform&&tmpRect.applyTransform(t.transform),viewRect.width=r,viewRect.height=$,!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){oe[0]=mathMin$7(t,$),oe[1]=mathMin$7(r,V),ie[0]=mathMax$7(t,$),ie[1]=mathMax$7(r,V)}var xDim=[],yDim=[];function fromCubic(t,r,$,V,oe,ie,le,ue,de,pe){var he=cubicExtrema,_e=cubicAt,$e=he(t,$,oe,le,xDim);de[0]=1/0,de[1]=1/0,pe[0]=-1/0,pe[1]=-1/0;for(var Ie=0;Ie<$e;Ie++){var Ve=_e(t,$,oe,le,xDim[Ie]);de[0]=mathMin$7(Ve,de[0]),pe[0]=mathMax$7(Ve,pe[0])}$e=he(r,V,ie,ue,yDim);for(var Ie=0;Ie<$e;Ie++){var Fe=_e(r,V,ie,ue,yDim[Ie]);de[1]=mathMin$7(Fe,de[1]),pe[1]=mathMax$7(Fe,pe[1])}de[0]=mathMin$7(t,de[0]),pe[0]=mathMax$7(t,pe[0]),de[0]=mathMin$7(le,de[0]),pe[0]=mathMax$7(le,pe[0]),de[1]=mathMin$7(r,de[1]),pe[1]=mathMax$7(r,pe[1]),de[1]=mathMin$7(ue,de[1]),pe[1]=mathMax$7(ue,pe[1])}function fromQuadratic(t,r,$,V,oe,ie,le,ue){var de=quadraticExtremum,pe=quadraticAt,he=mathMax$7(mathMin$7(de(t,$,oe),1),0),_e=mathMax$7(mathMin$7(de(r,V,ie),1),0),$e=pe(t,$,oe,he),Ie=pe(r,V,ie,_e);le[0]=mathMin$7(t,oe,$e),le[1]=mathMin$7(r,ie,Ie),ue[0]=mathMax$7(t,oe,$e),ue[1]=mathMax$7(r,ie,Ie)}function fromArc(t,r,$,V,oe,ie,le,ue,de){var pe=min$1,he=max$1,_e=Math.abs(oe-ie);if(_e%PI2$6<1e-4&&_e>1e-4){ue[0]=t-$,ue[1]=r-V,de[0]=t+$,de[1]=r+V;return}if(start[0]=mathCos$3(oe)*$+t,start[1]=mathSin$3(oe)*V+r,end[0]=mathCos$3(ie)*$+t,end[1]=mathSin$3(ie)*V+r,pe(ue,start,end),he(de,start,end),oe=oe%PI2$6,oe<0&&(oe=oe+PI2$6),ie=ie%PI2$6,ie<0&&(ie=ie+PI2$6),oe>ie&&!le?ie+=PI2$6:oe<ie&&le&&(oe+=PI2$6),le){var $e=ie;ie=oe,oe=$e}for(var Ie=0;Ie<ie;Ie+=Math.PI/2)Ie>oe&&(extremity[0]=mathCos$3(Ie)*$+t,extremity[1]=mathSin$3(Ie)*V+r,pe(ue,extremity,ue),he(de,extremity,de))}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 $=modPI2(t[0]);$<0&&($+=PI2$5);var V=$-t[0],oe=t[1];oe+=V,!r&&oe-$>=PI2$5?oe=$+PI2$5:r&&$-oe>=PI2$5?oe=$-PI2$5:!r&&$>oe?oe=$+(PI2$5-modPI2($-oe)):r&&$<oe&&(oe=$-(PI2$5-modPI2(oe-$))),t[0]=$,t[1]=oe}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){V=V||0,V>0&&(this._ux=mathAbs$1(V/devicePixelRatio/r)||0,this._uy=mathAbs$1(V/devicePixelRatio/$)||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,$){return this._drawPendingPt(),this.addData(CMD$2.M,r,$),this._ctx&&this._ctx.moveTo(r,$),this._x0=r,this._y0=$,this._xi=r,this._yi=$,this},t.prototype.lineTo=function(r,$){var V=mathAbs$1(r-this._xi),oe=mathAbs$1($-this._yi),ie=V>this._ux||oe>this._uy;if(this.addData(CMD$2.L,r,$),this._ctx&&ie&&this._ctx.lineTo(r,$),ie)this._xi=r,this._yi=$,this._pendingPtDist=0;else{var le=V*V+oe*oe;le>this._pendingPtDist&&(this._pendingPtX=r,this._pendingPtY=$,this._pendingPtDist=le)}return this},t.prototype.bezierCurveTo=function(r,$,V,oe,ie,le){return this._drawPendingPt(),this.addData(CMD$2.C,r,$,V,oe,ie,le),this._ctx&&this._ctx.bezierCurveTo(r,$,V,oe,ie,le),this._xi=ie,this._yi=le,this},t.prototype.quadraticCurveTo=function(r,$,V,oe){return this._drawPendingPt(),this.addData(CMD$2.Q,r,$,V,oe),this._ctx&&this._ctx.quadraticCurveTo(r,$,V,oe),this._xi=V,this._yi=oe,this},t.prototype.arc=function(r,$,V,oe,ie,le){this._drawPendingPt(),tmpAngles[0]=oe,tmpAngles[1]=ie,normalizeArcAngles(tmpAngles,le),oe=tmpAngles[0],ie=tmpAngles[1];var ue=ie-oe;return this.addData(CMD$2.A,r,$,V,V,oe,ue,0,le?0:1),this._ctx&&this._ctx.arc(r,$,V,oe,ie,le),this._xi=mathCos$2(ie)*V+r,this._yi=mathSin$2(ie)*V+$,this},t.prototype.arcTo=function(r,$,V,oe,ie){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(r,$,V,oe,ie),this},t.prototype.rect=function(r,$,V,oe){return this._drawPendingPt(),this._ctx&&this._ctx.rect(r,$,V,oe),this.addData(CMD$2.R,r,$,V,oe),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$2.Z);var r=this._ctx,$=this._x0,V=this._y0;return r&&r.closePath(),this._xi=$,this._yi=V,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 $=r.length;!(this.data&&this.data.length===$)&&hasTypedArray&&(this.data=new Float32Array($));for(var V=0;V<$;V++)this.data[V]=r[V];this._len=$},t.prototype.appendPath=function(r){r instanceof Array||(r=[r]);for(var $=r.length,V=0,oe=this._len,ie=0;ie<$;ie++)V+=r[ie].len();hasTypedArray&&this.data instanceof Float32Array&&(this.data=new Float32Array(oe+V));for(var ie=0;ie<$;ie++)for(var le=r[ie].data,ue=0;ue<le.length;ue++)this.data[oe++]=le[ue];this._len=oe},t.prototype.addData=function(r,$,V,oe,ie,le,ue,de,pe){if(this._saveData){var he=this.data;this._len+arguments.length>he.length&&(this._expandData(),he=this.data);for(var _e=0;_e<arguments.length;_e++)he[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=[],$=0;$<this._len;$++)r[$]=this.data[$];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,$=0,V=0,oe=0,ie=0,le;for(le=0;le<this._len;){var ue=r[le++],de=le===1;switch(de&&($=r[le],V=r[le+1],oe=$,ie=V),ue){case CMD$2.M:$=oe=r[le++],V=ie=r[le++],min2[0]=oe,min2[1]=ie,max2[0]=oe,max2[1]=ie;break;case CMD$2.L:fromLine($,V,r[le],r[le+1],min2,max2),$=r[le++],V=r[le++];break;case CMD$2.C:fromCubic($,V,r[le++],r[le++],r[le++],r[le++],r[le],r[le+1],min2,max2),$=r[le++],V=r[le++];break;case CMD$2.Q:fromQuadratic($,V,r[le++],r[le++],r[le],r[le+1],min2,max2),$=r[le++],V=r[le++];break;case CMD$2.A:var pe=r[le++],he=r[le++],_e=r[le++],$e=r[le++],Ie=r[le++],Ve=r[le++]+Ie;le+=1;var Fe=!r[le++];de&&(oe=mathCos$2(Ie)*_e+pe,ie=mathSin$2(Ie)*$e+he),fromArc(pe,he,_e,$e,Ie,Ve,Fe,min2,max2),$=mathCos$2(Ve)*_e+pe,V=mathSin$2(Ve)*$e+he;break;case CMD$2.R:oe=$=r[le++],ie=V=r[le++];var Ue=r[le++],qe=r[le++];fromLine(oe,ie,oe+Ue,ie+qe,min2,max2);break;case CMD$2.Z:$=oe,V=ie;break}min$1(min,min,min2),max$1(max,max,max2)}return le===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,$=this._len,V=this._ux,oe=this._uy,ie=0,le=0,ue=0,de=0;this._pathSegLen||(this._pathSegLen=[]);for(var pe=this._pathSegLen,he=0,_e=0,$e=0;$e<$;){var Ie=r[$e++],Ve=$e===1;Ve&&(ie=r[$e],le=r[$e+1],ue=ie,de=le);var Fe=-1;switch(Ie){case CMD$2.M:ie=ue=r[$e++],le=de=r[$e++];break;case CMD$2.L:{var Ue=r[$e++],qe=r[$e++],Et=Ue-ie,Lt=qe-le;(mathAbs$1(Et)>V||mathAbs$1(Lt)>oe||$e===$-1)&&(Fe=Math.sqrt(Et*Et+Lt*Lt),ie=Ue,le=qe);break}case CMD$2.C:{var hn=r[$e++],Cn=r[$e++],Ue=r[$e++],qe=r[$e++],bn=r[$e++],Sn=r[$e++];Fe=cubicLength(ie,le,hn,Cn,Ue,qe,bn,Sn,10),ie=bn,le=Sn;break}case CMD$2.Q:{var hn=r[$e++],Cn=r[$e++],Ue=r[$e++],qe=r[$e++];Fe=quadraticLength(ie,le,hn,Cn,Ue,qe,10),ie=Ue,le=qe;break}case CMD$2.A:var En=r[$e++],wn=r[$e++],$n=r[$e++],Tn=r[$e++],xn=r[$e++],An=r[$e++],Mn=An+xn;$e+=1,r[$e++],Ve&&(ue=mathCos$2(xn)*$n+En,de=mathSin$2(xn)*Tn+wn),Fe=mathMax$6($n,Tn)*mathMin$6(PI2$5,Math.abs(An)),ie=mathCos$2(Mn)*$n+En,le=mathSin$2(Mn)*Tn+wn;break;case CMD$2.R:{ue=ie=r[$e++],de=le=r[$e++];var Vn=r[$e++],Bn=r[$e++];Fe=Vn*2+Bn*2;break}case CMD$2.Z:{var Et=ue-ie,Lt=de-le;Fe=Math.sqrt(Et*Et+Lt*Lt),ie=ue,le=de;break}}Fe>=0&&(pe[_e++]=Fe,he+=Fe)}return this._pathLen=he,he},t.prototype.rebuildPath=function(r,$){var V=this.data,oe=this._ux,ie=this._uy,le=this._len,ue,de,pe,he,_e,$e,Ie=$<1,Ve,Fe,Ue=0,qe=0,Et,Lt=0,hn,Cn;if(!(Ie&&(this._pathSegLen||this._calculateLength(),Ve=this._pathSegLen,Fe=this._pathLen,Et=$*Fe,!Et)))e:for(var bn=0;bn<le;){var Sn=V[bn++],En=bn===1;switch(En&&(pe=V[bn],he=V[bn+1],ue=pe,de=he),Sn!==CMD$2.L&&Lt>0&&(r.lineTo(hn,Cn),Lt=0),Sn){case CMD$2.M:ue=pe=V[bn++],de=he=V[bn++],r.moveTo(pe,he);break;case CMD$2.L:{_e=V[bn++],$e=V[bn++];var wn=mathAbs$1(_e-pe),$n=mathAbs$1($e-he);if(wn>oe||$n>ie){if(Ie){var Tn=Ve[qe++];if(Ue+Tn>Et){var xn=(Et-Ue)/Tn;r.lineTo(pe*(1-xn)+_e*xn,he*(1-xn)+$e*xn);break e}Ue+=Tn}r.lineTo(_e,$e),pe=_e,he=$e,Lt=0}else{var An=wn*wn+$n*$n;An>Lt&&(hn=_e,Cn=$e,Lt=An)}break}case CMD$2.C:{var Mn=V[bn++],Vn=V[bn++],Bn=V[bn++],Dn=V[bn++],Ln=V[bn++],Pn=V[bn++];if(Ie){var Tn=Ve[qe++];if(Ue+Tn>Et){var xn=(Et-Ue)/Tn;cubicSubdivide(pe,Mn,Bn,Ln,xn,tmpOutX),cubicSubdivide(he,Vn,Dn,Pn,xn,tmpOutY),r.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}Ue+=Tn}r.bezierCurveTo(Mn,Vn,Bn,Dn,Ln,Pn),pe=Ln,he=Pn;break}case CMD$2.Q:{var Mn=V[bn++],Vn=V[bn++],Bn=V[bn++],Dn=V[bn++];if(Ie){var Tn=Ve[qe++];if(Ue+Tn>Et){var xn=(Et-Ue)/Tn;quadraticSubdivide(pe,Mn,Bn,xn,tmpOutX),quadraticSubdivide(he,Vn,Dn,xn,tmpOutY),r.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}Ue+=Tn}r.quadraticCurveTo(Mn,Vn,Bn,Dn),pe=Bn,he=Dn;break}case CMD$2.A:var Fn=V[bn++],Un=V[bn++],Wn=V[bn++],Zn=V[bn++],or=V[bn++],br=V[bn++],Qn=V[bn++],Gn=!V[bn++],Yn=Wn>Zn?Wn:Zn,er=mathAbs$1(Wn-Zn)>.001,lr=or+br,sr=!1;if(Ie){var Tn=Ve[qe++];Ue+Tn>Et&&(lr=or+br*(Et-Ue)/Tn,sr=!0),Ue+=Tn}if(er&&r.ellipse?r.ellipse(Fn,Un,Wn,Zn,Qn,or,lr,Gn):r.arc(Fn,Un,Yn,or,lr,Gn),sr)break e;En&&(ue=mathCos$2(or)*Wn+Fn,de=mathSin$2(or)*Zn+Un),pe=mathCos$2(lr)*Wn+Fn,he=mathSin$2(lr)*Zn+Un;break;case CMD$2.R:ue=pe=V[bn],de=he=V[bn+1],_e=V[bn++],$e=V[bn++];var zn=V[bn++],Kn=V[bn++];if(Ie){var Tn=Ve[qe++];if(Ue+Tn>Et){var Jn=Et-Ue;r.moveTo(_e,$e),r.lineTo(_e+mathMin$6(Jn,zn),$e),Jn-=zn,Jn>0&&r.lineTo(_e+zn,$e+mathMin$6(Jn,Kn)),Jn-=Kn,Jn>0&&r.lineTo(_e+mathMax$6(zn-Jn,0),$e+Kn),Jn-=zn,Jn>0&&r.lineTo(_e,$e+mathMax$6(Kn-Jn,0));break e}Ue+=Tn}r.rect(_e,$e,zn,Kn);break;case CMD$2.Z:if(Ie){var Tn=Ve[qe++];if(Ue+Tn>Et){var xn=(Et-Ue)/Tn;r.lineTo(pe*(1-xn)+ue*xn,he*(1-xn)+de*xn);break e}Ue+=Tn}r.closePath(),pe=ue,he=de}}},t.prototype.clone=function(){var r=new t,$=this.data;return r.data=$.slice?$.slice():Array.prototype.slice.call($),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){if(oe===0)return!1;var ue=oe,de=0,pe=t;if(le>r+ue&&le>V+ue||le<r-ue&&le<V-ue||ie>t+ue&&ie>$+ue||ie<t-ue&&ie<$-ue)return!1;if(t!==$)de=(r-V)/(t-$),pe=(t*V-$*r)/(t-$);else return Math.abs(ie-t)<=ue/2;var he=de*ie-le+pe,_e=he*he/(de*de+1);return _e<=ue/2*ue/2}function containStroke$3(t,r,$,V,oe,ie,le,ue,de,pe,he){if(de===0)return!1;var _e=de;if(he>r+_e&&he>V+_e&&he>ie+_e&&he>ue+_e||he<r-_e&&he<V-_e&&he<ie-_e&&he<ue-_e||pe>t+_e&&pe>$+_e&&pe>oe+_e&&pe>le+_e||pe<t-_e&&pe<$-_e&&pe<oe-_e&&pe<le-_e)return!1;var $e=cubicProjectPoint(t,r,$,V,oe,ie,le,ue,pe,he,null);return $e<=_e/2}function containStroke$2(t,r,$,V,oe,ie,le,ue,de){if(le===0)return!1;var pe=le;if(de>r+pe&&de>V+pe&&de>ie+pe||de<r-pe&&de<V-pe&&de<ie-pe||ue>t+pe&&ue>$+pe&&ue>oe+pe||ue<t-pe&&ue<$-pe&&ue<oe-pe)return!1;var he=quadraticProjectPoint(t,r,$,V,oe,ie,ue,de,null);return he<=pe/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){if(le===0)return!1;var pe=le;ue-=t,de-=r;var he=Math.sqrt(ue*ue+de*de);if(he-pe>$||he+pe<$)return!1;if(Math.abs(V-oe)%PI2$3<1e-4)return!0;if(ie){var _e=V;V=normalizeRadian(oe),oe=normalizeRadian(_e)}else V=normalizeRadian(V),oe=normalizeRadian(oe);V>oe&&(oe+=PI2$3);var $e=Math.atan2(de,ue);return $e<0&&($e+=PI2$3),$e>=V&&$e<=oe||$e+PI2$3>=V&&$e+PI2$3<=oe}function windingLine(t,r,$,V,oe,ie){if(ie>r&&ie>V||ie<r&&ie<V||V===r)return 0;var le=(ie-r)/(V-r),ue=V<r?1:-1;(le===1||le===0)&&(ue=V<r?.5:-.5);var de=le*($-t)+t;return de===oe?1/0:de>oe?ue: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){if(pe>r&&pe>V&&pe>ie&&pe>ue||pe<r&&pe<V&&pe<ie&&pe<ue)return 0;var he=cubicRootAt(r,V,ie,ue,pe,roots);if(he===0)return 0;for(var _e=0,$e=-1,Ie=void 0,Ve=void 0,Fe=0;Fe<he;Fe++){var Ue=roots[Fe],qe=Ue===0||Ue===1?.5:1,Et=cubicAt(t,$,oe,le,Ue);Et<de||($e<0&&($e=cubicExtrema(r,V,ie,ue,extrema),extrema[1]<extrema[0]&&$e>1&&swapExtrema(),Ie=cubicAt(r,V,ie,ue,extrema[0]),$e>1&&(Ve=cubicAt(r,V,ie,ue,extrema[1]))),$e===2?Ue<extrema[0]?_e+=Ie<r?qe:-qe:Ue<extrema[1]?_e+=Ve<Ie?qe:-qe:_e+=ue<Ve?qe:-qe:Ue<extrema[0]?_e+=Ie<r?qe:-qe:_e+=ue<Ie?qe:-qe)}return _e}function windingQuadratic(t,r,$,V,oe,ie,le,ue){if(ue>r&&ue>V&&ue>ie||ue<r&&ue<V&&ue<ie)return 0;var de=quadraticRootAt(r,V,ie,ue,roots);if(de===0)return 0;var pe=quadraticExtremum(r,V,ie);if(pe>=0&&pe<=1){for(var he=0,_e=quadraticAt(r,V,ie,pe),$e=0;$e<de;$e++){var Ie=roots[$e]===0||roots[$e]===1?.5:1,Ve=quadraticAt(t,$,oe,roots[$e]);Ve<le||(roots[$e]<pe?he+=_e<r?Ie:-Ie:he+=ie<_e?Ie:-Ie)}return he}else{var Ie=roots[0]===0||roots[0]===1?.5:1,Ve=quadraticAt(t,$,oe,roots[0]);return Ve<le?0:ie<r?Ie:-Ie}}function windingArc(t,r,$,V,oe,ie,le,ue){if(ue-=r,ue>$||ue<-$)return 0;var de=Math.sqrt($*$-ue*ue);roots[0]=-de,roots[1]=de;var pe=Math.abs(V-oe);if(pe<1e-4)return 0;if(pe>=PI2$2-1e-4){V=0,oe=PI2$2;var he=ie?1:-1;return le>=roots[0]+t&&le<=roots[1]+t?he:0}if(V>oe){var _e=V;V=oe,oe=_e}V<0&&(V+=PI2$2,oe+=PI2$2);for(var $e=0,Ie=0;Ie<2;Ie++){var Ve=roots[Ie];if(Ve+t>le){var Fe=Math.atan2(ue,Ve),he=ie?1:-1;Fe<0&&(Fe=PI2$2+Fe),(Fe>=V&&Fe<=oe||Fe+PI2$2>=V&&Fe+PI2$2<=oe)&&(Fe>Math.PI/2&&Fe<Math.PI*1.5&&(he=-he),$e+=he)}}return $e}function containPath(t,r,$,V,oe){for(var ie=t.data,le=t.len(),ue=0,de=0,pe=0,he=0,_e=0,$e,Ie,Ve=0;Ve<le;){var Fe=ie[Ve++],Ue=Ve===1;switch(Fe===CMD$1.M&&Ve>1&&($||(ue+=windingLine(de,pe,he,_e,V,oe))),Ue&&(de=ie[Ve],pe=ie[Ve+1],he=de,_e=pe),Fe){case CMD$1.M:he=ie[Ve++],_e=ie[Ve++],de=he,pe=_e;break;case CMD$1.L:if($){if(containStroke$4(de,pe,ie[Ve],ie[Ve+1],r,V,oe))return!0}else ue+=windingLine(de,pe,ie[Ve],ie[Ve+1],V,oe)||0;de=ie[Ve++],pe=ie[Ve++];break;case CMD$1.C:if($){if(containStroke$3(de,pe,ie[Ve++],ie[Ve++],ie[Ve++],ie[Ve++],ie[Ve],ie[Ve+1],r,V,oe))return!0}else ue+=windingCubic(de,pe,ie[Ve++],ie[Ve++],ie[Ve++],ie[Ve++],ie[Ve],ie[Ve+1],V,oe)||0;de=ie[Ve++],pe=ie[Ve++];break;case CMD$1.Q:if($){if(containStroke$2(de,pe,ie[Ve++],ie[Ve++],ie[Ve],ie[Ve+1],r,V,oe))return!0}else ue+=windingQuadratic(de,pe,ie[Ve++],ie[Ve++],ie[Ve],ie[Ve+1],V,oe)||0;de=ie[Ve++],pe=ie[Ve++];break;case CMD$1.A:var qe=ie[Ve++],Et=ie[Ve++],Lt=ie[Ve++],hn=ie[Ve++],Cn=ie[Ve++],bn=ie[Ve++];Ve+=1;var Sn=!!(1-ie[Ve++]);$e=Math.cos(Cn)*Lt+qe,Ie=Math.sin(Cn)*hn+Et,Ue?(he=$e,_e=Ie):ue+=windingLine(de,pe,$e,Ie,V,oe);var En=(V-qe)*hn/Lt+qe;if($){if(containStroke$1(qe,Et,hn,Cn,Cn+bn,Sn,r,En,oe))return!0}else ue+=windingArc(qe,Et,hn,Cn,Cn+bn,Sn,En,oe);de=Math.cos(Cn+bn)*Lt+qe,pe=Math.sin(Cn+bn)*hn+Et;break;case CMD$1.R:he=de=ie[Ve++],_e=pe=ie[Ve++];var wn=ie[Ve++],$n=ie[Ve++];if($e=he+wn,Ie=_e+$n,$){if(containStroke$4(he,_e,$e,_e,r,V,oe)||containStroke$4($e,_e,$e,Ie,r,V,oe)||containStroke$4($e,Ie,he,Ie,r,V,oe)||containStroke$4(he,Ie,he,_e,r,V,oe))return!0}else ue+=windingLine($e,_e,$e,Ie,V,oe),ue+=windingLine(he,Ie,he,_e,V,oe);break;case CMD$1.Z:if($){if(containStroke$4(de,pe,he,_e,r,V,oe))return!0}else ue+=windingLine(de,pe,he,_e,V,oe);de=he,pe=_e;break}}return!$&&!isAroundEqual$1(pe,_e)&&(ue+=windingLine(de,pe,he,_e,V,oe)||0),ue!==0}function contain$2(t,r,$){return containPath(t,0,!1,r,$)}function containStroke(t,r,$,V){return containPath(t,r,!0,$,V)}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($){return t.call(this,$)||this}return r.prototype.update=function(){var $=this;t.prototype.update.call(this);var V=this.style;if(V.decal){var oe=this._decalEl=this._decalEl||new r;oe.buildPath===r.prototype.buildPath&&(oe.buildPath=function(de){$.buildPath(de,$.shape)}),oe.silent=!0;var ie=oe.style;for(var le in V)ie[le]!==V[le]&&(ie[le]=V[le]);ie.fill=V.fill?V.decal:null,ie.decal=null,ie.shadowColor=null,V.strokeFirst&&(ie.stroke=null);for(var ue=0;ue<pathCopyParams.length;++ue)oe[pathCopyParams[ue]]=this[pathCopyParams[ue]];oe.__dirty|=REDRAW_BIT}else this._decalEl&&(this._decalEl=null)},r.prototype.getDecalElement=function(){return this._decalEl},r.prototype._init=function($){var V=keys($);this.shape=this.getDefaultShape();var oe=this.getDefaultStyle();oe&&this.useStyle(oe);for(var ie=0;ie<V.length;ie++){var le=V[ie],ue=$[le];le==="style"?this.style?extend(this.style,ue):this.useStyle(ue):le==="shape"?extend(this.shape,ue):t.prototype.attrKV.call(this,le,ue)}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 $=this.style.fill;if($!=="none"){if(isString($)){var V=lum($,0);return V>.5?DARK_LABEL_COLOR:V>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if($)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},r.prototype.getInsideTextStroke=function($){var V=this.style.fill;if(isString(V)){var oe=this.__zr,ie=!!(oe&&oe.isDarkMode()),le=lum($,0)<DARK_MODE_THRESHOLD;if(ie===le)return V}},r.prototype.buildPath=function($,V,oe){},r.prototype.pathUpdated=function(){this.__dirty&=~SHAPE_CHANGED_BIT},r.prototype.getUpdatedPathProxy=function($){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,$),this.path},r.prototype.createPathProxy=function(){this.path=new PathProxy$1(!1)},r.prototype.hasStroke=function(){var $=this.style,V=$.stroke;return!(V==null||V==="none"||!($.lineWidth>0))},r.prototype.hasFill=function(){var $=this.style,V=$.fill;return V!=null&&V!=="none"},r.prototype.getBoundingRect=function(){var $=this._rect,V=this.style,oe=!$;if(oe){var ie=!1;this.path||(ie=!0,this.createPathProxy());var le=this.path;(ie||this.__dirty&SHAPE_CHANGED_BIT)&&(le.beginPath(),this.buildPath(le,this.shape,!1),this.pathUpdated()),$=le.getBoundingRect()}if(this._rect=$,this.hasStroke()&&this.path&&this.path.len()>0){var ue=this._rectStroke||(this._rectStroke=$.clone());if(this.__dirty||oe){ue.copy($);var de=V.strokeNoScale?this.getLineScale():1,pe=V.lineWidth;if(!this.hasFill()){var he=this.strokeContainThreshold;pe=Math.max(pe,he??4)}de>1e-10&&(ue.width+=pe/de,ue.height+=pe/de,ue.x-=pe/de/2,ue.y-=pe/de/2)}return ue}return $},r.prototype.contain=function($,V){var oe=this.transformCoordToLocal($,V),ie=this.getBoundingRect(),le=this.style;if($=oe[0],V=oe[1],ie.contain($,V)){var ue=this.path;if(this.hasStroke()){var de=le.lineWidth,pe=le.strokeNoScale?this.getLineScale():1;if(pe>1e-10&&(this.hasFill()||(de=Math.max(de,this.strokeContainThreshold)),containStroke(ue,de/pe,$,V)))return!0}if(this.hasFill())return contain$2(ue,$,V)}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($){return this.animate("shape",$)},r.prototype.updateDuringAnimation=function($){$==="style"?this.dirtyStyle():$==="shape"?this.dirtyShape():this.markRedraw()},r.prototype.attrKV=function($,V){$==="shape"?this.setShape(V):t.prototype.attrKV.call(this,$,V)},r.prototype.setShape=function($,V){var oe=this.shape;return oe||(oe=this.shape={}),typeof $=="string"?oe[$]=V:extend(oe,$),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},r.prototype.createStyle=function($){return createObject(DEFAULT_PATH_STYLE,$)},r.prototype._innerSaveToNormal=function($){t.prototype._innerSaveToNormal.call(this,$);var V=this._normalState;$.shape&&!V.shape&&(V.shape=extend({},this.shape))},r.prototype._applyStateObj=function($,V,oe,ie,le,ue){t.prototype._applyStateObj.call(this,$,V,oe,ie,le,ue);var de=!(V&&ie),pe;if(V&&V.shape?le?ie?pe=V.shape:(pe=extend({},oe.shape),extend(pe,V.shape)):(pe=extend({},ie?this.shape:oe.shape),extend(pe,V.shape)):de&&(pe=oe.shape),pe)if(le){this.shape=extend({},this.shape);for(var he={},_e=keys(pe),$e=0;$e<_e.length;$e++){var Ie=_e[$e];typeof pe[Ie]=="object"?this.shape[Ie]=pe[Ie]:he[Ie]=pe[Ie]}this._transitionState($,{shape:he},ue)}else this.shape=pe,this.dirtyShape()},r.prototype._mergeStates=function($){for(var V=t.prototype._mergeStates.call(this,$),oe,ie=0;ie<$.length;ie++){var le=$[ie];le.shape&&(oe=oe||{},this._mergeStyle(oe,le.shape))}return oe&&(V.shape=oe),V},r.prototype.getAnimationStyleProps=function(){return DEFAULT_PATH_ANIMATION_PROPS},r.prototype.isZeroArea=function(){return!1},r.extend=function($){var V=function(ie){__extends(le,ie);function le(ue){var de=ie.call(this,ue)||this;return $.init&&$.init.call(de,ue),de}return le.prototype.getDefaultStyle=function(){return clone$3($.style)},le.prototype.getDefaultShape=function(){return clone$3($.shape)},le}(r);for(var oe in $)typeof $[oe]=="function"&&(V.prototype[oe]=$[oe]);return V},r.initDefaultProps=function(){var $=r.prototype;$.type="path",$.strokeContainThreshold=5,$.segmentIgnoreThreshold=0,$.subPixelOptimize=!1,$.autoBatch=!1,$.__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 $=this.style,V=$.stroke;return V!=null&&V!=="none"&&$.lineWidth>0},r.prototype.hasFill=function(){var $=this.style,V=$.fill;return V!=null&&V!=="none"},r.prototype.createStyle=function($){return createObject(DEFAULT_TSPAN_STYLE,$)},r.prototype.setBoundingRect=function($){this._rect=$},r.prototype.getBoundingRect=function(){var $=this.style;if(!this._rect){var V=$.text;V!=null?V+="":V="";var oe=getBoundingRect(V,$.font,$.textAlign,$.textBaseline);if(oe.x+=$.x||0,oe.y+=$.y||0,this.hasStroke()){var ie=$.lineWidth;oe.x-=ie/2,oe.y-=ie/2,oe.width+=ie,oe.height+=ie}this._rect=oe}return this._rect},r.initDefaultProps=function(){var $=r.prototype;$.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($){return createObject(DEFAULT_IMAGE_STYLE,$)},r.prototype._getSize=function($){var V=this.style,oe=V[$];if(oe!=null)return oe;var ie=isImageLike(V.image)?V.image:this.__image;if(!ie)return 0;var le=$==="width"?"height":"width",ue=V[le];return ue==null?ie[$]:ie[$]/ie[le]*ue},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 $=this.style;return this._rect||(this._rect=new BoundingRect$1($.x||0,$.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 $=r.x,V=r.y,oe=r.width,ie=r.height,le=r.r,ue,de,pe,he;oe<0&&($=$+oe,oe=-oe),ie<0&&(V=V+ie,ie=-ie),typeof le=="number"?ue=de=pe=he=le:le instanceof Array?le.length===1?ue=de=pe=he=le[0]:le.length===2?(ue=pe=le[0],de=he=le[1]):le.length===3?(ue=le[0],de=he=le[1],pe=le[2]):(ue=le[0],de=le[1],pe=le[2],he=le[3]):ue=de=pe=he=0;var _e;ue+de>oe&&(_e=ue+de,ue*=oe/_e,de*=oe/_e),pe+he>oe&&(_e=pe+he,pe*=oe/_e,he*=oe/_e),de+pe>ie&&(_e=de+pe,de*=ie/_e,pe*=ie/_e),ue+he>ie&&(_e=ue+he,ue*=ie/_e,he*=ie/_e),t.moveTo($+ue,V),t.lineTo($+oe-de,V),de!==0&&t.arc($+oe-de,V+de,de,-Math.PI/2,0),t.lineTo($+oe,V+ie-pe),pe!==0&&t.arc($+oe-pe,V+ie-pe,pe,0,Math.PI/2),t.lineTo($+he,V+ie),he!==0&&t.arc($+he,V+ie-he,he,Math.PI/2,Math.PI),t.lineTo($,V+ue),ue!==0&&t.arc($+ue,V+ue,ue,Math.PI,Math.PI*1.5)}var round=Math.round;function subPixelOptimizeLine$1(t,r,$){if(r){var V=r.x1,oe=r.x2,ie=r.y1,le=r.y2;t.x1=V,t.x2=oe,t.y1=ie,t.y2=le;var ue=$&&$.lineWidth;return ue&&(round(V*2)===round(oe*2)&&(t.x1=t.x2=subPixelOptimize$1(V,ue,!0)),round(ie*2)===round(le*2)&&(t.y1=t.y2=subPixelOptimize$1(ie,ue,!0))),t}}function subPixelOptimizeRect$1(t,r,$){if(r){var V=r.x,oe=r.y,ie=r.width,le=r.height;t.x=V,t.y=oe,t.width=ie,t.height=le;var ue=$&&$.lineWidth;return ue&&(t.x=subPixelOptimize$1(V,ue,!0),t.y=subPixelOptimize$1(oe,ue,!0),t.width=Math.max(subPixelOptimize$1(V+ie,ue,!1)-t.x,ie===0?0:1),t.height=Math.max(subPixelOptimize$1(oe+le,ue,!1)-t.y,le===0?0:1)),t}}function subPixelOptimize$1(t,r,$){if(!r)return t;var V=round(t*2);return(V+round(r))%2===0?V/2:(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($){return t.call(this,$)||this}return r.prototype.getDefaultShape=function(){return new RectShape},r.prototype.buildPath=function($,V){var oe,ie,le,ue;if(this.subPixelOptimize){var de=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,V,this.style);oe=de.x,ie=de.y,le=de.width,ue=de.height,de.r=V.r,V=de}else oe=V.x,ie=V.y,le=V.width,ue=V.height;V.r?buildPath$2($,V):$.rect(oe,ie,le,ue)},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($){var V=t.call(this)||this;return V.type="text",V._children=[],V._defaultStyle=DEFAULT_RICH_TEXT_COLOR,V.attr($),V}return r.prototype.childrenRef=function(){return this._children},r.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var $=0;$<this._children.length;$++){var V=this._children[$];V.zlevel=this.zlevel,V.z=this.z,V.z2=this.z2,V.culling=this.culling,V.cursor=this.cursor,V.invisible=this.invisible}},r.prototype.updateTransform=function(){var $=this.innerTransformable;$?($.updateTransform(),$.transform&&(this.transform=$.transform)):t.prototype.updateTransform.call(this)},r.prototype.getLocalTransform=function($){var V=this.innerTransformable;return V?V.getLocalTransform($):t.prototype.getLocalTransform.call(this,$)},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($){t.prototype.addSelfToZr.call(this,$);for(var V=0;V<this._children.length;V++)this._children[V].__zr=$},r.prototype.removeSelfFromZr=function($){t.prototype.removeSelfFromZr.call(this,$);for(var V=0;V<this._children.length;V++)this._children[V].__zr=null},r.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var $=new BoundingRect$1(0,0,0,0),V=this._children,oe=[],ie=null,le=0;le<V.length;le++){var ue=V[le],de=ue.getBoundingRect(),pe=ue.getLocalTransform(oe);pe?($.copy(de),$.applyTransform(pe),ie=ie||$.clone(),ie.union($)):(ie=ie||de.clone(),ie.union(de))}this._rect=ie||$}return this._rect},r.prototype.setDefaultTextStyle=function($){this._defaultStyle=$||DEFAULT_RICH_TEXT_COLOR},r.prototype.setTextContent=function($){},r.prototype._mergeStyle=function($,V){if(!V)return $;var oe=V.rich,ie=$.rich||oe&&{};return extend($,V),oe&&ie?(this._mergeRich(ie,oe),$.rich=ie):ie&&($.rich=ie),$},r.prototype._mergeRich=function($,V){for(var oe=keys(V),ie=0;ie<oe.length;ie++){var le=oe[ie];$[le]=$[le]||{},extend($[le],V[le])}},r.prototype.getAnimationStyleProps=function(){return DEFAULT_TEXT_ANIMATION_PROPS},r.prototype._getOrCreateChild=function($){var V=this._children[this._childCursor];return(!V||!(V instanceof $))&&(V=new $),this._children[this._childCursor++]=V,V.__zr=this.__zr,V.parent=this,V},r.prototype._updatePlainTexts=function(){var $=this.style,V=$.font||DEFAULT_FONT,oe=$.padding,ie=getStyleText($),le=parsePlainText(ie,$),ue=needDrawBackground($),de=!!$.backgroundColor,pe=le.outerHeight,he=le.outerWidth,_e=le.contentWidth,$e=le.lines,Ie=le.lineHeight,Ve=this._defaultStyle,Fe=$.x||0,Ue=$.y||0,qe=$.align||Ve.align||"left",Et=$.verticalAlign||Ve.verticalAlign||"top",Lt=Fe,hn=adjustTextY(Ue,le.contentHeight,Et);if(ue||oe){var Cn=adjustTextX(Fe,he,qe),bn=adjustTextY(Ue,pe,Et);ue&&this._renderBackground($,$,Cn,bn,he,pe)}hn+=Ie/2,oe&&(Lt=getTextXForPadding(Fe,qe,oe),Et==="top"?hn+=oe[0]:Et==="bottom"&&(hn-=oe[2]));for(var Sn=0,En=!1,wn=getFill("fill"in $?$.fill:(En=!0,Ve.fill)),$n=getStroke("stroke"in $?$.stroke:!de&&(!Ve.autoStroke||En)?(Sn=DEFAULT_STROKE_LINE_WIDTH,Ve.stroke):null),Tn=$.textShadowBlur>0,xn=$.width!=null&&($.overflow==="truncate"||$.overflow==="break"||$.overflow==="breakAll"),An=le.calculatedLineHeight,Mn=0;Mn<$e.length;Mn++){var Vn=this._getOrCreateChild(TSpan$1),Bn=Vn.createStyle();Vn.useStyle(Bn),Bn.text=$e[Mn],Bn.x=Lt,Bn.y=hn,qe&&(Bn.textAlign=qe),Bn.textBaseline="middle",Bn.opacity=$.opacity,Bn.strokeFirst=!0,Tn&&(Bn.shadowBlur=$.textShadowBlur||0,Bn.shadowColor=$.textShadowColor||"transparent",Bn.shadowOffsetX=$.textShadowOffsetX||0,Bn.shadowOffsetY=$.textShadowOffsetY||0),Bn.stroke=$n,Bn.fill=wn,$n&&(Bn.lineWidth=$.lineWidth||Sn,Bn.lineDash=$.lineDash,Bn.lineDashOffset=$.lineDashOffset||0),Bn.font=V,setSeparateFont(Bn,$),hn+=Ie,xn&&Vn.setBoundingRect(new BoundingRect$1(adjustTextX(Bn.x,$.width,Bn.textAlign),adjustTextY(Bn.y,An,Bn.textBaseline),_e,An))}},r.prototype._updateRichTexts=function(){var $=this.style,V=getStyleText($),oe=parseRichText(V,$),ie=oe.width,le=oe.outerWidth,ue=oe.outerHeight,de=$.padding,pe=$.x||0,he=$.y||0,_e=this._defaultStyle,$e=$.align||_e.align,Ie=$.verticalAlign||_e.verticalAlign,Ve=adjustTextX(pe,le,$e),Fe=adjustTextY(he,ue,Ie),Ue=Ve,qe=Fe;de&&(Ue+=de[3],qe+=de[0]);var Et=Ue+ie;needDrawBackground($)&&this._renderBackground($,$,Ve,Fe,le,ue);for(var Lt=!!$.backgroundColor,hn=0;hn<oe.lines.length;hn++){for(var Cn=oe.lines[hn],bn=Cn.tokens,Sn=bn.length,En=Cn.lineHeight,wn=Cn.width,$n=0,Tn=Ue,xn=Et,An=Sn-1,Mn=void 0;$n<Sn&&(Mn=bn[$n],!Mn.align||Mn.align==="left");)this._placeToken(Mn,$,En,qe,Tn,"left",Lt),wn-=Mn.width,Tn+=Mn.width,$n++;for(;An>=0&&(Mn=bn[An],Mn.align==="right");)this._placeToken(Mn,$,En,qe,xn,"right",Lt),wn-=Mn.width,xn-=Mn.width,An--;for(Tn+=(ie-(Tn-Ue)-(Et-xn)-wn)/2;$n<=An;)Mn=bn[$n],this._placeToken(Mn,$,En,qe,Tn+Mn.width/2,"center",Lt),Tn+=Mn.width,$n++;qe+=En}},r.prototype._placeToken=function($,V,oe,ie,le,ue,de){var pe=V.rich[$.styleName]||{};pe.text=$.text;var he=$.verticalAlign,_e=ie+oe/2;he==="top"?_e=ie+$.height/2:he==="bottom"&&(_e=ie+oe-$.height/2);var $e=!$.isLineHolder&&needDrawBackground(pe);$e&&this._renderBackground(pe,V,ue==="right"?le-$.width:ue==="center"?le-$.width/2:le,_e-$.height/2,$.width,$.height);var Ie=!!pe.backgroundColor,Ve=$.textPadding;Ve&&(le=getTextXForPadding(le,ue,Ve),_e-=$.height/2-Ve[0]-$.innerHeight/2);var Fe=this._getOrCreateChild(TSpan$1),Ue=Fe.createStyle();Fe.useStyle(Ue);var qe=this._defaultStyle,Et=!1,Lt=0,hn=getFill("fill"in pe?pe.fill:"fill"in V?V.fill:(Et=!0,qe.fill)),Cn=getStroke("stroke"in pe?pe.stroke:"stroke"in V?V.stroke:!Ie&&!de&&(!qe.autoStroke||Et)?(Lt=DEFAULT_STROKE_LINE_WIDTH,qe.stroke):null),bn=pe.textShadowBlur>0||V.textShadowBlur>0;Ue.text=$.text,Ue.x=le,Ue.y=_e,bn&&(Ue.shadowBlur=pe.textShadowBlur||V.textShadowBlur||0,Ue.shadowColor=pe.textShadowColor||V.textShadowColor||"transparent",Ue.shadowOffsetX=pe.textShadowOffsetX||V.textShadowOffsetX||0,Ue.shadowOffsetY=pe.textShadowOffsetY||V.textShadowOffsetY||0),Ue.textAlign=ue,Ue.textBaseline="middle",Ue.font=$.font||DEFAULT_FONT,Ue.opacity=retrieve3(pe.opacity,V.opacity,1),setSeparateFont(Ue,pe),Cn&&(Ue.lineWidth=retrieve3(pe.lineWidth,V.lineWidth,Lt),Ue.lineDash=retrieve2(pe.lineDash,V.lineDash),Ue.lineDashOffset=V.lineDashOffset||0,Ue.stroke=Cn),hn&&(Ue.fill=hn);var Sn=$.contentWidth,En=$.contentHeight;Fe.setBoundingRect(new BoundingRect$1(adjustTextX(Ue.x,Sn,Ue.textAlign),adjustTextY(Ue.y,En,Ue.textBaseline),Sn,En))},r.prototype._renderBackground=function($,V,oe,ie,le,ue){var de=$.backgroundColor,pe=$.borderWidth,he=$.borderColor,_e=de&&de.image,$e=de&&!_e,Ie=$.borderRadius,Ve=this,Fe,Ue;if($e||$.lineHeight||pe&&he){Fe=this._getOrCreateChild(Rect$2),Fe.useStyle(Fe.createStyle()),Fe.style.fill=null;var qe=Fe.shape;qe.x=oe,qe.y=ie,qe.width=le,qe.height=ue,qe.r=Ie,Fe.dirtyShape()}if($e){var Et=Fe.style;Et.fill=de||null,Et.fillOpacity=retrieve2($.fillOpacity,1)}else if(_e){Ue=this._getOrCreateChild(ZRImage$1),Ue.onload=function(){Ve.dirtyStyle()};var Lt=Ue.style;Lt.image=de.image,Lt.x=oe,Lt.y=ie,Lt.width=le,Lt.height=ue}if(pe&&he){var Et=Fe.style;Et.lineWidth=pe,Et.stroke=he,Et.strokeOpacity=retrieve2($.strokeOpacity,1),Et.lineDash=$.borderDash,Et.lineDashOffset=$.borderDashOffset||0,Fe.strokeContainThreshold=0,Fe.hasFill()&&Fe.hasStroke()&&(Et.strokeFirst=!0,Et.lineWidth*=2)}var hn=(Fe||Ue).style;hn.shadowBlur=$.shadowBlur||0,hn.shadowColor=$.shadowColor||"transparent",hn.shadowOffsetX=$.shadowOffsetX||0,hn.shadowOffsetY=$.shadowOffsetY||0,hn.opacity=retrieve3($.opacity,V.opacity,1)},r.makeFont=function($){var V="";return hasSeparateFont($)&&(V=[$.fontStyle,$.fontWeight,parseFontSize($.fontSize),$.fontFamily||"sans-serif"].join(" ")),V&&trim$1(V)||$.textFont||$.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 $=0;$<FONT_PARTS.length;$++){var V=FONT_PARTS[$],oe=r[V];oe!=null&&(t[V]=oe)}}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 $=t.verticalAlign;$==="center"&&($="middle"),t.verticalAlign=$==null||VALID_TEXT_VERTICAL_ALIGN[$]?$:"top";var V=t.padding;V&&(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,$){return r==="right"?t-$[1]:r==="center"?t+$[3]/2-$[1]/2:t+$[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){if(V){var oe=getECData(V);oe.dataIndex=$,oe.dataType=r,oe.seriesIndex=t,V.type==="group"&&V.traverse(function(ie){var le=getECData(ie);le.seriesIndex=t,le.dataIndex=$,le.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 $=extend({},t);return $.colorStops=map$2(t.colorStops,function(V){return{offset:V.offset,color:lift(V.color,-.1)}}),$}return t}function doChangeHoverState(t,r,$){t.onHoverStateChange&&(t.hoverState||0)!==$&&t.onHoverStateChange(r),t.hoverState=$}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,$){r(t,$)}function traverseUpdateState(t,r,$){updateElementState(t,r,$),t.isGroup&&t.traverse(function(V){updateElementState(V,r,$)})}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){for(var oe=t.style,ie={},le=0;le<r.length;le++){var ue=r[le],de=oe[ue];ie[ue]=de??(V&&V[ue])}for(var le=0;le<t.animators.length;le++){var pe=t.animators[le];pe.__fromStateTransition&&pe.__fromStateTransition.indexOf($)<0&&pe.targetName==="style"&&pe.saveTo(ie,r)}return ie}function createEmphasisDefaultState(t,r,$,V){var oe=$&&indexOf($,"select")>=0,ie=!1;if(t instanceof Path$1){var le=getSavedStates(t),ue=oe&&le.selectFill||le.normalFill,de=oe&&le.selectStroke||le.normalStroke;if(hasFillOrStroke(ue)||hasFillOrStroke(de)){V=V||{};var pe=V.style||{};pe.fill==="inherit"?(ie=!0,V=extend({},V),pe=extend({},pe),pe.fill=ue):!hasFillOrStroke(pe.fill)&&hasFillOrStroke(ue)?(ie=!0,V=extend({},V),pe=extend({},pe),pe.fill=liftColor(ue)):!hasFillOrStroke(pe.stroke)&&hasFillOrStroke(de)&&(ie||(V=extend({},V),pe=extend({},pe)),pe.stroke=liftColor(de)),V.style=pe}}if(V&&V.z2==null){ie||(V=extend({},V));var he=t.z2EmphasisLift;V.z2=t.z2+(he??Z2_EMPHASIS_LIFT)}return V}function createSelectDefaultState(t,r,$){if($&&$.z2==null){$=extend({},$);var V=t.z2SelectLift;$.z2=t.z2+(V??Z2_SELECT_LIFT)}return $}function createBlurDefaultState(t,r,$){var V=indexOf(t.currentStates,r)>=0,oe=t.style.opacity,ie=V?null:getFromStateStyle(t,["opacity"],r,{opacity:1});$=$||{};var le=$.style||{};return le.opacity==null&&($=extend({},$),le=extend({opacity:V?oe:ie.opacity*.1},le),$.style=le),$}function elementStateProxy(t,r){var $=this.states[t];if(this.style){if(t==="emphasis")return createEmphasisDefaultState(this,t,r,$);if(t==="blur")return createBlurDefaultState(this,t,$);if(t==="select")return createSelectDefaultState(this,t,$)}return $}function setDefaultStateProxy(t){t.stateProxy=elementStateProxy;var r=t.getTextContent(),$=t.getTextGuideLine();r&&(r.stateProxy=elementStateProxy),$&&($.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=[];r.eachComponent(function(oe,ie){var le=getComponentStates(ie),ue=oe==="series",de=ue?t.getViewOfSeriesModel(ie):t.getViewOfComponentModel(ie);!ue&&V.push(de),le.isBlured&&(de.group.traverse(function(pe){singleLeaveBlur(pe)}),ue&&$.push(ie)),le.isBlured=!1}),each$c(V,function(oe){oe&&oe.toggleBlurSeries&&oe.toggleBlurSeries($,!1,r)})}function blurSeries(t,r,$,V){var oe=V.getModel();$=$||"coordinateSystem";function ie(pe,he){for(var _e=0;_e<he.length;_e++){var $e=pe.getItemGraphicEl(he[_e]);$e&&leaveBlur($e)}}if(t!=null&&!(!r||r==="none")){var le=oe.getSeriesByIndex(t),ue=le.coordinateSystem;ue&&ue.master&&(ue=ue.master);var de=[];oe.eachSeries(function(pe){var he=le===pe,_e=pe.coordinateSystem;_e&&_e.master&&(_e=_e.master);var $e=_e&&ue?_e===ue:he;if(!($==="series"&&!he||$==="coordinateSystem"&&!$e||r==="series"&&he)){var Ie=V.getViewOfSeriesModel(pe);if(Ie.group.traverse(function(Ue){Ue.__highByOuter&&he&&r==="self"||singleEnterBlur(Ue)}),isArrayLike(r))ie(pe.getData(),r);else if(isObject$3(r))for(var Ve=keys(r),Fe=0;Fe<Ve.length;Fe++)ie(pe.getData(Ve[Fe]),r[Ve[Fe]]);de.push(pe),getComponentStates(pe).isBlured=!0}}),oe.eachComponent(function(pe,he){if(pe!=="series"){var _e=V.getViewOfComponentModel(he);_e&&_e.toggleBlurSeries&&_e.toggleBlurSeries(de,!0,oe)}})}}function blurComponent(t,r,$){if(!(t==null||r==null)){var V=$.getModel().getComponent(t,r);if(V){getComponentStates(V).isBlured=!0;var oe=$.getViewOfComponentModel(V);!oe||!oe.focusBlurEnabled||oe.group.traverse(function(ie){singleEnterBlur(ie)})}}}function blurSeriesFromHighlightPayload(t,r,$){var V=t.seriesIndex,oe=t.getData(r.dataType);if(oe){var ie=queryDataIndex(oe,r);ie=(isArray$1(ie)?ie[0]:ie)||0;var le=oe.getItemGraphicEl(ie);if(!le)for(var ue=oe.count(),de=0;!le&&de<ue;)le=oe.getItemGraphicEl(de++);if(le){var pe=getECData(le);blurSeries(V,pe.focus,pe.blurScope,$)}else{var he=t.get(["emphasis","focus"]),_e=t.get(["emphasis","blurScope"]);he!=null&&blurSeries(V,he,_e,$)}}}function findComponentHighDownDispatchers(t,r,$,V){var oe={focusSelf:!1,dispatchers:null};if(t==null||t==="series"||r==null||$==null)return oe;var ie=V.getModel().getComponent(t,r);if(!ie)return oe;var le=V.getViewOfComponentModel(ie);if(!le||!le.findHighDownDispatchers)return oe;for(var ue=le.findHighDownDispatchers($),de,pe=0;pe<ue.length;pe++)if(getECData(ue[pe]).focus==="self"){de=!0;break}return{focusSelf:de,dispatchers:ue}}function handleGlobalMouseOverForHighDown(t,r,$){var V=getECData(t),oe=findComponentHighDownDispatchers(V.componentMainType,V.componentIndex,V.componentHighDownName,$),ie=oe.dispatchers,le=oe.focusSelf;ie?(le&&blurComponent(V.componentMainType,V.componentIndex,$),each$c(ie,function(ue){return enterEmphasisWhenMouseOver(ue,r)})):(blurSeries(V.seriesIndex,V.focus,V.blurScope,$),V.focus==="self"&&blurComponent(V.componentMainType,V.componentIndex,$),enterEmphasisWhenMouseOver(t,r))}function handleGlobalMouseOutForHighDown(t,r,$){allLeaveBlur($);var V=getECData(t),oe=findComponentHighDownDispatchers(V.componentMainType,V.componentIndex,V.componentHighDownName,$).dispatchers;oe?each$c(oe,function(ie){return leaveEmphasisWhenMouseOut(ie,r)}):leaveEmphasisWhenMouseOut(t,r)}function toggleSelectionFromPayload(t,r,$){if(isSelectChangePayload(r)){var V=r.dataType,oe=t.getData(V),ie=queryDataIndex(oe,r);isArray$1(ie)||(ie=[ie]),t[r.type===TOGGLE_SELECT_ACTION_TYPE?"toggleSelect":r.type===SELECT_ACTION_TYPE?"select":"unselect"](ie,V)}}function updateSeriesElementSelection(t){var r=t.getAllData();each$c(r,function($){var V=$.data,oe=$.type;V.eachItemGraphicEl(function(ie,le){t.isSelected(le,oe)?enterSelect(ie):leaveSelect(ie)})})}function getAllSelectedIndices(t){var r=[];return t.eachSeries(function($){var V=$.getAllData();each$c(V,function(oe){oe.data;var ie=oe.type,le=$.getSelectedDataIndices();if(le.length>0){var ue={dataIndex:le,seriesIndex:$.seriesIndex};ie!=null&&(ue.dataType=ie),r.push(ue)}})}),r}function enableHoverEmphasis(t,r,$){setAsHighDownDispatcher(t,!0),traverseUpdateState(t,setDefaultStateProxy),enableHoverFocus(t,r,$)}function disableHoverEmphasis(t){setAsHighDownDispatcher(t,!1)}function toggleHoverEmphasis(t,r,$,V){V?disableHoverEmphasis(t):enableHoverEmphasis(t,r,$)}function enableHoverFocus(t,r,$){var V=getECData(t);r!=null?(V.focus=r,V.blurScope=$):V.focus&&(V.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(t,r,$,V){$=$||"itemStyle";for(var oe=0;oe<OTHER_STATES.length;oe++){var ie=OTHER_STATES[oe],le=r.getModel([ie,$]),ue=t.ensureState(ie);ue.style=V?V(le):le[defaultStyleGetterMap[$]]()}}function setAsHighDownDispatcher(t,r){var $=r===!1,V=t;t.highDownSilentOnTouch&&(V.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!$||V.__highDownDispatcher)&&(V.__highByOuter=V.__highByOuter||0,V.__highDownDispatcher=!$)}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 $=t.states.select||{};r.selectFill=$.style&&$.style.fill||null,r.selectStroke=$.style&&$.style.stroke||null}var CMD=PathProxy$1.CMD,points=[[],[],[]],mathSqrt$2=Math.sqrt,mathAtan2=Math.atan2;function transformPath(t,r){if(r){var $=t.data,V=t.len(),oe,ie,le,ue,de,pe,he=CMD.M,_e=CMD.C,$e=CMD.L,Ie=CMD.R,Ve=CMD.A,Fe=CMD.Q;for(le=0,ue=0;le<V;){switch(oe=$[le++],ue=le,ie=0,oe){case he:ie=1;break;case $e:ie=1;break;case _e:ie=3;break;case Fe:ie=2;break;case Ve:var Ue=r[4],qe=r[5],Et=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]/Et);$[le]*=Et,$[le++]+=Ue,$[le]*=Lt,$[le++]+=qe,$[le++]*=Et,$[le++]*=Lt,$[le++]+=hn,$[le++]+=hn,le+=2,ue=le;break;case Ie:pe[0]=$[le++],pe[1]=$[le++],applyTransform$1(pe,pe,r),$[ue++]=pe[0],$[ue++]=pe[1],pe[0]+=$[le++],pe[1]+=$[le++],applyTransform$1(pe,pe,r),$[ue++]=pe[0],$[ue++]=pe[1]}for(de=0;de<ie;de++){var Cn=points[de];Cn[0]=$[le++],Cn[1]=$[le++],applyTransform$1(Cn,Cn,r),$[ue++]=Cn[0],$[ue++]=Cn[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){var _e=de*(PI$3/180),$e=mathCos$1(_e)*(t-$)/2+mathSin$1(_e)*(r-V)/2,Ie=-1*mathSin$1(_e)*(t-$)/2+mathCos$1(_e)*(r-V)/2,Ve=$e*$e/(le*le)+Ie*Ie/(ue*ue);Ve>1&&(le*=mathSqrt$1(Ve),ue*=mathSqrt$1(Ve));var Fe=(oe===ie?-1:1)*mathSqrt$1((le*le*(ue*ue)-le*le*(Ie*Ie)-ue*ue*($e*$e))/(le*le*(Ie*Ie)+ue*ue*($e*$e)))||0,Ue=Fe*le*Ie/ue,qe=Fe*-ue*$e/le,Et=(t+$)/2+mathCos$1(_e)*Ue-mathSin$1(_e)*qe,Lt=(r+V)/2+mathSin$1(_e)*Ue+mathCos$1(_e)*qe,hn=vAngle([1,0],[($e-Ue)/le,(Ie-qe)/ue]),Cn=[($e-Ue)/le,(Ie-qe)/ue],bn=[(-1*$e-Ue)/le,(-1*Ie-qe)/ue],Sn=vAngle(Cn,bn);if(vRatio(Cn,bn)<=-1&&(Sn=PI$3),vRatio(Cn,bn)>=1&&(Sn=0),Sn<0){var En=Math.round(Sn/PI$3*1e6)/1e6;Sn=PI$3*2+En%2*PI$3}he.addData(pe,Et,Lt,le,ue,hn,Sn,_e,ie)}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 $=0,V=0,oe=$,ie=V,le,ue=PathProxy$1.CMD,de=t.match(commandReg);if(!de)return r;for(var pe=0;pe<de.length;pe++){for(var he=de[pe],_e=he.charAt(0),$e=void 0,Ie=he.match(numberReg)||[],Ve=Ie.length,Fe=0;Fe<Ve;Fe++)Ie[Fe]=parseFloat(Ie[Fe]);for(var Ue=0;Ue<Ve;){var qe=void 0,Et=void 0,Lt=void 0,hn=void 0,Cn=void 0,bn=void 0,Sn=void 0,En=$,wn=V,$n=void 0,Tn=void 0;switch(_e){case"l":$+=Ie[Ue++],V+=Ie[Ue++],$e=ue.L,r.addData($e,$,V);break;case"L":$=Ie[Ue++],V=Ie[Ue++],$e=ue.L,r.addData($e,$,V);break;case"m":$+=Ie[Ue++],V+=Ie[Ue++],$e=ue.M,r.addData($e,$,V),oe=$,ie=V,_e="l";break;case"M":$=Ie[Ue++],V=Ie[Ue++],$e=ue.M,r.addData($e,$,V),oe=$,ie=V,_e="L";break;case"h":$+=Ie[Ue++],$e=ue.L,r.addData($e,$,V);break;case"H":$=Ie[Ue++],$e=ue.L,r.addData($e,$,V);break;case"v":V+=Ie[Ue++],$e=ue.L,r.addData($e,$,V);break;case"V":V=Ie[Ue++],$e=ue.L,r.addData($e,$,V);break;case"C":$e=ue.C,r.addData($e,Ie[Ue++],Ie[Ue++],Ie[Ue++],Ie[Ue++],Ie[Ue++],Ie[Ue++]),$=Ie[Ue-2],V=Ie[Ue-1];break;case"c":$e=ue.C,r.addData($e,Ie[Ue++]+$,Ie[Ue++]+V,Ie[Ue++]+$,Ie[Ue++]+V,Ie[Ue++]+$,Ie[Ue++]+V),$+=Ie[Ue-2],V+=Ie[Ue-1];break;case"S":qe=$,Et=V,$n=r.len(),Tn=r.data,le===ue.C&&(qe+=$-Tn[$n-4],Et+=V-Tn[$n-3]),$e=ue.C,En=Ie[Ue++],wn=Ie[Ue++],$=Ie[Ue++],V=Ie[Ue++],r.addData($e,qe,Et,En,wn,$,V);break;case"s":qe=$,Et=V,$n=r.len(),Tn=r.data,le===ue.C&&(qe+=$-Tn[$n-4],Et+=V-Tn[$n-3]),$e=ue.C,En=$+Ie[Ue++],wn=V+Ie[Ue++],$+=Ie[Ue++],V+=Ie[Ue++],r.addData($e,qe,Et,En,wn,$,V);break;case"Q":En=Ie[Ue++],wn=Ie[Ue++],$=Ie[Ue++],V=Ie[Ue++],$e=ue.Q,r.addData($e,En,wn,$,V);break;case"q":En=Ie[Ue++]+$,wn=Ie[Ue++]+V,$+=Ie[Ue++],V+=Ie[Ue++],$e=ue.Q,r.addData($e,En,wn,$,V);break;case"T":qe=$,Et=V,$n=r.len(),Tn=r.data,le===ue.Q&&(qe+=$-Tn[$n-4],Et+=V-Tn[$n-3]),$=Ie[Ue++],V=Ie[Ue++],$e=ue.Q,r.addData($e,qe,Et,$,V);break;case"t":qe=$,Et=V,$n=r.len(),Tn=r.data,le===ue.Q&&(qe+=$-Tn[$n-4],Et+=V-Tn[$n-3]),$+=Ie[Ue++],V+=Ie[Ue++],$e=ue.Q,r.addData($e,qe,Et,$,V);break;case"A":Lt=Ie[Ue++],hn=Ie[Ue++],Cn=Ie[Ue++],bn=Ie[Ue++],Sn=Ie[Ue++],En=$,wn=V,$=Ie[Ue++],V=Ie[Ue++],$e=ue.A,processArc(En,wn,$,V,bn,Sn,Lt,hn,Cn,$e,r);break;case"a":Lt=Ie[Ue++],hn=Ie[Ue++],Cn=Ie[Ue++],bn=Ie[Ue++],Sn=Ie[Ue++],En=$,wn=V,$+=Ie[Ue++],V+=Ie[Ue++],$e=ue.A,processArc(En,wn,$,V,bn,Sn,Lt,hn,Cn,$e,r);break}}(_e==="z"||_e==="Z")&&($e=ue.Z,r.addData($e),$=oe,V=ie),le=$e}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($){},r}(Path$1);function isPathProxy(t){return t.setData!=null}function createPathOptions(t,r){var $=createPathProxyFromString(t),V=extend({},r);return V.buildPath=function(oe){if(isPathProxy(oe)){oe.setData($.data);var ie=oe.getContext();ie&&oe.rebuildPath(ie,1)}else{var ie=oe;$.rebuildPath(ie,1)}},V.applyTransform=function(oe){transformPath($,oe),this.dirtyShape()},V}function createFromString(t,r){return new SVGPath(createPathOptions(t,r))}function extendFromString(t,r){var $=createPathOptions(t,r),V=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this,le)||this;return ue.applyTransform=$.applyTransform,ue.buildPath=$.buildPath,ue}return ie}(SVGPath);return V}function mergePath$1(t,r){for(var $=[],V=t.length,oe=0;oe<V;oe++){var ie=t[oe];$.push(ie.getUpdatedPathProxy(!0))}var le=new Path$1(r);return le.createPathProxy(),le.buildPath=function(ue){if(isPathProxy(ue)){ue.appendPath($);var de=ue.getContext();de&&ue.rebuildPath(de,1)}},le}var CircleShape=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),Circle=function(t){__extends(r,t);function r($){return t.call(this,$)||this}return r.prototype.getDefaultShape=function(){return new CircleShape},r.prototype.buildPath=function($,V){$.moveTo(V.cx+V.r,V.cy),$.arc(V.cx,V.cy,V.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($){return t.call(this,$)||this}return r.prototype.getDefaultShape=function(){return new EllipseShape},r.prototype.buildPath=function($,V){var oe=.5522848,ie=V.cx,le=V.cy,ue=V.rx,de=V.ry,pe=ue*oe,he=de*oe;$.moveTo(ie-ue,le),$.bezierCurveTo(ie-ue,le-he,ie-pe,le-de,ie,le-de),$.bezierCurveTo(ie+pe,le-de,ie+ue,le-he,ie+ue,le),$.bezierCurveTo(ie+ue,le+he,ie+pe,le+de,ie,le+de),$.bezierCurveTo(ie-pe,le+de,ie-ue,le+he,ie-ue,le),$.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){var de=$-t,pe=V-r,he=le-oe,_e=ue-ie,$e=_e*de-he*pe;if(!($e*$e<e))return $e=(he*(r-ie)-_e*(t-oe))/$e,[t+$e*de,r+$e*pe]}function computeCornerTangents(t,r,$,V,oe,ie,le){var ue=t-$,de=r-V,pe=(le?ie:-ie)/mathSqrt(ue*ue+de*de),he=pe*de,_e=-pe*ue,$e=t+he,Ie=r+_e,Ve=$+he,Fe=V+_e,Ue=($e+Ve)/2,qe=(Ie+Fe)/2,Et=Ve-$e,Lt=Fe-Ie,hn=Et*Et+Lt*Lt,Cn=oe-ie,bn=$e*Fe-Ve*Ie,Sn=(Lt<0?-1:1)*mathSqrt(mathMax$5(0,Cn*Cn*hn-bn*bn)),En=(bn*Lt-Et*Sn)/hn,wn=(-bn*Et-Lt*Sn)/hn,$n=(bn*Lt+Et*Sn)/hn,Tn=(-bn*Et+Lt*Sn)/hn,xn=En-Ue,An=wn-qe,Mn=$n-Ue,Vn=Tn-qe;return xn*xn+An*An>Mn*Mn+Vn*Vn&&(En=$n,wn=Tn),{cx:En,cy:wn,x0:-he,y0:-_e,x1:En*(oe/Cn-1),y1:wn*(oe/Cn-1)}}function normalizeCornerRadius(t){var r;if(isArray$1(t)){var $=t.length;if(!$)return t;$===1?r=[t[0],t[0],0,0]:$===2?r=[t[0],t[0],t[1],t[1]]:$===3?r=t.concat(t[2]):r=t}else r=[t,t,t,t];return r}function buildPath$1(t,r){var $,V=mathMax$5(r.r,0),oe=mathMax$5(r.r0||0,0),ie=V>0,le=oe>0;if(!(!ie&&!le)){if(ie||(V=oe,oe=0),oe>V){var ue=V;V=oe,oe=ue}var de=r.startAngle,pe=r.endAngle;if(!(isNaN(de)||isNaN(pe))){var he=r.cx,_e=r.cy,$e=!!r.clockwise,Ie=mathAbs(pe-de),Ve=Ie>PI2$1&&Ie%PI2$1;if(Ve>e&&(Ie=Ve),!(V>e))t.moveTo(he,_e);else if(Ie>PI2$1-e)t.moveTo(he+V*mathCos(de),_e+V*mathSin(de)),t.arc(he,_e,V,de,pe,!$e),oe>e&&(t.moveTo(he+oe*mathCos(pe),_e+oe*mathSin(pe)),t.arc(he,_e,oe,pe,de,$e));else{var Fe=void 0,Ue=void 0,qe=void 0,Et=void 0,Lt=void 0,hn=void 0,Cn=void 0,bn=void 0,Sn=void 0,En=void 0,wn=void 0,$n=void 0,Tn=void 0,xn=void 0,An=void 0,Mn=void 0,Vn=V*mathCos(de),Bn=V*mathSin(de),Dn=oe*mathCos(pe),Ln=oe*mathSin(pe),Pn=Ie>e;if(Pn){var Fn=r.cornerRadius;Fn&&($=normalizeCornerRadius(Fn),Fe=$[0],Ue=$[1],qe=$[2],Et=$[3]);var Un=mathAbs(V-oe)/2;if(Lt=mathMin$5(Un,qe),hn=mathMin$5(Un,Et),Cn=mathMin$5(Un,Fe),bn=mathMin$5(Un,Ue),wn=Sn=mathMax$5(Lt,hn),$n=En=mathMax$5(Cn,bn),(Sn>e||En>e)&&(Tn=V*mathCos(pe),xn=V*mathSin(pe),An=oe*mathCos(de),Mn=oe*mathSin(de),Ie<PI$2)){var Wn=intersect(Vn,Bn,An,Mn,Tn,xn,Dn,Ln);if(Wn){var Zn=Vn-Wn[0],or=Bn-Wn[1],br=Tn-Wn[0],Qn=xn-Wn[1],Gn=1/mathSin(mathACos((Zn*br+or*Qn)/(mathSqrt(Zn*Zn+or*or)*mathSqrt(br*br+Qn*Qn)))/2),Yn=mathSqrt(Wn[0]*Wn[0]+Wn[1]*Wn[1]);wn=mathMin$5(Sn,(V-Yn)/(Gn+1)),$n=mathMin$5(En,(oe-Yn)/(Gn-1))}}}if(!Pn)t.moveTo(he+Vn,_e+Bn);else if(wn>e){var er=mathMin$5(qe,wn),lr=mathMin$5(Et,wn),sr=computeCornerTangents(An,Mn,Vn,Bn,V,er,$e),zn=computeCornerTangents(Tn,xn,Dn,Ln,V,lr,$e);t.moveTo(he+sr.cx+sr.x0,_e+sr.cy+sr.y0),wn<Sn&&er===lr?t.arc(he+sr.cx,_e+sr.cy,wn,mathATan2(sr.y0,sr.x0),mathATan2(zn.y0,zn.x0),!$e):(er>0&&t.arc(he+sr.cx,_e+sr.cy,er,mathATan2(sr.y0,sr.x0),mathATan2(sr.y1,sr.x1),!$e),t.arc(he,_e,V,mathATan2(sr.cy+sr.y1,sr.cx+sr.x1),mathATan2(zn.cy+zn.y1,zn.cx+zn.x1),!$e),lr>0&&t.arc(he+zn.cx,_e+zn.cy,lr,mathATan2(zn.y1,zn.x1),mathATan2(zn.y0,zn.x0),!$e))}else t.moveTo(he+Vn,_e+Bn),t.arc(he,_e,V,de,pe,!$e);if(!(oe>e)||!Pn)t.lineTo(he+Dn,_e+Ln);else if($n>e){var er=mathMin$5(Fe,$n),lr=mathMin$5(Ue,$n),sr=computeCornerTangents(Dn,Ln,Tn,xn,oe,-lr,$e),zn=computeCornerTangents(Vn,Bn,An,Mn,oe,-er,$e);t.lineTo(he+sr.cx+sr.x0,_e+sr.cy+sr.y0),$n<En&&er===lr?t.arc(he+sr.cx,_e+sr.cy,$n,mathATan2(sr.y0,sr.x0),mathATan2(zn.y0,zn.x0),!$e):(lr>0&&t.arc(he+sr.cx,_e+sr.cy,lr,mathATan2(sr.y0,sr.x0),mathATan2(sr.y1,sr.x1),!$e),t.arc(he,_e,oe,mathATan2(sr.cy+sr.y1,sr.cx+sr.x1),mathATan2(zn.cy+zn.y1,zn.cx+zn.x1),$e),er>0&&t.arc(he+zn.cx,_e+zn.cy,er,mathATan2(zn.y1,zn.x1),mathATan2(zn.y0,zn.x0),!$e))}else t.lineTo(he+Dn,_e+Ln),t.arc(he,_e,oe,pe,de,$e)}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($){return t.call(this,$)||this}return r.prototype.getDefaultShape=function(){return new SectorShape},r.prototype.buildPath=function($,V){buildPath$1($,V)},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($){return t.call(this,$)||this}return r.prototype.getDefaultShape=function(){return new RingShape},r.prototype.buildPath=function($,V){var oe=V.cx,ie=V.cy,le=Math.PI*2;$.moveTo(oe+V.r,ie),$.arc(oe,ie,V.r,0,le,!1),$.moveTo(oe+V.r0,ie),$.arc(oe,ie,V.r0,0,le,!0)},r}(Path$1);Ring.prototype.type="ring";const Ring$1=Ring;function smoothBezier(t,r,$,V){var oe=[],ie=[],le=[],ue=[],de,pe,he,_e;if(V){he=[1/0,1/0],_e=[-1/0,-1/0];for(var $e=0,Ie=t.length;$e<Ie;$e++)min$1(he,he,t[$e]),max$1(_e,_e,t[$e]);min$1(he,he,V[0]),max$1(_e,_e,V[1])}for(var $e=0,Ie=t.length;$e<Ie;$e++){var Ve=t[$e];if($)de=t[$e?$e-1:Ie-1],pe=t[($e+1)%Ie];else if($e===0||$e===Ie-1){oe.push(clone$2(t[$e]));continue}else de=t[$e-1],pe=t[$e+1];sub(ie,pe,de),scale$2(ie,ie,r);var Fe=distance(Ve,de),Ue=distance(Ve,pe),qe=Fe+Ue;qe!==0&&(Fe/=qe,Ue/=qe),scale$2(le,ie,-Fe),scale$2(ue,ie,Ue);var Et=add([],Ve,le),Lt=add([],Ve,ue);V&&(max$1(Et,Et,he),min$1(Et,Et,_e),max$1(Lt,Lt,he),min$1(Lt,Lt,_e)),oe.push(Et),oe.push(Lt)}return $&&oe.push(oe.shift()),oe}function buildPath(t,r,$){var V=r.smooth,oe=r.points;if(oe&&oe.length>=2){if(V){var ie=smoothBezier(oe,V,$,r.smoothConstraint);t.moveTo(oe[0][0],oe[0][1]);for(var le=oe.length,ue=0;ue<($?le:le-1);ue++){var de=ie[ue*2],pe=ie[ue*2+1],he=oe[(ue+1)%le];t.bezierCurveTo(de[0],de[1],pe[0],pe[1],he[0],he[1])}}else{t.moveTo(oe[0][0],oe[0][1]);for(var ue=1,_e=oe.length;ue<_e;ue++)t.lineTo(oe[ue][0],oe[ue][1])}$&&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($){return t.call(this,$)||this}return r.prototype.getDefaultShape=function(){return new PolygonShape},r.prototype.buildPath=function($,V){buildPath($,V,!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($){return t.call(this,$)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new PolylineShape},r.prototype.buildPath=function($,V){buildPath($,V,!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($){return t.call(this,$)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new LineShape},r.prototype.buildPath=function($,V){var oe,ie,le,ue;if(this.subPixelOptimize){var de=subPixelOptimizeLine$1(subPixelOptimizeOutputShape,V,this.style);oe=de.x1,ie=de.y1,le=de.x2,ue=de.y2}else oe=V.x1,ie=V.y1,le=V.x2,ue=V.y2;var pe=V.percent;pe!==0&&($.moveTo(oe,ie),pe<1&&(le=oe*(1-pe)+le*pe,ue=ie*(1-pe)+ue*pe),$.lineTo(le,ue))},r.prototype.pointAt=function($){var V=this.shape;return[V.x1*(1-$)+V.x2*$,V.y1*(1-$)+V.y2*$]},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,$){var V=t.cpx2,oe=t.cpy2;return V!=null||oe!=null?[($?cubicDerivativeAt:cubicAt)(t.x1,t.cpx1,t.cpx2,t.x2,r),($?cubicDerivativeAt:cubicAt)(t.y1,t.cpy1,t.cpy2,t.y2,r)]:[($?quadraticDerivativeAt:quadraticAt)(t.x1,t.cpx1,t.x2,r),($?quadraticDerivativeAt:quadraticAt)(t.y1,t.cpy1,t.y2,r)]}var BezierCurve=function(t){__extends(r,t);function r($){return t.call(this,$)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new BezierCurveShape},r.prototype.buildPath=function($,V){var oe=V.x1,ie=V.y1,le=V.x2,ue=V.y2,de=V.cpx1,pe=V.cpy1,he=V.cpx2,_e=V.cpy2,$e=V.percent;$e!==0&&($.moveTo(oe,ie),he==null||_e==null?($e<1&&(quadraticSubdivide(oe,de,le,$e,out),de=out[1],le=out[2],quadraticSubdivide(ie,pe,ue,$e,out),pe=out[1],ue=out[2]),$.quadraticCurveTo(de,pe,le,ue)):($e<1&&(cubicSubdivide(oe,de,he,le,$e,out),de=out[1],he=out[2],le=out[3],cubicSubdivide(ie,pe,_e,ue,$e,out),pe=out[1],_e=out[2],ue=out[3]),$.bezierCurveTo(de,pe,he,_e,le,ue)))},r.prototype.pointAt=function($){return someVectorAt(this.shape,$,!1)},r.prototype.tangentAt=function($){var V=someVectorAt(this.shape,$,!0);return normalize$1(V,V)},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($){return t.call(this,$)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new ArcShape},r.prototype.buildPath=function($,V){var oe=V.cx,ie=V.cy,le=Math.max(V.r,0),ue=V.startAngle,de=V.endAngle,pe=V.clockwise,he=Math.cos(ue),_e=Math.sin(ue);$.moveTo(he*le+oe,_e*le+ie),$.arc(oe,ie,le,ue,de,!pe)},r}(Path$1);Arc.prototype.type="arc";const Arc$1=Arc;var CompoundPath=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type="compound",$}return r.prototype._updatePathDirty=function(){for(var $=this.shape.paths,V=this.shapeChanged(),oe=0;oe<$.length;oe++)V=V||$[oe].shapeChanged();V&&this.dirtyShape()},r.prototype.beforeBrush=function(){this._updatePathDirty();for(var $=this.shape.paths||[],V=this.getGlobalScale(),oe=0;oe<$.length;oe++)$[oe].path||$[oe].createPathProxy(),$[oe].path.setScale(V[0],V[1],$[oe].segmentIgnoreThreshold)},r.prototype.buildPath=function($,V){for(var oe=V.paths||[],ie=0;ie<oe.length;ie++)oe[ie].buildPath($,oe[ie].shape,!0)},r.prototype.afterBrush=function(){for(var $=this.shape.paths||[],V=0;V<$.length;V++)$[V].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,$){this.colorStops.push({offset:r,color:$})},t}();const Gradient$1=Gradient;var LinearGradient=function(t){__extends(r,t);function r($,V,oe,ie,le,ue){var de=t.call(this,le)||this;return de.x=$??0,de.y=V??0,de.x2=oe??1,de.y2=ie??0,de.type="linear",de.global=ue||!1,de}return r}(Gradient$1);const LinearGradient$1=LinearGradient;var RadialGradient=function(t){__extends(r,t);function r($,V,oe,ie,le){var ue=t.call(this,ie)||this;return ue.x=$??.5,ue.y=V??.5,ue.r=oe??.5,ue.type="radial",ue.global=le||!1,ue}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,$){this._corners=[],this._axes=[],this._origin=[0,0];for(var V=0;V<4;V++)this._corners[V]=new Point$1;for(var V=0;V<2;V++)this._axes[V]=new Point$1;r&&this.fromBoundingRect(r,$)}return t.prototype.fromBoundingRect=function(r,$){var V=this._corners,oe=this._axes,ie=r.x,le=r.y,ue=ie+r.width,de=le+r.height;if(V[0].set(ie,le),V[1].set(ue,le),V[2].set(ue,de),V[3].set(ie,de),$)for(var pe=0;pe<4;pe++)V[pe].transform($);Point$1.sub(oe[0],V[1],V[0]),Point$1.sub(oe[1],V[3],V[0]),oe[0].normalize(),oe[1].normalize();for(var pe=0;pe<2;pe++)this._origin[pe]=oe[pe].dot(V[0])},t.prototype.intersect=function(r,$){var V=!0,oe=!$;return minTv.set(1/0,1/0),maxTv.set(0,0),!this._intersectCheckOneSide(this,r,minTv,maxTv,oe,1)&&(V=!1,oe)||!this._intersectCheckOneSide(r,this,minTv,maxTv,oe,-1)&&(V=!1,oe)||oe||Point$1.copy($,V?minTv:maxTv),V},t.prototype._intersectCheckOneSide=function(r,$,V,oe,ie,le){for(var ue=!0,de=0;de<2;de++){var pe=this._axes[de];if(this._getProjMinMaxOnAxis(de,r._corners,extent),this._getProjMinMaxOnAxis(de,$._corners,extent2),extent[1]<extent2[0]||extent[0]>extent2[1]){if(ue=!1,ie)return ue;var he=Math.abs(extent2[0]-extent[1]),_e=Math.abs(extent[0]-extent2[1]);Math.min(he,_e)>oe.len()&&(he<_e?Point$1.scale(oe,pe,-he*le):Point$1.scale(oe,pe,_e*le))}else if(V){var he=Math.abs(extent2[0]-extent[1]),_e=Math.abs(extent[0]-extent2[1]);Math.min(he,_e)<V.len()&&(he<_e?Point$1.scale(V,pe,he*le):Point$1.scale(V,pe,-_e*le))}}return ue},t.prototype._getProjMinMaxOnAxis=function(r,$,V){for(var oe=this._axes[r],ie=this._origin,le=$[0].dot(oe)+ie[r],ue=le,de=le,pe=1;pe<$.length;pe++){var he=$[pe].dot(oe)+ie[r];ue=Math.min(he,ue),de=Math.max(he,de)}V[0]=ue,V[1]=de},t}();const OrientedBoundingRect$1=OrientedBoundingRect;var m$2=[],IncrementalDisplayable=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.notClear=!0,$.incremental=!0,$._displayables=[],$._temporaryDisplayables=[],$._cursor=0,$}return r.prototype.traverse=function($,V){$.call(V,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){V?this._temporaryDisplayables.push($):this._displayables.push($),this.markRedraw()},r.prototype.addDisplayables=function($,V){V=V||!1;for(var oe=0;oe<$.length;oe++)this.addDisplayable($[oe],V)},r.prototype.getDisplayables=function(){return this._displayables},r.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},r.prototype.eachPendingDisplayable=function($){for(var V=this._cursor;V<this._displayables.length;V++)$&&$(this._displayables[V]);for(var V=0;V<this._temporaryDisplayables.length;V++)$&&$(this._temporaryDisplayables[V])},r.prototype.update=function(){this.updateTransform();for(var $=this._cursor;$<this._displayables.length;$++){var V=this._displayables[$];V.parent=this,V.update(),V.parent=null}for(var $=0;$<this._temporaryDisplayables.length;$++){var V=this._temporaryDisplayables[$];V.parent=this,V.update(),V.parent=null}},r.prototype.getBoundingRect=function(){if(!this._rect){for(var $=new BoundingRect$1(1/0,1/0,-1/0,-1/0),V=0;V<this._displayables.length;V++){var oe=this._displayables[V],ie=oe.getBoundingRect().clone();oe.needLocalTransform()&&ie.applyTransform(oe.getLocalTransform(m$2)),$.union(ie)}this._rect=$}return this._rect},r.prototype.contain=function($,V){var oe=this.transformCoordToLocal($,V),ie=this.getBoundingRect();if(ie.contain(oe[0],oe[1]))for(var le=0;le<this._displayables.length;le++){var ue=this._displayables[le];if(ue.contain($,V))return!0}return!1},r}(Displayable$1);const IncrementalDisplayable$1=IncrementalDisplayable;var transitionStore=makeInner();function getAnimationConfig(t,r,$,V,oe){var ie;if(r&&r.ecModel){var le=r.ecModel.getUpdatePayload();ie=le&&le.animation}var ue=r&&r.isAnimationEnabled(),de=t==="update";if(ue){var pe=void 0,he=void 0,_e=void 0;V?(pe=retrieve2(V.duration,200),he=retrieve2(V.easing,"cubicOut"),_e=0):(pe=r.getShallow(de?"animationDurationUpdate":"animationDuration"),he=r.getShallow(de?"animationEasingUpdate":"animationEasing"),_e=r.getShallow(de?"animationDelayUpdate":"animationDelay")),ie&&(ie.duration!=null&&(pe=ie.duration),ie.easing!=null&&(he=ie.easing),ie.delay!=null&&(_e=ie.delay)),isFunction(_e)&&(_e=_e($,oe)),isFunction(pe)&&(pe=pe($));var $e={duration:pe||0,delay:_e,easing:he};return $e}else return null}function animateOrSetProps(t,r,$,V,oe,ie,le){var ue=!1,de;isFunction(oe)?(le=ie,ie=oe,oe=null):isObject$3(oe)&&(ie=oe.cb,le=oe.during,ue=oe.isFrom,de=oe.removeOpt,oe=oe.dataIndex);var pe=t==="leave";pe||r.stopAnimation("leave");var he=getAnimationConfig(t,V,oe,pe?de||{}:null,V&&V.getAnimationDelayParams?V.getAnimationDelayParams(r,oe):null);if(he&&he.duration>0){var _e=he.duration,$e=he.delay,Ie=he.easing,Ve={duration:_e,delay:$e||0,easing:Ie,done:ie,force:!!ie||!!le,setToFinal:!pe,scope:t,during:le};ue?r.animateFrom($,Ve):r.animateTo($,Ve)}else r.stopAnimation(),!ue&&r.attr($),le&&le(1),ie&&ie()}function updateProps$1(t,r,$,V,oe,ie){animateOrSetProps("update",t,r,$,V,oe,ie)}function initProps(t,r,$,V,oe,ie){animateOrSetProps("enter",t,r,$,V,oe,ie)}function isElementRemoved(t){if(!t.__zr)return!0;for(var r=0;r<t.animators.length;r++){var $=t.animators[r];if($.scope==="leave")return!0}return!1}function removeElement(t,r,$,V,oe,ie){isElementRemoved(t)||animateOrSetProps("leave",t,r,$,V,oe,ie)}function fadeOutDisplayable(t,r,$,V){t.removeTextContent(),t.removeTextGuideLine(),removeElement(t,{style:{opacity:0}},r,$,V)}function removeElementWithFadeOut(t,r,$){function V(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(oe){oe.isGroup||fadeOutDisplayable(oe,r,$,V)}):fadeOutDisplayable(t,r,$,V)}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){var oe=createFromString(t,r);return $&&(V==="center"&&($=centerGraphic($,oe.getBoundingRect())),resizePath(oe,$)),oe}function makeImage(t,r,$){var V=new ZRImage$1({style:{image:t,x:r.x,y:r.y,width:r.width,height:r.height},onload:function(oe){if($==="center"){var ie={width:oe.width,height:oe.height};V.setStyle(centerGraphic(r,ie))}}});return V}function centerGraphic(t,r){var $=r.width/r.height,V=t.height*$,oe;V<=t.width?oe=t.height:(V=t.width,oe=V/$);var ie=t.x+t.width/2,le=t.y+t.height/2;return{x:ie-V/2,y:le-oe/2,width:V,height:oe}}var mergePath=mergePath$1;function resizePath(t,r){if(t.applyTransform){var $=t.getBoundingRect(),V=$.calculateTransform(r);t.applyTransform(V)}}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 $=identity([]);t&&t!==r;)mul($,t.getLocalTransform(),$),t=t.parent;return $}function applyTransform(t,r,$){return r&&!isArrayLike(r)&&(r=Transformable$1.getLocalTransform(r)),$&&(r=invert([],r)),applyTransform$1([],t,r)}function transformDirection(t,r,$){var V=r[4]===0||r[5]===0||r[0]===0?1:Math.abs(2*r[4]/r[0]),oe=r[4]===0||r[5]===0||r[2]===0?1:Math.abs(2*r[4]/r[2]),ie=[t==="left"?-V:t==="right"?V:0,t==="top"?-oe:t==="bottom"?oe:0];return ie=applyTransform(ie,r,$),Math.abs(ie[0])>Math.abs(ie[1])?ie[0]>0?"right":"left":ie[1]>0?"bottom":"top"}function isNotGroup(t){return!t.isGroup}function isPath(t){return t.shape!=null}function groupTransition(t,r,$){if(!t||!r)return;function V(le){var ue={};return le.traverse(function(de){isNotGroup(de)&&de.anid&&(ue[de.anid]=de)}),ue}function oe(le){var ue={x:le.x,y:le.y,rotation:le.rotation};return isPath(le)&&(ue.shape=extend({},le.shape)),ue}var ie=V(t);r.traverse(function(le){if(isNotGroup(le)&&le.anid){var ue=ie[le.anid];if(ue){var de=oe(le);le.attr(oe(ue)),updateProps$1(le,de,$,getECData(le).dataIndex)}}})}function clipPointsByRect(t,r){return map$2(t,function($){var V=$[0];V=mathMax$4(V,r.x),V=mathMin$4(V,r.x+r.width);var oe=$[1];return oe=mathMax$4(oe,r.y),oe=mathMin$4(oe,r.y+r.height),[V,oe]})}function clipRectByRect(t,r){var $=mathMax$4(t.x,r.x),V=mathMin$4(t.x+t.width,r.x+r.width),oe=mathMax$4(t.y,r.y),ie=mathMin$4(t.y+t.height,r.y+r.height);if(V>=$&&ie>=oe)return{x:$,y:oe,width:V-$,height:ie-oe}}function createIcon(t,r,$){var V=extend({rectHover:!0},r),oe=V.style={strokeNoScale:!0};if($=$||{x:-1,y:-1,width:2,height:2},t)return t.indexOf("image://")===0?(oe.image=t.slice(8),defaults(oe,$),new ZRImage$1(V)):makePath(t.replace("path://",""),V,$,"center")}function linePolygonIntersect(t,r,$,V,oe){for(var ie=0,le=oe[oe.length-1];ie<oe.length;ie++){var ue=oe[ie];if(lineLineIntersect(t,r,$,V,ue[0],ue[1],le[0],le[1]))return!0;le=ue}}function lineLineIntersect(t,r,$,V,oe,ie,le,ue){var de=$-t,pe=V-r,he=le-oe,_e=ue-ie,$e=crossProduct2d(he,_e,de,pe);if(nearZero($e))return!1;var Ie=t-oe,Ve=r-ie,Fe=crossProduct2d(Ie,Ve,de,pe)/$e;if(Fe<0||Fe>1)return!1;var Ue=crossProduct2d(Ie,Ve,he,_e)/$e;return!(Ue<0||Ue>1)}function crossProduct2d(t,r,$,V){return t*V-$*r}function nearZero(t){return t<=1e-6&&t>=-1e-6}function setTooltipConfig(t){var r=t.itemTooltipOption,$=t.componentModel,V=t.itemName,oe=isString(r)?{formatter:r}:r,ie=$.mainType,le=$.componentIndex,ue={componentType:ie,name:V,$vars:["name"]};ue[ie+"Index"]=le;var de=t.formatterParamsExtra;de&&each$c(keys(de),function(he){hasOwn(ue,he)||(ue[he]=de[he],ue.$vars.push(he))});var pe=getECData(t.el);pe.componentMainType=ie,pe.componentIndex=le,pe.tooltipConfig={name:V,option:defaults({content:V,formatterParams:ue},oe)}}function traverseElement(t,r){var $;t.isGroup&&($=r(t)),$||t.traverse(r)}function traverseElements(t,r){if(t)if(isArray$1(t))for(var $=0;$<t.length;$++)traverseElement(t[$],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 $=0;$<SPECIAL_STATES.length;$++){var V=SPECIAL_STATES[$],oe=r[V],ie=t.ensureState(V);ie.style=ie.style||{},ie.style.text=oe}var le=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:r.normal}),t.useStates(le,!0)}function getLabelText(t,r,$){var V=t.labelFetcher,oe=t.labelDataIndex,ie=t.labelDimIndex,le=r.normal,ue;V&&(ue=V.getFormattedLabel(oe,"normal",null,ie,le&&le.get("formatter"),$!=null?{interpolatedValue:$}:null)),ue==null&&(ue=isFunction(t.defaultText)?t.defaultText(oe,t,$):t.defaultText);for(var de={normal:ue},pe=0;pe<SPECIAL_STATES.length;pe++){var he=SPECIAL_STATES[pe],_e=r[he];de[he]=retrieve2(V?V.getFormattedLabel(oe,he,null,ie,_e&&_e.get("formatter")):null,ue)}return de}function setLabelStyle(t,r,$,V){$=$||EMPTY_OBJ;for(var oe=t instanceof ZRText$1,ie=!1,le=0;le<DISPLAY_STATES.length;le++){var ue=r[DISPLAY_STATES[le]];if(ue&&ue.getShallow("show")){ie=!0;break}}var de=oe?t:t.getTextContent();if(ie){oe||(de||(de=new ZRText$1,t.setTextContent(de)),t.stateProxy&&(de.stateProxy=t.stateProxy));var pe=getLabelText($,r),he=r.normal,_e=!!he.getShallow("show"),$e=createTextStyle$1(he,V&&V.normal,$,!1,!oe);$e.text=pe.normal,oe||t.setTextConfig(createTextConfig(he,$,!1));for(var le=0;le<SPECIAL_STATES.length;le++){var Ie=SPECIAL_STATES[le],ue=r[Ie];if(ue){var Ve=de.ensureState(Ie),Fe=!!retrieve2(ue.getShallow("show"),_e);if(Fe!==_e&&(Ve.ignore=!Fe),Ve.style=createTextStyle$1(ue,V&&V[Ie],$,!0,!oe),Ve.style.text=pe[Ie],!oe){var Ue=t.ensureState(Ie);Ue.textConfig=createTextConfig(ue,$,!0)}}}de.silent=!!he.getShallow("silent"),de.style.x!=null&&($e.x=de.style.x),de.style.y!=null&&($e.y=de.style.y),de.ignore=!_e,de.useStyle($e),de.dirty(),$.enableTextSetter&&(labelInner(de).setLabelText=function(qe){var Et=getLabelText($,r,qe);setLabelText(de,Et)})}else de&&(de.ignore=!0);t.dirty()}function getLabelStatesModels(t,r){r=r||"label";for(var $={normal:t.getModel(r)},V=0;V<SPECIAL_STATES.length;V++){var oe=SPECIAL_STATES[V];$[oe]=t.getModel([oe,r])}return $}function createTextStyle$1(t,r,$,V,oe){var ie={};return setTextStyleCommon(ie,t,$,V,oe),r&&extend(ie,r),ie}function createTextConfig(t,r,$){r=r||{};var V={},oe,ie=t.getShallow("rotate"),le=retrieve2(t.getShallow("distance"),$?null:5),ue=t.getShallow("offset");return oe=t.getShallow("position")||($?null:"inside"),oe==="outside"&&(oe=r.defaultOutsidePosition||"top"),oe!=null&&(V.position=oe),ue!=null&&(V.offset=ue),ie!=null&&(ie*=Math.PI/180,V.rotation=ie),le!=null&&(V.distance=le),V.outsideFill=t.get("color")==="inherit"?r.inheritColor||null:"auto",V}function setTextStyleCommon(t,r,$,V,oe){$=$||EMPTY_OBJ;var ie=r.ecModel,le=ie&&ie.option.textStyle,ue=getRichItemNames(r),de;if(ue){de={};for(var pe in ue)if(ue.hasOwnProperty(pe)){var he=r.getModel(["rich",pe]);setTokenTextStyle(de[pe]={},he,le,$,V,oe,!1,!0)}}de&&(t.rich=de);var _e=r.get("overflow");_e&&(t.overflow=_e);var $e=r.get("minMargin");$e!=null&&(t.margin=$e),setTokenTextStyle(t,r,le,$,V,oe,!0,!1)}function getRichItemNames(t){for(var r;t&&t!==t.ecModel;){var $=(t.option||EMPTY_OBJ).rich;if($){r=r||{};for(var V=keys($),oe=0;oe<V.length;oe++){var ie=V[oe];r[ie]=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){$=!oe&&$||EMPTY_OBJ;var de=V&&V.inheritColor,pe=r.getShallow("color"),he=r.getShallow("textBorderColor"),_e=retrieve2(r.getShallow("opacity"),$.opacity);(pe==="inherit"||pe==="auto")&&(de?pe=de:pe=null),(he==="inherit"||he==="auto")&&(de?he=de:he=null),ie||(pe=pe||$.color,he=he||$.textBorderColor),pe!=null&&(t.fill=pe),he!=null&&(t.stroke=he);var $e=retrieve2(r.getShallow("textBorderWidth"),$.textBorderWidth);$e!=null&&(t.lineWidth=$e);var Ie=retrieve2(r.getShallow("textBorderType"),$.textBorderType);Ie!=null&&(t.lineDash=Ie);var Ve=retrieve2(r.getShallow("textBorderDashOffset"),$.textBorderDashOffset);Ve!=null&&(t.lineDashOffset=Ve),!oe&&_e==null&&!ue&&(_e=V&&V.defaultOpacity),_e!=null&&(t.opacity=_e),!oe&&!ie&&t.fill==null&&V.inheritColor&&(t.fill=V.inheritColor);for(var Fe=0;Fe<TEXT_PROPS_WITH_GLOBAL.length;Fe++){var Ue=TEXT_PROPS_WITH_GLOBAL[Fe],qe=retrieve2(r.getShallow(Ue),$[Ue]);qe!=null&&(t[Ue]=qe)}for(var Fe=0;Fe<TEXT_PROPS_SELF.length;Fe++){var Ue=TEXT_PROPS_SELF[Fe],qe=r.getShallow(Ue);qe!=null&&(t[Ue]=qe)}if(t.verticalAlign==null){var Et=r.getShallow("baseline");Et!=null&&(t.verticalAlign=Et)}if(!le||!V.disableBox){for(var Fe=0;Fe<TEXT_PROPS_BOX.length;Fe++){var Ue=TEXT_PROPS_BOX[Fe],qe=r.getShallow(Ue);qe!=null&&(t[Ue]=qe)}var Lt=r.getShallow("borderType");Lt!=null&&(t.borderDash=Lt),(t.backgroundColor==="auto"||t.backgroundColor==="inherit")&&de&&(t.backgroundColor=de),(t.borderColor==="auto"||t.borderColor==="inherit")&&de&&(t.borderColor=de)}}function getFont(t,r){var $=r&&r.getModel("textStyle");return trim$1([t.fontStyle||$&&$.getShallow("fontStyle")||"",t.fontWeight||$&&$.getShallow("fontWeight")||"",(t.fontSize||$&&$.getShallow("fontSize")||12)+"px",t.fontFamily||$&&$.getShallow("fontFamily")||"sans-serif"].join(" "))}var labelInner=makeInner();function setLabelValueAnimation(t,r,$,V){if(t){var oe=labelInner(t);oe.prevValue=oe.value,oe.value=$;var ie=r.normal;oe.valueAnimation=ie.get("valueAnimation"),oe.valueAnimation&&(oe.precision=ie.get("precision"),oe.defaultInterpolatedText=V,oe.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 $=this.ecModel;return this.getShallow("color")||(!r&&$?$.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 $={text:r,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},V=0;V<textStyleParams.length;V++)$[textStyleParams[V]]=this.getShallow(textStyleParams[V]);return tmpText.useStyle($),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,$){return getItemStyle(this,r,$)},t}(),Model=function(){function t(r,$,V){this.parentModel=$,this.ecModel=V,this.option=r}return t.prototype.init=function(r,$,V){},t.prototype.mergeOption=function(r,$){merge(this.option,r,!0)},t.prototype.get=function(r,$){return r==null?this.option:this._doGet(this.parsePath(r),!$&&this.parentModel)},t.prototype.getShallow=function(r,$){var V=this.option,oe=V==null?V:V[r];if(oe==null&&!$){var ie=this.parentModel;ie&&(oe=ie.getShallow(r))}return oe},t.prototype.getModel=function(r,$){var V=r!=null,oe=V?this.parsePath(r):null,ie=V?this._doGet(oe):this.option;return $=$||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(oe)),new t(ie,$,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,$){var V=this.option;if(!r)return V;for(var oe=0;oe<r.length&&!(r[oe]&&(V=V&&typeof V=="object"?V[r[oe]]:null,V==null));oe++);return V==null&&$&&(V=$._doGet(this.resolveParentPath(r),$.parentModel)),V},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){var oe=parseClassType($);r[oe.main]=V},t.determineSubType=function($,V){var oe=V.type;if(!oe){var ie=parseClassType($).main;t.hasSubTypes($)&&r[ie]&&(oe=r[ie](V))}return oe}}function enableTopologicalTravel(t,r){t.topologicalTravel=function(ie,le,ue,de){if(!ie.length)return;var pe=$(le),he=pe.graph,_e=pe.noEntryList,$e={};for(each$c(ie,function(Et){$e[Et]=!0});_e.length;){var Ie=_e.pop(),Ve=he[Ie],Fe=!!$e[Ie];Fe&&(ue.call(de,Ie,Ve.originalDeps.slice()),delete $e[Ie]),each$c(Ve.successor,Fe?qe:Ue)}each$c($e,function(){var Et="";throw new Error(Et)});function Ue(Et){he[Et].entryCount--,he[Et].entryCount===0&&_e.push(Et)}function qe(Et){$e[Et]=!0,Ue(Et)}};function $(ie){var le={},ue=[];return each$c(ie,function(de){var pe=V(le,de),he=pe.originalDeps=r(de),_e=oe(he,ie);pe.entryCount=_e.length,pe.entryCount===0&&ue.push(de),each$c(_e,function($e){indexOf(pe.predecessor,$e)<0&&pe.predecessor.push($e);var Ie=V(le,$e);indexOf(Ie.successor,$e)<0&&Ie.successor.push(de)})}),{graph:le,noEntryList:ue}}function V(ie,le){return ie[le]||(ie[le]={predecessor:[],successor:[]}),ie[le]}function oe(ie,le){var ue=[];return each$c(ie,function(de){indexOf(le,de)>=0&&ue.push(de)}),ue}}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){var oe=parseDate(t),ie=oe[fullYearGetterName($)](),le=oe[monthGetterName($)]()+1,ue=Math.floor((le-1)/3)+1,de=oe[dateGetterName($)](),pe=oe["get"+($?"UTC":"")+"Day"](),he=oe[hoursGetterName($)](),_e=(he-1)%12+1,$e=oe[minutesGetterName($)](),Ie=oe[secondsGetterName($)](),Ve=oe[millisecondsGetterName($)](),Fe=V instanceof Model$1?V:getLocaleModel(V||SYSTEM_LANG)||getDefaultLocaleModel(),Ue=Fe.getModel("time"),qe=Ue.get("month"),Et=Ue.get("monthAbbr"),Lt=Ue.get("dayOfWeek"),hn=Ue.get("dayOfWeekAbbr");return(r||"").replace(/{yyyy}/g,ie+"").replace(/{yy}/g,pad(ie%100+"",2)).replace(/{Q}/g,ue+"").replace(/{MMMM}/g,qe[le-1]).replace(/{MMM}/g,Et[le-1]).replace(/{MM}/g,pad(le,2)).replace(/{M}/g,le+"").replace(/{dd}/g,pad(de,2)).replace(/{d}/g,de+"").replace(/{eeee}/g,Lt[pe]).replace(/{ee}/g,hn[pe]).replace(/{e}/g,pe+"").replace(/{HH}/g,pad(he,2)).replace(/{H}/g,he+"").replace(/{hh}/g,pad(_e+"",2)).replace(/{h}/g,_e+"").replace(/{mm}/g,pad($e,2)).replace(/{m}/g,$e+"").replace(/{ss}/g,pad(Ie,2)).replace(/{s}/g,Ie+"").replace(/{SSS}/g,pad(Ve,3)).replace(/{S}/g,Ve+"")}function leveledFormat(t,r,$,V,oe){var ie=null;if(isString($))ie=$;else if(isFunction($))ie=$(t.value,r,{level:t.level});else{var le=extend({},defaultLeveledFormatter);if(t.level>0)for(var ue=0;ue<primaryTimeUnits.length;++ue)le[primaryTimeUnits[ue]]="{primary|"+le[primaryTimeUnits[ue]]+"}";var de=$?$.inherit===!1?$:defaults($,le):le,pe=getUnitFromValue(t.value,oe);if(de[pe])ie=de[pe];else if(de.inherit){for(var he=timeUnits.indexOf(pe),ue=he-1;ue>=0;--ue)if(de[pe]){ie=de[pe];break}ie=ie||le.none}if(isArray$1(ie)){var _e=t.level==null?0:t.level>=0?t.level:ie.length+t.level;_e=Math.min(_e,ie.length-1),ie=ie[_e]}}return format$1(new Date(t.value),ie,oe,V)}function getUnitFromValue(t,r){var $=parseDate(t),V=$[monthGetterName(r)]()+1,oe=$[dateGetterName(r)](),ie=$[hoursGetterName(r)](),le=$[minutesGetterName(r)](),ue=$[secondsGetterName(r)](),de=$[millisecondsGetterName(r)](),pe=de===0,he=pe&&ue===0,_e=he&&le===0,$e=_e&&ie===0,Ie=$e&&oe===1,Ve=Ie&&V===1;return Ve?"year":Ie?"month":$e?"day":_e?"hour":he?"minute":pe?"second":"millisecond"}function getUnitValue(t,r,$){var V=isNumber(t)?parseDate(t):t;switch(r=r||getUnitFromValue(t,$),r){case"year":return V[fullYearGetterName($)]();case"half-year":return V[monthGetterName($)]()>=6?1:0;case"quarter":return Math.floor((V[monthGetterName($)]()+1)/4);case"month":return V[monthGetterName($)]();case"day":return V[dateGetterName($)]();case"half-day":return V[hoursGetterName($)]()/24;case"hour":return V[hoursGetterName($)]();case"minute":return V[minutesGetterName($)]();case"second":return V[secondsGetterName($)]();case"millisecond":return V[millisecondsGetterName($)]()}}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){var de=new ZRText$1({style:{text:t,font:r,align:$,verticalAlign:V,padding:oe,rich:ie,overflow:le?"truncate":null,lineHeight:ue}});return de.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){return V.toUpperCase()}),r&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable(t,r,$){var V="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function oe(he){return he&&trim$1(he)?he:"-"}function ie(he){return!!(he!=null&&!isNaN(he)&&isFinite(he))}var le=r==="time",ue=t instanceof Date;if(le||ue){var de=le?parseDate(t):t;if(isNaN(+de)){if(ue)return"-"}else return format$1(de,V,$)}if(r==="ordinal")return isStringSafe(t)?oe(t):isNumber(t)&&ie(t)?t+"":"-";var pe=numericToNumber(t);return ie(pe)?addCommas(pe):isStringSafe(t)?oe(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,$){isArray$1(r)||(r=[r]);var V=r.length;if(!V)return"";for(var oe=r[0].$vars||[],ie=0;ie<oe.length;ie++){var le=TPL_VAR_ALIAS[ie];t=t.replace(wrapVar(le),wrapVar(le,0))}for(var ue=0;ue<V;ue++)for(var de=0;de<oe.length;de++){var pe=r[ue][oe[de]];t=t.replace(wrapVar(TPL_VAR_ALIAS[de],ue),$?encodeHTML(pe):pe)}return t}function getTooltipMarker(t,r){var $=isString(t)?{color:t,extraCssText:r}:t||{},V=$.color,oe=$.type;r=$.extraCssText;var ie=$.renderMode||"html";if(!V)return"";if(ie==="html")return oe==="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(V)+";"+(r||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+encodeHTML(V)+";"+(r||"")+'"></span>';var le=$.markerId||"markerX";return{renderMode:ie,content:"{"+le+"|} ",style:oe==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:V}:{width:10,height:10,borderRadius:5,backgroundColor:V}}}function formatTime(t,r,$){(t==="week"||t==="month"||t==="quarter"||t==="half-year"||t==="year")&&(t=`MM-dd
|
||
yyyy`);var V=parseDate(r),oe=$?"getUTC":"get",ie=V[oe+"FullYear"](),le=V[oe+"Month"]()+1,ue=V[oe+"Date"](),de=V[oe+"Hours"](),pe=V[oe+"Minutes"](),he=V[oe+"Seconds"](),_e=V[oe+"Milliseconds"]();return t=t.replace("MM",pad(le,2)).replace("M",le).replace("yyyy",ie).replace("yy",pad(ie%100+"",2)).replace("dd",pad(ue,2)).replace("d",ue).replace("hh",pad(de,2)).replace("h",de).replace("mm",pad(pe,2)).replace("m",pe).replace("ss",pad(he,2)).replace("s",he).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 $=window.open();$.opener=null,$.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){var ie=0,le=0;V==null&&(V=1/0),oe==null&&(oe=1/0);var ue=0;r.eachChild(function(de,pe){var he=de.getBoundingRect(),_e=r.childAt(pe+1),$e=_e&&_e.getBoundingRect(),Ie,Ve;if(t==="horizontal"){var Fe=he.width+($e?-$e.x+he.x:0);Ie=ie+Fe,Ie>V||de.newline?(ie=0,Ie=Fe,le+=ue+$,ue=he.height):ue=Math.max(ue,he.height)}else{var Ue=he.height+($e?-$e.y+he.y:0);Ve=le+Ue,Ve>oe||de.newline?(ie+=ue+$,le=0,Ve=Ue,ue=he.width):ue=Math.max(ue,he.width)}de.newline||(de.x=ie,de.y=le,de.markRedraw(),t==="horizontal"?ie=Ie+$:le=Ve+$)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getLayoutRect(t,r,$){$=normalizeCssArray($||0);var V=r.width,oe=r.height,ie=parsePercent(t.left,V),le=parsePercent(t.top,oe),ue=parsePercent(t.right,V),de=parsePercent(t.bottom,oe),pe=parsePercent(t.width,V),he=parsePercent(t.height,oe),_e=$[2]+$[0],$e=$[1]+$[3],Ie=t.aspect;switch(isNaN(pe)&&(pe=V-ue-$e-ie),isNaN(he)&&(he=oe-de-_e-le),Ie!=null&&(isNaN(pe)&&isNaN(he)&&(Ie>V/oe?pe=V*.8:he=oe*.8),isNaN(pe)&&(pe=Ie*he),isNaN(he)&&(he=pe/Ie)),isNaN(ie)&&(ie=V-ue-pe-$e),isNaN(le)&&(le=oe-de-he-_e),t.left||t.right){case"center":ie=V/2-pe/2-$[3];break;case"right":ie=V-pe-$e;break}switch(t.top||t.bottom){case"middle":case"center":le=oe/2-he/2-$[0];break;case"bottom":le=oe-he-_e;break}ie=ie||0,le=le||0,isNaN(pe)&&(pe=V-$e-ie-(ue||0)),isNaN(he)&&(he=oe-_e-le-(de||0));var Ve=new BoundingRect$1(ie+$[3],le+$[0],pe,he);return Ve.margin=$,Ve}function positionElement(t,r,$,V,oe,ie){var le=!oe||!oe.hv||oe.hv[0],ue=!oe||!oe.hv||oe.hv[1],de=oe&&oe.boundingMode||"all";if(ie=ie||t,ie.x=t.x,ie.y=t.y,!le&&!ue)return!1;var pe;if(de==="raw")pe=t.type==="group"?new BoundingRect$1(0,0,+r.width||0,+r.height||0):t.getBoundingRect();else if(pe=t.getBoundingRect(),t.needLocalTransform()){var he=t.getLocalTransform();pe=pe.clone(),pe.applyTransform(he)}var _e=getLayoutRect(defaults({width:pe.width,height:pe.height},r),$,V),$e=le?_e.x-pe.x:0,Ie=ue?_e.y-pe.y:0;return de==="raw"?(ie.x=$e,ie.y=Ie):(ie.x+=$e,ie.y+=Ie),ie===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,$){var V=$&&$.ignoreSize;!isArray$1(V)&&(V=[V,V]);var oe=le(HV_NAMES[0],0),ie=le(HV_NAMES[1],1);pe(HV_NAMES[0],t,oe),pe(HV_NAMES[1],t,ie);function le(he,_e){var $e={},Ie=0,Ve={},Fe=0,Ue=2;if(each$b(he,function(Lt){Ve[Lt]=t[Lt]}),each$b(he,function(Lt){ue(r,Lt)&&($e[Lt]=Ve[Lt]=r[Lt]),de($e,Lt)&&Ie++,de(Ve,Lt)&&Fe++}),V[_e])return de(r,he[1])?Ve[he[2]]=null:de(r,he[2])&&(Ve[he[1]]=null),Ve;if(Fe===Ue||!Ie)return Ve;if(Ie>=Ue)return $e;for(var qe=0;qe<he.length;qe++){var Et=he[qe];if(!ue($e,Et)&&ue(t,Et)){$e[Et]=t[Et];break}}return $e}function ue(he,_e){return he.hasOwnProperty(_e)}function de(he,_e){return he[_e]!=null&&he[_e]!=="auto"}function pe(he,_e,$e){each$b(he,function(Ie){_e[Ie]=$e[Ie]})}}function getLayoutParams(t){return copyLayoutParams({},t)}function copyLayoutParams(t,r){return r&&t&&each$b(LOCATION_PARAMS,function($){r.hasOwnProperty($)&&(t[$]=r[$])}),t}var inner$c=makeInner(),ComponentModel=function(t){__extends(r,t);function r($,V,oe){var ie=t.call(this,$,V,oe)||this;return ie.uid=getUID("ec_cpt_model"),ie}return r.prototype.init=function($,V,oe){this.mergeDefaultAndTheme($,oe)},r.prototype.mergeDefaultAndTheme=function($,V){var oe=fetchLayoutMode(this),ie=oe?getLayoutParams($):{},le=V.getTheme();merge($,le.get(this.mainType)),merge($,this.getDefaultOption()),oe&&mergeLayoutParam($,ie,oe)},r.prototype.mergeOption=function($,V){merge(this.option,$,!0);var oe=fetchLayoutMode(this);oe&&mergeLayoutParam(this.option,$,oe)},r.prototype.optionUpdated=function($,V){},r.prototype.getDefaultOption=function(){var $=this.constructor;if(!isExtendedClass($))return $.defaultOption;var V=inner$c(this);if(!V.defaultOption){for(var oe=[],ie=$;ie;){var le=ie.prototype.defaultOption;le&&oe.push(le),ie=ie.superClass}for(var ue={},de=oe.length-1;de>=0;de--)ue=merge(ue,oe[de],!0);V.defaultOption=ue}return V.defaultOption},r.prototype.getReferringComponents=function($,V){var oe=$+"Index",ie=$+"Id";return queryReferringComponents(this.ecModel,$,{index:this.get(oe,!0),id:this.get(ie,!0)},V)},r.prototype.getBoxLayoutParams=function(){var $=this;return{left:$.get("left"),top:$.get("top"),right:$.get("right"),bottom:$.get("bottom"),width:$.get("width"),height:$.get("height")}},r.prototype.getZLevelKey=function(){return""},r.prototype.setZLevel=function($){this.option.zlevel=$},r.protoInitialize=function(){var $=r.prototype;$.type="component",$.id="",$.name="",$.mainType="",$.subType="",$.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($){r=r.concat($.dependencies||$.prototype.dependencies||[])}),r=map$2(r,function($){return parseClassType($).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,$){var V={},oe=querySeriesUpstreamDatasetModel(r);if(!oe||!t)return V;var ie=[],le=[],ue=r.ecModel,de=innerGlobalModel(ue).datasetMap,pe=oe.uid+"_"+$.seriesLayoutBy,he,_e;t=t.slice(),each$c(t,function(Fe,Ue){var qe=isObject$3(Fe)?Fe:t[Ue]={name:Fe};qe.type==="ordinal"&&he==null&&(he=Ue,_e=Ve(qe)),V[qe.name]=[]});var $e=de.get(pe)||de.set(pe,{categoryWayDim:_e,valueWayDim:0});each$c(t,function(Fe,Ue){var qe=Fe.name,Et=Ve(Fe);if(he==null){var Lt=$e.valueWayDim;Ie(V[qe],Lt,Et),Ie(le,Lt,Et),$e.valueWayDim+=Et}else if(he===Ue)Ie(V[qe],0,Et),Ie(ie,0,Et);else{var Lt=$e.categoryWayDim;Ie(V[qe],Lt,Et),Ie(le,Lt,Et),$e.categoryWayDim+=Et}});function Ie(Fe,Ue,qe){for(var Et=0;Et<qe;Et++)Fe.push(Ue+Et)}function Ve(Fe){var Ue=Fe.dimsDef;return Ue?Ue.length:1}return ie.length&&(V.itemName=ie),le.length&&(V.seriesName=le),V}function makeSeriesEncodeForNameBased(t,r,$){var V={},oe=querySeriesUpstreamDatasetModel(t);if(!oe)return V;var ie=r.sourceFormat,le=r.dimensionsDefine,ue;(ie===SOURCE_FORMAT_OBJECT_ROWS||ie===SOURCE_FORMAT_KEYED_COLUMNS)&&each$c(le,function(he,_e){(isObject$3(he)?he.name:he)==="name"&&(ue=_e)});var de=function(){for(var he={},_e={},$e=[],Ie=0,Ve=Math.min(5,$);Ie<Ve;Ie++){var Fe=doGuessOrdinal(r.data,ie,r.seriesLayoutBy,le,r.startIndex,Ie);$e.push(Fe);var Ue=Fe===BE_ORDINAL.Not;if(Ue&&he.v==null&&Ie!==ue&&(he.v=Ie),(he.n==null||he.n===he.v||!Ue&&$e[he.n]===BE_ORDINAL.Not)&&(he.n=Ie),qe(he)&&$e[he.n]!==BE_ORDINAL.Not)return he;Ue||(Fe===BE_ORDINAL.Might&&_e.v==null&&Ie!==ue&&(_e.v=Ie),(_e.n==null||_e.n===_e.v)&&(_e.n=Ie))}function qe(Et){return Et.v!=null&&Et.n!=null}return qe(he)?he:qe(_e)?_e:null}();if(de){V.value=[de.v];var pe=ue??de.n;V.itemName=[pe],V.seriesName=[pe]}return V}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){var le,ue=5;if(isTypedArray(t))return BE_ORDINAL.Not;var de,pe;if(V){var he=V[ie];isObject$3(he)?(de=he.name,pe=he.type):isString(he)&&(de=he)}if(pe!=null)return pe==="ordinal"?BE_ORDINAL.Must:BE_ORDINAL.Not;if(r===SOURCE_FORMAT_ARRAY_ROWS){var _e=t;if($===SERIES_LAYOUT_BY_ROW){for(var $e=_e[ie],Ie=0;Ie<($e||[]).length&&Ie<ue;Ie++)if((le=hn($e[oe+Ie]))!=null)return le}else for(var Ie=0;Ie<_e.length&&Ie<ue;Ie++){var Ve=_e[oe+Ie];if(Ve&&(le=hn(Ve[ie]))!=null)return le}}else if(r===SOURCE_FORMAT_OBJECT_ROWS){var Fe=t;if(!de)return BE_ORDINAL.Not;for(var Ie=0;Ie<Fe.length&&Ie<ue;Ie++){var Ue=Fe[Ie];if(Ue&&(le=hn(Ue[de]))!=null)return le}}else if(r===SOURCE_FORMAT_KEYED_COLUMNS){var qe=t;if(!de)return BE_ORDINAL.Not;var $e=qe[de];if(!$e||isTypedArray($e))return BE_ORDINAL.Not;for(var Ie=0;Ie<$e.length&&Ie<ue;Ie++)if((le=hn($e[Ie]))!=null)return le}else if(r===SOURCE_FORMAT_ORIGINAL)for(var Et=t,Ie=0;Ie<Et.length&&Ie<ue;Ie++){var Ue=Et[Ie],Lt=getDataItemValue(Ue);if(!isArray$1(Lt))return BE_ORDINAL.Not;if((le=hn(Lt[ie]))!=null)return le}function hn(Cn){var bn=isString(Cn);if(Cn!=null&&isFinite(Cn)&&Cn!=="")return bn?BE_ORDINAL.Might:BE_ORDINAL.Not;if(bn&&Cn!=="-")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,$){var V=internalOptionCreatorMap.get(r);if(!V)return $;var oe=V(t);return oe?$.concat(oe):$}var innerColor=makeInner();makeInner();var PaletteMixin=function(){function t(){}return t.prototype.getColorFromPalette=function(r,$,V){var oe=normalizeToArray(this.get("color",!0)),ie=this.get("colorLayer",!0);return getFromPalette(this,innerColor,oe,ie,r,$,V)},t.prototype.clearColorPalette=function(){clearPalette(this,innerColor)},t}();function getNearestPalette(t,r){for(var $=t.length,V=0;V<$;V++)if(t[V].length>r)return t[V];return t[$-1]}function getFromPalette(t,r,$,V,oe,ie,le){ie=ie||t;var ue=r(ie),de=ue.paletteIdx||0,pe=ue.paletteNameMap=ue.paletteNameMap||{};if(pe.hasOwnProperty(oe))return pe[oe];var he=le==null||!V?$:getNearestPalette(V,le);if(he=he||$,!(!he||!he.length)){var _e=he[de];return oe&&(pe[oe]=_e),ue.paletteIdx=(de+1)%he.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){ie=ie||{},this.option=null,this._theme=new Model$1(ie),this._locale=new Model$1(le),this._optionManager=ue},r.prototype.setOption=function($,V,oe){var ie=normalizeSetOptionInput(V);this._optionManager.setOption($,oe,ie),this._resetOption(null,ie)},r.prototype.resetOption=function($,V){return this._resetOption($,normalizeSetOptionInput(V))},r.prototype._resetOption=function($,V){var oe=!1,ie=this._optionManager;if(!$||$==="recreate"){var le=ie.mountOption($==="recreate");!this.option||$==="recreate"?initBase(this,le):(this.restoreData(),this._mergeOption(le,V)),oe=!0}if(($==="timeline"||$==="media")&&this.restoreData(),!$||$==="recreate"||$==="timeline"){var ue=ie.getTimelineOption(this);ue&&(oe=!0,this._mergeOption(ue,V))}if(!$||$==="recreate"||$==="media"){var de=ie.getMediaOption(this);de.length&&each$c(de,function(pe){oe=!0,this._mergeOption(pe,V)},this)}return oe},r.prototype.mergeOption=function($){this._mergeOption($,null)},r.prototype._mergeOption=function($,V){var oe=this.option,ie=this._componentsMap,le=this._componentsCount,ue=[],de=createHashMap(),pe=V&&V.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$c($,function(_e,$e){_e!=null&&(ComponentModel$1.hasClass($e)?$e&&(ue.push($e),de.set($e,!0)):oe[$e]=oe[$e]==null?clone$3(_e):merge(oe[$e],_e,!0))}),pe&&pe.each(function(_e,$e){ComponentModel$1.hasClass($e)&&!de.get($e)&&(ue.push($e),de.set($e,!0))}),ComponentModel$1.topologicalTravel(ue,ComponentModel$1.getAllClassMainTypes(),he,this);function he(_e){var $e=concatInternalOptions(this,_e,normalizeToArray($[_e])),Ie=ie.get(_e),Ve=Ie?pe&&pe.get(_e)?"replaceMerge":"normalMerge":"replaceAll",Fe=mappingToExists(Ie,$e,Ve);setComponentTypeToKeyInfo(Fe,_e,ComponentModel$1),oe[_e]=null,ie.set(_e,null),le.set(_e,0);var Ue=[],qe=[],Et=0,Lt;each$c(Fe,function(hn,Cn){var bn=hn.existing,Sn=hn.newOption;if(!Sn)bn&&(bn.mergeOption({},this),bn.optionUpdated({},!1));else{var En=_e==="series",wn=ComponentModel$1.getClass(_e,hn.keyInfo.subType,!En);if(!wn)return;if(_e==="tooltip"){if(Lt)return;Lt=!0}if(bn&&bn.constructor===wn)bn.name=hn.keyInfo.name,bn.mergeOption(Sn,this),bn.optionUpdated(Sn,!1);else{var $n=extend({componentIndex:Cn},hn.keyInfo);bn=new wn(Sn,this,this,$n),extend(bn,$n),hn.brandNew&&(bn.__requireNewView=!0),bn.init(Sn,this,this),bn.optionUpdated(null,!0)}}bn?(Ue.push(bn.option),qe.push(bn),Et++):(Ue.push(void 0),qe.push(void 0))},this),oe[_e]=Ue,ie.set(_e,qe),le.set(_e,Et),_e==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},r.prototype.getOption=function(){var $=clone$3(this.option);return each$c($,function(V,oe){if(ComponentModel$1.hasClass(oe)){for(var ie=normalizeToArray(V),le=ie.length,ue=!1,de=le-1;de>=0;de--)ie[de]&&!isComponentIdInternal(ie[de])?ue=!0:(ie[de]=null,!ue&&le--);ie.length=le,$[oe]=ie}}),delete $[OPTION_INNER_KEY],$},r.prototype.getTheme=function(){return this._theme},r.prototype.getLocaleModel=function(){return this._locale},r.prototype.setUpdatePayload=function($){this._payload=$},r.prototype.getUpdatePayload=function(){return this._payload},r.prototype.getComponent=function($,V){var oe=this._componentsMap.get($);if(oe){var ie=oe[V||0];if(ie)return ie;if(V==null){for(var le=0;le<oe.length;le++)if(oe[le])return oe[le]}}},r.prototype.queryComponents=function($){var V=$.mainType;if(!V)return[];var oe=$.index,ie=$.id,le=$.name,ue=this._componentsMap.get(V);if(!ue||!ue.length)return[];var de;return oe!=null?(de=[],each$c(normalizeToArray(oe),function(pe){ue[pe]&&de.push(ue[pe])})):ie!=null?de=queryByIdOrName("id",ie,ue):le!=null?de=queryByIdOrName("name",le,ue):de=filter(ue,function(pe){return!!pe}),filterBySubType(de,$)},r.prototype.findComponents=function($){var V=$.query,oe=$.mainType,ie=ue(V),le=ie?this.queryComponents(ie):filter(this._componentsMap.get(oe),function(pe){return!!pe});return de(filterBySubType(le,$));function ue(pe){var he=oe+"Index",_e=oe+"Id",$e=oe+"Name";return pe&&(pe[he]!=null||pe[_e]!=null||pe[$e]!=null)?{mainType:oe,index:pe[he],id:pe[_e],name:pe[$e]}:null}function de(pe){return $.filter?filter(pe,$.filter):pe}},r.prototype.eachComponent=function($,V,oe){var ie=this._componentsMap;if(isFunction($)){var le=V,ue=$;ie.each(function(_e,$e){for(var Ie=0;_e&&Ie<_e.length;Ie++){var Ve=_e[Ie];Ve&&ue.call(le,$e,Ve,Ve.componentIndex)}})}else for(var de=isString($)?ie.get($):isObject$3($)?this.findComponents($):null,pe=0;de&&pe<de.length;pe++){var he=de[pe];he&&V.call(oe,he,he.componentIndex)}},r.prototype.getSeriesByName=function($){var V=convertOptionIdName($,null);return filter(this._componentsMap.get("series"),function(oe){return!!oe&&V!=null&&oe.name===V})},r.prototype.getSeriesByIndex=function($){return this._componentsMap.get("series")[$]},r.prototype.getSeriesByType=function($){return filter(this._componentsMap.get("series"),function(V){return!!V&&V.subType===$})},r.prototype.getSeries=function(){return filter(this._componentsMap.get("series"),function($){return!!$})},r.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},r.prototype.eachSeries=function($,V){assertSeriesInitialized(this),each$c(this._seriesIndices,function(oe){var ie=this._componentsMap.get("series")[oe];$.call(V,ie,oe)},this)},r.prototype.eachRawSeries=function($,V){each$c(this._componentsMap.get("series"),function(oe){oe&&$.call(V,oe,oe.componentIndex)})},r.prototype.eachSeriesByType=function($,V,oe){assertSeriesInitialized(this),each$c(this._seriesIndices,function(ie){var le=this._componentsMap.get("series")[ie];le.subType===$&&V.call(oe,le,ie)},this)},r.prototype.eachRawSeriesByType=function($,V,oe){return each$c(this.getSeriesByType($),V,oe)},r.prototype.isSeriesFiltered=function($){return assertSeriesInitialized(this),this._seriesIndicesMap.get($.componentIndex)==null},r.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},r.prototype.filterSeries=function($,V){assertSeriesInitialized(this);var oe=[];each$c(this._seriesIndices,function(ie){var le=this._componentsMap.get("series")[ie];$.call(V,le,ie)&&oe.push(ie)},this),this._seriesIndices=oe,this._seriesIndicesMap=createHashMap(oe)},r.prototype.restoreData=function($){reCreateSeriesIndices(this);var V=this._componentsMap,oe=[];V.each(function(ie,le){ComponentModel$1.hasClass(le)&&oe.push(le)}),ComponentModel$1.topologicalTravel(oe,ComponentModel$1.getAllClassMainTypes(),function(ie){each$c(V.get(ie),function(le){le&&(ie!=="series"||!isNotTargetSeries(le,$))&&le.restoreData()})})},r.internalField=function(){reCreateSeriesIndices=function($){var V=$._seriesIndices=[];each$c($._componentsMap.get("series"),function(oe){oe&&V.push(oe.componentIndex)}),$._seriesIndicesMap=createHashMap(V)},assertSeriesInitialized=function($){},initBase=function($,V){$.option={},$.option[OPTION_INNER_KEY]=OPTION_INNER_VALUE,$._componentsMap=createHashMap({series:[]}),$._componentsCount=createHashMap();var oe=V.aria;isObject$3(oe)&&oe.enabled==null&&(oe.enabled=!0),mergeTheme(V,$._theme.option),merge(V,globalDefault,!1),$._mergeOption(V,null)}}(),r}(Model$1);function isNotTargetSeries(t,r){if(r){var $=r.seriesIndex,V=r.seriesId,oe=r.seriesName;return $!=null&&t.componentIndex!==$||V!=null&&t.id!==V||oe!=null&&t.name!==oe}}function mergeTheme(t,r){var $=t.color&&!t.colorLayer;each$c(r,function(V,oe){oe==="colorLayer"&&$||ComponentModel$1.hasClass(oe)||(typeof V=="object"?t[oe]=t[oe]?merge(t[oe],V,!1):clone$3(V):t[oe]==null&&(t[oe]=V))})}function queryByIdOrName(t,r,$){if(isArray$1(r)){var V=createHashMap();return each$c(r,function(ie){if(ie!=null){var le=convertOptionIdName(ie,null);le!=null&&V.set(ie,!0)}}),filter($,function(ie){return ie&&V.get(ie[t])})}else{var oe=convertOptionIdName(r,null);return filter($,function(ie){return ie&&oe!=null&&ie[t]===oe})}}function filterBySubType(t,r){return r.hasOwnProperty("subType")?filter(t,function($){return $&&$.subType===r.subType}):t}function normalizeSetOptionInput(t){var r=createHashMap();return t&&each$c(normalizeToArray(t.replaceMerge),function($){r.set($,!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($){this[$]=bind$1(r[$],r)},this)}return t}();const ExtensionAPI$1=ExtensionAPI;var coordinateSystemCreators={},CoordinateSystemManager=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(r,$){var V=[];each$c(coordinateSystemCreators,function(oe,ie){var le=oe.create(r,$);V=V.concat(le||[])}),this._coordinateSystems=V},t.prototype.update=function(r,$){each$c(this._coordinateSystems,function(V){V.update&&V.update(r,$)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(r,$){coordinateSystemCreators[r]=$},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){r&&(each$c(normalizeToArray(r.series),function(le){le&&le.data&&isTypedArray(le.data)&&setAsPrimitive(le.data)}),each$c(normalizeToArray(r.dataset),function(le){le&&le.source&&isTypedArray(le.source)&&setAsPrimitive(le.source)})),r=clone$3(r);var oe=this._optionBackup,ie=parseRawOption(r,$,!oe);this._newBaseOption=ie.baseOption,oe?(ie.timelineOptions.length&&(oe.timelineOptions=ie.timelineOptions),ie.mediaList.length&&(oe.mediaList=ie.mediaList),ie.mediaDefault&&(oe.mediaDefault=ie.mediaDefault)):this._optionBackup=ie},t.prototype.mountOption=function(r){var $=this._optionBackup;return this._timelineOptions=$.timelineOptions,this._mediaList=$.mediaList,this._mediaDefault=$.mediaDefault,this._currentMediaIndices=[],clone$3(r?$.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(r){var $,V=this._timelineOptions;if(V.length){var oe=r.getComponent("timeline");oe&&($=clone$3(V[oe.getCurrentIndex()]))}return $},t.prototype.getMediaOption=function(r){var $=this._api.getWidth(),V=this._api.getHeight(),oe=this._mediaList,ie=this._mediaDefault,le=[],ue=[];if(!oe.length&&!ie)return ue;for(var de=0,pe=oe.length;de<pe;de++)applyMediaQuery(oe[de].query,$,V)&&le.push(de);return!le.length&&ie&&(le=[-1]),le.length&&!indicesEquals(le,this._currentMediaIndices)&&(ue=map$2(le,function(he){return clone$3(he===-1?ie.option:oe[he].option)})),this._currentMediaIndices=le,ue},t}();function parseRawOption(t,r,$){var V=[],oe,ie,le=t.baseOption,ue=t.timeline,de=t.options,pe=t.media,he=!!t.media,_e=!!(de||ue||le&&le.timeline);le?(ie=le,ie.timeline||(ie.timeline=ue)):((_e||he)&&(t.options=t.media=null),ie=t),he&&isArray$1(pe)&&each$c(pe,function(Ie){Ie&&Ie.option&&(Ie.query?V.push(Ie):oe||(oe=Ie))}),$e(ie),each$c(de,function(Ie){return $e(Ie)}),each$c(V,function(Ie){return $e(Ie.option)});function $e(Ie){each$c(r,function(Ve){Ve(Ie,$)})}return{baseOption:ie,timelineOptions:de||[],mediaDefault:oe,mediaList:V}}function applyMediaQuery(t,r,$){var V={width:r,height:$,aspectratio:r/$},oe=!0;return each$c(t,function(ie,le){var ue=le.match(QUERY_REG);if(!(!ue||!ue[1]||!ue[2])){var de=ue[1],pe=ue[2].toLowerCase();compare(V[pe],ie,de)||(oe=!1)}}),oe}function compare(t,r,$){return $==="min"?t>=r:$==="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 $=0,V=POSSIBLE_STYLES.length;$<V;$++){var oe=POSSIBLE_STYLES[$],ie=r.normal,le=r.emphasis;ie&&ie[oe]&&(t[oe]=t[oe]||{},t[oe].normal?merge(t[oe].normal,ie[oe]):t[oe].normal=ie[oe],ie[oe]=null),le&&le[oe]&&(t[oe]=t[oe]||{},t[oe].emphasis?merge(t[oe].emphasis,le[oe]):t[oe].emphasis=le[oe],le[oe]=null)}}function convertNormalEmphasis(t,r,$){if(t&&t[r]&&(t[r].normal||t[r].emphasis)){var V=t[r].normal,oe=t[r].emphasis;V&&($?(t[r].normal=t[r].emphasis=null,defaults(t[r],V)):t[r]=V),oe&&(t.emphasis=t.emphasis||{},t.emphasis[r]=oe,oe.focus&&(t.emphasis.focus=oe.focus),oe.blurScope&&(t.emphasis.blurScope=oe.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 $=isObject$2(t)&&t[r],V=isObject$2($)&&$.textStyle;if(V)for(var oe=0,ie=TEXT_STYLE_OPTIONS.length;oe<ie;oe++){var le=TEXT_STYLE_OPTIONS[oe];V.hasOwnProperty(le)&&($[le]=V[le])}}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 $=t.markLine;$&&(compatEC2ItemStyle($),compatEC3CommonStyles($));var V=t.markArea;V&&compatEC3CommonStyles(V);var oe=t.data;if(t.type==="graph"){oe=oe||t.nodes;var ie=t.links||t.edges;if(ie&&!isTypedArray(ie))for(var le=0;le<ie.length;le++)compatEC3CommonStyles(ie[le]);each$c(t.categories,function(pe){removeEC3NormalStatus(pe)})}if(oe&&!isTypedArray(oe))for(var le=0;le<oe.length;le++)compatEC3CommonStyles(oe[le]);if(r=t.markPoint,r&&r.data)for(var ue=r.data,le=0;le<ue.length;le++)compatEC3CommonStyles(ue[le]);if($=t.markLine,$&&$.data)for(var de=$.data,le=0;le<de.length;le++)isArray$1(de[le])?(compatEC3CommonStyles(de[le][0]),compatEC3CommonStyles(de[le][1])):compatEC3CommonStyles(de[le]);t.type==="gauge"?(compatTextStyle(t,"axisLabel"),compatTextStyle(t,"title"),compatTextStyle(t,"detail")):t.type==="treemap"?(convertNormalEmphasis(t.breadcrumb,"itemStyle"),each$c(t.levels,function(pe){removeEC3NormalStatus(pe)})):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(V){isObject$2(V)&&processSeries(V)});var $=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];r&&$.push("valueAxis","categoryAxis","logAxis","timeAxis"),each$a($,function(V){each$a(toArr(t[V]),function(oe){oe&&(compatTextStyle(oe,"axisLabel"),compatTextStyle(oe.axisPointer,"label"))})}),each$a(toArr(t.parallel),function(V){var oe=V&&V.parallelAxisDefault;compatTextStyle(oe,"axisLabel"),compatTextStyle(oe&&oe.axisPointer,"label")}),each$a(toArr(t.calendar),function(V){convertNormalEmphasis(V,"itemStyle"),compatTextStyle(V,"dayLabel"),compatTextStyle(V,"monthLabel"),compatTextStyle(V,"yearLabel")}),each$a(toArr(t.radar),function(V){compatTextStyle(V,"name"),V.name&&V.axisName==null&&(V.axisName=V.name,delete V.name),V.nameGap!=null&&V.axisNameGap==null&&(V.axisNameGap=V.nameGap,delete V.nameGap)}),each$a(toArr(t.geo),function(V){isObject$2(V)&&(compatEC3CommonStyles(V),each$a(toArr(V.regions),function(oe){compatEC3CommonStyles(oe)}))}),each$a(toArr(t.timeline),function(V){compatEC3CommonStyles(V),convertNormalEmphasis(V,"label"),convertNormalEmphasis(V,"itemStyle"),convertNormalEmphasis(V,"controlStyle",!0);var oe=V.data;isArray$1(oe)&&each$c(oe,function(ie){isObject$3(ie)&&(convertNormalEmphasis(ie,"label"),convertNormalEmphasis(ie,"itemStyle"))})}),each$a(toArr(t.toolbox),function(V){convertNormalEmphasis(V,"iconStyle"),each$a(V.feature,function(oe){convertNormalEmphasis(oe,"iconStyle")})}),compatTextStyle(toObj(t.axisPointer),"label"),compatTextStyle(toObj(t.tooltip).axisPointer,"label")}function get(t,r){for(var $=r.split(","),V=t,oe=0;oe<$.length&&(V=V&&V[$[oe]],V!=null);oe++);return V}function set(t,r,$,V){for(var oe=r.split(","),ie=t,le,ue=0;ue<oe.length-1;ue++)le=oe[ue],ie[le]==null&&(ie[le]={}),ie=ie[le];(V||ie[oe[ue]]==null)&&(ie[oe[ue]]=$)}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 $=0;$<BAR_ITEM_STYLE_MAP.length;$++){var V=BAR_ITEM_STYLE_MAP[$][1],oe=BAR_ITEM_STYLE_MAP[$][0];r[V]!=null&&(r[oe]=r[V])}}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 $=0;$<t.length;$++)r(t[$]),t[$]&&traverseTree(t[$].children,r)}function globalBackwardCompat(t,r){globalCompatStyle(t,r),t.series=normalizeToArray(t.series),each$c(t.series,function($){if(isObject$3($)){var V=$.type;if(V==="line")$.clipOverflow!=null&&($.clip=$.clipOverflow);else if(V==="pie"||V==="gauge"){$.clockWise!=null&&($.clockwise=$.clockWise),compatPieLabel($.label);var oe=$.data;if(oe&&!isTypedArray(oe))for(var ie=0;ie<oe.length;ie++)compatPieLabel(oe[ie]);$.hoverOffset!=null&&($.emphasis=$.emphasis||{},($.emphasis.scaleSize=null)&&($.emphasis.scaleSize=$.hoverOffset))}else if(V==="gauge"){var le=get($,"pointer.color");le!=null&&set($,"itemStyle.color",le)}else if(V==="bar"){compatBarItemStyle($),compatBarItemStyle($.backgroundStyle),compatBarItemStyle($.emphasis);var oe=$.data;if(oe&&!isTypedArray(oe))for(var ie=0;ie<oe.length;ie++)typeof oe[ie]=="object"&&(compatBarItemStyle(oe[ie]),compatBarItemStyle(oe[ie]&&oe[ie].emphasis))}else if(V==="sunburst"){var ue=$.highlightPolicy;ue&&($.emphasis=$.emphasis||{},$.emphasis.focus||($.emphasis.focus=ue)),compatSunburstState($),traverseTree($.data,compatSunburstState)}else V==="graph"||V==="sankey"?compatGraphFocus($):V==="map"&&($.mapType&&!$.map&&($.map=$.mapType),$.mapLocation&&defaults($,$.mapLocation));$.hoverAnimation!=null&&($.emphasis=$.emphasis||{},$.emphasis&&$.emphasis.scale==null&&($.emphasis.scale=$.hoverAnimation)),compatLayoutProperties($)}}),t.dataRange&&(t.visualMap=t.dataRange),each$c(COMPATITABLE_COMPONENTS,function($){var V=t[$];V&&(isArray$1(V)||(V=[V]),each$c(V,function(oe){compatLayoutProperties(oe)}))})}function dataStack$1(t){var r=createHashMap();t.eachSeries(function($){var V=$.get("stack");if(V){var oe=r.get(V)||r.set(V,[]),ie=$.getData(),le={stackResultDimension:ie.getCalculationInfo("stackResultDimension"),stackedOverDimension:ie.getCalculationInfo("stackedOverDimension"),stackedDimension:ie.getCalculationInfo("stackedDimension"),stackedByDimension:ie.getCalculationInfo("stackedByDimension"),isStackedByIndex:ie.getCalculationInfo("isStackedByIndex"),data:ie,seriesModel:$};if(!le.stackedDimension||!(le.isStackedByIndex||le.stackedByDimension))return;oe.length&&ie.setCalculationInfo("stackedOnSeries",oe[oe.length-1].seriesModel),oe.push(le)}}),r.each(calculateStack)}function calculateStack(t){each$c(t,function(r,$){var V=[],oe=[NaN,NaN],ie=[r.stackResultDimension,r.stackedOverDimension],le=r.data,ue=r.isStackedByIndex,de=r.seriesModel.get("stackStrategy")||"samesign";le.modify(ie,function(pe,he,_e){var $e=le.get(r.stackedDimension,_e);if(isNaN($e))return oe;var Ie,Ve;ue?Ve=le.getRawIndex(_e):Ie=le.get(r.stackedByDimension,_e);for(var Fe=NaN,Ue=$-1;Ue>=0;Ue--){var qe=t[Ue];if(ue||(Ve=qe.data.rawIndexOf(qe.stackedByDimension,Ie)),Ve>=0){var Et=qe.data.getByRawIndex(qe.stackResultDimension,Ve);if(de==="all"||de==="positive"&&Et>0||de==="negative"&&Et<0||de==="samesign"&&$e>=0&&Et>0||de==="samesign"&&$e<=0&&Et<0){$e=addSafe($e,Et),Fe=Et;break}}}return V[0]=$e,V[1]=Fe,V})})}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 $=this.dimensionsDefine=r.dimensionsDefine;if($)for(var V=0;V<$.length;V++){var oe=$[V];oe.type==null&&guessOrdinal(this,V)===BE_ORDINAL.Must&&(oe.type="ordinal")}}return t}();function isSourceInstance(t){return t instanceof SourceImpl}function createSource(t,r,$){$=$||detectSourceFormat(t);var V=r.seriesLayoutBy,oe=determineSourceDimensions(t,$,V,r.sourceHeader,r.dimensions),ie=new SourceImpl({data:t,sourceFormat:$,seriesLayoutBy:V,dimensionsDefine:oe.dimensionsDefine,startIndex:oe.startIndex,dimensionsDetectedCount:oe.dimensionsDetectedCount,metaRawOption:clone$3(r)});return ie}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 $=0,V=t.length;$<V;$++){var oe=t[$];if(oe!=null){if(isArray$1(oe)){r=SOURCE_FORMAT_ARRAY_ROWS;break}else if(isObject$3(oe)){r=SOURCE_FORMAT_OBJECT_ROWS;break}}}}else if(isObject$3(t)){for(var ie in t)if(hasOwn(t,ie)&&isArrayLike(t[ie])){r=SOURCE_FORMAT_KEYED_COLUMNS;break}}return r}function determineSourceDimensions(t,r,$,V,oe){var ie,le;if(!t)return{dimensionsDefine:normalizeDimensionsOption(oe),startIndex:le,dimensionsDetectedCount:ie};if(r===SOURCE_FORMAT_ARRAY_ROWS){var ue=t;V==="auto"||V==null?arrayRowsTravelFirst(function(pe){pe!=null&&pe!=="-"&&(isString(pe)?le==null&&(le=1):le=0)},$,ue,10):le=isNumber(V)?V:V?1:0,!oe&&le===1&&(oe=[],arrayRowsTravelFirst(function(pe,he){oe[he]=pe!=null?pe+"":""},$,ue,1/0)),ie=oe?oe.length:$===SERIES_LAYOUT_BY_ROW?ue.length:ue[0]?ue[0].length:null}else if(r===SOURCE_FORMAT_OBJECT_ROWS)oe||(oe=objectRowsCollectDimensions(t));else if(r===SOURCE_FORMAT_KEYED_COLUMNS)oe||(oe=[],each$c(t,function(pe,he){oe.push(he)}));else if(r===SOURCE_FORMAT_ORIGINAL){var de=getDataItemValue(t[0]);ie=isArray$1(de)&&de.length||1}return{startIndex:le,dimensionsDefine:normalizeDimensionsOption(oe),dimensionsDetectedCount:ie}}function objectRowsCollectDimensions(t){for(var r=0,$;r<t.length&&!($=t[r++]););if($)return keys($)}function normalizeDimensionsOption(t){if(t){var r=createHashMap();return map$2(t,function($,V){$=isObject$3($)?$:{name:$};var oe={name:$.name,displayName:$.displayName,type:$.type};if(oe.name==null)return oe;oe.name+="",oe.displayName==null&&(oe.displayName=oe.name);var ie=r.get(oe.name);return ie?oe.name+="-"+ie.count++:r.set(oe.name,{count:1}),oe})}}function arrayRowsTravelFirst(t,r,$,V){if(r===SERIES_LAYOUT_BY_ROW)for(var oe=0;oe<$.length&&oe<V;oe++)t($[oe]?$[oe][0]:null,oe);else for(var ie=$[0]||[],oe=0;oe<ie.length&&oe<V;oe++)t(ie[oe],oe)}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,$){var V=isSourceInstance(r)?r:createSourceFromSeriesDataOption(r);this._source=V;var oe=this._data=V.data;V.sourceFormat===SOURCE_FORMAT_TYPED_ARRAY&&(this._offset=0,this._dimSize=$,this._data=oe),mountMethods(this,oe,V)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(r,$){},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(le,ue,de){var pe=de.sourceFormat,he=de.seriesLayoutBy,_e=de.startIndex,$e=de.dimensionsDefine,Ie=providerMethods[getMethodMapKey(pe,he)];if(extend(le,Ie),pe===SOURCE_FORMAT_TYPED_ARRAY)le.getItem=$,le.count=oe,le.fillStorage=V;else{var Ve=getRawSourceItemGetter(pe,he);le.getItem=bind$1(Ve,null,ue,_e,$e);var Fe=getRawSourceDataCounter(pe,he);le.count=bind$1(Fe,null,ue,_e,$e)}};var $=function(le,ue){le=le-this._offset,ue=ue||[];for(var de=this._data,pe=this._dimSize,he=pe*le,_e=0;_e<pe;_e++)ue[_e]=de[he+_e];return ue},V=function(le,ue,de,pe){for(var he=this._data,_e=this._dimSize,$e=0;$e<_e;$e++){for(var Ie=pe[$e],Ve=Ie[0]==null?1/0:Ie[0],Fe=Ie[1]==null?-1/0:Ie[1],Ue=ue-le,qe=de[$e],Et=0;Et<Ue;Et++){var Lt=he[Et*_e+$e];qe[le+Et]=Lt,Lt<Ve&&(Ve=Lt),Lt>Fe&&(Fe=Lt)}Ie[0]=Ve,Ie[1]=Fe}},oe=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=(r={},r[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:ie},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:ie},r[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(le){var ue=this._data;each$c(le,function(de,pe){for(var he=ue[pe]||(ue[pe]=[]),_e=0;_e<(de||[]).length;_e++)he.push(de[_e])})}},r[SOURCE_FORMAT_ORIGINAL]={appendData:ie},r[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(le){this._data=le},clean:function(){this._offset+=this.count(),this._data=null}},r);function ie(le){for(var ue=0;ue<le.length;ue++)this._data.push(le[ue])}}(),t}(),getItemSimply=function(t,r,$,V){return t[V]},rawSourceItemGetterMap=(_a={},_a[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function(t,r,$,V){return t[V+r]},_a[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function(t,r,$,V,oe){V+=r;for(var ie=oe||[],le=t,ue=0;ue<le.length;ue++){var de=le[ue];ie[ue]=de?de[V]:null}return ie},_a[SOURCE_FORMAT_OBJECT_ROWS]=getItemSimply,_a[SOURCE_FORMAT_KEYED_COLUMNS]=function(t,r,$,V,oe){for(var ie=oe||[],le=0;le<$.length;le++){var ue=$[le].name,de=t[ue];ie[le]=de?de[V]:null}return ie},_a[SOURCE_FORMAT_ORIGINAL]=getItemSimply,_a);function getRawSourceItemGetter(t,r){var $=rawSourceItemGetterMap[getMethodMapKey(t,r)];return $}var countSimply=function(t,r,$){return t.length},rawSourceDataCounterMap=(_b={},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function(t,r,$){return Math.max(0,t.length-r)},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function(t,r,$){var V=t[0];return V?Math.max(0,V.length-r):0},_b[SOURCE_FORMAT_OBJECT_ROWS]=countSimply,_b[SOURCE_FORMAT_KEYED_COLUMNS]=function(t,r,$){var V=$[0].name,oe=t[V];return oe?oe.length:0},_b[SOURCE_FORMAT_ORIGINAL]=countSimply,_b);function getRawSourceDataCounter(t,r){var $=rawSourceDataCounterMap[getMethodMapKey(t,r)];return $}var getRawValueSimply=function(t,r,$){return t[r]},rawSourceValueGetterMap=(_c={},_c[SOURCE_FORMAT_ARRAY_ROWS]=getRawValueSimply,_c[SOURCE_FORMAT_OBJECT_ROWS]=function(t,r,$){return t[$]},_c[SOURCE_FORMAT_KEYED_COLUMNS]=getRawValueSimply,_c[SOURCE_FORMAT_ORIGINAL]=function(t,r,$){var V=getDataItemValue(t);return V instanceof Array?V[r]:V},_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,$){if(t){var V=t.getRawDataItem(r);if(V!=null){var oe=t.getStore(),ie=oe.getSource().sourceFormat;if($!=null){var le=t.getDimensionIndex($),ue=oe.getDimensionProperty(le);return getRawSourceValueGetter(ie)(V,le,ue)}else{var de=V;return ie===SOURCE_FORMAT_ORIGINAL&&(de=getDataItemValue(V)),de}}}}var DIMENSION_LABEL_REG=/\{@(.+?)\}/g,DataFormatMixin=function(){function t(){}return t.prototype.getDataParams=function(r,$){var V=this.getData($),oe=this.getRawValue(r,$),ie=V.getRawIndex(r),le=V.getName(r),ue=V.getRawDataItem(r),de=V.getItemVisual(r,"style"),pe=de&&de[V.getItemVisual(r,"drawType")||"fill"],he=de&&de.stroke,_e=this.mainType,$e=_e==="series",Ie=V.userOutput&&V.userOutput.get();return{componentType:_e,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:$e?this.subType:null,seriesIndex:this.seriesIndex,seriesId:$e?this.id:null,seriesName:$e?this.name:null,name:le,dataIndex:ie,data:ue,dataType:$,value:oe,color:pe,borderColor:he,dimensionNames:Ie?Ie.fullDimensions:null,encode:Ie?Ie.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(r,$,V,oe,ie,le){$=$||"normal";var ue=this.getData(V),de=this.getDataParams(r,V);if(le&&(de.value=le.interpolatedValue),oe!=null&&isArray$1(de.value)&&(de.value=de.value[oe]),!ie){var pe=ue.getItemModel(r);ie=pe.get($==="normal"?["label","formatter"]:[$,"label","formatter"])}if(isFunction(ie))return de.status=$,de.dimensionIndex=oe,ie(de);if(isString(ie)){var he=formatTpl(ie,de);return he.replace(DIMENSION_LABEL_REG,function(_e,$e){var Ie=$e.length,Ve=$e;Ve.charAt(0)==="["&&Ve.charAt(Ie-1)==="]"&&(Ve=+Ve.slice(1,Ie-1));var Fe=retrieveRawValue(ue,r,Ve);if(le&&isArray$1(le.interpolatedValue)){var Ue=ue.getDimensionIndex(Ve);Ue>=0&&(Fe=le.interpolatedValue[Ue])}return Fe!=null?Fe+"":""})}},t.prototype.getRawValue=function(r,$){return retrieveRawValue(this.getData($),r)},t.prototype.formatTooltip=function(r,$,V){},t}();function normalizeTooltipFormatResult(t){var r,$;return isObject$3(t)?t.type&&($=t):r=t,{text:r,frag:$}}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 $=this._upstream,V=r&&r.skip;if(this._dirty&&$){var oe=this.context;oe.data=oe.outputData=$.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var ie;this._plan&&!V&&(ie=this._plan(this.context));var le=he(this._modBy),ue=this._modDataCount||0,de=he(r&&r.modBy),pe=r&&r.modDataCount||0;(le!==de||ue!==pe)&&(ie="reset");function he(Et){return!(Et>=1)&&(Et=1),Et}var _e;(this._dirty||ie==="reset")&&(this._dirty=!1,_e=this._doReset(V)),this._modBy=de,this._modDataCount=pe;var $e=r&&r.step;if($?this._dueEnd=$._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var Ie=this._dueIndex,Ve=Math.min($e!=null?this._dueIndex+$e:1/0,this._dueEnd);if(!V&&(_e||Ie<Ve)){var Fe=this._progress;if(isArray$1(Fe))for(var Ue=0;Ue<Fe.length;Ue++)this._doProgress(Fe[Ue],Ie,Ve,de,pe);else this._doProgress(Fe,Ie,Ve,de,pe)}this._dueIndex=Ve;var qe=this._settedOutputEnd!=null?this._settedOutputEnd:Ve;this._outputDueEnd=qe}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){iterator.reset($,V,oe,ie),this._callingProgress=r,this._callingProgress({start:$,end:V,count:V-$,next:iterator.next},this.context)},t.prototype._doReset=function(r){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var $,V;!r&&this._reset&&($=this._reset(this.context),$&&$.progress&&(V=$.forceFirstProgress,$=$.progress),isArray$1($)&&!$.length&&($=null)),this._progress=$,this._modBy=this._modDataCount=null;var oe=this._downstream;return oe&&oe.dirty(),V},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={reset:function(de,pe,he,_e){r=de,t=pe,$=he,V=_e,oe=Math.ceil(V/$),ie.next=$>1&&V>0?ue:le}};return ie;function le(){return r<t?r++:null}function ue(){var de=r%oe*$+Math.ceil(r/oe),pe=r>=t?null:de<V?de:r;return r++,pe}}();function parseDataValue(t,r){var $=r&&r.type;return $==="ordinal"?t:($==="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,$){var V=r==="desc";this._resultLT=V?1:-1,$==null&&($=V?"min":"max"),this._incomparable=$==="min"?-1/0:1/0}return t.prototype.evaluate=function(r,$){var V=isNumber(r)?r:numericToNumber(r),oe=isNumber($)?$:numericToNumber($),ie=isNaN(V),le=isNaN(oe);if(ie&&(V=this._incomparable),le&&(oe=this._incomparable),ie&&le){var ue=isString(r),de=isString($);ue&&(V=de?r:0),de&&(oe=ue?$:0)}return V<oe?this._resultLT:V>oe?-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,$){},t.prototype.retrieveValueFromItem=function(r,$){},t.prototype.convertValue=function(r,$){return parseDataValue(r,$)},t}();function createExternalSource(t,r){var $=new ExternalSource,V=t.data,oe=$.sourceFormat=t.sourceFormat,ie=t.startIndex,le="";t.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError(le);var ue=[],de={},pe=t.dimensionsDefine;if(pe)each$c(pe,function(Fe,Ue){var qe=Fe.name,Et={index:Ue,name:qe,displayName:Fe.displayName};if(ue.push(Et),qe!=null){var Lt="";hasOwn(de,qe)&&throwError(Lt),de[qe]=Et}});else for(var he=0;he<t.dimensionsDetectedCount;he++)ue.push({index:he});var _e=getRawSourceItemGetter(oe,SERIES_LAYOUT_BY_COLUMN);r.__isBuiltIn&&($.getRawDataItem=function(Fe){return _e(V,ie,ue,Fe)},$.getRawData=bind$1(getRawData,null,t)),$.cloneRawData=bind$1(cloneRawData,null,t);var $e=getRawSourceDataCounter(oe,SERIES_LAYOUT_BY_COLUMN);$.count=bind$1($e,null,V,ie,ue);var Ie=getRawSourceValueGetter(oe);$.retrieveValue=function(Fe,Ue){var qe=_e(V,ie,ue,Fe);return Ve(qe,Ue)};var Ve=$.retrieveValueFromItem=function(Fe,Ue){if(Fe!=null){var qe=ue[Ue];if(qe)return Ie(Fe,Ue,qe.name)}};return $.getDimensionInfo=bind$1(getDimensionInfo,null,ue,de),$.cloneAllDimensionInfo=bind$1(cloneAllDimensionInfo,null,ue),$}function getRawData(t){var r=t.sourceFormat;if(!isSupportedSourceFormat(r)){var $="";throwError($)}return t.data}function cloneRawData(t){var r=t.sourceFormat,$=t.data;if(!isSupportedSourceFormat(r)){var V="";throwError(V)}if(r===SOURCE_FORMAT_ARRAY_ROWS){for(var oe=[],ie=0,le=$.length;ie<le;ie++)oe.push($[ie].slice());return oe}else if(r===SOURCE_FORMAT_OBJECT_ROWS){for(var oe=[],ie=0,le=$.length;ie<le;ie++)oe.push(extend({},$[ie]));return oe}}function getDimensionInfo(t,r,$){if($!=null){if(isNumber($)||!isNaN($)&&!hasOwn(r,$))return t[$];if(hasOwn(r,$))return r[$]}}function cloneAllDimensionInfo(t){return clone$3(t)}var externalTransformMap=createHashMap();function registerExternalTransform(t){t=clone$3(t);var r=t.type,$="";r||throwError($);var V=r.split(":");V.length!==2&&throwError($);var oe=!1;V[0]==="echarts"&&(r=V[1],oe=!0),t.__isBuiltIn=oe,externalTransformMap.set(r,t)}function applyDataTransform(t,r,$){var V=normalizeToArray(t),oe=V.length,ie="";oe||throwError(ie);for(var le=0,ue=oe;le<ue;le++){var de=V[le];r=applySingleDataTransform(de,r),le!==ue-1&&(r.length=Math.max(r.length,1))}return r}function applySingleDataTransform(t,r,$,V){var oe="";r.length||throwError(oe),isObject$3(t)||throwError(oe);var ie=t.type,le=externalTransformMap.get(ie);le||throwError(oe);var ue=map$2(r,function(pe){return createExternalSource(pe,le)}),de=normalizeToArray(le.transform({upstream:ue[0],upstreamList:ue,config:clone$3(t.config)}));return map$2(de,function(pe,he){var _e="";isObject$3(pe)||throwError(_e),pe.data||throwError(_e);var $e=detectSourceFormat(pe.data);isSupportedSourceFormat($e)||throwError(_e);var Ie,Ve=r[0];if(Ve&&he===0&&!pe.dimensions){var Fe=Ve.startIndex;Fe&&(pe.data=Ve.data.slice(0,Fe).concat(pe.data)),Ie={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:Fe,dimensions:Ve.metaRawOption.dimensions}}else Ie={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:0,dimensions:pe.dimensions};return createSource(pe.data,Ie,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){var ie=dataCtors[$||"float"];if(oe){var le=t[r],ue=le&&le.length;if(ue!==V){for(var de=new ie(V),pe=0;pe<ue;pe++)de[pe]=le[pe];t[r]=de}}else t[r]=new ie(V)}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){this._provider=r,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var oe=r.getSource(),ie=this.defaultDimValueGetter=defaultDimValueGetters[oe.sourceFormat];this._dimValueGetter=V||ie,this._rawExtent=[],shouldRetrieveDataByName(oe),this._dimensions=map$2($,function(le){return{type:le.type,property:le.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,$){var V=this._calcDimNameToIdx,oe=this._dimensions,ie=V.get(r);if(ie!=null){if(oe[ie].type===$)return ie}else ie=oe.length;return oe[ie]={type:$},V.set(r,ie),this._chunks[ie]=new dataCtors[$||"float"](this._rawCount),this._rawExtent[ie]=getInitialExtent(),ie},t.prototype.collectOrdinalMeta=function(r,$){var V=this._chunks[r],oe=this._dimensions[r],ie=this._rawExtent,le=oe.ordinalOffset||0,ue=V.length;le===0&&(ie[r]=getInitialExtent());for(var de=ie[r],pe=le;pe<ue;pe++){var he=V[pe]=$.parseAndCollect(V[pe]);isNaN(he)||(de[0]=Math.min(he,de[0]),de[1]=Math.max(he,de[1]))}oe.ordinalMeta=$,oe.ordinalOffset=ue,oe.type="ordinal"},t.prototype.getOrdinalMeta=function(r){var $=this._dimensions[r],V=$.ordinalMeta;return V},t.prototype.getDimensionProperty=function(r){var $=this._dimensions[r];return $&&$.property},t.prototype.appendData=function(r){var $=this._provider,V=this.count();$.appendData(r);var oe=$.count();return $.persistent||(oe+=V),V<oe&&this._initDataFromProvider(V,oe,!0),[V,oe]},t.prototype.appendValues=function(r,$){for(var V=this._chunks,oe=this._dimensions,ie=oe.length,le=this._rawExtent,ue=this.count(),de=ue+Math.max(r.length,$||0),pe=0;pe<ie;pe++){var he=oe[pe];prepareStore(V,pe,he.type,de,!0)}for(var _e=[],$e=ue;$e<de;$e++)for(var Ie=$e-ue,Ve=0;Ve<ie;Ve++){var he=oe[Ve],Fe=defaultDimValueGetters.arrayRows.call(this,r[Ie]||_e,he.property,Ie,Ve);V[Ve][$e]=Fe;var Ue=le[Ve];Fe<Ue[0]&&(Ue[0]=Fe),Fe>Ue[1]&&(Ue[1]=Fe)}return this._rawCount=this._count=de,{start:ue,end:de}},t.prototype._initDataFromProvider=function(r,$,V){for(var oe=this._provider,ie=this._chunks,le=this._dimensions,ue=le.length,de=this._rawExtent,pe=map$2(le,function(Et){return Et.property}),he=0;he<ue;he++){var _e=le[he];de[he]||(de[he]=getInitialExtent()),prepareStore(ie,he,_e.type,$,V)}if(oe.fillStorage)oe.fillStorage(r,$,ie,de);else for(var $e=[],Ie=r;Ie<$;Ie++){$e=oe.getItem(Ie,$e);for(var Ve=0;Ve<ue;Ve++){var Fe=ie[Ve],Ue=this._dimValueGetter($e,pe[Ve],Ie,Ve);Fe[Ie]=Ue;var qe=de[Ve];Ue<qe[0]&&(qe[0]=Ue),Ue>qe[1]&&(qe[1]=Ue)}}!oe.persistent&&oe.clean&&oe.clean(),this._rawCount=this._count=$,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(r,$){if(!($>=0&&$<this._count))return NaN;var V=this._chunks[r];return V?V[this.getRawIndex($)]:NaN},t.prototype.getValues=function(r,$){var V=[],oe=[];if($==null){$=r,r=[];for(var ie=0;ie<this._dimensions.length;ie++)oe.push(ie)}else oe=r;for(var ie=0,le=oe.length;ie<le;ie++)V.push(this.get(oe[ie],$));return V},t.prototype.getByRawIndex=function(r,$){if(!($>=0&&$<this._rawCount))return NaN;var V=this._chunks[r];return V?V[$]:NaN},t.prototype.getSum=function(r){var $=this._chunks[r],V=0;if($)for(var oe=0,ie=this.count();oe<ie;oe++){var le=this.get(r,oe);isNaN(le)||(V+=le)}return V},t.prototype.getMedian=function(r){var $=[];this.each([r],function(ie){isNaN(ie)||$.push(ie)});var V=$.sort(function(ie,le){return ie-le}),oe=this.count();return oe===0?0:oe%2===1?V[(oe-1)/2]:(V[oe/2]+V[oe/2-1])/2},t.prototype.indexOfRawIndex=function(r){if(r>=this._rawCount||r<0)return-1;if(!this._indices)return r;var $=this._indices,V=$[r];if(V!=null&&V<this._count&&V===r)return r;for(var oe=0,ie=this._count-1;oe<=ie;){var le=(oe+ie)/2|0;if($[le]<r)oe=le+1;else if($[le]>r)ie=le-1;else return le}return-1},t.prototype.indicesOfNearest=function(r,$,V){var oe=this._chunks,ie=oe[r],le=[];if(!ie)return le;V==null&&(V=1/0);for(var ue=1/0,de=-1,pe=0,he=0,_e=this.count();he<_e;he++){var $e=this.getRawIndex(he),Ie=$-ie[$e],Ve=Math.abs(Ie);Ve<=V&&((Ve<ue||Ve===ue&&Ie>=0&&de<0)&&(ue=Ve,de=Ie,pe=0),Ie===de&&(le[pe++]=he))}return le.length=pe,le},t.prototype.getIndices=function(){var r,$=this._indices;if($){var V=$.constructor,oe=this._count;if(V===Array){r=new V(oe);for(var ie=0;ie<oe;ie++)r[ie]=$[ie]}else r=new V($.buffer,0,oe)}else{var V=getIndicesCtor(this._rawCount);r=new V(this.count());for(var ie=0;ie<r.length;ie++)r[ie]=ie}return r},t.prototype.filter=function(r,$){if(!this._count)return this;for(var V=this.clone(),oe=V.count(),ie=getIndicesCtor(V._rawCount),le=new ie(oe),ue=[],de=r.length,pe=0,he=r[0],_e=V._chunks,$e=0;$e<oe;$e++){var Ie=void 0,Ve=V.getRawIndex($e);if(de===0)Ie=$($e);else if(de===1){var Fe=_e[he][Ve];Ie=$(Fe,$e)}else{for(var Ue=0;Ue<de;Ue++)ue[Ue]=_e[r[Ue]][Ve];ue[Ue]=$e,Ie=$.apply(null,ue)}Ie&&(le[pe++]=Ve)}return pe<oe&&(V._indices=le),V._count=pe,V._extent=[],V._updateGetRawIdx(),V},t.prototype.selectRange=function(r){var $=this.clone(),V=$._count;if(!V)return this;var oe=keys(r),ie=oe.length;if(!ie)return this;var le=$.count(),ue=getIndicesCtor($._rawCount),de=new ue(le),pe=0,he=oe[0],_e=r[he][0],$e=r[he][1],Ie=$._chunks,Ve=!1;if(!$._indices){var Fe=0;if(ie===1){for(var Ue=Ie[oe[0]],qe=0;qe<V;qe++){var Et=Ue[qe];(Et>=_e&&Et<=$e||isNaN(Et))&&(de[pe++]=Fe),Fe++}Ve=!0}else if(ie===2){for(var Ue=Ie[oe[0]],Lt=Ie[oe[1]],hn=r[oe[1]][0],Cn=r[oe[1]][1],qe=0;qe<V;qe++){var Et=Ue[qe],bn=Lt[qe];(Et>=_e&&Et<=$e||isNaN(Et))&&(bn>=hn&&bn<=Cn||isNaN(bn))&&(de[pe++]=Fe),Fe++}Ve=!0}}if(!Ve)if(ie===1)for(var qe=0;qe<le;qe++){var Sn=$.getRawIndex(qe),Et=Ie[oe[0]][Sn];(Et>=_e&&Et<=$e||isNaN(Et))&&(de[pe++]=Sn)}else for(var qe=0;qe<le;qe++){for(var En=!0,Sn=$.getRawIndex(qe),wn=0;wn<ie;wn++){var $n=oe[wn],Et=Ie[$n][Sn];(Et<r[$n][0]||Et>r[$n][1])&&(En=!1)}En&&(de[pe++]=$.getRawIndex(qe))}return pe<le&&($._indices=de),$._count=pe,$._extent=[],$._updateGetRawIdx(),$},t.prototype.map=function(r,$){var V=this.clone(r);return this._updateDims(V,r,$),V},t.prototype.modify=function(r,$){this._updateDims(this,r,$)},t.prototype._updateDims=function(r,$,V){for(var oe=r._chunks,ie=[],le=$.length,ue=r.count(),de=[],pe=r._rawExtent,he=0;he<$.length;he++)pe[$[he]]=getInitialExtent();for(var _e=0;_e<ue;_e++){for(var $e=r.getRawIndex(_e),Ie=0;Ie<le;Ie++)de[Ie]=oe[$[Ie]][$e];de[le]=_e;var Ve=V&&V.apply(null,de);if(Ve!=null){typeof Ve!="object"&&(ie[0]=Ve,Ve=ie);for(var he=0;he<Ve.length;he++){var Fe=$[he],Ue=Ve[he],qe=pe[Fe],Et=oe[Fe];Et&&(Et[$e]=Ue),Ue<qe[0]&&(qe[0]=Ue),Ue>qe[1]&&(qe[1]=Ue)}}}},t.prototype.lttbDownSample=function(r,$){var V=this.clone([r],!0),oe=V._chunks,ie=oe[r],le=this.count(),ue=0,de=Math.floor(1/$),pe=this.getRawIndex(0),he,_e,$e,Ie=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(le/de)+2)*2,le));Ie[ue++]=pe;for(var Ve=1;Ve<le-1;Ve+=de){for(var Fe=Math.min(Ve+de,le-1),Ue=Math.min(Ve+de*2,le),qe=(Ue+Fe)/2,Et=0,Lt=Fe;Lt<Ue;Lt++){var hn=this.getRawIndex(Lt),Cn=ie[hn];isNaN(Cn)||(Et+=Cn)}Et/=Ue-Fe;var bn=Ve,Sn=Math.min(Ve+de,le),En=Ve-1,wn=ie[pe];he=-1,$e=bn;for(var $n=-1,Tn=0,Lt=bn;Lt<Sn;Lt++){var hn=this.getRawIndex(Lt),Cn=ie[hn];if(isNaN(Cn)){Tn++,$n<0&&($n=hn);continue}_e=Math.abs((En-qe)*(Cn-wn)-(En-Lt)*(Et-wn)),_e>he&&(he=_e,$e=hn)}Tn>0&&Tn<Sn-bn&&(Ie[ue++]=Math.min($n,$e),$e=Math.max($n,$e)),Ie[ue++]=$e,pe=$e}return Ie[ue++]=this.getRawIndex(le-1),V._count=ue,V._indices=Ie,V.getRawIndex=this._getRawIdx,V},t.prototype.downSample=function(r,$,V,oe){for(var ie=this.clone([r],!0),le=ie._chunks,ue=[],de=Math.floor(1/$),pe=le[r],he=this.count(),_e=ie._rawExtent[r]=getInitialExtent(),$e=new(getIndicesCtor(this._rawCount))(Math.ceil(he/de)),Ie=0,Ve=0;Ve<he;Ve+=de){de>he-Ve&&(de=he-Ve,ue.length=de);for(var Fe=0;Fe<de;Fe++){var Ue=this.getRawIndex(Ve+Fe);ue[Fe]=pe[Ue]}var qe=V(ue),Et=this.getRawIndex(Math.min(Ve+oe(ue,qe)||0,he-1));pe[Et]=qe,qe<_e[0]&&(_e[0]=qe),qe>_e[1]&&(_e[1]=qe),$e[Ie++]=Et}return ie._count=Ie,ie._indices=$e,ie._updateGetRawIdx(),ie},t.prototype.each=function(r,$){if(this._count)for(var V=r.length,oe=this._chunks,ie=0,le=this.count();ie<le;ie++){var ue=this.getRawIndex(ie);switch(V){case 0:$(ie);break;case 1:$(oe[r[0]][ue],ie);break;case 2:$(oe[r[0]][ue],oe[r[1]][ue],ie);break;default:for(var de=0,pe=[];de<V;de++)pe[de]=oe[r[de]][ue];pe[de]=ie,$.apply(null,pe)}}},t.prototype.getDataExtent=function(r){var $=this._chunks[r],V=getInitialExtent();if(!$)return V;var oe=this.count(),ie=!this._indices,le;if(ie)return this._rawExtent[r].slice();if(le=this._extent[r],le)return le.slice();le=V;for(var ue=le[0],de=le[1],pe=0;pe<oe;pe++){var he=this.getRawIndex(pe),_e=$[he];_e<ue&&(ue=_e),_e>de&&(de=_e)}return le=[ue,de],this._extent[r]=le,le},t.prototype.getRawDataItem=function(r){var $=this.getRawIndex(r);if(this._provider.persistent)return this._provider.getItem($);for(var V=[],oe=this._chunks,ie=0;ie<oe.length;ie++)V.push(oe[ie][$]);return V},t.prototype.clone=function(r,$){var V=new t,oe=this._chunks,ie=r&&reduce(r,function(ue,de){return ue[de]=!0,ue},{});if(ie)for(var le=0;le<oe.length;le++)V._chunks[le]=ie[le]?cloneChunk(oe[le]):oe[le];else V._chunks=oe;return this._copyCommonProps(V),$||(V._indices=this._cloneIndices()),V._updateGetRawIdx(),V},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,$=void 0;if(r===Array){var V=this._indices.length;$=new r(V);for(var oe=0;oe<V;oe++)$[oe]=this._indices[oe]}else $=new r(this._indices);return $}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){return parseDataValue($[ie],this._dimensions[ie])}defaultDimValueGetters={arrayRows:r,objectRows:function($,V,oe,ie){return parseDataValue($[V],this._dimensions[ie])},keyedColumns:r,original:function($,V,oe,ie){var le=$&&($.value==null?$:$.value);return parseDataValue(le instanceof Array?le[ie]:le,this._dimensions[ie])},typedArray:function($,V,oe,ie){return $[ie]}}}(),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,$){this._sourceList=r,this._upstreamSignList=$,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,$=this._getUpstreamSourceManagers(),V=!!$.length,oe,ie;if(isSeries(r)){var le=r,ue=void 0,de=void 0,pe=void 0;if(V){var he=$[0];he.prepareSource(),pe=he.getSource(),ue=pe.data,de=pe.sourceFormat,ie=[he._getVersionSign()]}else ue=le.get("data",!0),de=isTypedArray(ue)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,ie=[];var _e=this._getSourceMetaRawOption()||{},$e=pe&&pe.metaRawOption||{},Ie=retrieve2(_e.seriesLayoutBy,$e.seriesLayoutBy)||null,Ve=retrieve2(_e.sourceHeader,$e.sourceHeader),Fe=retrieve2(_e.dimensions,$e.dimensions),Ue=Ie!==$e.seriesLayoutBy||!!Ve!=!!$e.sourceHeader||Fe;oe=Ue?[createSource(ue,{seriesLayoutBy:Ie,sourceHeader:Ve,dimensions:Fe},de)]:[]}else{var qe=r;if(V){var Et=this._applyTransform($);oe=Et.sourceList,ie=Et.upstreamSignList}else{var Lt=qe.get("source",!0);oe=[createSource(Lt,this._getSourceMetaRawOption(),null)],ie=[]}}this._setLocalSource(oe,ie)},t.prototype._applyTransform=function(r){var $=this._sourceHost,V=$.get("transform",!0),oe=$.get("fromTransformResult",!0);if(oe!=null){var ie="";r.length!==1&&doThrow(ie)}var le,ue=[],de=[];return each$c(r,function(pe){pe.prepareSource();var he=pe.getSource(oe||0),_e="";oe!=null&&!he&&doThrow(_e),ue.push(he),de.push(pe._getVersionSign())}),V?le=applyDataTransform(V,ue,{datasetIndex:$.componentIndex}):oe!=null&&(le=[cloneSourceShallow(ue[0])]),{sourceList:le,upstreamSignList:de}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var r=this._getUpstreamSourceManagers(),$=0;$<r.length;$++){var V=r[$];if(V._isDirty()||this._upstreamSignList[$]!==V._getVersionSign())return!0}},t.prototype.getSource=function(r){r=r||0;var $=this._sourceList[r];if(!$){var V=this._getUpstreamSourceManagers();return V[0]&&V[0].getSource(r)}return $},t.prototype.getSharedDataStore=function(r){var $=r.makeStoreSchema();return this._innerGetDataStore($.dimensions,r.source,$.hash)},t.prototype._innerGetDataStore=function(r,$,V){var oe=0,ie=this._storeList,le=ie[oe];le||(le=ie[oe]={});var ue=le[V];if(!ue){var de=this._getUpstreamSourceManagers()[0];isSeries(this._sourceHost)&&de?ue=de._innerGetDataStore(r,$,V):(ue=new DataStore$1,ue.initData(new DefaultDataProvider($,r.length),r)),le[V]=ue}return ue},t.prototype._getUpstreamSourceManagers=function(){var r=this._sourceHost;if(isSeries(r)){var $=querySeriesUpstreamDatasetModel(r);return $?[$.getSourceManager()]:[]}else return map$2(queryDatasetUpstreamDatasetModels(r),function(V){return V.getSourceManager()})},t.prototype._getSourceMetaRawOption=function(){var r=this._sourceHost,$,V,oe;if(isSeries(r))$=r.get("seriesLayoutBy",!0),V=r.get("sourceHeader",!0),oe=r.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var ie=r;$=ie.get("seriesLayoutBy",!0),V=ie.get("sourceHeader",!0),oe=ie.get("dimensions",!0)}return{seriesLayoutBy:$,sourceHeader:V,dimensions:oe}},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 $=t.color||"#6e7079",V=t.fontSize||12,oe=t.fontWeight||"400",ie=t.color||"#464646",le=t.fontSize||14,ue=t.fontWeight||"900";return r==="html"?{nameStyle:"font-size:"+encodeHTML(V+"")+"px;color:"+encodeHTML($)+";font-weight:"+encodeHTML(oe+""),valueStyle:"font-size:"+encodeHTML(le+"")+"px;color:"+encodeHTML(ie)+";font-weight:"+encodeHTML(ue+"")}:{nameStyle:{fontSize:V,fill:$,fontWeight:oe},valueStyle:{fontSize:le,fill:ie,fontWeight:ue}}}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,$=t.blocks.length,V=$>1||$>0&&!t.noHeader;return each$c(t.blocks,function(oe){var ie=getBlockGapLevel(oe);ie>=r&&(r=ie+ +(V&&(!ie||isSectionFragment(oe)&&!oe.noHeader)))}),r}return 0}function buildSection(t,r,$,V){var oe=r.noHeader,ie=getGap(getBlockGapLevel(r)),le=[],ue=r.blocks||[];assert(!ue||isArray$1(ue)),ue=ue||[];var de=t.orderMode;if(r.sortBlocks&&de){ue=ue.slice();var pe={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(pe,de)){var he=new SortOrderComparator(pe[de],null);ue.sort(function(Ve,Fe){return he.evaluate(Ve.sortParam,Fe.sortParam)})}else de==="seriesDesc"&&ue.reverse()}each$c(ue,function(Ve,Fe){var Ue=r.valueFormatter,qe=getBuilder(Ve)(Ue?extend(extend({},t),{valueFormatter:Ue}):t,Ve,Fe>0?ie.html:0,V);qe!=null&&le.push(qe)});var _e=t.renderMode==="richText"?le.join(ie.richText):wrapBlockHTML(le.join(""),oe?$:ie.html);if(oe)return _e;var $e=makeValueReadable(r.header,"ordinal",t.useUTC),Ie=getTooltipTextStyle(V,t.renderMode).nameStyle;return t.renderMode==="richText"?wrapInlineNameRichText(t,$e,Ie)+ie.richText+_e:wrapBlockHTML('<div style="'+Ie+";"+TOOLTIP_LINE_HEIGHT_CSS+';">'+encodeHTML($e)+"</div>"+_e,$)}function buildNameValue(t,r,$,V){var oe=t.renderMode,ie=r.noName,le=r.noValue,ue=!r.markerType,de=r.name,pe=t.useUTC,he=r.valueFormatter||t.valueFormatter||function(hn){return hn=isArray$1(hn)?hn:[hn],map$2(hn,function(Cn,bn){return makeValueReadable(Cn,isArray$1(Ie)?Ie[bn]:Ie,pe)})};if(!(ie&&le)){var _e=ue?"":t.markupStyleCreator.makeTooltipMarker(r.markerType,r.markerColor||"#333",oe),$e=ie?"":makeValueReadable(de,"ordinal",pe),Ie=r.valueType,Ve=le?[]:he(r.value),Fe=!ue||!ie,Ue=!ue&&ie,qe=getTooltipTextStyle(V,oe),Et=qe.nameStyle,Lt=qe.valueStyle;return oe==="richText"?(ue?"":_e)+(ie?"":wrapInlineNameRichText(t,$e,Et))+(le?"":wrapInlineValueRichText(t,Ve,Fe,Ue,Lt)):wrapBlockHTML((ue?"":_e)+(ie?"":wrapInlineNameHTML($e,!ue,Et))+(le?"":wrapInlineValueHTML(Ve,Fe,Ue,Lt)),$)}}function buildTooltipMarkup(t,r,$,V,oe,ie){if(t){var le=getBuilder(t),ue={useUTC:oe,renderMode:$,orderMode:V,markupStyleCreator:r,valueFormatter:t.valueFormatter};return le(ue,t,0,ie)}}function getGap(t){return{html:HTML_GAPS[t],richText:RICH_TEXT_GAPS[t]}}function wrapBlockHTML(t,r){var $='<div style="clear:both"></div>',V="margin: "+r+"px 0 0";return'<div style="'+V+";"+TOOLTIP_LINE_HEIGHT_CSS+';">'+t+$+"</div>"}function wrapInlineNameHTML(t,r,$){var V=r?"margin-left:2px":"";return'<span style="'+$+";"+V+'">'+encodeHTML(t)+"</span>"}function wrapInlineValueHTML(t,r,$,V){var oe=$?"10px":"20px",ie=r?"float:right;margin-left:"+oe:"";return t=isArray$1(t)?t:[t],'<span style="'+ie+";"+V+'">'+map$2(t,function(le){return encodeHTML(le)}).join(" ")+"</span>"}function wrapInlineNameRichText(t,r,$){return t.markupStyleCreator.wrapRichTextStyle(r,$)}function wrapInlineValueRichText(t,r,$,V,oe){var ie=[oe],le=V?10:20;return $&&ie.push({padding:[0,0,0,le],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(isArray$1(r)?r.join(" "):r,ie)}function retrieveVisualColorForTooltipMarker(t,r){var $=t.getData().getItemVisual(r,"style"),V=$[t.visualDrawType];return convertToColorString(V)}function getPaddingFromTooltipModel(t,r){var $=t.get("padding");return $??(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){var oe=V==="richText"?this._generateStyleName():null,ie=getTooltipMarker({color:$,type:r,renderMode:V,markerId:oe});return isString(ie)?ie:(this.richTextStyles[oe]=ie.style,ie.content)},t.prototype.wrapRichTextStyle=function(r,$){var V={};isArray$1($)?each$c($,function(ie){return extend(V,ie)}):extend(V,$);var oe=this._generateStyleName();return this.richTextStyles[oe]=V,"{"+oe+"|"+r+"}"},t}();function defaultSeriesFormatTooltip(t){var r=t.series,$=t.dataIndex,V=t.multipleSeries,oe=r.getData(),ie=oe.mapDimensionsAll("defaultedTooltip"),le=ie.length,ue=r.getRawValue($),de=isArray$1(ue),pe=retrieveVisualColorForTooltipMarker(r,$),he,_e,$e,Ie;if(le>1||de&&!le){var Ve=formatTooltipArrayValue(ue,r,$,ie,pe);he=Ve.inlineValues,_e=Ve.inlineValueTypes,$e=Ve.blocks,Ie=Ve.inlineValues[0]}else if(le){var Fe=oe.getDimensionInfo(ie[0]);Ie=he=retrieveRawValue(oe,$,ie[0]),_e=Fe.type}else Ie=he=de?ue[0]:ue;var Ue=isNameSpecified(r),qe=Ue&&r.name||"",Et=oe.getName($),Lt=V?qe:Et;return createTooltipMarkup("section",{header:qe,noHeader:V||!Ue,sortParam:Ie,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:pe,name:Lt,noName:!trim$1(Lt),value:he,valueType:_e})].concat($e||[])})}function formatTooltipArrayValue(t,r,$,V,oe){var ie=r.getData(),le=reduce(t,function(_e,$e,Ie){var Ve=ie.getDimensionInfo(Ie);return _e=_e||Ve&&Ve.tooltip!==!1&&Ve.displayName!=null},!1),ue=[],de=[],pe=[];V.length?each$c(V,function(_e){he(retrieveRawValue(ie,$,_e),_e)}):each$c(t,he);function he(_e,$e){var Ie=ie.getDimensionInfo($e);!Ie||Ie.otherDims.tooltip===!1||(le?pe.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:oe,name:Ie.displayName,value:_e,valueType:Ie.type})):(ue.push(_e),de.push(Ie.type)))}return{inlineValues:ue,inlineValueTypes:de,blocks:pe}}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 $=t!==null&&t.apply(this,arguments)||this;return $._selectedDataIndicesMap={},$}return r.prototype.init=function($,V,oe){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme($,oe);var ie=inner$b(this).sourceManager=new SourceManager(this);ie.prepareSource();var le=this.getInitialData($,oe);wrapData(le,this),this.dataTask.context.data=le,inner$b(this).dataBeforeProcessed=le,autoSeriesName(this),this._initSelectedMapFromData(le)},r.prototype.mergeDefaultAndTheme=function($,V){var oe=fetchLayoutMode(this),ie=oe?getLayoutParams($):{},le=this.subType;ComponentModel$1.hasClass(le)&&(le+="Series"),merge($,V.getTheme().get(this.subType)),merge($,this.getDefaultOption()),defaultEmphasis($,"label",["show"]),this.fillDataTextStyle($.data),oe&&mergeLayoutParam($,ie,oe)},r.prototype.mergeOption=function($,V){$=merge(this.option,$,!0),this.fillDataTextStyle($.data);var oe=fetchLayoutMode(this);oe&&mergeLayoutParam(this.option,$,oe);var ie=inner$b(this).sourceManager;ie.dirty(),ie.prepareSource();var le=this.getInitialData($,V);wrapData(le,this),this.dataTask.dirty(),this.dataTask.context.data=le,inner$b(this).dataBeforeProcessed=le,autoSeriesName(this),this._initSelectedMapFromData(le)},r.prototype.fillDataTextStyle=function($){if($&&!isTypedArray($))for(var V=["show"],oe=0;oe<$.length;oe++)$[oe]&&$[oe].label&&defaultEmphasis($[oe],"label",V)},r.prototype.getInitialData=function($,V){},r.prototype.appendData=function($){var V=this.getRawData();V.appendData($.data)},r.prototype.getData=function($){var V=getCurrentTask(this);if(V){var oe=V.context.data;return $==null?oe:oe.getLinkedData($)}else return inner$b(this).data},r.prototype.getAllData=function(){var $=this.getData();return $&&$.getLinkedDataAll?$.getLinkedDataAll():[{data:$}]},r.prototype.setData=function($){var V=getCurrentTask(this);if(V){var oe=V.context;oe.outputData=$,V!==this.dataTask&&(oe.data=$)}inner$b(this).data=$},r.prototype.getEncode=function(){var $=this.get("encode",!0);if($)return createHashMap($)},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 $=this.get("colorBy");return $||"series"},r.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},r.prototype.getBaseAxis=function(){var $=this.coordinateSystem;return $&&$.getBaseAxis&&$.getBaseAxis()},r.prototype.formatTooltip=function($,V,oe){return defaultSeriesFormatTooltip({series:this,dataIndex:$,multipleSeries:V})},r.prototype.isAnimationEnabled=function(){var $=this.ecModel;if(env$1.node&&!($&&$.ssr))return!1;var V=this.getShallow("animation");return V&&this.getData().count()>this.getShallow("animationThreshold")&&(V=!1),!!V},r.prototype.restoreData=function(){this.dataTask.dirty()},r.prototype.getColorFromPalette=function($,V,oe){var ie=this.ecModel,le=PaletteMixin.prototype.getColorFromPalette.call(this,$,V,oe);return le||(le=ie.getColorFromPalette($,V,oe)),le},r.prototype.coordDimToDataDim=function($){return this.getRawData().mapDimensionsAll($)},r.prototype.getProgressive=function(){return this.get("progressive")},r.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},r.prototype.select=function($,V){this._innerSelect(this.getData(V),$)},r.prototype.unselect=function($,V){var oe=this.option.selectedMap;if(oe){var ie=this.option.selectedMode,le=this.getData(V);if(ie==="series"||oe==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var ue=0;ue<$.length;ue++){var de=$[ue],pe=getSelectionKey(le,de);oe[pe]=!1,this._selectedDataIndicesMap[pe]=-1}}},r.prototype.toggleSelect=function($,V){for(var oe=[],ie=0;ie<$.length;ie++)oe[0]=$[ie],this.isSelected($[ie],V)?this.unselect(oe,V):this.select(oe,V)},r.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var $=this._selectedDataIndicesMap,V=keys($),oe=[],ie=0;ie<V.length;ie++){var le=$[V[ie]];le>=0&&oe.push(le)}return oe},r.prototype.isSelected=function($,V){var oe=this.option.selectedMap;if(!oe)return!1;var ie=this.getData(V);return(oe==="all"||oe[getSelectionKey(ie,$)])&&!ie.getItemModel($).get(["select","disabled"])},r.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var $=this.option.universalTransition;return $?$===!0?!0:$&&$.enabled:!1},r.prototype._innerSelect=function($,V){var oe,ie,le=this.option,ue=le.selectedMode,de=V.length;if(!(!ue||!de)){if(ue==="series")le.selectedMap="all";else if(ue==="multiple"){isObject$3(le.selectedMap)||(le.selectedMap={});for(var pe=le.selectedMap,he=0;he<de;he++){var _e=V[he],$e=getSelectionKey($,_e);pe[$e]=!0,this._selectedDataIndicesMap[$e]=$.getRawIndex(_e)}}else if(ue==="single"||ue===!0){var Ie=V[de-1],$e=getSelectionKey($,Ie);le.selectedMap=(oe={},oe[$e]=!0,oe),this._selectedDataIndicesMap=(ie={},ie[$e]=$.getRawIndex(Ie),ie)}}},r.prototype._initSelectedMapFromData=function($){if(!this.option.selectedMap){var V=[];$.hasItemOption&&$.each(function(oe){var ie=$.getRawDataItem(oe);ie&&ie.selected&&V.push(oe)}),V.length>0&&this._innerSelect($,V)}},r.registerClass=function($){return ComponentModel$1.registerClass($)},r.protoInitialize=function(){var $=r.prototype;$.type="series.__base__",$.seriesIndex=0,$.ignoreStyleOnData=!1,$.hasSymbolVisual=!1,$.defaultSymbol="circle",$.visualStyleAccessPath="itemStyle",$.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(),$=r.mapDimensionsAll("seriesName"),V=[];return each$c($,function(oe){var ie=r.getDimensionInfo(oe);ie.displayName&&V.push(ie.displayName)}),V.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($){t.wrapMethod($,curry$1(onDataChange,r))})}function onDataChange(t,r){var $=getCurrentTask(t);return $&&$.setOutputEnd((r||this).count()),r}function getCurrentTask(t){var r=(t.ecModel||{}).scheduler,$=r&&r.getPipeline(t.uid);if($){var V=$.currentTask;if(V){var oe=V.agentStubMap;oe&&(V=oe.get(t.uid))}return V}}const SeriesModel$1=SeriesModel;var ComponentView=function(){function t(){this.group=new Group$3,this.uid=getUID("viewComponent")}return t.prototype.init=function(r,$){},t.prototype.render=function(r,$,V,oe){},t.prototype.dispose=function(r,$){},t.prototype.updateView=function(r,$,V,oe){},t.prototype.updateLayout=function(r,$,V,oe){},t.prototype.updateVisual=function(r,$,V,oe){},t.prototype.toggleBlurSeries=function(r,$,V){},t.prototype.eachRendered=function(r){var $=this.group;$&&$.traverse(r)},t}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);const ComponentView$1=ComponentView;function createRenderPlanner(){var t=makeInner();return function(r){var $=t(r),V=r.pipelineContext,oe=!!$.large,ie=!!$.progressiveRender,le=$.large=!!(V&&V.large),ue=$.progressiveRender=!!(V&&V.progressiveRender);return(oe!==le||ie!==ue)&&"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,$){},t.prototype.render=function(r,$,V,oe){},t.prototype.highlight=function(r,$,V,oe){var ie=r.getData(oe&&oe.dataType);ie&&toggleHighlight(ie,oe,"emphasis")},t.prototype.downplay=function(r,$,V,oe){var ie=r.getData(oe&&oe.dataType);ie&&toggleHighlight(ie,oe,"normal")},t.prototype.remove=function(r,$){this.group.removeAll()},t.prototype.dispose=function(r,$){},t.prototype.updateView=function(r,$,V,oe){this.render(r,$,V,oe)},t.prototype.updateLayout=function(r,$,V,oe){this.render(r,$,V,oe)},t.prototype.updateVisual=function(r,$,V,oe){this.render(r,$,V,oe)},t.prototype.eachRendered=function(r){traverseElements(this.group,r)},t.markUpdateMethod=function(r,$){inner$a(r).updateMethod=$},t.protoInitialize=function(){var r=t.prototype;r.type="chart"}(),t}();function elSetState(t,r,$){t&&isHighDownDispatcher(t)&&(r==="emphasis"?enterEmphasis:leaveEmphasis)(t,$)}function toggleHighlight(t,r,$){var V=queryDataIndex(t,r),oe=r&&r.highlightKey!=null?getHighlightDigit(r.highlightKey):null;V!=null?each$c(normalizeToArray(V),function(ie){elSetState(t.getItemGraphicEl(ie),$,oe)}):t.eachItemGraphicEl(function(ie){elSetState(ie,$,oe)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan(t){return renderPlanner(t.model)}function renderTaskReset(t){var r=t.model,$=t.ecModel,V=t.api,oe=t.payload,ie=r.pipelineContext.progressiveRender,le=t.view,ue=oe&&inner$a(oe).updateMethod,de=ie?"incrementalPrepareRender":ue&&le[ue]?ue:"render";return de!=="render"&&le[de](r,$,V,oe),progressMethodMap[de]}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,$){var V,oe=0,ie=0,le=null,ue,de,pe,he;r=r||0;function _e(){ie=new Date().getTime(),le=null,t.apply(de,pe||[])}var $e=function(){for(var Ie=[],Ve=0;Ve<arguments.length;Ve++)Ie[Ve]=arguments[Ve];V=new Date().getTime(),de=this,pe=Ie;var Fe=he||r,Ue=he||$;he=null,ue=V-(Ue?oe:ie)-Fe,clearTimeout(le),Ue?le=setTimeout(_e,Fe):ue>=0?_e():le=setTimeout(_e,-ue),oe=V};return $e.clear=function(){le&&(clearTimeout(le),le=null)},$e.debounceNextCall=function(Ie){he=Ie},$e}function createOrUpdate(t,r,$,V){var oe=t[r];if(oe){var ie=oe[ORIGIN_METHOD]||oe,le=oe[THROTTLE_TYPE],ue=oe[RATE];if(ue!==$||le!==V){if($==null||!V)return t[r]=ie;oe=t[r]=throttle(ie,$,V==="debounce"),oe[ORIGIN_METHOD]=ie,oe[THROTTLE_TYPE]=V,oe[RATE]=$}return oe}}function clear$1(t,r){var $=t[r];$&&$[ORIGIN_METHOD]&&($.clear&&$.clear(),t[r]=$[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 $=t.visualStyleMapper||defaultStyleMappers[r];return $||(console.warn("Unknown style type '"+r+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey(t,r){var $=t.visualDrawType||defaultColorKey[r];return $||(console.warn("Unknown style type '"+r+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){var $=t.getData(),V=t.visualStyleAccessPath||"itemStyle",oe=t.getModel(V),ie=getStyleMapper(t,V),le=ie(oe),ue=oe.getShallow("decal");ue&&($.setVisual("decal",ue),ue.dirty=!0);var de=getDefaultColorKey(t,V),pe=le[de],he=isFunction(pe)?pe:null,_e=le.fill==="auto"||le.stroke==="auto";if(!le[de]||he||_e){var $e=t.getColorFromPalette(t.name,null,r.getSeriesCount());le[de]||(le[de]=$e,$.setVisual("colorFromPalette",!0)),le.fill=le.fill==="auto"||isFunction(le.fill)?$e:le.fill,le.stroke=le.stroke==="auto"||isFunction(le.stroke)?$e:le.stroke}if($.setVisual("style",le),$.setVisual("drawType",de),!r.isSeriesFiltered(t)&&he)return $.setVisual("colorFromPalette",!1),{dataEach:function(Ie,Ve){var Fe=t.getDataParams(Ve),Ue=extend({},le);Ue[de]=he(Fe),Ie.setItemVisual(Ve,"style",Ue)}}}},sharedModel=new Model$1,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){if(!(t.ignoreStyleOnData||r.isSeriesFiltered(t))){var $=t.getData(),V=t.visualStyleAccessPath||"itemStyle",oe=getStyleMapper(t,V),ie=$.getVisual("drawType");return{dataEach:$.hasItemOption?function(le,ue){var de=le.getRawDataItem(ue);if(de&&de[V]){sharedModel.option=de[V];var pe=oe(sharedModel),he=le.ensureUniqueItemVisual(ue,"style");extend(he,pe),sharedModel.option.decal&&(le.setItemVisual(ue,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),ie in pe&&le.setItemVisual(ue,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(t){var r=createHashMap();t.eachSeries(function($){var V=$.getColorBy();if(!$.isColorBySeries()){var oe=$.type+"-"+V,ie=r.get(oe);ie||(ie={},r.set(oe,ie)),inner$9($).scope=ie}}),t.eachSeries(function($){if(!($.isColorBySeries()||t.isSeriesFiltered($))){var V=$.getRawData(),oe={},ie=$.getData(),le=inner$9($).scope,ue=$.visualStyleAccessPath||"itemStyle",de=getDefaultColorKey($,ue);ie.each(function(pe){var he=ie.getRawIndex(pe);oe[he]=pe}),V.each(function(pe){var he=oe[pe],_e=ie.getItemVisual(he,"colorFromPalette");if(_e){var $e=ie.ensureUniqueItemVisual(he,"style"),Ie=V.getName(pe)||pe+"",Ve=V.count();$e[de]=$.getColorFromPalette(Ie,le,Ve)}})}})}},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 $=new Group$3,V=new Rect$2({style:{fill:r.maskColor},zlevel:r.zlevel,z:1e4});$.add(V);var oe=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}),ie=new Rect$2({style:{fill:"none"},textContent:oe,textConfig:{position:"right",distance:10},zlevel:r.zlevel,z:10001});$.add(ie);var le;return r.showSpinner&&(le=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}),le.animateShape(!0).when(1e3,{endAngle:PI$1*3/2}).start("circularInOut"),le.animateShape(!0).when(1e3,{startAngle:PI$1*3/2}).delay(300).start("circularInOut"),$.add(le)),$.resize=function(){var ue=oe.getBoundingRect().width,de=r.showSpinner?r.spinnerRadius:0,pe=(t.getWidth()-de*2-(r.showSpinner&&ue?10:0)-ue)/2-(r.showSpinner&&ue?0:5+ue/2)+(r.showSpinner?0:ue/2)+(ue?0:de),he=t.getHeight()/2;r.showSpinner&&le.setShape({cx:pe,cy:he}),ie.setShape({x:pe-de,y:he-de,width:de*2,height:de*2}),V.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},$.resize(),$}var Scheduler=function(){function t(r,$,V,oe){this._stageTaskMap=createHashMap(),this.ecInstance=r,this.api=$,V=this._dataProcessorHandlers=V.slice(),oe=this._visualHandlers=oe.slice(),this._allHandlers=V.concat(oe)}return t.prototype.restoreData=function(r,$){r.restoreData($),this._stageTaskMap.each(function(V){var oe=V.overallTask;oe&&oe.dirty()})},t.prototype.getPerformArgs=function(r,$){if(r.__pipeline){var V=this._pipelineMap.get(r.__pipeline.id),oe=V.context,ie=!$&&V.progressiveEnabled&&(!oe||oe.progressiveRender)&&r.__idxInPipeline>V.blockIndex,le=ie?V.step:null,ue=oe&&oe.modDataCount,de=ue!=null?Math.ceil(ue/le):null;return{step:le,modBy:de,modDataCount:ue}}},t.prototype.getPipeline=function(r){return this._pipelineMap.get(r)},t.prototype.updateStreamModes=function(r,$){var V=this._pipelineMap.get(r.uid),oe=r.getData(),ie=oe.count(),le=V.progressiveEnabled&&$.incrementalPrepareRender&&ie>=V.threshold,ue=r.get("large")&&ie>=r.get("largeThreshold"),de=r.get("progressiveChunkMode")==="mod"?ie:null;r.pipelineContext=V.context={progressiveRender:le,modDataCount:de,large:ue}},t.prototype.restorePipelines=function(r){var $=this,V=$._pipelineMap=createHashMap();r.eachSeries(function(oe){var ie=oe.getProgressive(),le=oe.uid;V.set(le,{id:le,head:null,tail:null,threshold:oe.getProgressiveThreshold(),progressiveEnabled:ie&&!(oe.preventIncremental&&oe.preventIncremental()),blockIndex:-1,step:Math.round(ie||700),count:0}),$._pipe(oe,oe.dataTask)})},t.prototype.prepareStageTasks=function(){var r=this._stageTaskMap,$=this.api.getModel(),V=this.api;each$c(this._allHandlers,function(oe){var ie=r.get(oe.uid)||r.set(oe.uid,{}),le="";assert(!(oe.reset&&oe.overallReset),le),oe.reset&&this._createSeriesStageTask(oe,ie,$,V),oe.overallReset&&this._createOverallStageTask(oe,ie,$,V)},this)},t.prototype.prepareView=function(r,$,V,oe){var ie=r.renderTask,le=ie.context;le.model=$,le.ecModel=V,le.api=oe,ie.__block=!r.incrementalPrepareRender,this._pipe($,ie)},t.prototype.performDataProcessorTasks=function(r,$){this._performStageTasks(this._dataProcessorHandlers,r,$,{block:!0})},t.prototype.performVisualTasks=function(r,$,V){this._performStageTasks(this._visualHandlers,r,$,V)},t.prototype._performStageTasks=function(r,$,V,oe){oe=oe||{};var ie=!1,le=this;each$c(r,function(de,pe){if(!(oe.visualType&&oe.visualType!==de.visualType)){var he=le._stageTaskMap.get(de.uid),_e=he.seriesTaskMap,$e=he.overallTask;if($e){var Ie,Ve=$e.agentStubMap;Ve.each(function(Ue){ue(oe,Ue)&&(Ue.dirty(),Ie=!0)}),Ie&&$e.dirty(),le.updatePayload($e,V);var Fe=le.getPerformArgs($e,oe.block);Ve.each(function(Ue){Ue.perform(Fe)}),$e.perform(Fe)&&(ie=!0)}else _e&&_e.each(function(Ue,qe){ue(oe,Ue)&&Ue.dirty();var Et=le.getPerformArgs(Ue,oe.block);Et.skip=!de.performRawSeries&&$.isSeriesFiltered(Ue.context.model),le.updatePayload(Ue,V),Ue.perform(Et)&&(ie=!0)})}});function ue(de,pe){return de.setDirty&&(!de.dirtyMap||de.dirtyMap.get(pe.__pipeline.id))}this.unfinished=ie||this.unfinished},t.prototype.performSeriesTasks=function(r){var $;r.eachSeries(function(V){$=V.dataTask.perform()||$}),this.unfinished=$||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(r){var $=r.tail;do{if($.__block){r.blockIndex=$.__idxInPipeline;break}$=$.getUpstream()}while($)})},t.prototype.updatePayload=function(r,$){$!=="remain"&&(r.context.payload=$)},t.prototype._createSeriesStageTask=function(r,$,V,oe){var ie=this,le=$.seriesTaskMap,ue=$.seriesTaskMap=createHashMap(),de=r.seriesType,pe=r.getTargetSeries;r.createOnAllSeries?V.eachRawSeries(he):de?V.eachRawSeriesByType(de,he):pe&&pe(V,oe).each(he);function he(_e){var $e=_e.uid,Ie=ue.set($e,le&&le.get($e)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));Ie.context={model:_e,ecModel:V,api:oe,useClearVisual:r.isVisual&&!r.isLayout,plan:r.plan,reset:r.reset,scheduler:ie},ie._pipe(_e,Ie)}},t.prototype._createOverallStageTask=function(r,$,V,oe){var ie=this,le=$.overallTask=$.overallTask||createTask({reset:overallTaskReset});le.context={ecModel:V,api:oe,overallReset:r.overallReset,scheduler:ie};var ue=le.agentStubMap,de=le.agentStubMap=createHashMap(),pe=r.seriesType,he=r.getTargetSeries,_e=!0,$e=!1,Ie="";assert(!r.createOnAllSeries,Ie),pe?V.eachRawSeriesByType(pe,Ve):he?he(V,oe).each(Ve):(_e=!1,each$c(V.getSeries(),Ve));function Ve(Fe){var Ue=Fe.uid,qe=de.set(Ue,ue&&ue.get(Ue)||($e=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));qe.context={model:Fe,overallProgress:_e},qe.agent=le,qe.__block=_e,ie._pipe(Fe,qe)}$e&&le.dirty()},t.prototype._pipe=function(r,$){var V=r.uid,oe=this._pipelineMap.get(V);!oe.head&&(oe.head=$),oe.tail&&oe.tail.pipe($),oe.tail=$,$.__idxInPipeline=oe.count++,$.__pipeline=oe},t.wrapStageHandler=function(r,$){return isFunction(r)&&(r={overallReset:r,seriesType:detectSeriseType(r)}),r.uid=getUID("stageHandler"),$&&(r.visualType=$),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){return makeSeriesTaskProgress(V)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(t){return function(r,$){var V=$.data,oe=$.resetDefines[t];if(oe&&oe.dataEach)for(var ie=r.start;ie<r.end;ie++)oe.dataEach(V,ie);else oe&&oe.progress&&oe.progress(r,V)}}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 $ in r.prototype)t[$]=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={};if(isString(r)){var ie=parseClassType(r);$.mainType=ie.main||null,$.subType=ie.sub||null}else{var le=["Index","Name","Id"],ue={name:1,dataIndex:1,dataType:1};each$c(r,function(de,pe){for(var he=!1,_e=0;_e<le.length;_e++){var $e=le[_e],Ie=pe.lastIndexOf($e);if(Ie>0&&Ie===pe.length-$e.length){var Ve=pe.slice(0,Ie);Ve!=="data"&&($.mainType=Ve,$[$e.toLowerCase()]=de,he=!0)}}ue.hasOwnProperty(pe)&&(V[pe]=de,he=!0),he||(oe[pe]=de)})}return{cptQuery:$,dataQuery:V,otherQuery:oe}},t.prototype.filter=function(r,$){var V=this.eventInfo;if(!V)return!0;var oe=V.targetEl,ie=V.packedEvent,le=V.model,ue=V.view;if(!le||!ue)return!0;var de=$.cptQuery,pe=$.dataQuery;return he(de,le,"mainType")&&he(de,le,"subType")&&he(de,le,"index","componentIndex")&&he(de,le,"name")&&he(de,le,"id")&&he(pe,ie,"name")&&he(pe,ie,"dataIndex")&&he(pe,ie,"dataType")&&(!ue.filterForExposedEvent||ue.filterForExposedEvent(r,$.otherQuery,oe,ie));function he(_e,$e,Ie,Ve){return _e[Ie]==null||$e[Ve||Ie]===_e[Ie]}},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 $=t.getData();if(t.legendIcon&&$.setVisual("legendIcon",t.legendIcon),!t.hasSymbolVisual)return;for(var V={},oe={},ie=!1,le=0;le<SYMBOL_PROPS_WITH_CB.length;le++){var ue=SYMBOL_PROPS_WITH_CB[le],de=t.get(ue);isFunction(de)?(ie=!0,oe[ue]=de):V[ue]=de}if(V.symbol=V.symbol||t.defaultSymbol,$.setVisual(extend({legendIcon:t.legendIcon||V.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},V)),r.isSeriesFiltered(t))return;var pe=keys(oe);function he(_e,$e){for(var Ie=t.getRawValue($e),Ve=t.getDataParams($e),Fe=0;Fe<pe.length;Fe++){var Ue=pe[Fe];_e.setItemVisual($e,Ue,oe[Ue](Ie,Ve))}}return{dataEach:ie?he:null}}},dataSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){if(!t.hasSymbolVisual||r.isSeriesFiltered(t))return;var $=t.getData();function V(oe,ie){for(var le=oe.getItemModel(ie),ue=0;ue<SYMBOL_PROPS.length;ue++){var de=SYMBOL_PROPS[ue],pe=le.getShallow(de,!0);pe!=null&&oe.setItemVisual(ie,de,pe)}}return{dataEach:$.hasItemOption?V:null}}};function getItemVisualFromData(t,r,$){switch($){case"color":var V=t.getItemVisual(r,"style");return V[t.getVisual("drawType")];case"opacity":return t.getItemVisual(r,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(r,$)}}function getVisualFromData(t,r){switch(r){case"color":var $=t.getVisual("style");return $[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){switch($){case"color":var oe=t.ensureUniqueItemVisual(r,"style");oe[t.getVisual("drawType")]=V,t.setItemVisual(r,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(r,"style").opacity=V;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(r,$,V);break}}function createLegacyDataSelectAction(t,r){function $(V,oe){var ie=[];return V.eachComponent({mainType:"series",subType:t,query:oe},function(le){ie.push(le.seriesIndex)}),ie}each$c([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(V){r(V[0],function(oe,ie,le){oe=extend({},oe),le.dispatchAction(extend(oe,{type:V[1],seriesIndex:$(ie,oe)}))})})}function handleSeriesLegacySelectEvents(t,r,$,V,oe){var ie=t+r;$.isSilent(ie)||V.eachComponent({mainType:"series",subType:"pie"},function(le){for(var ue=le.seriesIndex,de=le.option.selectedMap,pe=oe.selected,he=0;he<pe.length;he++)if(pe[he].seriesIndex===ue){var _e=le.getData(),$e=queryDataIndex(_e,oe.fromActionPayload);$.trigger(ie,{type:ie,seriesId:le.id,name:isArray$1($e)?_e.getName($e[0]):_e.getName($e),selected:isString(de)?de:extend({},de)})}})}function handleLegacySelectEvents(t,r,$){t.on("selectchanged",function(V){var oe=$.getModel();V.isFromClick?(handleSeriesLegacySelectEvents("map","selectchanged",r,oe,V),handleSeriesLegacySelectEvents("pie","selectchanged",r,oe,V)):V.fromAction==="select"?(handleSeriesLegacySelectEvents("map","selected",r,oe,V),handleSeriesLegacySelectEvents("pie","selected",r,oe,V)):V.fromAction==="unselect"&&(handleSeriesLegacySelectEvents("map","unselected",r,oe,V),handleSeriesLegacySelectEvents("pie","unselected",r,oe,V))})}function findEventDispatcher(t,r,$){for(var V;t&&!(r(t)&&(V=t,$));)t=t.__hostTarget||t.parent;return V}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,$){var V=this._guard(r);return supportDefineProperty?Object.defineProperty(V,this._id,{value:$,enumerable:!1,configurable:!0}):V[this._id]=$,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 $=r.cx,V=r.cy,oe=r.width/2,ie=r.height/2;t.moveTo($,V-ie),t.lineTo($+oe,V+ie),t.lineTo($-oe,V+ie),t.closePath()}}),Diamond=Path$1.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,r){var $=r.cx,V=r.cy,oe=r.width/2,ie=r.height/2;t.moveTo($,V-ie),t.lineTo($+oe,V),t.lineTo($,V+ie),t.lineTo($-oe,V),t.closePath()}}),Pin=Path$1.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,r){var $=r.x,V=r.y,oe=r.width/5*3,ie=Math.max(oe,r.height),le=oe/2,ue=le*le/(ie-le),de=V-ie+le+ue,pe=Math.asin(ue/le),he=Math.cos(pe)*le,_e=Math.sin(pe),$e=Math.cos(pe),Ie=le*.6,Ve=le*.7;t.moveTo($-he,de+ue),t.arc($,de,le,Math.PI-pe,Math.PI*2+pe),t.bezierCurveTo($+he-_e*Ie,de+ue+$e*Ie,$,V-Ve,$,V),t.bezierCurveTo($,V-Ve,$-he+_e*Ie,de+ue+$e*Ie,$-he,de+ue),t.closePath()}}),Arrow=Path$1.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,r){var $=r.height,V=r.width,oe=r.x,ie=r.y,le=V/3*2;t.moveTo(oe,ie),t.lineTo(oe+le,ie+$),t.lineTo(oe,ie+$/4*3),t.lineTo(oe-le,ie+$),t.lineTo(oe,ie),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){oe.x1=t,oe.y1=r+V/2,oe.x2=t+$,oe.y2=r+V/2},rect:function(t,r,$,V,oe){oe.x=t,oe.y=r,oe.width=$,oe.height=V},roundRect:function(t,r,$,V,oe){oe.x=t,oe.y=r,oe.width=$,oe.height=V,oe.r=Math.min($,V)/4},square:function(t,r,$,V,oe){var ie=Math.min($,V);oe.x=t,oe.y=r,oe.width=ie,oe.height=ie},circle:function(t,r,$,V,oe){oe.cx=t+$/2,oe.cy=r+V/2,oe.r=Math.min($,V)/2},diamond:function(t,r,$,V,oe){oe.cx=t+$/2,oe.cy=r+V/2,oe.width=$,oe.height=V},pin:function(t,r,$,V,oe){oe.x=t+$/2,oe.y=r+V/2,oe.width=$,oe.height=V},arrow:function(t,r,$,V,oe){oe.x=t+$/2,oe.y=r+V/2,oe.width=$,oe.height=V},triangle:function(t,r,$,V,oe){oe.cx=t+$/2,oe.cy=r+V/2,oe.width=$,oe.height=V}},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,$){var V=calculateTextPosition(t,r,$),oe=this.shape;return oe&&oe.symbolType==="pin"&&r.position==="inside"&&(V.y=$.y+$.height*.4),V},buildPath:function(t,r,$){var V=r.symbolType;if(V!=="none"){var oe=symbolBuildProxies[V];oe||(V="rect",oe=symbolBuildProxies[V]),symbolShapeMakers[V](r.x,r.y,r.width,r.height,oe.shape),oe.buildPath(t,oe.shape,$)}}});function symbolPathSetColor(t,r){if(this.type!=="image"){var $=this.style;this.__isEmptyBrush?($.stroke=t,$.fill=r||"#fff",$.lineWidth=2):this.shape.symbolType==="line"?$.stroke=t:$.fill=t,this.markRedraw()}}function createSymbol(t,r,$,V,oe,ie,le){var ue=t.indexOf("empty")===0;ue&&(t=t.substr(5,1).toLowerCase()+t.substr(6));var de;return t.indexOf("image://")===0?de=makeImage(t.slice(8),new BoundingRect$1(r,$,V,oe),le?"center":"cover"):t.indexOf("path://")===0?de=makePath(t.slice(7),{},new BoundingRect$1(r,$,V,oe),le?"center":"cover"):de=new SymbolClz$1({shape:{symbolType:t,x:r,y:$,width:V,height:oe}}),de.__isEmptyBrush=ue,de.setColor=symbolPathSetColor,ie&&de.setColor(ie),de}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,$){var V=r.x==null?0:r.x,oe=r.x2==null?1:r.x2,ie=r.y==null?0:r.y,le=r.y2==null?0:r.y2;r.global||(V=V*$.width+$.x,oe=oe*$.width+$.x,ie=ie*$.height+$.y,le=le*$.height+$.y),V=isSafeNum(V)?V:0,oe=isSafeNum(oe)?oe:1,ie=isSafeNum(ie)?ie:0,le=isSafeNum(le)?le:0;var ue=t.createLinearGradient(V,ie,oe,le);return ue}function createRadialGradient(t,r,$){var V=$.width,oe=$.height,ie=Math.min(V,oe),le=r.x==null?.5:r.x,ue=r.y==null?.5:r.y,de=r.r==null?.5:r.r;r.global||(le=le*V+$.x,ue=ue*oe+$.y,de=de*ie),le=isSafeNum(le)?le:.5,ue=isSafeNum(ue)?ue:.5,de=de>=0&&isSafeNum(de)?de:.5;var pe=t.createRadialGradient(le,ue,0,le,ue,de);return pe}function getCanvasGradient(t,r,$){for(var V=r.type==="radial"?createRadialGradient(t,r,$):createLinearGradient(t,r,$),oe=r.colorStops,ie=0;ie<oe.length;ie++)V.addColorStop(oe[ie].offset,oe[ie].color);return V}function isClipPathChanged(t,r){if(t===r||!t&&!r)return!1;if(!t||!r||t.length!==r.length)return!0;for(var $=0;$<t.length;$++)if(t[$]!==r[$])return!0;return!1}function parseInt10(t){return parseInt(t,10)}function getSize$1(t,r,$){var V=["width","height"][r],oe=["clientWidth","clientHeight"][r],ie=["paddingLeft","paddingTop"][r],le=["paddingRight","paddingBottom"][r];if($[V]!=null&&$[V]!=="auto")return parseFloat($[V]);var ue=document.defaultView.getComputedStyle(t);return(t[oe]||parseInt10(ue[V])||parseInt10(t.style[V]))-(parseInt10(ue[ie])||0)-(parseInt10(ue[le])||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,$=r.lineDash&&r.lineWidth>0&&normalizeLineDash(r.lineDash,r.lineWidth),V=r.lineDashOffset;if($){var oe=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;oe&&oe!==1&&($=map$2($,function(ie){return ie/oe}),V/=oe)}return[$,V]}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 $=t.globalAlpha;t.globalAlpha=r.fillOpacity*r.opacity,t.fill(),t.globalAlpha=$}else t.fill()}function doStrokePath(t,r){if(r.strokeOpacity!=null&&r.strokeOpacity!==1){var $=t.globalAlpha;t.globalAlpha=r.strokeOpacity*r.opacity,t.stroke(),t.globalAlpha=$}else t.stroke()}function createCanvasPattern(t,r,$){var V=createOrUpdateImage(r.image,r.__image,$);if(isImageReady(V)){var oe=t.createPattern(V,r.repeat||"repeat");if(typeof DOMMatrix=="function"&&oe&&oe.setTransform){var ie=new DOMMatrix;ie.translateSelf(r.x||0,r.y||0),ie.rotateSelf(0,0,(r.rotation||0)*RADIAN_TO_DEGREE),ie.scaleSelf(r.scaleX||1,r.scaleY||1),oe.setTransform(ie)}return oe}}function brushPath(t,r,$,V){var oe,ie=styleHasStroke($),le=styleHasFill($),ue=$.strokePercent,de=ue<1,pe=!r.path;(!r.silent||de)&&pe&&r.createPathProxy();var he=r.path||pathProxyForDraw,_e=r.__dirty;if(!V){var $e=$.fill,Ie=$.stroke,Ve=le&&!!$e.colorStops,Fe=ie&&!!Ie.colorStops,Ue=le&&!!$e.image,qe=ie&&!!Ie.image,Et=void 0,Lt=void 0,hn=void 0,Cn=void 0,bn=void 0;(Ve||Fe)&&(bn=r.getBoundingRect()),Ve&&(Et=_e?getCanvasGradient(t,$e,bn):r.__canvasFillGradient,r.__canvasFillGradient=Et),Fe&&(Lt=_e?getCanvasGradient(t,Ie,bn):r.__canvasStrokeGradient,r.__canvasStrokeGradient=Lt),Ue&&(hn=_e||!r.__canvasFillPattern?createCanvasPattern(t,$e,r):r.__canvasFillPattern,r.__canvasFillPattern=hn),qe&&(Cn=_e||!r.__canvasStrokePattern?createCanvasPattern(t,Ie,r):r.__canvasStrokePattern,r.__canvasStrokePattern=hn),Ve?t.fillStyle=Et:Ue&&(hn?t.fillStyle=hn:le=!1),Fe?t.strokeStyle=Lt:qe&&(Cn?t.strokeStyle=Cn:ie=!1)}var Sn=r.getGlobalScale();he.setScale(Sn[0],Sn[1],r.segmentIgnoreThreshold);var En,wn;t.setLineDash&&$.lineDash&&(oe=getLineDash(r),En=oe[0],wn=oe[1]);var $n=!0;(pe||_e&SHAPE_CHANGED_BIT)&&(he.setDPR(t.dpr),de?he.setContext(null):(he.setContext(t),$n=!1),he.reset(),r.buildPath(he,r.shape,V),he.toStatic(),r.pathUpdated()),$n&&he.rebuildPath(t,de?ue:1),En&&(t.setLineDash(En),t.lineDashOffset=wn),V||($.strokeFirst?(ie&&doStrokePath(t,$),le&&doFillPath(t,$)):(le&&doFillPath(t,$),ie&&doStrokePath(t,$))),En&&t.setLineDash([])}function brushImage(t,r,$){var V=r.__image=createOrUpdateImage($.image,r.__image,r,r.onload);if(!(!V||!isImageReady(V))){var oe=$.x||0,ie=$.y||0,le=r.getWidth(),ue=r.getHeight(),de=V.width/V.height;if(le==null&&ue!=null?le=ue*de:ue==null&&le!=null?ue=le/de:le==null&&ue==null&&(le=V.width,ue=V.height),$.sWidth&&$.sHeight){var pe=$.sx||0,he=$.sy||0;t.drawImage(V,pe,he,$.sWidth,$.sHeight,oe,ie,le,ue)}else if($.sx&&$.sy){var pe=$.sx,he=$.sy,_e=le-pe,$e=ue-he;t.drawImage(V,pe,he,_e,$e,oe,ie,le,ue)}else t.drawImage(V,oe,ie,le,ue)}}function brushText(t,r,$){var V,oe=$.text;if(oe!=null&&(oe+=""),oe){t.font=$.font||DEFAULT_FONT,t.textAlign=$.textAlign,t.textBaseline=$.textBaseline;var ie=void 0,le=void 0;t.setLineDash&&$.lineDash&&(V=getLineDash(r),ie=V[0],le=V[1]),ie&&(t.setLineDash(ie),t.lineDashOffset=le),$.strokeFirst?(styleHasStroke($)&&t.strokeText(oe,$.x,$.y),styleHasFill($)&&t.fillText(oe,$.x,$.y)):(styleHasFill($)&&t.fillText(oe,$.x,$.y),styleHasStroke($)&&t.strokeText(oe,$.x,$.y)),ie&&t.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(t,r,$,V,oe){var ie=!1;if(!V&&($=$||{},r===$))return!1;if(V||r.opacity!==$.opacity){flushPathDrawn(t,oe),ie=!0;var le=Math.max(Math.min(r.opacity,1),0);t.globalAlpha=isNaN(le)?DEFAULT_COMMON_STYLE.opacity:le}(V||r.blend!==$.blend)&&(ie||(flushPathDrawn(t,oe),ie=!0),t.globalCompositeOperation=r.blend||DEFAULT_COMMON_STYLE.blend);for(var ue=0;ue<SHADOW_NUMBER_PROPS.length;ue++){var de=SHADOW_NUMBER_PROPS[ue];(V||r[de]!==$[de])&&(ie||(flushPathDrawn(t,oe),ie=!0),t[de]=t.dpr*(r[de]||0))}return(V||r.shadowColor!==$.shadowColor)&&(ie||(flushPathDrawn(t,oe),ie=!0),t.shadowColor=r.shadowColor||DEFAULT_COMMON_STYLE.shadowColor),ie}function bindPathAndTextCommonStyle(t,r,$,V,oe){var ie=getStyle(r,oe.inHover),le=V?null:$&&getStyle($,oe.inHover)||{};if(ie===le)return!1;var ue=bindCommonProps(t,ie,le,V,oe);if((V||ie.fill!==le.fill)&&(ue||(flushPathDrawn(t,oe),ue=!0),isValidStrokeFillStyle(ie.fill)&&(t.fillStyle=ie.fill)),(V||ie.stroke!==le.stroke)&&(ue||(flushPathDrawn(t,oe),ue=!0),isValidStrokeFillStyle(ie.stroke)&&(t.strokeStyle=ie.stroke)),(V||ie.opacity!==le.opacity)&&(ue||(flushPathDrawn(t,oe),ue=!0),t.globalAlpha=ie.opacity==null?1:ie.opacity),r.hasStroke()){var de=ie.lineWidth,pe=de/(ie.strokeNoScale&&r.getLineScale?r.getLineScale():1);t.lineWidth!==pe&&(ue||(flushPathDrawn(t,oe),ue=!0),t.lineWidth=pe)}for(var he=0;he<STROKE_PROPS.length;he++){var _e=STROKE_PROPS[he],$e=_e[0];(V||ie[$e]!==le[$e])&&(ue||(flushPathDrawn(t,oe),ue=!0),t[$e]=ie[$e]||_e[1])}return ue}function bindImageStyle(t,r,$,V,oe){return bindCommonProps(t,getStyle(r,oe.inHover),$&&getStyle($,oe.inHover),V,oe)}function setContextTransform(t,r){var $=r.transform,V=t.dpr||1;$?t.setTransform(V*$[0],V*$[1],V*$[2],V*$[3],V*$[4],V*$[5]):t.setTransform(V,0,0,V,0,0)}function updateClipStatus(t,r,$){for(var V=!1,oe=0;oe<t.length;oe++){var ie=t[oe];V=V||ie.isZeroArea(),setContextTransform(r,ie),r.beginPath(),ie.buildPath(r,ie.shape),r.clip()}$.allClipped=V}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),$=styleHasStroke(t);return!(t.lineDash||!(+r^+$)||r&&typeof t.fill!="string"||$&&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){var oe=r.transform;if(!r.shouldBePainted($.viewWidth,$.viewHeight,!1,!1)){r.__dirty&=~REDRAW_BIT,r.__isRendered=!1;return}var ie=r.__clipPaths,le=$.prevElClipPaths,ue=!1,de=!1;if((!le||isClipPathChanged(ie,le))&&(le&&le.length&&(flushPathDrawn(t,$),t.restore(),de=ue=!0,$.prevElClipPaths=null,$.allClipped=!1,$.prevEl=null),ie&&ie.length&&(flushPathDrawn(t,$),t.save(),updateClipStatus(ie,t,$),ue=!0),$.prevElClipPaths=ie),$.allClipped){r.__isRendered=!1;return}r.beforeBrush&&r.beforeBrush(),r.innerBeforeBrush();var pe=$.prevEl;pe||(de=ue=!0);var he=r instanceof Path$1&&r.autoBatch&&canPathBatch(r.style);ue||isTransformChanged(oe,pe.transform)?(flushPathDrawn(t,$),setContextTransform(t,r)):he||flushPathDrawn(t,$);var _e=getStyle(r,$.inHover);r instanceof Path$1?($.lastDrawType!==DRAW_TYPE_PATH&&(de=!0,$.lastDrawType=DRAW_TYPE_PATH),bindPathAndTextCommonStyle(t,r,pe,de,$),(!he||!$.batchFill&&!$.batchStroke)&&t.beginPath(),brushPath(t,r,_e,he),he&&($.batchFill=_e.fill||"",$.batchStroke=_e.stroke||"")):r instanceof TSpan$1?($.lastDrawType!==DRAW_TYPE_TEXT&&(de=!0,$.lastDrawType=DRAW_TYPE_TEXT),bindPathAndTextCommonStyle(t,r,pe,de,$),brushText(t,r,_e)):r instanceof ZRImage$1?($.lastDrawType!==DRAW_TYPE_IMAGE&&(de=!0,$.lastDrawType=DRAW_TYPE_IMAGE),bindImageStyle(t,r,pe,de,$),brushImage(t,r,_e)):r.getTemporalDisplayables&&($.lastDrawType!==DRAW_TYPE_INCREMENTAL&&(de=!0,$.lastDrawType=DRAW_TYPE_INCREMENTAL),brushIncremental(t,r,$)),he&&V&&flushPathDrawn(t,$),r.innerAfterBrush(),r.afterBrush&&r.afterBrush(),$.prevEl=r,r.__dirty=0,r.__isRendered=!0}function brushIncremental(t,r,$){var V=r.getDisplayables(),oe=r.getTemporalDisplayables();t.save();var ie={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:$.viewWidth,viewHeight:$.viewHeight,inHover:$.inHover},le,ue;for(le=r.getCursor(),ue=V.length;le<ue;le++){var de=V[le];de.beforeBrush&&de.beforeBrush(),de.innerBeforeBrush(),brush(t,de,ie,le===ue-1),de.innerAfterBrush(),de.afterBrush&&de.afterBrush(),ie.prevEl=de}for(var pe=0,he=oe.length;pe<he;pe++){var de=oe[pe];de.beforeBrush&&de.beforeBrush(),de.innerBeforeBrush(),brush(t,de,ie,pe===he-1),de.innerAfterBrush(),de.afterBrush&&de.afterBrush(),ie.prevEl=de}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 $=r.getDevicePixelRatio(),V=r.getZr(),oe=V.painter.type==="svg";t.dirty&&decalMap.delete(t);var ie=decalMap.get(t);if(ie)return ie;var le=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});le.backgroundColor==="none"&&(le.backgroundColor=null);var ue={repeat:"repeat"};return de(ue),ue.rotation=le.rotation,ue.scaleX=ue.scaleY=oe?1:1/$,decalMap.set(t,ue),t.dirty=!1,ue;function de(pe){for(var he=[$],_e=!0,$e=0;$e<decalKeys.length;++$e){var Ie=le[decalKeys[$e]];if(Ie!=null&&!isArray$1(Ie)&&!isString(Ie)&&!isNumber(Ie)&&typeof Ie!="boolean"){_e=!1;break}he.push(Ie)}var Ve;if(_e){Ve=he.join(",")+(oe?"-svg":"");var Fe=decalCache.get(Ve);Fe&&(oe?pe.svgElement=Fe:pe.image=Fe)}var Ue=normalizeDashArrayX(le.dashArrayX),qe=normalizeDashArrayY(le.dashArrayY),Et=normalizeSymbolArray(le.symbol),Lt=getLineBlockLengthX(Ue),hn=getLineBlockLengthY(qe),Cn=!oe&&platformApi.createCanvas(),bn=oe&&{tag:"g",attrs:{},key:"dcl",children:[]},Sn=wn(),En;Cn&&(Cn.width=Sn.width*$,Cn.height=Sn.height*$,En=Cn.getContext("2d")),$n(),_e&&decalCache.put(Ve,Cn||bn),pe.image=Cn,pe.svgElement=bn,pe.svgWidth=Sn.width,pe.svgHeight=Sn.height;function wn(){for(var Tn=1,xn=0,An=Lt.length;xn<An;++xn)Tn=getLeastCommonMultiple(Tn,Lt[xn]);for(var Mn=1,xn=0,An=Et.length;xn<An;++xn)Mn=getLeastCommonMultiple(Mn,Et[xn].length);Tn*=Mn;var Vn=hn*Lt.length*Et.length;return{width:Math.max(1,Math.min(Tn,le.maxTileWidth)),height:Math.max(1,Math.min(Vn,le.maxTileHeight))}}function $n(){En&&(En.clearRect(0,0,Cn.width,Cn.height),le.backgroundColor&&(En.fillStyle=le.backgroundColor,En.fillRect(0,0,Cn.width,Cn.height)));for(var Tn=0,xn=0;xn<qe.length;++xn)Tn+=qe[xn];if(Tn<=0)return;for(var An=-hn,Mn=0,Vn=0,Bn=0;An<Sn.height;){if(Mn%2===0){for(var Dn=Vn/2%Et.length,Ln=0,Pn=0,Fn=0;Ln<Sn.width*2;){for(var Un=0,xn=0;xn<Ue[Bn].length;++xn)Un+=Ue[Bn][xn];if(Un<=0)break;if(Pn%2===0){var Wn=(1-le.symbolSize)*.5,Zn=Ln+Ue[Bn][Pn]*Wn,or=An+qe[Mn]*Wn,br=Ue[Bn][Pn]*le.symbolSize,Qn=qe[Mn]*le.symbolSize,Gn=Fn/2%Et[Dn].length;Yn(Zn,or,br,Qn,Et[Dn][Gn])}Ln+=Ue[Bn][Pn],++Fn,++Pn,Pn===Ue[Bn].length&&(Pn=0)}++Bn,Bn===Ue.length&&(Bn=0)}An+=qe[Mn],++Vn,++Mn,Mn===qe.length&&(Mn=0)}function Yn(er,lr,sr,zn,Kn){var Jn=oe?1:$,cr=createSymbol(Kn,er*Jn,lr*Jn,sr*Jn,zn*Jn,le.color,le.symbolKeepAspect);if(oe){var _r=V.painter.renderOneToVNode(cr);_r&&bn.children.push(_r)}else brushSingle(En,cr)}}}}function normalizeSymbolArray(t){if(!t||t.length===0)return[["rect"]];if(isString(t))return[[t]];for(var r=!0,$=0;$<t.length;++$)if(!isString(t[$])){r=!1;break}if(r)return normalizeSymbolArray([t]);for(var V=[],$=0;$<t.length;++$)isString(t[$])?V.push([t[$]]):V.push(t[$]);return V}function normalizeDashArrayX(t){if(!t||t.length===0)return[[0,0]];if(isNumber(t)){var r=Math.ceil(t);return[[r,r]]}for(var $=!0,V=0;V<t.length;++V)if(!isNumber(t[V])){$=!1;break}if($)return normalizeDashArrayX([t]);for(var oe=[],V=0;V<t.length;++V)if(isNumber(t[V])){var r=Math.ceil(t[V]);oe.push([r,r])}else{var r=map$2(t[V],function(ue){return Math.ceil(ue)});r.length%2===1?oe.push(r.concat(r)):oe.push(r)}return oe}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 $=map$2(t,function(V){return Math.ceil(V)});return t.length%2?$.concat($):$}function getLineBlockLengthX(t){return map$2(t,function(r){return getLineBlockLengthY(r)})}function getLineBlockLengthY(t){for(var r=0,$=0;$<t.length;++$)r+=t[$];return t.length%2===1?r*2:r}function decalVisual(t,r){t.eachRawSeries(function($){if(!t.isSeriesFiltered($)){var V=$.getData();V.hasItemVisual()&&V.each(function(le){var ue=V.getItemVisual(le,"decal");if(ue){var de=V.ensureUniqueItemVisual(le,"style");de.decal=createOrUpdatePatternFromDecal(ue,r)}});var oe=V.getVisual("decal");if(oe){var ie=V.getVisual("style");ie.decal=createOrUpdatePatternFromDecal(oe,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=[],$=0;$<arguments.length;$++)r[$]=arguments[$];if(this.isDisposed()){this.id;return}return toLowercaseNameAndCallEventful(this,t,r)}}function createRegisterEventWithLowercaseMessageCenter(t){return function(){for(var r=[],$=0;$<arguments.length;$++)r[$]=arguments[$];return toLowercaseNameAndCallEventful(this,t,r)}}function toLowercaseNameAndCallEventful(t,r,$){return $[0]=$[0]&&$[0].toLowerCase(),Eventful$1.prototype[r].apply(t,$)}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){var ie=t.call(this,new ECEventProcessor)||this;ie._chartsViews=[],ie._chartsMap={},ie._componentsViews=[],ie._componentsMap={},ie._pendingActions=[],oe=oe||{},isString(V)&&(V=themeStorage[V]),ie._dom=$;var le="canvas",ue="auto",de=!1,pe=ie._zr=init$1($,{renderer:oe.renderer||le,devicePixelRatio:oe.devicePixelRatio,width:oe.width,height:oe.height,ssr:oe.ssr,useDirtyRect:retrieve2(oe.useDirtyRect,de),useCoarsePointer:retrieve2(oe.useCoarsePointer,ue),pointerSize:oe.pointerSize});ie._ssr=oe.ssr,ie._throttledZrFlush=throttle(bind$1(pe.flush,pe),17),V=clone$3(V),V&&globalBackwardCompat(V,!0),ie._theme=V,ie._locale=createLocaleObject(oe.locale||SYSTEM_LANG),ie._coordSysMgr=new CoordinateSystem;var he=ie._api=createExtensionAPI(ie);function _e($e,Ie){return $e.__prio-Ie.__prio}return sort(visualFuncs,_e),sort(dataProcessorFuncs,_e),ie._scheduler=new Scheduler$1(ie,he,dataProcessorFuncs,visualFuncs),ie._messageCenter=new MessageCenter,ie._initEvents(),ie.resize=bind$1(ie.resize,ie),pe.animation.on("frame",ie._onframe,ie),bindRenderedEvent(pe,ie),bindMouseEvent(pe,ie),setAsPrimitive(ie),ie}return r.prototype._onframe=function(){if(!this._disposed){applyChangedStates(this);var $=this._scheduler;if(this[PENDING_UPDATE]){var V=this[PENDING_UPDATE].silent;this[IN_MAIN_PROCESS_KEY]=!0;try{prepare$1(this),updateMethods.update.call(this,null,this[PENDING_UPDATE].updateParams)}catch(de){throw this[IN_MAIN_PROCESS_KEY]=!1,this[PENDING_UPDATE]=null,de}this._zr.flush(),this[IN_MAIN_PROCESS_KEY]=!1,this[PENDING_UPDATE]=null,flushPendingActions.call(this,V),triggerUpdatedEvent.call(this,V)}else if($.unfinished){var oe=TEST_FRAME_REMAIN_TIME,ie=this._model,le=this._api;$.unfinished=!1;do{var ue=+new Date;$.performSeriesTasks(ie),$.performDataProcessorTasks(ie),updateStreamModes(this,ie),$.performVisualTasks(ie),renderSeries(this,this._model,le,"remain",{}),oe-=+new Date-ue}while(oe>0&&$.unfinished);$.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){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var ie,le,ue;if(isObject$3(V)&&(oe=V.lazyUpdate,ie=V.silent,le=V.replaceMerge,ue=V.transition,V=V.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||V){var de=new OptionManager$1(this._api),pe=this._theme,he=this._model=new GlobalModel$1;he.scheduler=this._scheduler,he.ssr=this._ssr,he.init(null,null,null,pe,this._locale,de)}this._model.setOption($,{replaceMerge:le},optionPreprocessorFuncs);var _e={seriesTransition:ue,optionChanged:!0};if(oe)this[PENDING_UPDATE]={silent:ie,updateParams:_e},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare$1(this),updateMethods.update.call(this,null,_e)}catch($e){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,$e}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,ie),triggerUpdatedEvent.call(this,ie)}}},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($){return this.renderToCanvas($)},r.prototype.renderToCanvas=function($){$=$||{};var V=this._zr.painter;return V.getRenderedCanvas({backgroundColor:$.backgroundColor||this._model.get("backgroundColor"),pixelRatio:$.pixelRatio||this.getDevicePixelRatio()})},r.prototype.renderToSVGString=function($){$=$||{};var V=this._zr.painter;return V.renderToString({useViewBox:$.useViewBox})},r.prototype.getSvgDataURL=function(){if(env$1.svgSupported){var $=this._zr,V=$.storage.getDisplayList();return each$c(V,function(oe){oe.stopAnimation(null,!0)}),$.painter.toDataURL()}},r.prototype.getDataURL=function($){if(this._disposed){this.id;return}$=$||{};var V=$.excludeComponents,oe=this._model,ie=[],le=this;each$c(V,function(de){oe.eachComponent({mainType:de},function(pe){var he=le._componentsMap[pe.__viewId];he.group.ignore||(ie.push(he),he.group.ignore=!0)})});var ue=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas($).toDataURL("image/"+($&&$.type||"png"));return each$c(ie,function(de){de.group.ignore=!1}),ue},r.prototype.getConnectedDataURL=function($){if(this._disposed){this.id;return}var V=$.type==="svg",oe=this.group,ie=Math.min,le=Math.max,ue=1/0;if(connectedGroups[oe]){var de=ue,pe=ue,he=-ue,_e=-ue,$e=[],Ie=$&&$.pixelRatio||this.getDevicePixelRatio();each$c(instances,function(Lt,hn){if(Lt.group===oe){var Cn=V?Lt.getZr().painter.getSvgDom().innerHTML:Lt.renderToCanvas(clone$3($)),bn=Lt.getDom().getBoundingClientRect();de=ie(bn.left,de),pe=ie(bn.top,pe),he=le(bn.right,he),_e=le(bn.bottom,_e),$e.push({dom:Cn,left:bn.left,top:bn.top})}}),de*=Ie,pe*=Ie,he*=Ie,_e*=Ie;var Ve=he-de,Fe=_e-pe,Ue=platformApi.createCanvas(),qe=init$1(Ue,{renderer:V?"svg":"canvas"});if(qe.resize({width:Ve,height:Fe}),V){var Et="";return each$c($e,function(Lt){var hn=Lt.left-de,Cn=Lt.top-pe;Et+='<g transform="translate('+hn+","+Cn+')">'+Lt.dom+"</g>"}),qe.painter.getSvgRoot().innerHTML=Et,$.connectedBackgroundColor&&qe.painter.setBackgroundColor($.connectedBackgroundColor),qe.refreshImmediately(),qe.painter.toDataURL()}else return $.connectedBackgroundColor&&qe.add(new Rect$2({shape:{x:0,y:0,width:Ve,height:Fe},style:{fill:$.connectedBackgroundColor}})),each$c($e,function(Lt){var hn=new ZRImage$1({style:{x:Lt.left*Ie-de,y:Lt.top*Ie-pe,image:Lt.dom}});qe.add(hn)}),qe.refreshImmediately(),Ue.toDataURL("image/"+($&&$.type||"png"))}else return this.getDataURL($)},r.prototype.convertToPixel=function($,V){return doConvertPixel(this,"convertToPixel",$,V)},r.prototype.convertFromPixel=function($,V){return doConvertPixel(this,"convertFromPixel",$,V)},r.prototype.containPixel=function($,V){if(this._disposed){this.id;return}var oe=this._model,ie,le=parseFinder$1(oe,$);return each$c(le,function(ue,de){de.indexOf("Models")>=0&&each$c(ue,function(pe){var he=pe.coordinateSystem;if(he&&he.containPoint)ie=ie||!!he.containPoint(V);else if(de==="seriesModels"){var _e=this._chartsMap[pe.__viewId];_e&&_e.containPoint&&(ie=ie||_e.containPoint(V,pe))}},this)},this),!!ie},r.prototype.getVisual=function($,V){var oe=this._model,ie=parseFinder$1(oe,$,{defaultMainType:"series"}),le=ie.seriesModel,ue=le.getData(),de=ie.hasOwnProperty("dataIndexInside")?ie.dataIndexInside:ie.hasOwnProperty("dataIndex")?ue.indexOfRawIndex(ie.dataIndex):null;return de!=null?getItemVisualFromData(ue,de,V):getVisualFromData(ue,V)},r.prototype.getViewOfComponentModel=function($){return this._componentsMap[$.__viewId]},r.prototype.getViewOfSeriesModel=function($){return this._chartsMap[$.__viewId]},r.prototype._initEvents=function(){var $=this;each$c(MOUSE_EVENT_NAMES,function(V){var oe=function(ie){var le=$.getModel(),ue=ie.target,de,pe=V==="globalout";if(pe?de={}:ue&&findEventDispatcher(ue,function(Ve){var Fe=getECData(Ve);if(Fe&&Fe.dataIndex!=null){var Ue=Fe.dataModel||le.getSeriesByIndex(Fe.seriesIndex);return de=Ue&&Ue.getDataParams(Fe.dataIndex,Fe.dataType,ue)||{},!0}else if(Fe.eventData)return de=extend({},Fe.eventData),!0},!0),de){var he=de.componentType,_e=de.componentIndex;(he==="markLine"||he==="markPoint"||he==="markArea")&&(he="series",_e=de.seriesIndex);var $e=he&&_e!=null&&le.getComponent(he,_e),Ie=$e&&$[$e.mainType==="series"?"_chartsMap":"_componentsMap"][$e.__viewId];de.event=ie,de.type=V,$._$eventProcessor.eventInfo={targetEl:ue,packedEvent:de,model:$e,view:Ie},$.trigger(V,de)}};oe.zrEventfulCallAtLast=!0,$._zr.on(V,oe,$)}),each$c(eventActionMap,function(V,oe){$._messageCenter.on(oe,function(ie){this.trigger(oe,ie)},$)}),each$c(["selectchanged"],function(V){$._messageCenter.on(V,function(oe){this.trigger(V,oe)},$)}),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 $=this.getDom();$&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var V=this,oe=V._api,ie=V._model;each$c(V._componentsViews,function(le){le.dispose(ie,oe)}),each$c(V._chartsViews,function(le){le.dispose(ie,oe)}),V._zr.dispose(),V._dom=V._model=V._chartsMap=V._componentsMap=V._chartsViews=V._componentsViews=V._scheduler=V._api=V._zr=V._throttledZrFlush=V._theme=V._coordSysMgr=V._messageCenter=null,delete instances[V.id]},r.prototype.resize=function($){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize($);var V=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!V){var oe=V.resetOption("media"),ie=$&&$.silent;this[PENDING_UPDATE]&&(ie==null&&(ie=this[PENDING_UPDATE].silent),oe=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{oe&&prepare$1(this),updateMethods.update.call(this,{type:"resize",animation:extend({duration:0},$&&$.animation)})}catch(le){throw this[IN_MAIN_PROCESS_KEY]=!1,le}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,ie),triggerUpdatedEvent.call(this,ie)}}},r.prototype.showLoading=function($,V){if(this._disposed){this.id;return}if(isObject$3($)&&(V=$,$=""),$=$||"default",this.hideLoading(),!!loadingEffects[$]){var oe=loadingEffects[$](this._api,V),ie=this._zr;this._loadingFX=oe,ie.add(oe)}},r.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},r.prototype.makeActionFromEvent=function($){var V=extend({},$);return V.type=eventActionMap[$.type],V},r.prototype.dispatchAction=function($,V){if(this._disposed){this.id;return}if(isObject$3(V)||(V={silent:!!V}),!!actions[$.type]&&this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push($);return}var oe=V.silent;doDispatchAction.call(this,$,oe);var ie=V.flush;ie?this._zr.flush():ie!==!1&&env$1.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,oe),triggerUpdatedEvent.call(this,oe)}},r.prototype.updateLabelLayout=function(){lifecycle$1.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},r.prototype.appendData=function($){if(this._disposed){this.id;return}var V=$.seriesIndex,oe=this.getModel(),ie=oe.getSeriesByIndex(V);ie.appendData($),this._scheduler.unfinished=!0,this.getZr().wakeUp()},r.internalField=function(){prepare$1=function(_e){var $e=_e._scheduler;$e.restorePipelines(_e._model),$e.prepareStageTasks(),prepareView(_e,!0),prepareView(_e,!1),$e.plan()},prepareView=function(_e,$e){for(var Ie=_e._model,Ve=_e._scheduler,Fe=$e?_e._componentsViews:_e._chartsViews,Ue=$e?_e._componentsMap:_e._chartsMap,qe=_e._zr,Et=_e._api,Lt=0;Lt<Fe.length;Lt++)Fe[Lt].__alive=!1;$e?Ie.eachComponent(function(bn,Sn){bn!=="series"&&hn(Sn)}):Ie.eachSeries(hn);function hn(bn){var Sn=bn.__requireNewView;bn.__requireNewView=!1;var En="_ec_"+bn.id+"_"+bn.type,wn=!Sn&&Ue[En];if(!wn){var $n=parseClassType(bn.type),Tn=$e?ComponentView$1.getClass($n.main,$n.sub):ChartView$1.getClass($n.sub);wn=new Tn,wn.init(Ie,Et),Ue[En]=wn,Fe.push(wn),qe.add(wn.group)}bn.__viewId=wn.__id=En,wn.__alive=!0,wn.__model=bn,wn.group.__ecComponentInfo={mainType:bn.mainType,index:bn.componentIndex},!$e&&Ve.prepareView(wn,bn,Ie,Et)}for(var Lt=0;Lt<Fe.length;){var Cn=Fe[Lt];Cn.__alive?Lt++:(!$e&&Cn.renderTask.dispose(),qe.remove(Cn.group),Cn.dispose(Ie,Et),Fe.splice(Lt,1),Ue[Cn.__id]===Cn&&delete Ue[Cn.__id],Cn.__id=Cn.group.__ecComponentInfo=null)}},updateDirectly=function(_e,$e,Ie,Ve,Fe){var Ue=_e._model;if(Ue.setUpdatePayload(Ie),!Ve){each$c([].concat(_e._componentsViews).concat(_e._chartsViews),Cn);return}var qe={};qe[Ve+"Id"]=Ie[Ve+"Id"],qe[Ve+"Index"]=Ie[Ve+"Index"],qe[Ve+"Name"]=Ie[Ve+"Name"];var Et={mainType:Ve,query:qe};Fe&&(Et.subType=Fe);var Lt=Ie.excludeSeriesId,hn;Lt!=null&&(hn=createHashMap(),each$c(normalizeToArray(Lt),function(bn){var Sn=convertOptionIdName(bn,null);Sn!=null&&hn.set(Sn,!0)})),Ue&&Ue.eachComponent(Et,function(bn){var Sn=hn&&hn.get(bn.id)!=null;if(!Sn)if(isHighDownPayload(Ie))if(bn instanceof SeriesModel$1)Ie.type===HIGHLIGHT_ACTION_TYPE&&!Ie.notBlur&&!bn.get(["emphasis","disabled"])&&blurSeriesFromHighlightPayload(bn,Ie,_e._api);else{var En=findComponentHighDownDispatchers(bn.mainType,bn.componentIndex,Ie.name,_e._api),wn=En.focusSelf,$n=En.dispatchers;Ie.type===HIGHLIGHT_ACTION_TYPE&&wn&&!Ie.notBlur&&blurComponent(bn.mainType,bn.componentIndex,_e._api),$n&&each$c($n,function(Tn){Ie.type===HIGHLIGHT_ACTION_TYPE?enterEmphasis(Tn):leaveEmphasis(Tn)})}else isSelectChangePayload(Ie)&&bn instanceof SeriesModel$1&&(toggleSelectionFromPayload(bn,Ie,_e._api),updateSeriesElementSelection(bn),markStatusToUpdate(_e))},_e),Ue&&Ue.eachComponent(Et,function(bn){var Sn=hn&&hn.get(bn.id)!=null;Sn||Cn(_e[Ve==="series"?"_chartsMap":"_componentsMap"][bn.__viewId])},_e);function Cn(bn){bn&&bn.__alive&&bn[$e]&&bn[$e](bn.__model,Ue,_e._api,Ie)}},updateMethods={prepareAndUpdate:function(_e){prepare$1(this),updateMethods.update.call(this,_e,{optionChanged:_e.newOption!=null})},update:function(_e,$e){var Ie=this._model,Ve=this._api,Fe=this._zr,Ue=this._coordSysMgr,qe=this._scheduler;if(Ie){Ie.setUpdatePayload(_e),qe.restoreData(Ie,_e),qe.performSeriesTasks(Ie),Ue.create(Ie,Ve),qe.performDataProcessorTasks(Ie,_e),updateStreamModes(this,Ie),Ue.update(Ie,Ve),$(Ie),qe.performVisualTasks(Ie,_e),render$2(this,Ie,Ve,_e,$e);var Et=Ie.get("backgroundColor")||"transparent",Lt=Ie.get("darkMode");Fe.setBackgroundColor(Et),Lt!=null&&Lt!=="auto"&&Fe.setDarkMode(Lt),lifecycle$1.trigger("afterupdate",Ie,Ve)}},updateTransform:function(_e){var $e=this,Ie=this._model,Ve=this._api;if(Ie){Ie.setUpdatePayload(_e);var Fe=[];Ie.eachComponent(function(qe,Et){if(qe!=="series"){var Lt=$e.getViewOfComponentModel(Et);if(Lt&&Lt.__alive)if(Lt.updateTransform){var hn=Lt.updateTransform(Et,Ie,Ve,_e);hn&&hn.update&&Fe.push(Lt)}else Fe.push(Lt)}});var Ue=createHashMap();Ie.eachSeries(function(qe){var Et=$e._chartsMap[qe.__viewId];if(Et.updateTransform){var Lt=Et.updateTransform(qe,Ie,Ve,_e);Lt&&Lt.update&&Ue.set(qe.uid,1)}else Ue.set(qe.uid,1)}),$(Ie),this._scheduler.performVisualTasks(Ie,_e,{setDirty:!0,dirtyMap:Ue}),renderSeries(this,Ie,Ve,_e,{},Ue),lifecycle$1.trigger("afterupdate",Ie,Ve)}},updateView:function(_e){var $e=this._model;$e&&($e.setUpdatePayload(_e),ChartView$1.markUpdateMethod(_e,"updateView"),$($e),this._scheduler.performVisualTasks($e,_e,{setDirty:!0}),render$2(this,$e,this._api,_e,{}),lifecycle$1.trigger("afterupdate",$e,this._api))},updateVisual:function(_e){var $e=this,Ie=this._model;Ie&&(Ie.setUpdatePayload(_e),Ie.eachSeries(function(Ve){Ve.getData().clearAllVisual()}),ChartView$1.markUpdateMethod(_e,"updateVisual"),$(Ie),this._scheduler.performVisualTasks(Ie,_e,{visualType:"visual",setDirty:!0}),Ie.eachComponent(function(Ve,Fe){if(Ve!=="series"){var Ue=$e.getViewOfComponentModel(Fe);Ue&&Ue.__alive&&Ue.updateVisual(Fe,Ie,$e._api,_e)}}),Ie.eachSeries(function(Ve){var Fe=$e._chartsMap[Ve.__viewId];Fe.updateVisual(Ve,Ie,$e._api,_e)}),lifecycle$1.trigger("afterupdate",Ie,this._api))},updateLayout:function(_e){updateMethods.update.call(this,_e)}},doConvertPixel=function(_e,$e,Ie,Ve){if(_e._disposed){_e.id;return}for(var Fe=_e._model,Ue=_e._coordSysMgr.getCoordinateSystems(),qe,Et=parseFinder$1(Fe,Ie),Lt=0;Lt<Ue.length;Lt++){var hn=Ue[Lt];if(hn[$e]&&(qe=hn[$e](Fe,Et,Ve))!=null)return qe}},updateStreamModes=function(_e,$e){var Ie=_e._chartsMap,Ve=_e._scheduler;$e.eachSeries(function(Fe){Ve.updateStreamModes(Fe,Ie[Fe.__viewId])})},doDispatchAction=function(_e,$e){var Ie=this,Ve=this.getModel(),Fe=_e.type,Ue=_e.escapeConnect,qe=actions[Fe],Et=qe.actionInfo,Lt=(Et.update||"update").split(":"),hn=Lt.pop(),Cn=Lt[0]!=null&&parseClassType(Lt[0]);this[IN_MAIN_PROCESS_KEY]=!0;var bn=[_e],Sn=!1;_e.batch&&(Sn=!0,bn=map$2(_e.batch,function(Mn){return Mn=defaults(extend({},Mn),_e),Mn.batch=null,Mn}));var En=[],wn,$n=isSelectChangePayload(_e),Tn=isHighDownPayload(_e);if(Tn&&allLeaveBlur(this._api),each$c(bn,function(Mn){if(wn=qe.action(Mn,Ie._model,Ie._api),wn=wn||extend({},Mn),wn.type=Et.event||wn.type,En.push(wn),Tn){var Vn=preParseFinder(_e),Bn=Vn.queryOptionMap,Dn=Vn.mainTypeSpecified,Ln=Dn?Bn.keys()[0]:"series";updateDirectly(Ie,hn,Mn,Ln),markStatusToUpdate(Ie)}else $n?(updateDirectly(Ie,hn,Mn,"series"),markStatusToUpdate(Ie)):Cn&&updateDirectly(Ie,hn,Mn,Cn.main,Cn.sub)}),hn!=="none"&&!Tn&&!$n&&!Cn)try{this[PENDING_UPDATE]?(prepare$1(this),updateMethods.update.call(this,_e),this[PENDING_UPDATE]=null):updateMethods[hn].call(this,_e)}catch(Mn){throw this[IN_MAIN_PROCESS_KEY]=!1,Mn}if(Sn?wn={type:Et.event||Fe,escapeConnect:Ue,batch:En}:wn=En[0],this[IN_MAIN_PROCESS_KEY]=!1,!$e){var xn=this._messageCenter;if(xn.trigger(wn.type,wn),$n){var An={type:"selectchanged",escapeConnect:Ue,selected:getAllSelectedIndices(Ve),isFromClick:_e.isFromClick||!1,fromAction:_e.type,fromActionPayload:_e};xn.trigger(An.type,An)}}},flushPendingActions=function(_e){for(var $e=this._pendingActions;$e.length;){var Ie=$e.shift();doDispatchAction.call(this,Ie,_e)}},triggerUpdatedEvent=function(_e){!_e&&this.trigger("updated")},bindRenderedEvent=function(_e,$e){_e.on("rendered",function(Ie){$e.trigger("rendered",Ie),_e.animation.isFinished()&&!$e[PENDING_UPDATE]&&!$e._scheduler.unfinished&&!$e._pendingActions.length&&$e.trigger("finished")})},bindMouseEvent=function(_e,$e){_e.on("mouseover",function(Ie){var Ve=Ie.target,Fe=findEventDispatcher(Ve,isHighDownDispatcher);Fe&&(handleGlobalMouseOverForHighDown(Fe,Ie,$e._api),markStatusToUpdate($e))}).on("mouseout",function(Ie){var Ve=Ie.target,Fe=findEventDispatcher(Ve,isHighDownDispatcher);Fe&&(handleGlobalMouseOutForHighDown(Fe,Ie,$e._api),markStatusToUpdate($e))}).on("click",function(Ie){var Ve=Ie.target,Fe=findEventDispatcher(Ve,function(Et){return getECData(Et).dataIndex!=null},!0);if(Fe){var Ue=Fe.selected?"unselect":"select",qe=getECData(Fe);$e._api.dispatchAction({type:Ue,dataType:qe.dataType,dataIndexInside:qe.dataIndex,seriesIndex:qe.seriesIndex,isFromClick:!0})}})};function $(_e){_e.clearColorPalette(),_e.eachSeries(function($e){$e.clearColorPalette()})}function V(_e){var $e=[],Ie=[],Ve=!1;if(_e.eachComponent(function(Et,Lt){var hn=Lt.get("zlevel")||0,Cn=Lt.get("z")||0,bn=Lt.getZLevelKey();Ve=Ve||!!bn,(Et==="series"?Ie:$e).push({zlevel:hn,z:Cn,idx:Lt.componentIndex,type:Et,key:bn})}),Ve){var Fe=$e.concat(Ie),Ue,qe;sort(Fe,function(Et,Lt){return Et.zlevel===Lt.zlevel?Et.z-Lt.z:Et.zlevel-Lt.zlevel}),each$c(Fe,function(Et){var Lt=_e.getComponent(Et.type,Et.idx),hn=Et.zlevel,Cn=Et.key;Ue!=null&&(hn=Math.max(Ue,hn)),Cn?(hn===Ue&&Cn!==qe&&hn++,qe=Cn):qe&&(hn===Ue&&hn++,qe=""),Ue=hn,Lt.setZLevel(hn)})}}render$2=function(_e,$e,Ie,Ve,Fe){V($e),renderComponents(_e,$e,Ie,Ve,Fe),each$c(_e._chartsViews,function(Ue){Ue.__alive=!1}),renderSeries(_e,$e,Ie,Ve,Fe),each$c(_e._chartsViews,function(Ue){Ue.__alive||Ue.remove($e,Ie)})},renderComponents=function(_e,$e,Ie,Ve,Fe,Ue){each$c(Ue||_e._componentsViews,function(qe){var Et=qe.__model;pe(Et,qe),qe.render(Et,$e,Ie,Ve),ue(Et,qe),he(Et,qe)})},renderSeries=function(_e,$e,Ie,Ve,Fe,Ue){var qe=_e._scheduler;Fe=extend(Fe||{},{updatedSeries:$e.getSeries()}),lifecycle$1.trigger("series:beforeupdate",$e,Ie,Fe);var Et=!1;$e.eachSeries(function(Lt){var hn=_e._chartsMap[Lt.__viewId];hn.__alive=!0;var Cn=hn.renderTask;qe.updatePayload(Cn,Ve),pe(Lt,hn),Ue&&Ue.get(Lt.uid)&&Cn.dirty(),Cn.perform(qe.getPerformArgs(Cn))&&(Et=!0),hn.group.silent=!!Lt.get("silent"),le(Lt,hn),updateSeriesElementSelection(Lt)}),qe.unfinished=Et||qe.unfinished,lifecycle$1.trigger("series:layoutlabels",$e,Ie,Fe),lifecycle$1.trigger("series:transition",$e,Ie,Fe),$e.eachSeries(function(Lt){var hn=_e._chartsMap[Lt.__viewId];ue(Lt,hn),he(Lt,hn)}),ie(_e,$e),lifecycle$1.trigger("series:afterupdate",$e,Ie,Fe)},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($e){isElementRemoved($e)||oe($e)}),_e[STATUS_NEEDS_UPDATE_KEY]=!1)};function oe(_e){for(var $e=[],Ie=_e.currentStates,Ve=0;Ve<Ie.length;Ve++){var Fe=Ie[Ve];Fe==="emphasis"||Fe==="blur"||Fe==="select"||$e.push(Fe)}_e.selected&&_e.states.select&&$e.push("select"),_e.hoverState===HOVER_STATE_EMPHASIS&&_e.states.emphasis?$e.push("emphasis"):_e.hoverState===HOVER_STATE_BLUR&&_e.states.blur&&$e.push("blur"),_e.useStates($e)}function ie(_e,$e){var Ie=_e._zr,Ve=Ie.storage,Fe=0;Ve.traverse(function(Ue){Ue.isGroup||Fe++}),Fe>$e.get("hoverLayerThreshold")&&!env$1.node&&!env$1.worker&&$e.eachSeries(function(Ue){if(!Ue.preventUsingHoverLayer){var qe=_e._chartsMap[Ue.__viewId];qe.__alive&&qe.eachRendered(function(Et){Et.states.emphasis&&(Et.states.emphasis.hoverLayer=!0)})}})}function le(_e,$e){var Ie=_e.get("blendMode")||null;$e.eachRendered(function(Ve){Ve.isGroup||(Ve.style.blend=Ie)})}function ue(_e,$e){if(!_e.preventAutoZ){var Ie=_e.get("z")||0,Ve=_e.get("zlevel")||0;$e.eachRendered(function(Fe){return de(Fe,Ie,Ve,-1/0),!0})}}function de(_e,$e,Ie,Ve){var Fe=_e.getTextContent(),Ue=_e.getTextGuideLine(),qe=_e.isGroup;if(qe)for(var Et=_e.childrenRef(),Lt=0;Lt<Et.length;Lt++)Ve=Math.max(de(Et[Lt],$e,Ie,Ve),Ve);else _e.z=$e,_e.zlevel=Ie,Ve=Math.max(_e.z2,Ve);if(Fe&&(Fe.z=$e,Fe.zlevel=Ie,isFinite(Ve)&&(Fe.z2=Ve+2)),Ue){var hn=_e.textGuideLineConfig;Ue.z=$e,Ue.zlevel=Ie,isFinite(Ve)&&(Ue.z2=Ve+(hn&&hn.showAbove?1:-1))}return Ve}function pe(_e,$e){$e.eachRendered(function(Ie){if(!isElementRemoved(Ie)){var Ve=Ie.getTextContent(),Fe=Ie.getTextGuideLine();Ie.stateTransition&&(Ie.stateTransition=null),Ve&&Ve.stateTransition&&(Ve.stateTransition=null),Fe&&Fe.stateTransition&&(Fe.stateTransition=null),Ie.hasState()?(Ie.prevStates=Ie.currentStates,Ie.clearStates()):Ie.prevStates&&(Ie.prevStates=null)}})}function he(_e,$e){var Ie=_e.getModel("stateAnimation"),Ve=_e.isAnimationEnabled(),Fe=Ie.get("duration"),Ue=Fe>0?{duration:Fe,delay:Ie.get("delay"),easing:Ie.get("easing")}:null;$e.eachRendered(function(qe){if(qe.states&&qe.states.emphasis){if(isElementRemoved(qe))return;if(qe instanceof Path$1&&savePathStates(qe),qe.__dirty){var Et=qe.prevStates;Et&&qe.useStates(Et)}if(Ve){qe.stateTransition=Ue;var Lt=qe.getTextContent(),hn=qe.getTextGuideLine();Lt&&(Lt.stateTransition=Ue),hn&&(hn.stateTransition=Ue)}qe.__dirty&&oe(qe)}})}createExtensionAPI=function(_e){return new(function($e){__extends(Ie,$e);function Ie(){return $e!==null&&$e.apply(this,arguments)||this}return Ie.prototype.getCoordinateSystems=function(){return _e._coordSysMgr.getCoordinateSystems()},Ie.prototype.getComponentByElement=function(Ve){for(;Ve;){var Fe=Ve.__ecComponentInfo;if(Fe!=null)return _e._model.getComponent(Fe.mainType,Fe.index);Ve=Ve.parent}},Ie.prototype.enterEmphasis=function(Ve,Fe){enterEmphasis(Ve,Fe),markStatusToUpdate(_e)},Ie.prototype.leaveEmphasis=function(Ve,Fe){leaveEmphasis(Ve,Fe),markStatusToUpdate(_e)},Ie.prototype.enterBlur=function(Ve){enterBlur(Ve),markStatusToUpdate(_e)},Ie.prototype.leaveBlur=function(Ve){leaveBlur(Ve),markStatusToUpdate(_e)},Ie.prototype.enterSelect=function(Ve){enterSelect(Ve),markStatusToUpdate(_e)},Ie.prototype.leaveSelect=function(Ve){leaveSelect(Ve),markStatusToUpdate(_e)},Ie.prototype.getModel=function(){return _e.getModel()},Ie.prototype.getViewOfComponentModel=function(Ve){return _e.getViewOfComponentModel(Ve)},Ie.prototype.getViewOfSeriesModel=function(Ve){return _e.getViewOfSeriesModel(Ve)},Ie}(ExtensionAPI$1))(_e)},enableConnect=function(_e){function $e(Ie,Ve){for(var Fe=0;Fe<Ie.length;Fe++){var Ue=Ie[Fe];Ue[CONNECT_STATUS_KEY]=Ve}}each$c(eventActionMap,function(Ie,Ve){_e._messageCenter.on(Ve,function(Fe){if(connectedGroups[_e.group]&&_e[CONNECT_STATUS_KEY]!==CONNECT_STATUS_PENDING){if(Fe&&Fe.escapeConnect)return;var Ue=_e.makeActionFromEvent(Fe),qe=[];each$c(instances,function(Et){Et!==_e&&Et.group===_e.group&&qe.push(Et)}),$e(qe,CONNECT_STATUS_PENDING),each$c(qe,function(Et){Et[CONNECT_STATUS_KEY]!==CONNECT_STATUS_UPDATING&&Et.dispatchAction(Ue)}),$e(qe,CONNECT_STATUS_UPDATED)}})})}}(),r}(Eventful$1),echartsProto=ECharts.prototype;echartsProto.on=createRegisterEventWithLowercaseECharts("on");echartsProto.off=createRegisterEventWithLowercaseECharts("off");echartsProto.one=function(t,r,$){var V=this;function oe(){for(var ie=[],le=0;le<arguments.length;le++)ie[le]=arguments[le];r&&r.apply&&r.apply(this,ie),V.off(t,oe)}this.on.call(this,t,oe,$)};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,$){var V=!($&&$.ssr);if(V){var oe=getInstanceByDom(t);if(oe)return oe}var ie=new ECharts(t,r,$);return ie.id="ec_"+idBase++,instances[ie.id]=ie,V&&setAttribute(t,DOM_ATTRIBUTE_KEY,ie.id),enableConnect(ie),lifecycle$1.trigger("afterinit",ie),ie}function connect(t){if(isArray$1(t)){var r=t;t=null,each$c(r,function($){$.group!=null&&(t=$.group)}),t=t||"g_"+groupIdBase++,each$c(r,function($){$.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,$){isFunction(r)&&($=r,r="");var V=isObject$3(t)?t.type:[t,t={event:r}][0];t.event=(t.event||V).toLowerCase(),r=t.event,!eventActionMap[r]&&(assert(ACTION_REG.test(V)&&ACTION_REG.test(r)),actions[V]||(actions[V]={action:$,actionInfo:t}),eventActionMap[r]=V)}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){if((isFunction(r)||isObject$3(r))&&($=r,r=V),!(indexOf(registeredTasks,$)>=0)){registeredTasks.push($);var ie=Scheduler$1.wrapStageHandler($,oe);ie.__prio=r,ie.__raw=$,t.push(ie)}}function registerLoading(t,r){loadingEffects[t]=r}function setCanvasCreator(t){setPlatformAPI({createCanvas:t})}function registerMap(t,r,$){var V=getImpl("registerMap");V&&V(t,r,$)}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){this._old=r,this._new=$,this._oldKeyGetter=V||defaultKeyGetter,this._newKeyGetter=oe||defaultKeyGetter,this.context=ie,this._diffModeMultiple=le==="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,$=this._new,V={},oe=new Array(r.length),ie=new Array($.length);this._initIndexMap(r,null,oe,"_oldKeyGetter"),this._initIndexMap($,V,ie,"_newKeyGetter");for(var le=0;le<r.length;le++){var ue=oe[le],de=V[ue],pe=dataIndexMapValueLength(de);if(pe>1){var he=de.shift();de.length===1&&(V[ue]=de[0]),this._update&&this._update(he,le)}else pe===1?(V[ue]=null,this._update&&this._update(de,le)):this._remove&&this._remove(le)}this._performRestAdd(ie,V)},t.prototype._executeMultiple=function(){var r=this._old,$=this._new,V={},oe={},ie=[],le=[];this._initIndexMap(r,V,ie,"_oldKeyGetter"),this._initIndexMap($,oe,le,"_newKeyGetter");for(var ue=0;ue<ie.length;ue++){var de=ie[ue],pe=V[de],he=oe[de],_e=dataIndexMapValueLength(pe),$e=dataIndexMapValueLength(he);if(_e>1&&$e===1)this._updateManyToOne&&this._updateManyToOne(he,pe),oe[de]=null;else if(_e===1&&$e>1)this._updateOneToMany&&this._updateOneToMany(he,pe),oe[de]=null;else if(_e===1&&$e===1)this._update&&this._update(he,pe),oe[de]=null;else if(_e>1&&$e>1)this._updateManyToMany&&this._updateManyToMany(he,pe),oe[de]=null;else if(_e>1)for(var Ie=0;Ie<_e;Ie++)this._remove&&this._remove(pe[Ie]);else this._remove&&this._remove(pe)}this._performRestAdd(le,oe)},t.prototype._performRestAdd=function(r,$){for(var V=0;V<r.length;V++){var oe=r[V],ie=$[oe],le=dataIndexMapValueLength(ie);if(le>1)for(var ue=0;ue<le;ue++)this._add&&this._add(ie[ue]);else le===1&&this._add&&this._add(ie);$[oe]=null}},t.prototype._initIndexMap=function(r,$,V,oe){for(var ie=this._diffModeMultiple,le=0;le<r.length;le++){var ue="_ec_"+this[oe](r[le],le);if(ie||(V[le]=ue),!!$){var de=$[ue],pe=dataIndexMapValueLength(de);pe===0?($[ue]=le,ie&&V.push(ue)):pe===1?$[ue]=[de,le]:de.push(le)}}},t}();const DataDiffer$1=DataDiffer;var DimensionUserOuput=function(){function t(r,$){this._encode=r,this._schema=$}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=$.encode={},oe=createHashMap(),ie=[],le=[],ue={};each$c(t.dimensions,function($e){var Ie=t.getDimensionInfo($e),Ve=Ie.coordDim;if(Ve){var Fe=Ie.coordDimIndex;getOrCreateEncodeArr(V,Ve)[Fe]=$e,Ie.isExtraCoord||(oe.set(Ve,1),mayLabelDimType(Ie.type)&&(ie[0]=$e),getOrCreateEncodeArr(ue,Ve)[Fe]=t.getDimensionIndex(Ie.name)),Ie.defaultTooltip&&le.push($e)}VISUAL_DIMENSIONS.each(function(Ue,qe){var Et=getOrCreateEncodeArr(V,qe),Lt=Ie.otherDims[qe];Lt!=null&&Lt!==!1&&(Et[Lt]=Ie.name)})});var de=[],pe={};oe.each(function($e,Ie){var Ve=V[Ie];pe[Ie]=Ve[0],de=de.concat(Ve)}),$.dataDimsOnCoord=de,$.dataDimIndicesOnCoord=map$2(de,function($e){return t.getDimensionInfo($e).storeDimIndex}),$.encodeFirstDimNotExtra=pe;var he=V.label;he&&he.length&&(ie=he.slice());var _e=V.tooltip;return _e&&_e.length?le=_e.slice():le.length||(le=ie.slice()),V.defaultedLabel=ie,V.defaultedTooltip=le,$.userOutput=new DimensionUserOuput(ue,r),$}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 $=this.source.dimensionsDefine;if($)return $[r]},t.prototype.makeStoreSchema=function(){for(var r=this._fullDimCount,$=shouldRetrieveDataByName(this.source),V=!shouldOmitUnusedDimensions(r),oe="",ie=[],le=0,ue=0;le<r;le++){var de=void 0,pe=void 0,he=void 0,_e=this.dimensions[ue];if(_e&&_e.storeDimIndex===le)de=$?_e.name:null,pe=_e.type,he=_e.ordinalMeta,ue++;else{var $e=this.getSourceDimension(le);$e&&(de=$?$e.name:null,pe=$e.type)}ie.push({property:de,type:pe,ordinalMeta:he}),$&&de!=null&&(!_e||!_e.isCalculationCoord)&&(oe+=V?de.replace(/\`/g,"`1").replace(/\$/g,"`2"):de),oe+="$",oe+=dimTypeShort[pe]||"f",he&&(oe+=he.uid),oe+="$"}var Ie=this.source,Ve=[Ie.seriesLayoutBy,Ie.startIndex,oe].join("$$");return{dimensions:ie,hash:Ve}},t.prototype.makeOutputDimensionNames=function(){for(var r=[],$=0,V=0;$<this._fullDimCount;$++){var oe=void 0,ie=this.dimensions[V];if(ie&&ie.storeDimIndex===$)ie.isCalculationCoord||(oe=ie.name),V++;else{var le=this.getSourceDimension($);le&&(oe=le.name)}r.push(oe)}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(),$=0;$<(t||[]).length;$++){var V=t[$],oe=isObject$3(V)?V.name:V;oe!=null&&r.get(oe)==null&&r.set(oe,$)}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,$){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 V,oe=!1;isSeriesDataSchema(r)?(V=r.dimensions,this._dimOmitted=r.isDimensionOmitted(),this._schema=r):(oe=!0,V=r),V=V||["x","y"];for(var ie={},le=[],ue={},de=!1,pe={},he=0;he<V.length;he++){var _e=V[he],$e=isString(_e)?new SeriesDimensionDefine$1({name:_e}):_e instanceof SeriesDimensionDefine$1?_e:new SeriesDimensionDefine$1(_e),Ie=$e.name;$e.type=$e.type||"float",$e.coordDim||($e.coordDim=Ie,$e.coordDimIndex=0);var Ve=$e.otherDims=$e.otherDims||{};le.push(Ie),ie[Ie]=$e,pe[Ie]!=null&&(de=!0),$e.createInvertedIndices&&(ue[Ie]=[]),Ve.itemName===0&&(this._nameDimIdx=he),Ve.itemId===0&&(this._idDimIdx=he),oe&&($e.storeDimIndex=he)}if(this.dimensions=le,this._dimInfos=ie,this._initGetDimensionInfo(de),this.hostModel=$,this._invertedIndicesMap=ue,this._dimOmitted){var Fe=this._dimIdxToName=createHashMap();each$c(le,function(Ue){Fe.set(ie[Ue].storeDimIndex,Ue)})}}return t.prototype.getDimension=function(r){var $=this._recognizeDimIndex(r);if($==null)return r;if($=r,!this._dimOmitted)return this.dimensions[$];var V=this._dimIdxToName.get($);if(V!=null)return V;var oe=this._schema.getSourceDimension($);if(oe)return oe.name},t.prototype.getDimensionIndex=function(r){var $=this._recognizeDimIndex(r);if($!=null)return $;if(r==null)return-1;var V=this._getDimInfo(r);return V?V.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 $=this.getDimensionIndex(r);return $},t.prototype.getDimensionInfo=function(r){return this._getDimInfo(this.getDimension(r))},t.prototype._initGetDimensionInfo=function(r){var $=this._dimInfos;this._getDimInfo=r?function(V){return $.hasOwnProperty(V)?$[V]:void 0}:function(V){return $[V]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(r,$){var V=this._dimSummary;if($==null)return V.encodeFirstDimNotExtra[r];var oe=V.encode[r];return oe?oe[$]:null},t.prototype.mapDimensionsAll=function(r){var $=this._dimSummary,V=$.encode[r];return(V||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(r,$,V){var oe=this,ie;if(r instanceof DataStore$1&&(ie=r),!ie){var le=this.dimensions,ue=isSourceInstance(r)||isArrayLike(r)?new DefaultDataProvider(r,le.length):r;ie=new DataStore$1;var de=map$1(le,function(pe){return{type:oe._dimInfos[pe].type,property:pe}});ie.initData(ue,de,V)}this._store=ie,this._nameList=($||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,ie.count()),this._dimSummary=summarizeDimensions(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(r){var $=this._store.appendData(r);this._doInit($[0],$[1])},t.prototype.appendValues=function(r,$){var V=this._store.appendValues(r,$.length),oe=V.start,ie=V.end,le=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),$)for(var ue=oe;ue<ie;ue++){var de=ue-oe;this._nameList[ue]=$[de],le&&makeIdFromName(this,ue)}},t.prototype._updateOrdinalMeta=function(){for(var r=this._store,$=this.dimensions,V=0;V<$.length;V++){var oe=this._dimInfos[$[V]];oe.ordinalMeta&&r.collectOrdinalMeta(oe.storeDimIndex,oe.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,$){if(!(r>=$)){var V=this._store,oe=V.getProvider();this._updateOrdinalMeta();var ie=this._nameList,le=this._idList,ue=oe.getSource().sourceFormat,de=ue===SOURCE_FORMAT_ORIGINAL;if(de&&!oe.pure)for(var pe=[],he=r;he<$;he++){var _e=oe.getItem(he,pe);if(!this.hasItemOption&&isDataItemOption(_e)&&(this.hasItemOption=!0),_e){var $e=_e.name;ie[he]==null&&$e!=null&&(ie[he]=convertOptionIdName($e,null));var Ie=_e.id;le[he]==null&&Ie!=null&&(le[he]=convertOptionIdName(Ie,null))}}if(this._shouldMakeIdFromName())for(var he=r;he<$;he++)makeIdFromName(this,he);prepareInvertedIndex(this)}},t.prototype.getApproximateExtent=function(r){return this._approximateExtent[r]||this._store.getDataExtent(this._getStoreDimIndex(r))},t.prototype.setApproximateExtent=function(r,$){$=this.getDimension($),this._approximateExtent[$]=r.slice()},t.prototype.getCalculationInfo=function(r){return this._calculationInfo[r]},t.prototype.setCalculationInfo=function(r,$){isObject$1(r)?extend(this._calculationInfo,r):this._calculationInfo[r]=$},t.prototype.getName=function(r){var $=this.getRawIndex(r),V=this._nameList[$];return V==null&&this._nameDimIdx!=null&&(V=getIdNameFromStore(this,this._nameDimIdx,$)),V==null&&(V=""),V},t.prototype._getCategory=function(r,$){var V=this._store.get(r,$),oe=this._store.getOrdinalMeta(r);return oe?oe.categories[V]:V},t.prototype.getId=function(r){return getId(this,this.getRawIndex(r))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(r,$){var V=this._store,oe=this._dimInfos[r];if(oe)return V.get(oe.storeDimIndex,$)},t.prototype.getByRawIndex=function(r,$){var V=this._store,oe=this._dimInfos[r];if(oe)return V.getByRawIndex(oe.storeDimIndex,$)},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,$){var V=this,oe=this._store;return isArray$1(r)?oe.getValues(map$1(r,function(ie){return V._getStoreDimIndex(ie)}),$):oe.getValues(r)},t.prototype.hasValue=function(r){for(var $=this._dimSummary.dataDimIndicesOnCoord,V=0,oe=$.length;V<oe;V++)if(isNaN(this._store.get($[V],r)))return!1;return!0},t.prototype.indexOfName=function(r){for(var $=0,V=this._store.count();$<V;$++)if(this.getName($)===r)return $;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,$){var V=r&&this._invertedIndicesMap[r],oe=V[$];return oe==null||isNaN(oe)?INDEX_NOT_FOUND:oe},t.prototype.indicesOfNearest=function(r,$,V){return this._store.indicesOfNearest(this._getStoreDimIndex(r),$,V)},t.prototype.each=function(r,$,V){isFunction(r)&&(V=$,$=r,r=[]);var oe=V||this,ie=map$1(normalizeDimensions(r),this._getStoreDimIndex,this);this._store.each(ie,oe?bind$1($,oe):$)},t.prototype.filterSelf=function(r,$,V){isFunction(r)&&(V=$,$=r,r=[]);var oe=V||this,ie=map$1(normalizeDimensions(r),this._getStoreDimIndex,this);return this._store=this._store.filter(ie,oe?bind$1($,oe):$),this},t.prototype.selectRange=function(r){var $=this,V={},oe=keys(r);return each$c(oe,function(ie){var le=$._getStoreDimIndex(ie);V[le]=r[ie]}),this._store=this._store.selectRange(V),this},t.prototype.mapArray=function(r,$,V){isFunction(r)&&(V=$,$=r,r=[]),V=V||this;var oe=[];return this.each(r,function(){oe.push($&&$.apply(this,arguments))},V),oe},t.prototype.map=function(r,$,V,oe){var ie=V||oe||this,le=map$1(normalizeDimensions(r),this._getStoreDimIndex,this),ue=cloneListForMapAndSample(this);return ue._store=this._store.map(le,ie?bind$1($,ie):$),ue},t.prototype.modify=function(r,$,V,oe){var ie=V||oe||this,le=map$1(normalizeDimensions(r),this._getStoreDimIndex,this);this._store.modify(le,ie?bind$1($,ie):$)},t.prototype.downSample=function(r,$,V,oe){var ie=cloneListForMapAndSample(this);return ie._store=this._store.downSample(this._getStoreDimIndex(r),$,V,oe),ie},t.prototype.lttbDownSample=function(r,$){var V=cloneListForMapAndSample(this);return V._store=this._store.lttbDownSample(this._getStoreDimIndex(r),$),V},t.prototype.getRawDataItem=function(r){return this._store.getRawDataItem(r)},t.prototype.getItemModel=function(r){var $=this.hostModel,V=this.getRawDataItem(r);return new Model$1(V,$,$&&$.ecModel)},t.prototype.diff=function(r){var $=this;return new DataDiffer$1(r?r.getStore().getIndices():[],this.getStore().getIndices(),function(V){return getId(r,V)},function(V){return getId($,V)})},t.prototype.getVisual=function(r){var $=this._visual;return $&&$[r]},t.prototype.setVisual=function(r,$){this._visual=this._visual||{},isObject$1(r)?extend(this._visual,r):this._visual[r]=$},t.prototype.getItemVisual=function(r,$){var V=this._itemVisuals[r],oe=V&&V[$];return oe??this.getVisual($)},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(r,$){var V=this._itemVisuals,oe=V[r];oe||(oe=V[r]={});var ie=oe[$];return ie==null&&(ie=this.getVisual($),isArray$1(ie)?ie=ie.slice():isObject$1(ie)&&(ie=extend({},ie)),oe[$]=ie),ie},t.prototype.setItemVisual=function(r,$,V){var oe=this._itemVisuals[r]||{};this._itemVisuals[r]=oe,isObject$1($)?extend(oe,$):oe[$]=V},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(r,$){isObject$1(r)?extend(this._layout,r):this._layout[r]=$},t.prototype.getLayout=function(r){return this._layout[r]},t.prototype.getItemLayout=function(r){return this._itemLayouts[r]},t.prototype.setItemLayout=function(r,$,V){this._itemLayouts[r]=V?extend(this._itemLayouts[r]||{},$):$},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(r,$){var V=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(V,this.dataType,r,$),this._graphicEls[r]=$},t.prototype.getItemGraphicEl=function(r){return this._graphicEls[r]},t.prototype.eachItemGraphicEl=function(r,$){each$c(this._graphicEls,function(V,oe){V&&r&&r.call($,V,oe)})},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,$){var V=this[r];isFunction(V)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(r),this[r]=function(){var oe=V.apply(this,arguments);return $.apply(this,[oe].concat(slice(arguments)))})},t.internalField=function(){prepareInvertedIndex=function(r){var $=r._invertedIndicesMap;each$c($,function(V,oe){var ie=r._dimInfos[oe],le=ie.ordinalMeta,ue=r._store;if(le){V=$[oe]=new CtorInt32Array(le.categories.length);for(var de=0;de<V.length;de++)V[de]=INDEX_NOT_FOUND;for(var de=0;de<ue.count();de++)V[ue.get(ie.storeDimIndex,de)]=de}})},getIdNameFromStore=function(r,$,V){return convertOptionIdName(r._getCategory($,V),null)},getId=function(r,$){var V=r._idList[$];return V==null&&r._idDimIdx!=null&&(V=getIdNameFromStore(r,r._idDimIdx,$)),V==null&&(V=ID_PREFIX+$),V},normalizeDimensions=function(r){return isArray$1(r)||(r=r!=null?[r]:[]),r},cloneListForMapAndSample=function(r){var $=new t(r._schema?r._schema:map$1(r.dimensions,r._getDimInfo,r),r.hostModel);return transferProperties($,r),$},transferProperties=function(r,$){each$c(TRANSFERABLE_PROPERTIES.concat($.__wrappedMethods||[]),function(V){$.hasOwnProperty(V)&&(r[V]=$[V])}),r.__wrappedMethods=$.__wrappedMethods,each$c(CLONE_PROPERTIES,function(V){r[V]=clone$3($[V])}),r._calculationInfo=extend({},$._calculationInfo)},makeIdFromName=function(r,$){var V=r._nameList,oe=r._idList,ie=r._nameDimIdx,le=r._idDimIdx,ue=V[$],de=oe[$];if(ue==null&&ie!=null&&(V[$]=ue=getIdNameFromStore(r,ie,$)),de==null&&le!=null&&(oe[$]=de=getIdNameFromStore(r,le,$)),de==null&&ue!=null){var pe=r._nameRepeatCount,he=pe[ue]=(pe[ue]||0)+1;de=ue,he>1&&(de+="__ec__"+he),oe[$]=de}}}(),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 $=r.coordDimensions||[],V=r.dimensionsDefine||t.dimensionsDefine||[],oe=createHashMap(),ie=[],le=getDimCount(t,$,V,r.dimensionsCount),ue=r.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(le),de=V===t.dimensionsDefine,pe=de?ensureSourceDimNameMap(t):createDimNameMap(V),he=r.encodeDefine;!he&&r.encodeDefaulter&&(he=r.encodeDefaulter(t,le));for(var _e=createHashMap(he),$e=new CtorInt32Array$1(le),Ie=0;Ie<$e.length;Ie++)$e[Ie]=-1;function Ve(wn){var $n=$e[wn];if($n<0){var Tn=V[wn],xn=isObject$3(Tn)?Tn:{name:Tn},An=new SeriesDimensionDefine$1,Mn=xn.name;Mn!=null&&pe.get(Mn)!=null&&(An.name=An.displayName=Mn),xn.type!=null&&(An.type=xn.type),xn.displayName!=null&&(An.displayName=xn.displayName);var Vn=ie.length;return $e[wn]=Vn,An.storeDimIndex=wn,ie.push(An),An}return ie[$n]}if(!ue)for(var Ie=0;Ie<le;Ie++)Ve(Ie);_e.each(function(wn,$n){var Tn=normalizeToArray(wn).slice();if(Tn.length===1&&!isString(Tn[0])&&Tn[0]<0){_e.set($n,!1);return}var xn=_e.set($n,[]);each$c(Tn,function(An,Mn){var Vn=isString(An)?pe.get(An):An;Vn!=null&&Vn<le&&(xn[Mn]=Vn,Ue(Ve(Vn),$n,Mn))})});var Fe=0;each$c($,function(wn){var $n,Tn,xn,An;if(isString(wn))$n=wn,An={};else{An=wn,$n=An.name;var Mn=An.ordinalMeta;An.ordinalMeta=null,An=extend({},An),An.ordinalMeta=Mn,Tn=An.dimsDef,xn=An.otherDims,An.name=An.coordDim=An.coordDimIndex=An.dimsDef=An.otherDims=null}var Vn=_e.get($n);if(Vn!==!1){if(Vn=normalizeToArray(Vn),!Vn.length)for(var Bn=0;Bn<(Tn&&Tn.length||1);Bn++){for(;Fe<le&&Ve(Fe).coordDim!=null;)Fe++;Fe<le&&Vn.push(Fe++)}each$c(Vn,function(Dn,Ln){var Pn=Ve(Dn);if(de&&An.type!=null&&(Pn.type=An.type),Ue(defaults(Pn,An),$n,Ln),Pn.name==null&&Tn){var Fn=Tn[Ln];!isObject$3(Fn)&&(Fn={name:Fn}),Pn.name=Pn.displayName=Fn.name,Pn.defaultTooltip=Fn.defaultTooltip}xn&&defaults(Pn.otherDims,xn)})}});function Ue(wn,$n,Tn){VISUAL_DIMENSIONS.get($n)!=null?wn.otherDims[$n]=Tn:(wn.coordDim=$n,wn.coordDimIndex=Tn,oe.set($n,!0))}var qe=r.generateCoord,Et=r.generateCoordCount,Lt=Et!=null;Et=qe?Et||1:0;var hn=qe||"value";function Cn(wn){wn.name==null&&(wn.name=wn.coordDim)}if(ue)each$c(ie,function(wn){Cn(wn)}),ie.sort(function(wn,$n){return wn.storeDimIndex-$n.storeDimIndex});else for(var bn=0;bn<le;bn++){var Sn=Ve(bn),En=Sn.coordDim;En==null&&(Sn.coordDim=genCoordDimName(hn,oe,Lt),Sn.coordDimIndex=0,(!qe||Et<=0)&&(Sn.isExtraCoord=!0),Et--),Cn(Sn),Sn.type==null&&(guessOrdinal(t,bn)===BE_ORDINAL.Must||Sn.isExtraCoord&&(Sn.otherDims.itemName!=null||Sn.otherDims.seriesName!=null))&&(Sn.type="ordinal")}return removeDuplication(ie),new SeriesDataSchema({source:t,dimensions:ie,fullDimensionCount:le,dimensionOmitted:ue})}function removeDuplication(t){for(var r=createHashMap(),$=0;$<t.length;$++){var V=t[$],oe=V.name,ie=r.get(oe)||0;ie>0&&(V.name=oe+(ie-1)),ie++,r.set(oe,ie)}}function getDimCount(t,r,$,V){var oe=Math.max(t.dimensionsDetectedCount||1,r.length,$.length,V||0);return each$c(r,function(ie){var le;isObject$3(ie)&&(le=ie.dimsDef)&&(oe=Math.max(oe,le.length))}),oe}function genCoordDimName(t,r,$){if($||r.hasKey(t)){for(var V=0;r.hasKey(t+V);)V++;t+=V}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"),$=new CoordSysInfo(r),V=fetchers[r];if(V)return V(t,$,$.axisMap,$.categoryAxisMap),$}var fetchers={cartesian2d:function(t,r,$,V){var oe=t.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],ie=t.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];r.coordSysDims=["x","y"],$.set("x",oe),$.set("y",ie),isCategory(oe)&&(V.set("x",oe),r.firstCategoryDimIndex=0),isCategory(ie)&&(V.set("y",ie),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=1))},singleAxis:function(t,r,$,V){var oe=t.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];r.coordSysDims=["single"],$.set("single",oe),isCategory(oe)&&(V.set("single",oe),r.firstCategoryDimIndex=0)},polar:function(t,r,$,V){var oe=t.getReferringComponents("polar",SINGLE_REFERRING).models[0],ie=oe.findAxisModel("radiusAxis"),le=oe.findAxisModel("angleAxis");r.coordSysDims=["radius","angle"],$.set("radius",ie),$.set("angle",le),isCategory(ie)&&(V.set("radius",ie),r.firstCategoryDimIndex=0),isCategory(le)&&(V.set("angle",le),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=1))},geo:function(t,r,$,V){r.coordSysDims=["lng","lat"]},parallel:function(t,r,$,V){var oe=t.ecModel,ie=oe.getComponent("parallel",t.get("parallelIndex")),le=r.coordSysDims=ie.dimensions.slice();each$c(ie.parallelAxisIndex,function(ue,de){var pe=oe.getComponent("parallelAxis",ue),he=le[de];$.set(he,pe),isCategory(pe)&&(V.set(he,pe),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=de))})}};function isCategory(t){return t.get("type")==="category"}function enableDataStack(t,r,$){$=$||{};var V=$.byIndex,oe=$.stackedCoordDimension,ie,le,ue;isLegacyDimensionsInput(r)?ie=r:(le=r.schema,ie=le.dimensions,ue=r.store);var de=!!(t&&t.get("stack")),pe,he,_e,$e;if(each$c(ie,function(Et,Lt){isString(Et)&&(ie[Lt]=Et={name:Et}),de&&!Et.isExtraCoord&&(!V&&!pe&&Et.ordinalMeta&&(pe=Et),!he&&Et.type!=="ordinal"&&Et.type!=="time"&&(!oe||oe===Et.coordDim)&&(he=Et))}),he&&!V&&!pe&&(V=!0),he){_e="__\0ecstackresult_"+t.id,$e="__\0ecstackedover_"+t.id,pe&&(pe.createInvertedIndices=!0);var Ie=he.coordDim,Ve=he.type,Fe=0;each$c(ie,function(Et){Et.coordDim===Ie&&Fe++});var Ue={name:_e,coordDim:Ie,coordDimIndex:Fe,type:Ve,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:ie.length},qe={name:$e,coordDim:$e,coordDimIndex:Fe+1,type:Ve,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:ie.length+1};le?(ue&&(Ue.storeDimIndex=ue.ensureCalculationDimension($e,Ve),qe.storeDimIndex=ue.ensureCalculationDimension(_e,Ve)),le.appendCalculationDimension(Ue),le.appendCalculationDimension(qe)):(ie.push(Ue),ie.push(qe))}return{stackedDimension:he&&he.name,stackedByDimension:pe&&pe.name,isStackedByIndex:V,stackedOverDimension:$e,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 $=t.get("coordinateSystem"),V=CoordinateSystem.get($),oe;return r&&r.coordSysDims&&(oe=map$2(r.coordSysDims,function(ie){var le={name:ie},ue=r.axisMap.get(ie);if(ue){var de=ue.get("type");le.type=getDimensionTypeByAxis(de)}return le})),oe||(oe=V&&(V.getDimensionsInfo?V.getDimensionsInfo():V.dimensions.slice())||["x","y"]),oe}function injectOrdinalMeta(t,r,$){var V,oe;return $&&each$c(t,function(ie,le){var ue=ie.coordDim,de=$.categoryAxisMap.get(ue);de&&(V==null&&(V=le),ie.ordinalMeta=de.getOrdinalMeta(),r&&(ie.createInvertedIndices=!0)),ie.otherDims.itemName!=null&&(oe=!0)}),!oe&&V!=null&&(t[V].otherDims.itemName=0),V}function createSeriesData(t,r,$){$=$||{};var V=r.getSourceManager(),oe,ie=!1;t?(ie=!0,oe=createSourceFromSeriesDataOption(t)):(oe=V.getSource(),ie=oe.sourceFormat===SOURCE_FORMAT_ORIGINAL);var le=getCoordSysInfoBySeries(r),ue=getCoordSysDimDefs(r,le),de=$.useEncodeDefaulter,pe=isFunction(de)?de:de?curry$1(makeSeriesEncodeForAxisCoordSys,ue,r):null,he={coordDimensions:ue,generateCoord:$.generateCoord,encodeDefine:r.getEncode(),encodeDefaulter:pe,canOmitUnusedDimensions:!ie},_e=prepareSeriesDataSchema(oe,he),$e=injectOrdinalMeta(_e.dimensions,$.createInvertedIndices,le),Ie=ie?null:V.getSharedDataStore(_e),Ve=enableDataStack(r,{schema:_e,store:Ie}),Fe=new SeriesData$1(_e,r);Fe.setCalculationInfo(Ve);var Ue=$e!=null&&isNeedCompleteOrdinalData(oe)?function(qe,Et,Lt,hn){return hn===$e?Lt:this.defaultDimValueGetter(qe,Et,Lt,hn)}:null;return Fe.hasItemOption=!1,Fe.initData(ie?oe:Ie,null,Ue),Fe}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 $=this._extent;r[0]<$[0]&&($[0]=r[0]),r[1]>$[1]&&($[1]=r[1])},t.prototype.unionExtentFromData=function(r,$){this.unionExtent(r.getApproximateExtent($))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(r,$){var V=this._extent;isNaN(r)||(V[0]=r),isNaN($)||(V[1]=$)},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 $=r.option,V=$.data,oe=V&&map$2(V,getName);return new t({categories:oe,needCollect:!oe,deduplication:$.dedplication!==!1})},t.prototype.getOrdinal=function(r){return this._getOrCreateMap().get(r)},t.prototype.parseAndCollect=function(r){var $,V=this._needCollect;if(!isString(r)&&!V)return r;if(V&&!this._deduplication)return $=this.categories.length,this.categories[$]=r,$;var oe=this._getOrCreateMap();return $=oe.get(r),$==null&&(V?($=this.categories.length,this.categories[$]=r,oe.set(r,$)):$=NaN),$},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){var oe={},ie=t[1]-t[0],le=oe.interval=nice(ie/r,!0);$!=null&&le<$&&(le=oe.interval=$),V!=null&&le>V&&(le=oe.interval=V);var ue=oe.intervalPrecision=getIntervalPrecision(le),de=oe.niceTickExtent=[round$1(Math.ceil(t[0]/le)*le,ue),round$1(Math.floor(t[1]/le)*le,ue)];return fixExtent(de,t),oe}function increaseInterval(t){var r=Math.pow(10,quantityExponent(t)),$=t/r;return $?$===2?$=3:$===3?$=5:$*=2:$=1,round$1($*r)}function getIntervalPrecision(t){return getPrecision(t)+2}function clamp(t,r,$){t[r]=Math.max(Math.min(t[r],$[1]),$[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($){var V=t.call(this,$)||this;V.type="ordinal";var oe=V.getSetting("ordinalMeta");return oe||(oe=new OrdinalMeta$1({})),isArray$1(oe)&&(oe=new OrdinalMeta$1({categories:map$2(oe,function(ie){return isObject$3(ie)?ie.value:ie})})),V._ordinalMeta=oe,V._extent=V.getSetting("extent")||[0,oe.categories.length-1],V}return r.prototype.parse=function($){return $==null?NaN:isString($)?this._ordinalMeta.getOrdinal($):Math.round($)},r.prototype.contain=function($){return $=this.parse($),contain$1($,this._extent)&&this._ordinalMeta.categories[$]!=null},r.prototype.normalize=function($){return $=this._getTickNumber(this.parse($)),normalize($,this._extent)},r.prototype.scale=function($){return $=Math.round(scale($,this._extent)),this.getRawOrdinalNumber($)},r.prototype.getTicks=function(){for(var $=[],V=this._extent,oe=V[0];oe<=V[1];)$.push({value:oe}),oe++;return $},r.prototype.getMinorTicks=function($){},r.prototype.setSortInfo=function($){if($==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var V=$.ordinalNumbers,oe=this._ordinalNumbersByTick=[],ie=this._ticksByOrdinalNumber=[],le=0,ue=this._ordinalMeta.categories.length,de=Math.min(ue,V.length);le<de;++le){var pe=V[le];oe[le]=pe,ie[pe]=le}for(var he=0;le<ue;++le){for(;ie[he]!=null;)he++;oe.push(he),ie[he]=le}},r.prototype._getTickNumber=function($){var V=this._ticksByOrdinalNumber;return V&&$>=0&&$<V.length?V[$]:$},r.prototype.getRawOrdinalNumber=function($){var V=this._ordinalNumbersByTick;return V&&$>=0&&$<V.length?V[$]:$},r.prototype.getLabel=function($){if(!this.isBlank()){var V=this.getRawOrdinalNumber($.value),oe=this._ordinalMeta.categories[V];return oe==null?"":oe+""}},r.prototype.count=function(){return this._extent[1]-this._extent[0]+1},r.prototype.unionExtentFromData=function($,V){this.unionExtent($.getApproximateExtent(V))},r.prototype.isInExtentRange=function($){return $=this._getTickNumber($),this._extent[0]<=$&&this._extent[1]>=$},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 $=t!==null&&t.apply(this,arguments)||this;return $.type="interval",$._interval=0,$._intervalPrecision=2,$}return r.prototype.parse=function($){return $},r.prototype.contain=function($){return contain$1($,this._extent)},r.prototype.normalize=function($){return normalize($,this._extent)},r.prototype.scale=function($){return scale($,this._extent)},r.prototype.setExtent=function($,V){var oe=this._extent;isNaN($)||(oe[0]=parseFloat($)),isNaN(V)||(oe[1]=parseFloat(V))},r.prototype.unionExtent=function($){var V=this._extent;$[0]<V[0]&&(V[0]=$[0]),$[1]>V[1]&&(V[1]=$[1]),this.setExtent(V[0],V[1])},r.prototype.getInterval=function(){return this._interval},r.prototype.setInterval=function($){this._interval=$,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision($)},r.prototype.getTicks=function($){var V=this._interval,oe=this._extent,ie=this._niceExtent,le=this._intervalPrecision,ue=[];if(!V)return ue;var de=1e4;oe[0]<ie[0]&&($?ue.push({value:roundNumber(ie[0]-V,le)}):ue.push({value:oe[0]}));for(var pe=ie[0];pe<=ie[1]&&(ue.push({value:pe}),pe=roundNumber(pe+V,le),pe!==ue[ue.length-1].value);)if(ue.length>de)return[];var he=ue.length?ue[ue.length-1].value:ie[1];return oe[1]>he&&($?ue.push({value:roundNumber(he+V,le)}):ue.push({value:oe[1]})),ue},r.prototype.getMinorTicks=function($){for(var V=this.getTicks(!0),oe=[],ie=this.getExtent(),le=1;le<V.length;le++){for(var ue=V[le],de=V[le-1],pe=0,he=[],_e=ue.value-de.value,$e=_e/$;pe<$-1;){var Ie=roundNumber(de.value+(pe+1)*$e);Ie>ie[0]&&Ie<ie[1]&&he.push(Ie),pe++}oe.push(he)}return oe},r.prototype.getLabel=function($,V){if($==null)return"";var oe=V&&V.precision;oe==null?oe=getPrecision($.value)||0:oe==="auto"&&(oe=this._intervalPrecision);var ie=roundNumber($.value,oe,!0);return addCommas(ie)},r.prototype.calcNiceTicks=function($,V,oe){$=$||5;var ie=this._extent,le=ie[1]-ie[0];if(isFinite(le)){le<0&&(le=-le,ie.reverse());var ue=intervalScaleNiceTicks(ie,$,V,oe);this._intervalPrecision=ue.intervalPrecision,this._interval=ue.interval,this._niceExtent=ue.niceTickExtent}},r.prototype.calcNiceExtent=function($){var V=this._extent;if(V[0]===V[1])if(V[0]!==0){var oe=Math.abs(V[0]);$.fixMax||(V[1]+=oe/2),V[0]-=oe/2}else V[1]=1;var ie=V[1]-V[0];isFinite(ie)||(V[0]=0,V[1]=1),this.calcNiceTicks($.splitNumber,$.minInterval,$.maxInterval);var le=this._interval;$.fixMin||(V[0]=roundNumber(Math.floor(V[0]/le)*le)),$.fixMax||(V[1]=roundNumber(Math.ceil(V[1]/le)*le))},r.prototype.setNiceExtent=function($,V){this._niceExtent=[$,V]},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 $=[];return r.eachSeriesByType(t,function(V){isOnCartesian(V)&&$.push(V)}),$}function getValueAxesMinGaps(t){var r={};each$c(t,function(de){var pe=de.coordinateSystem,he=pe.getBaseAxis();if(!(he.type!=="time"&&he.type!=="value"))for(var _e=de.getData(),$e=he.dim+"_"+he.index,Ie=_e.getDimensionIndex(_e.mapDimension(he.dim)),Ve=_e.getStore(),Fe=0,Ue=Ve.count();Fe<Ue;++Fe){var qe=Ve.get(Ie,Fe);r[$e]?r[$e].push(qe):r[$e]=[qe]}});var $={};for(var V in r)if(r.hasOwnProperty(V)){var oe=r[V];if(oe){oe.sort(function(de,pe){return de-pe});for(var ie=null,le=1;le<oe.length;++le){var ue=oe[le]-oe[le-1];ue>0&&(ie=ie===null?ue:Math.min(ie,ue))}$[V]=ie}}return $}function makeColumnLayout(t){var r=getValueAxesMinGaps(t),$=[];return each$c(t,function(V){var oe=V.coordinateSystem,ie=oe.getBaseAxis(),le=ie.getExtent(),ue;if(ie.type==="category")ue=ie.getBandWidth();else if(ie.type==="value"||ie.type==="time"){var de=ie.dim+"_"+ie.index,pe=r[de],he=Math.abs(le[1]-le[0]),_e=ie.scale.getExtent(),$e=Math.abs(_e[1]-_e[0]);ue=pe?he/$e*pe:he}else{var Ie=V.getData();ue=Math.abs(le[1]-le[0])/Ie.count()}var Ve=parsePercent(V.get("barWidth"),ue),Fe=parsePercent(V.get("barMaxWidth"),ue),Ue=parsePercent(V.get("barMinWidth")||(isInLargeMode(V)?.5:1),ue),qe=V.get("barGap"),Et=V.get("barCategoryGap");$.push({bandWidth:ue,barWidth:Ve,barMaxWidth:Fe,barMinWidth:Ue,barGap:qe,barCategoryGap:Et,axisKey:getAxisKey(ie),stackId:getSeriesStackId(V)})}),doCalBarWidthAndOffset($)}function doCalBarWidthAndOffset(t){var r={};each$c(t,function(V,oe){var ie=V.axisKey,le=V.bandWidth,ue=r[ie]||{bandWidth:le,remainedWidth:le,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},de=ue.stacks;r[ie]=ue;var pe=V.stackId;de[pe]||ue.autoWidthCount++,de[pe]=de[pe]||{width:0,maxWidth:0};var he=V.barWidth;he&&!de[pe].width&&(de[pe].width=he,he=Math.min(ue.remainedWidth,he),ue.remainedWidth-=he);var _e=V.barMaxWidth;_e&&(de[pe].maxWidth=_e);var $e=V.barMinWidth;$e&&(de[pe].minWidth=$e);var Ie=V.barGap;Ie!=null&&(ue.gap=Ie);var Ve=V.barCategoryGap;Ve!=null&&(ue.categoryGap=Ve)});var $={};return each$c(r,function(V,oe){$[oe]={};var ie=V.stacks,le=V.bandWidth,ue=V.categoryGap;if(ue==null){var de=keys(ie).length;ue=Math.max(35-de*4,15)+"%"}var pe=parsePercent(ue,le),he=parsePercent(V.gap,1),_e=V.remainedWidth,$e=V.autoWidthCount,Ie=(_e-pe)/($e+($e-1)*he);Ie=Math.max(Ie,0),each$c(ie,function(qe){var Et=qe.maxWidth,Lt=qe.minWidth;if(qe.width){var hn=qe.width;Et&&(hn=Math.min(hn,Et)),Lt&&(hn=Math.max(hn,Lt)),qe.width=hn,_e-=hn+he*hn,$e--}else{var hn=Ie;Et&&Et<hn&&(hn=Math.min(Et,_e)),Lt&&Lt>hn&&(hn=Lt),hn!==Ie&&(qe.width=hn,_e-=hn+he*hn,$e--)}}),Ie=(_e-pe)/($e+($e-1)*he),Ie=Math.max(Ie,0);var Ve=0,Fe;each$c(ie,function(qe,Et){qe.width||(qe.width=Ie),Fe=qe,Ve+=qe.width*(1+he)}),Fe&&(Ve-=Fe.width*he);var Ue=-Ve/2;each$c(ie,function(qe,Et){$[oe][Et]=$[oe][Et]||{bandWidth:le,offset:Ue,width:qe.width},Ue+=qe.width*(1+he)})}),$}function retrieveColumnLayout(t,r,$){if(t&&r){var V=t[getAxisKey(r)];return V!=null&&$!=null?V[getSeriesStackId($)]:V}}function layout$2(t,r){var $=prepareLayoutBarSeries(t,r),V=makeColumnLayout($);each$c($,function(oe){var ie=oe.getData(),le=oe.coordinateSystem,ue=le.getBaseAxis(),de=getSeriesStackId(oe),pe=V[getAxisKey(ue)][de],he=pe.offset,_e=pe.width;ie.setLayout({bandWidth:pe.bandWidth,offset:he,size:_e})})}function createProgressiveLayout(t){return{seriesType:t,plan:createRenderPlanner(),reset:function(r){if(isOnCartesian(r)){var $=r.getData(),V=r.coordinateSystem,oe=V.getBaseAxis(),ie=V.getOtherAxis(oe),le=$.getDimensionIndex($.mapDimension(ie.dim)),ue=$.getDimensionIndex($.mapDimension(oe.dim)),de=r.get("showBackground",!0),pe=$.mapDimension(ie.dim),he=$.getCalculationInfo("stackResultDimension"),_e=isDimensionStacked($,pe)&&!!$.getCalculationInfo("stackedOnSeries"),$e=ie.isHorizontal(),Ie=getValueAxisStart(oe,ie),Ve=isInLargeMode(r),Fe=r.get("barMinHeight")||0,Ue=he&&$.getDimensionIndex(he),qe=$.getLayout("size"),Et=$.getLayout("offset");return{progress:function(Lt,hn){for(var Cn=Lt.count,bn=Ve&&createFloat32Array(Cn*3),Sn=Ve&&de&&createFloat32Array(Cn*3),En=Ve&&createFloat32Array(Cn),wn=V.master.getRect(),$n=$e?wn.width:wn.height,Tn,xn=hn.getStore(),An=0;(Tn=Lt.next())!=null;){var Mn=xn.get(_e?Ue:le,Tn),Vn=xn.get(ue,Tn),Bn=Ie,Dn=void 0;_e&&(Dn=+Mn-xn.get(le,Tn));var Ln=void 0,Pn=void 0,Fn=void 0,Un=void 0;if($e){var Wn=V.dataToPoint([Mn,Vn]);if(_e){var Zn=V.dataToPoint([Dn,Vn]);Bn=Zn[0]}Ln=Bn,Pn=Wn[1]+Et,Fn=Wn[0]-Bn,Un=qe,Math.abs(Fn)<Fe&&(Fn=(Fn<0?-1:1)*Fe)}else{var Wn=V.dataToPoint([Vn,Mn]);if(_e){var Zn=V.dataToPoint([Vn,Dn]);Bn=Zn[1]}Ln=Wn[0]+Et,Pn=Bn,Fn=qe,Un=Wn[1]-Bn,Math.abs(Un)<Fe&&(Un=(Un<=0?-1:1)*Fe)}Ve?(bn[An]=Ln,bn[An+1]=Pn,bn[An+2]=$e?Fn:Un,Sn&&(Sn[An]=$e?wn.x:Ln,Sn[An+1]=$e?Pn:wn.y,Sn[An+2]=$n),En[Tn]=Tn):hn.setItemLayout(Tn,{x:Ln,y:Pn,width:Fn,height:Un}),An+=3}Ve&&hn.setLayout({largePoints:bn,largeDataIndices:En,largeBackgroundPoints:Sn,valueAxisHorizontal:$e})}}}}}}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){for(;$<V;){var oe=$+V>>>1;t[oe][1]<r?$=oe+1:V=oe}return $},TimeScale=function(t){__extends(r,t);function r($){var V=t.call(this,$)||this;return V.type="time",V}return r.prototype.getLabel=function($){var V=this.getSetting("useUTC");return format$1($.value,fullLeveledFormatter[getDefaultFormatPrecisionOfInterval(getPrimaryTimeUnit(this._minLevelUnit))]||fullLeveledFormatter.second,V,this.getSetting("locale"))},r.prototype.getFormattedLabel=function($,V,oe){var ie=this.getSetting("useUTC"),le=this.getSetting("locale");return leveledFormat($,V,oe,le,ie)},r.prototype.getTicks=function(){var $=this._interval,V=this._extent,oe=[];if(!$)return oe;oe.push({value:V[0],level:0});var ie=this.getSetting("useUTC"),le=getIntervalTicks(this._minLevelUnit,this._approxInterval,ie,V);return oe=oe.concat(le),oe.push({value:V[1],level:0}),oe},r.prototype.calcNiceExtent=function($){var V=this._extent;if(V[0]===V[1]&&(V[0]-=ONE_DAY,V[1]+=ONE_DAY),V[1]===-1/0&&V[0]===1/0){var oe=new Date;V[1]=+new Date(oe.getFullYear(),oe.getMonth(),oe.getDate()),V[0]=V[1]-ONE_DAY}this.calcNiceTicks($.splitNumber,$.minInterval,$.maxInterval)},r.prototype.calcNiceTicks=function($,V,oe){$=$||10;var ie=this._extent,le=ie[1]-ie[0];this._approxInterval=le/$,V!=null&&this._approxInterval<V&&(this._approxInterval=V),oe!=null&&this._approxInterval>oe&&(this._approxInterval=oe);var ue=scaleIntervals.length,de=Math.min(bisect(scaleIntervals,this._approxInterval,0,ue),ue-1);this._interval=scaleIntervals[de][1],this._minLevelUnit=scaleIntervals[Math.max(de-1,0)][0]},r.prototype.parse=function($){return isNumber($)?$:+parseDate($)},r.prototype.contain=function($){return contain$1(this.parse($),this._extent)},r.prototype.normalize=function($){return normalize(this.parse($),this._extent)},r.prototype.scale=function($){return scale($,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){var oe=parseDate(r),ie=parseDate($),le=function(Ve){return getUnitValue(oe,Ve,V)===getUnitValue(ie,Ve,V)},ue=function(){return le("year")},de=function(){return ue()&&le("month")},pe=function(){return de()&&le("day")},he=function(){return pe()&&le("hour")},_e=function(){return he()&&le("minute")},$e=function(){return _e()&&le("second")},Ie=function(){return $e()&&le("millisecond")};switch(t){case"year":return ue();case"month":return de();case"day":return pe();case"hour":return he();case"minute":return _e();case"second":return $e();case"millisecond":return Ie()}}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,$){var V=new Date(t);switch(getPrimaryTimeUnit(r)){case"year":case"month":V[monthSetterName($)](0);case"day":V[dateSetterName($)](1);case"hour":V[hoursSetterName($)](0);case"minute":V[minutesSetterName($)](0);case"second":V[secondsSetterName($)](0),V[millisecondsSetterName($)](0)}return V.getTime()}function getIntervalTicks(t,r,$,V){var oe=1e4,ie=timeUnits,le=0;function ue($n,Tn,xn,An,Mn,Vn,Bn){for(var Dn=new Date(Tn),Ln=Tn,Pn=Dn[An]();Ln<xn&&Ln<=V[1];)Bn.push({value:Ln}),Pn+=$n,Dn[Mn](Pn),Ln=Dn.getTime();Bn.push({value:Ln,notAdd:!0})}function de($n,Tn,xn){var An=[],Mn=!Tn.length;if(!isUnitValueSame(getPrimaryTimeUnit($n),V[0],V[1],$)){Mn&&(Tn=[{value:getFirstTimestampOfUnit(new Date(V[0]),$n,$)},{value:V[1]}]);for(var Vn=0;Vn<Tn.length-1;Vn++){var Bn=Tn[Vn].value,Dn=Tn[Vn+1].value;if(Bn!==Dn){var Ln=void 0,Pn=void 0,Fn=void 0,Un=!1;switch($n){case"year":Ln=Math.max(1,Math.round(r/ONE_DAY/365)),Pn=fullYearGetterName($),Fn=fullYearSetterName($);break;case"half-year":case"quarter":case"month":Ln=getMonthInterval(r),Pn=monthGetterName($),Fn=monthSetterName($);break;case"week":case"half-week":case"day":Ln=getDateInterval(r),Pn=dateGetterName($),Fn=dateSetterName($),Un=!0;break;case"half-day":case"quarter-day":case"hour":Ln=getHourInterval(r),Pn=hoursGetterName($),Fn=hoursSetterName($);break;case"minute":Ln=getMinutesAndSecondsInterval(r,!0),Pn=minutesGetterName($),Fn=minutesSetterName($);break;case"second":Ln=getMinutesAndSecondsInterval(r,!1),Pn=secondsGetterName($),Fn=secondsSetterName($);break;case"millisecond":Ln=getMillisecondsInterval(r),Pn=millisecondsGetterName($),Fn=millisecondsSetterName($);break}ue(Ln,Bn,Dn,Pn,Fn,Un,An),$n==="year"&&xn.length>1&&Vn===0&&xn.unshift({value:xn[0].value-Ln})}}for(var Vn=0;Vn<An.length;Vn++)xn.push(An[Vn]);return An}}for(var pe=[],he=[],_e=0,$e=0,Ie=0;Ie<ie.length&&le++<oe;++Ie){var Ve=getPrimaryTimeUnit(ie[Ie]);if(isPrimaryTimeUnit(ie[Ie])){de(ie[Ie],pe[pe.length-1]||[],he);var Fe=ie[Ie+1]?getPrimaryTimeUnit(ie[Ie+1]):null;if(Ve!==Fe){if(he.length){$e=_e,he.sort(function($n,Tn){return $n.value-Tn.value});for(var Ue=[],qe=0;qe<he.length;++qe){var Et=he[qe].value;(qe===0||he[qe-1].value!==Et)&&(Ue.push(he[qe]),Et>=V[0]&&Et<=V[1]&&_e++)}var Lt=(V[1]-V[0])/r;if(_e>Lt*1.5&&$e>Lt/1.5||(pe.push(Ue),_e>Lt||t===ie[Ie]))break}he=[]}}}for(var hn=filter(map$2(pe,function($n){return filter($n,function(Tn){return Tn.value>=V[0]&&Tn.value<=V[1]&&!Tn.notAdd})}),function($n){return $n.length>0}),Cn=[],bn=hn.length-1,Ie=0;Ie<hn.length;++Ie)for(var Sn=hn[Ie],En=0;En<Sn.length;++En)Cn.push({value:Sn[En].value,level:bn-Ie});Cn.sort(function($n,Tn){return $n.value-Tn.value});for(var wn=[],Ie=0;Ie<Cn.length;++Ie)(Ie===0||Cn[Ie].value!==Cn[Ie-1].value)&&wn.push(Cn[Ie]);return wn}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 $=t!==null&&t.apply(this,arguments)||this;return $.type="log",$.base=10,$._originalScale=new IntervalScale$1,$._interval=0,$}return r.prototype.getTicks=function($){var V=this._originalScale,oe=this._extent,ie=V.getExtent(),le=intervalScaleProto.getTicks.call(this,$);return map$2(le,function(ue){var de=ue.value,pe=round$1(mathPow$1(this.base,de));return pe=de===oe[0]&&this._fixMin?fixRoundingError(pe,ie[0]):pe,pe=de===oe[1]&&this._fixMax?fixRoundingError(pe,ie[1]):pe,{value:pe}},this)},r.prototype.setExtent=function($,V){var oe=mathLog$1(this.base);$=mathLog$1(Math.max(0,$))/oe,V=mathLog$1(Math.max(0,V))/oe,intervalScaleProto.setExtent.call(this,$,V)},r.prototype.getExtent=function(){var $=this.base,V=scaleProto.getExtent.call(this);V[0]=mathPow$1($,V[0]),V[1]=mathPow$1($,V[1]);var oe=this._originalScale,ie=oe.getExtent();return this._fixMin&&(V[0]=fixRoundingError(V[0],ie[0])),this._fixMax&&(V[1]=fixRoundingError(V[1],ie[1])),V},r.prototype.unionExtent=function($){this._originalScale.unionExtent($);var V=this.base;$[0]=mathLog$1($[0])/mathLog$1(V),$[1]=mathLog$1($[1])/mathLog$1(V),scaleProto.unionExtent.call(this,$)},r.prototype.unionExtentFromData=function($,V){this.unionExtent($.getApproximateExtent(V))},r.prototype.calcNiceTicks=function($){$=$||10;var V=this._extent,oe=V[1]-V[0];if(!(oe===1/0||oe<=0)){var ie=quantity(oe),le=$/oe*ie;for(le<=.5&&(ie*=10);!isNaN(ie)&&Math.abs(ie)<1&&Math.abs(ie)>0;)ie*=10;var ue=[round$1(mathCeil(V[0]/ie)*ie),round$1(mathFloor(V[1]/ie)*ie)];this._interval=ie,this._niceExtent=ue}},r.prototype.calcNiceExtent=function($){intervalScaleProto.calcNiceExtent.call(this,$),this._fixMin=$.fixMin,this._fixMax=$.fixMax},r.prototype.parse=function($){return $},r.prototype.contain=function($){return $=mathLog$1($)/mathLog$1(this.base),contain$1($,this._extent)},r.prototype.normalize=function($){return $=mathLog$1($)/mathLog$1(this.base),normalize($,this._extent)},r.prototype.scale=function($){return $=scale($,this._extent),mathPow$1(this.base,$)},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){this._prepareParams(r,$,V)}return t.prototype._prepareParams=function(r,$,V){V[1]<V[0]&&(V=[NaN,NaN]),this._dataMin=V[0],this._dataMax=V[1];var oe=this._isOrdinal=r.type==="ordinal";this._needCrossZero=r.type==="interval"&&$.getNeedCrossZero&&$.getNeedCrossZero();var ie=this._modelMinRaw=$.get("min",!0);isFunction(ie)?this._modelMinNum=parseAxisModelMinMax(r,ie({min:V[0],max:V[1]})):ie!=="dataMin"&&(this._modelMinNum=parseAxisModelMinMax(r,ie));var le=this._modelMaxRaw=$.get("max",!0);if(isFunction(le)?this._modelMaxNum=parseAxisModelMinMax(r,le({min:V[0],max:V[1]})):le!=="dataMax"&&(this._modelMaxNum=parseAxisModelMinMax(r,le)),oe)this._axisDataLen=$.getCategories().length;else{var ue=$.get("boundaryGap"),de=isArray$1(ue)?ue:[ue||0,ue||0];typeof de[0]=="boolean"||typeof de[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[parsePercent$1(de[0],1),parsePercent$1(de[1],1)]}},t.prototype.calculate=function(){var r=this._isOrdinal,$=this._dataMin,V=this._dataMax,oe=this._axisDataLen,ie=this._boundaryGapInner,le=r?null:V-$||Math.abs($),ue=this._modelMinRaw==="dataMin"?$:this._modelMinNum,de=this._modelMaxRaw==="dataMax"?V:this._modelMaxNum,pe=ue!=null,he=de!=null;ue==null&&(ue=r?oe?0:NaN:$-ie[0]*le),de==null&&(de=r?oe?oe-1:NaN:V+ie[1]*le),(ue==null||!isFinite(ue))&&(ue=NaN),(de==null||!isFinite(de))&&(de=NaN);var _e=eqNaN(ue)||eqNaN(de)||r&&!oe;this._needCrossZero&&(ue>0&&de>0&&!pe&&(ue=0),ue<0&&de<0&&!he&&(de=0));var $e=this._determinedMin,Ie=this._determinedMax;return $e!=null&&(ue=$e,pe=!0),Ie!=null&&(de=Ie,he=!0),{min:ue,max:de,minFixed:pe,maxFixed:he,isBlank:_e}},t.prototype.modifyDataMinMax=function(r,$){this[DATA_MIN_MAX_ATTR[r]]=$},t.prototype.setDeterminedMinMax=function(r,$){var V=DETERMINED_MIN_MAX_ATTR[r];this[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,$){var V=t.rawExtentInfo;return V||(V=new ScaleRawExtentInfo(t,r,$),t.rawExtentInfo=V,V)}function parseAxisModelMinMax(t,r){return r==null?null:eqNaN(r)?NaN:t.parse(r)}function getScaleExtent(t,r){var $=t.type,V=ensureScaleRawExtentInfo(t,r,t.getExtent()).calculate();t.setBlank(V.isBlank);var oe=V.min,ie=V.max,le=r.ecModel;if(le&&$==="time"){var ue=prepareLayoutBarSeries("bar",le),de=!1;if(each$c(ue,function(_e){de=de||_e.getBaseAxis()===r.axis}),de){var pe=makeColumnLayout(ue),he=adjustScaleForOverflow(oe,ie,r,pe);oe=he.min,ie=he.max}}return{extent:[oe,ie],fixMin:V.minFixed,fixMax:V.maxFixed}}function adjustScaleForOverflow(t,r,$,V){var oe=$.axis.getExtent(),ie=oe[1]-oe[0],le=retrieveColumnLayout(V,$.axis);if(le===void 0)return{min:t,max:r};var ue=1/0;each$c(le,function(Ie){ue=Math.min(Ie.offset,ue)});var de=-1/0;each$c(le,function(Ie){de=Math.max(Ie.offset+Ie.width,de)}),ue=Math.abs(ue),de=Math.abs(de);var pe=ue+de,he=r-t,_e=1-(ue+de)/ie,$e=he/_e-he;return r+=$e*(de/pe),t-=$e*(ue/pe),{min:t,max:r}}function niceScaleExtent(t,r){var $=r,V=getScaleExtent(t,$),oe=V.extent,ie=$.get("splitNumber");t instanceof LogScale$1&&(t.base=$.get("logBase"));var le=t.type,ue=$.get("interval"),de=le==="interval"||le==="time";t.setExtent(oe[0],oe[1]),t.calcNiceExtent({splitNumber:ie,fixMin:V.fixMin,fixMax:V.fixMax,minInterval:de?$.get("minInterval"):null,maxInterval:de?$.get("maxInterval"):null}),ue!=null&&t.setInterval&&t.setInterval(ue)}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(),$=r[0],V=r[1];return!($>0&&V>0||$<0&&V<0)}function makeLabelFormatter(t){var r=t.getLabelModel().get("formatter"),$=t.type==="category"?t.scale.getExtent()[0]:null;return t.scale.type==="time"?function(V){return function(oe,ie){return t.scale.getFormattedLabel(oe,ie,V)}}(r):isString(r)?function(V){return function(oe){var ie=t.scale.getLabel(oe),le=V.replace("{value}",ie??"");return le}}(r):isFunction(r)?function(V){return function(oe,ie){return $!=null&&(ie=oe.value-$),V(getAxisRawValue(t,oe),ie,oe.level!=null?{level:oe.level}:null)}}(r):function(V){return t.scale.getLabel(V)}}function getAxisRawValue(t,r){return t.type==="category"?t.scale.getLabel(r):r.value}function estimateLabelUnionRect(t){var r=t.model,$=t.scale;if(!(!r.get(["axisLabel","show"])||$.isBlank())){var V,oe,ie=$.getExtent();$ instanceof OrdinalScale$1?oe=$.count():(V=$.getTicks(),oe=V.length);var le=t.getLabelModel(),ue=makeLabelFormatter(t),de,pe=1;oe>40&&(pe=Math.ceil(oe/40));for(var he=0;he<oe;he+=pe){var _e=V?V[he]:{value:ie[0]+he},$e=ue(_e,he),Ie=le.getTextRect($e),Ve=rotateTextRect(Ie,le.get("rotate")||0);de?de.union(Ve):de=Ve}return de}}function rotateTextRect(t,r){var $=r*Math.PI/180,V=t.width,oe=t.height,ie=V*Math.abs(Math.cos($))+Math.abs(oe*Math.sin($)),le=V*Math.abs(Math.sin($))+Math.abs(oe*Math.cos($)),ue=new BoundingRect$1(t.x,t.y,ie,le);return ue}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 $={};return each$c(t.mapDimensionsAll(r),function(V){$[getStackedDimension(t,V)]=!0}),keys($)}function unionAxisExtentFromData(t,r,$){r&&each$c(getDataDimensionsOnAxis(r,$),function(V){var oe=r.getApproximateExtent(V);oe[0]<t[0]&&(t[0]=oe[0]),oe[1]>t[1]&&(t[1]=oe[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 $=r;r instanceof Model$1||($=new Model$1(r));var V=createScaleByModel($);return V.setExtent(t[0],t[1]),niceScaleExtent(V,$),V}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,$){var V=0,oe=t[0];if(!oe)return!1;for(var ie=1;ie<t.length;ie++){var le=t[ie];V+=windingLine(oe[0],oe[1],le[0],le[1],r,$),oe=le}var ue=t[0];return(!isAroundEqual(oe[0],ue[0])||!isAroundEqual(oe[1],ue[1]))&&(V+=windingLine(oe[0],oe[1],ue[0],ue[1],r,$)),V!==0}var TMP_TRANSFORM=[];function transformPoints(t,r){for(var $=0;$<t.length;$++)applyTransform$1(t[$],t[$],r)}function updateBBoxFromPoints(t,r,$,V){for(var oe=0;oe<t.length;oe++){var ie=t[oe];V&&(ie=V.project(ie)),ie&&isFinite(ie[0])&&isFinite(ie[1])&&(min$1(r,r,ie),max$1($,$,ie))}}function centroid(t){for(var r=0,$=0,V=0,oe=t.length,ie=t[oe-1][0],le=t[oe-1][1],ue=0;ue<oe;ue++){var de=t[ue][0],pe=t[ue][1],he=ie*pe-de*le;r+=he,$+=(ie+de)*he,V+=(le+pe)*he,ie=de,le=pe}return r?[$/r/3,V/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,$){this.type="polygon",this.exterior=r,this.interiors=$}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){var ie=t.call(this,$)||this;return ie.type="geoJSON",ie.geometries=V,ie._center=oe&&[oe[0],oe[1]],ie}return r.prototype.calcCenter=function(){for(var $=this.geometries,V,oe=0,ie=0;ie<$.length;ie++){var le=$[ie],ue=le.exterior,de=ue&&ue.length;de>oe&&(V=le,oe=de)}if(V)return centroid(V.exterior);var pe=this.getBoundingRect();return[pe.x+pe.width/2,pe.y+pe.height/2]},r.prototype.getBoundingRect=function($){var V=this._rect;if(V&&!$)return V;var oe=[1/0,1/0],ie=[-1/0,-1/0],le=this.geometries;return each$c(le,function(ue){ue.type==="polygon"?updateBBoxFromPoints(ue.exterior,oe,ie,$):each$c(ue.points,function(de){updateBBoxFromPoints(de,oe,ie,$)})}),isFinite(oe[0])&&isFinite(oe[1])&&isFinite(ie[0])&&isFinite(ie[1])||(oe[0]=oe[1]=ie[0]=ie[1]=0),V=new BoundingRect$1(oe[0],oe[1],ie[0]-oe[0],ie[1]-oe[1]),$||(this._rect=V),V},r.prototype.contain=function($){var V=this.getBoundingRect(),oe=this.geometries;if(!V.contain($[0],$[1]))return!1;e:for(var ie=0,le=oe.length;ie<le;ie++){var ue=oe[ie];if(ue.type==="polygon"){var de=ue.exterior,pe=ue.interiors;if(contain(de,$[0],$[1])){for(var he=0;he<(pe?pe.length:0);he++)if(contain(pe[he],$[0],$[1]))continue e;return!0}}}return!1},r.prototype.transformTo=function($,V,oe,ie){var le=this.getBoundingRect(),ue=le.width/le.height;oe?ie||(ie=oe/ue):oe=ue*ie;for(var de=new BoundingRect$1($,V,oe,ie),pe=le.calculateTransform(de),he=this.geometries,_e=0;_e<he.length;_e++){var $e=he[_e];$e.type==="polygon"?(transformPoints($e.exterior,pe),each$c($e.interiors,function(Ie){transformPoints(Ie,pe)})):each$c($e.points,function(Ie){transformPoints(Ie,pe)})}le=this._rect,le.copy(de),this._center=[le.x+le.width/2,le.y+le.height/2]},r.prototype.cloneShallow=function($){$==null&&($=this.name);var V=new r($,this.geometries,this._center);return V._rect=this._rect,V.transformTo=null,V},r}(Region);(function(t){__extends(r,t);function r($,V){var oe=t.call(this,$)||this;return oe.type="geoSVG",oe._elOnlyForCalculate=V,oe}return r.prototype.calcCenter=function(){for(var $=this._elOnlyForCalculate,V=$.getBoundingRect(),oe=[V.x+V.width/2,V.y+V.height/2],ie=identity(TMP_TRANSFORM),le=$;le&&!le.isGeoSVGGraphicRoot;)mul(ie,le.getLocalTransform(),ie),le=le.parent;return invert(ie,ie),applyTransform$1(oe,oe,ie),oe},r})(Region);function decode(t){if(!t.UTF8Encoding)return t;var r=t,$=r.UTF8Scale;$==null&&($=1024);var V=r.features;return each$c(V,function(oe){var ie=oe.geometry,le=ie.encodeOffsets,ue=ie.coordinates;if(le)switch(ie.type){case"LineString":ie.coordinates=decodeRing(ue,le,$);break;case"Polygon":decodeRings(ue,le,$);break;case"MultiLineString":decodeRings(ue,le,$);break;case"MultiPolygon":each$c(ue,function(de,pe){return decodeRings(de,le[pe],$)})}}),r.UTF8Encoding=!1,r}function decodeRings(t,r,$){for(var V=0;V<t.length;V++)t[V]=decodeRing(t[V],r[V],$)}function decodeRing(t,r,$){for(var V=[],oe=r[0],ie=r[1],le=0;le<t.length;le+=2){var ue=t.charCodeAt(le)-64,de=t.charCodeAt(le+1)-64;ue=ue>>1^-(ue&1),de=de>>1^-(de&1),ue+=oe,de+=ie,oe=ue,ie=de,V.push([ue/$,de/$])}return V}function parseGeoJSON(t,r){return t=decode(t),map$2(filter(t.features,function($){return $.geometry&&$.properties&&$.geometry.coordinates.length>0}),function($){var V=$.properties,oe=$.geometry,ie=[];switch(oe.type){case"Polygon":var le=oe.coordinates;ie.push(new GeoJSONPolygonGeometry(le[0],le.slice(1)));break;case"MultiPolygon":each$c(oe.coordinates,function(de){de[0]&&ie.push(new GeoJSONPolygonGeometry(de[0],de.slice(1)))});break;case"LineString":ie.push(new GeoJSONLineStringGeometry([oe.coordinates]));break;case"MultiLineString":ie.push(new GeoJSONLineStringGeometry(oe.coordinates))}var ue=new GeoJSONRegion(V[r||"name"],ie,V.cp);return ue.properties=V,ue})}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($){return $.value})}}function makeCategoryLabels(t){var r=t.getLabelModel(),$=makeCategoryLabelsActually(t,r);return!r.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:$.labelCategoryInterval}:$}function makeCategoryLabelsActually(t,r){var $=getListCache(t,"labels"),V=getOptionCategoryInterval(r),oe=listCacheGet($,V);if(oe)return oe;var ie,le;return isFunction(V)?ie=makeLabelsByCustomizedCategoryInterval(t,V):(le=V==="auto"?makeAutoCategoryInterval(t):V,ie=makeLabelsByNumericCategoryInterval(t,le)),listCacheSet($,V,{labels:ie,labelCategoryInterval:le})}function makeCategoryTicks(t,r){var $=getListCache(t,"ticks"),V=getOptionCategoryInterval(r),oe=listCacheGet($,V);if(oe)return oe;var ie,le;if((!r.get("show")||t.scale.isBlank())&&(ie=[]),isFunction(V))ie=makeLabelsByCustomizedCategoryInterval(t,V,!0);else if(V==="auto"){var ue=makeCategoryLabelsActually(t,t.getLabelModel());le=ue.labelCategoryInterval,ie=map$2(ue.labels,function(de){return de.tickValue})}else le=V,ie=makeLabelsByNumericCategoryInterval(t,le,!0);return listCacheSet($,V,{ticks:ie,tickCategoryInterval:le})}function makeRealNumberLabels(t){var r=t.scale.getTicks(),$=makeLabelFormatter(t);return{labels:map$2(r,function(V,oe){return{level:V.level,formattedLabel:$(V,oe),rawLabel:t.scale.getLabel(V),tickValue:V.value}})}}function getListCache(t,r){return inner$7(t)[r]||(inner$7(t)[r]=[])}function listCacheGet(t,r){for(var $=0;$<t.length;$++)if(t[$].key===r)return t[$].value}function listCacheSet(t,r,$){return t.push({key:r,value:$}),$}function makeAutoCategoryInterval(t){var r=inner$7(t).autoInterval;return r??(inner$7(t).autoInterval=t.calculateCategoryInterval())}function calculateCategoryInterval(t){var r=fetchAutoCategoryIntervalCalculationParams(t),$=makeLabelFormatter(t),V=(r.axisRotate-r.labelRotate)/180*Math.PI,oe=t.scale,ie=oe.getExtent(),le=oe.count();if(ie[1]-ie[0]<1)return 0;var ue=1;le>40&&(ue=Math.max(1,Math.floor(le/40)));for(var de=ie[0],pe=t.dataToCoord(de+1)-t.dataToCoord(de),he=Math.abs(pe*Math.cos(V)),_e=Math.abs(pe*Math.sin(V)),$e=0,Ie=0;de<=ie[1];de+=ue){var Ve=0,Fe=0,Ue=getBoundingRect($({value:de}),r.font,"center","top");Ve=Ue.width*1.3,Fe=Ue.height*1.3,$e=Math.max($e,Ve,7),Ie=Math.max(Ie,Fe,7)}var qe=$e/he,Et=Ie/_e;isNaN(qe)&&(qe=1/0),isNaN(Et)&&(Et=1/0);var Lt=Math.max(0,Math.floor(Math.min(qe,Et))),hn=inner$7(t.model),Cn=t.getExtent(),bn=hn.lastAutoInterval,Sn=hn.lastTickCount;return bn!=null&&Sn!=null&&Math.abs(bn-Lt)<=1&&Math.abs(Sn-le)<=1&&bn>Lt&&hn.axisExtent0===Cn[0]&&hn.axisExtent1===Cn[1]?Lt=bn:(hn.lastTickCount=le,hn.lastAutoInterval=Lt,hn.axisExtent0=Cn[0],hn.axisExtent1=Cn[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,$){var V=makeLabelFormatter(t),oe=t.scale,ie=oe.getExtent(),le=t.getLabelModel(),ue=[],de=Math.max((r||0)+1,1),pe=ie[0],he=oe.count();pe!==0&&de>1&&he/de>2&&(pe=Math.round(Math.ceil(pe/de)*de));var _e=shouldShowAllLabels(t),$e=le.get("showMinLabel")||_e,Ie=le.get("showMaxLabel")||_e;$e&&pe!==ie[0]&&Fe(ie[0]);for(var Ve=pe;Ve<=ie[1];Ve+=de)Fe(Ve);Ie&&Ve-de!==ie[1]&&Fe(ie[1]);function Fe(Ue){var qe={value:Ue};ue.push($?Ue:{formattedLabel:V(qe),rawLabel:oe.getLabel(qe),tickValue:Ue})}return ue}function makeLabelsByCustomizedCategoryInterval(t,r,$){var V=t.scale,oe=makeLabelFormatter(t),ie=[];return each$c(V.getTicks(),function(le){var ue=V.getLabel(le),de=le.value;r(le.value,ue)&&ie.push($?de:{formattedLabel:oe(le),rawLabel:ue,tickValue:de})}),ie}var NORMALIZED_EXTENT=[0,1],Axis=function(){function t(r,$,V){this.onBand=!1,this.inverse=!1,this.dim=r,this.scale=$,this._extent=V||[0,0]}return t.prototype.contain=function(r){var $=this._extent,V=Math.min($[0],$[1]),oe=Math.max($[0],$[1]);return r>=V&&r<=oe},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,$){var V=this._extent;V[0]=r,V[1]=$},t.prototype.dataToCoord=function(r,$){var V=this._extent,oe=this.scale;return r=oe.normalize(r),this.onBand&&oe.type==="ordinal"&&(V=V.slice(),fixExtentWithBands(V,oe.count())),linearMap$2(r,NORMALIZED_EXTENT,V,$)},t.prototype.coordToData=function(r,$){var V=this._extent,oe=this.scale;this.onBand&&oe.type==="ordinal"&&(V=V.slice(),fixExtentWithBands(V,oe.count()));var ie=linearMap$2(r,V,NORMALIZED_EXTENT,$);return this.scale.scale(ie)},t.prototype.pointToData=function(r,$){},t.prototype.getTicksCoords=function(r){r=r||{};var $=r.tickModel||this.getTickModel(),V=createAxisTicks(this,$),oe=V.ticks,ie=map$2(oe,function(ue){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(ue):ue),tickValue:ue}},this),le=$.get("alignWithLabel");return fixOnBandTicksCoords(this,ie,le,r.clamp),ie},t.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var r=this.model.getModel("minorTick"),$=r.get("splitNumber");$>0&&$<100||($=5);var V=this.scale.getMinorTicks($),oe=map$2(V,function(ie){return map$2(ie,function(le){return{coord:this.dataToCoord(le),tickValue:le}},this)},this);return oe},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,$=this.scale.getExtent(),V=$[1]-$[0]+(this.onBand?1:0);V===0&&(V=1);var oe=Math.abs(r[1]-r[0]);return Math.abs(oe)/V},t.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},t}();function fixExtentWithBands(t,r){var $=t[1]-t[0],V=r,oe=$/V/2;t[0]+=oe,t[1]-=oe}function fixOnBandTicksCoords(t,r,$,V){var oe=r.length;if(!t.onBand||$||!oe)return;var ie=t.getExtent(),le,ue;if(oe===1)r[0].coord=ie[0],le=r[1]={coord:ie[1]};else{var de=r[oe-1].tickValue-r[0].tickValue,pe=(r[oe-1].coord-r[0].coord)/de;each$c(r,function(Ie){Ie.coord-=pe/2});var he=t.scale.getExtent();ue=1+he[1]-r[oe-1].tickValue,le={coord:r[oe-1].coord+pe*ue},r.push(le)}var _e=ie[0]>ie[1];$e(r[0].coord,ie[0])&&(V?r[0].coord=ie[0]:r.shift()),V&&$e(ie[0],r[0].coord)&&r.unshift({coord:ie[0]}),$e(ie[1],le.coord)&&(V?le.coord=ie[1]:r.pop()),V&&$e(le.coord,ie[1])&&r.push({coord:ie[1]});function $e(Ie,Ve){return Ie=round$1(Ie),Ve=round$1(Ve),_e?Ie>Ve:Ie<Ve}}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){var de=oe-t,pe=ie-r,he=$-t,_e=V-r,$e=Math.sqrt(he*he+_e*_e);he/=$e,_e/=$e;var Ie=de*he+pe*_e,Ve=Ie/$e;ue&&(Ve=Math.min(Math.max(Ve,0),1)),Ve*=$e;var Fe=le[0]=t+Ve*he,Ue=le[1]=r+Ve*_e;return Math.sqrt((Fe-oe)*(Fe-oe)+(Ue-ie)*(Ue-ie))}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 $=dir.len(),V=dir2.len();if(!($<.001||V<.001)){dir.scale(1/$),dir2.scale(1/V);var oe=dir.dot(dir2),ie=Math.cos(r);if(ie<oe){var le=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr),tmpProjPoint.scaleAndAdd(dir2,le/Math.tan(Math.PI-r));var ue=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(ue))return;ue<0?Point$1.copy(tmpProjPoint,pt1):ue>1&&Point$1.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(t[1])}}}}function limitSurfaceAngle(t,r,$){if($<=180&&$>0){$=$/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 V=dir.len(),oe=dir2.len();if(!(V<.001||oe<.001)){dir.scale(1/V),dir2.scale(1/oe);var ie=dir.dot(r),le=Math.cos($);if(ie<le){var ue=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr);var de=Math.PI/2,pe=Math.acos(dir2.dot(r)),he=de+pe-$;if(he>=de)Point$1.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,ue/Math.tan(Math.PI/2-he));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){var oe=$==="normal",ie=oe?t:t.ensureState($);ie.ignore=r;var le=V.get("smooth");le&&le===!0&&(le=.3),ie.shape=ie.shape||{},le>0&&(ie.shape.smooth=le);var ue=V.getModel("lineStyle").getLineStyle();oe?t.useStyle(ue):ie.style=ue}function buildLabelLinePath(t,r){var $=r.smooth,V=r.points;if(V)if(t.moveTo(V[0][0],V[0][1]),$>0&&V.length>=3){var oe=dist$1(V[0],V[1]),ie=dist$1(V[1],V[2]);if(!oe||!ie){t.lineTo(V[1][0],V[1][1]),t.lineTo(V[2][0],V[2][1]);return}var le=Math.min(oe,ie)*$,ue=lerp$1([],V[1],V[0],le/oe),de=lerp$1([],V[1],V[2],le/ie),pe=lerp$1([],ue,de,.5);t.bezierCurveTo(ue[0],ue[1],ue[0],ue[1],pe[0],pe[1]),t.bezierCurveTo(de[0],de[1],de[0],de[1],V[2][0],V[2][1])}else for(var he=1;he<V.length;he++)t.lineTo(V[he][0],V[he][1])}function setLabelLineStyle(t,r,$){var V=t.getTextGuideLine(),oe=t.getTextContent();if(!oe){V&&t.removeTextGuideLine();return}for(var ie=r.normal,le=ie.get("show"),ue=oe.ignore,de=0;de<DISPLAY_STATES.length;de++){var pe=DISPLAY_STATES[de],he=r[pe],_e=pe==="normal";if(he){var $e=he.get("show"),Ie=_e?ue:retrieve2(oe.states[pe]&&oe.states[pe].ignore,ue);if(Ie||!retrieve2($e,le)){var Ve=_e?V:V&&V.states[pe];Ve&&(Ve.ignore=!0);continue}V||(V=new Polyline$1,t.setTextGuideLine(V),!_e&&(ue||!le)&&setLabelLineState(V,!0,"normal",r.normal),t.stateProxy&&(V.stateProxy=t.stateProxy)),setLabelLineState(V,!1,pe,he)}}if(V){defaults(V.style,$),V.style.fill=null;var Fe=ie.get("showAbove"),Ue=t.textGuideLineConfig=t.textGuideLineConfig||{};Ue.showAbove=Fe||!1,V.buildPath=buildLabelLinePath}}function getLabelLineStatesModels(t,r){r=r||"labelLine";for(var $={normal:t.getModel(r)},V=0;V<SPECIAL_STATES.length;V++){var oe=SPECIAL_STATES[V];$[oe]=t.getModel([oe,r])}return $}function prepareLayoutList(t){for(var r=[],$=0;$<t.length;$++){var V=t[$];if(!V.defaultAttr.ignore){var oe=V.label,ie=oe.getComputedTransform(),le=oe.getBoundingRect(),ue=!ie||ie[1]<1e-5&&ie[2]<1e-5,de=oe.style.margin||0,pe=le.clone();pe.applyTransform(ie),pe.x-=de/2,pe.y-=de/2,pe.width+=de,pe.height+=de;var he=ue?new OrientedBoundingRect$1(le,ie):null;r.push({label:oe,labelLine:V.labelLine,rect:pe,localRect:le,obb:he,priority:V.priority,defaultAttr:V.defaultAttr,layoutOption:V.computedLayoutOption,axisAligned:ue,transform:ie})}}return r}function shiftLayout(t,r,$,V,oe,ie){var le=t.length;if(le<2)return;t.sort(function(En,wn){return En.rect[r]-wn.rect[r]});for(var ue=0,de,pe=!1,he=0,_e=0;_e<le;_e++){var $e=t[_e],Ie=$e.rect;de=Ie[r]-ue,de<0&&(Ie[r]-=de,$e.label[r]-=de,pe=!0);var Ve=Math.max(-de,0);he+=Ve,ue=Ie[r]+Ie[$]}he>0&&ie&&Cn(-he/le,0,le);var Fe=t[0],Ue=t[le-1],qe,Et;Lt(),qe<0&&bn(-qe,.8),Et<0&&bn(Et,.8),Lt(),hn(qe,Et,1),hn(Et,qe,-1),Lt(),qe<0&&Sn(-qe),Et<0&&Sn(Et);function Lt(){qe=Fe.rect[r]-V,Et=oe-Ue.rect[r]-Ue.rect[$]}function hn(En,wn,$n){if(En<0){var Tn=Math.min(wn,-En);if(Tn>0){Cn(Tn*$n,0,le);var xn=Tn+En;xn<0&&bn(-xn*$n,1)}else bn(-En*$n,1)}}function Cn(En,wn,$n){En!==0&&(pe=!0);for(var Tn=wn;Tn<$n;Tn++){var xn=t[Tn],An=xn.rect;An[r]+=En,xn.label[r]+=En}}function bn(En,wn){for(var $n=[],Tn=0,xn=1;xn<le;xn++){var An=t[xn-1].rect,Mn=Math.max(t[xn].rect[r]-An[r]-An[$],0);$n.push(Mn),Tn+=Mn}if(Tn){var Vn=Math.min(Math.abs(En)/Tn,wn);if(En>0)for(var xn=0;xn<le-1;xn++){var Bn=$n[xn]*Vn;Cn(Bn,0,xn+1)}else for(var xn=le-1;xn>0;xn--){var Bn=$n[xn-1]*Vn;Cn(-Bn,xn,le)}}}function Sn(En){var wn=En<0?-1:1;En=Math.abs(En);for(var $n=Math.ceil(En/(le-1)),Tn=0;Tn<le-1;Tn++)if(wn>0?Cn($n,0,Tn+1):Cn(-$n,le-Tn-1,le),En-=$n,En<=0)return}return pe}function shiftLayoutOnY(t,r,$,V){return shiftLayout(t,"y","height",r,$,V)}function hideOverlap(t){var r=[];t.sort(function(Fe,Ue){return Ue.priority-Fe.priority});var $=new BoundingRect$1(0,0,0,0);function V(Fe){if(!Fe.ignore){var Ue=Fe.ensureState("emphasis");Ue.ignore==null&&(Ue.ignore=!1)}Fe.ignore=!0}for(var oe=0;oe<t.length;oe++){var ie=t[oe],le=ie.axisAligned,ue=ie.localRect,de=ie.transform,pe=ie.label,he=ie.labelLine;$.copy(ie.rect),$.width-=.1,$.height-=.1,$.x+=.05,$.y+=.05;for(var _e=ie.obb,$e=!1,Ie=0;Ie<r.length;Ie++){var Ve=r[Ie];if($.intersect(Ve.rect)){if(le&&Ve.axisAligned){$e=!0;break}if(Ve.obb||(Ve.obb=new OrientedBoundingRect$1(Ve.localRect,Ve.transform)),_e||(_e=new OrientedBoundingRect$1(ue,de)),_e.intersect(Ve.obb)){$e=!0;break}}}$e?(V(pe),he&&V(he)):(pe.attr("ignore",ie.defaultAttr.ignore),he&&he.attr("ignore",ie.defaultAttr.labelGuideIgnore),r.push(ie))}}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,$){var V=platformApi.createCanvas(),oe=r.getWidth(),ie=r.getHeight(),le=V.style;return le&&(le.position="absolute",le.left="0",le.top="0",le.width=oe+"px",le.height=ie+"px",V.setAttribute("data-zr-dom-id",t)),V.width=oe*$,V.height=ie*$,V}var Layer=function(t){__extends(r,t);function r($,V,oe){var ie=t.call(this)||this;ie.motionBlur=!1,ie.lastFrameAlpha=.7,ie.dpr=1,ie.virtual=!1,ie.config={},ie.incremental=!1,ie.zlevel=0,ie.maxRepaintRectCount=5,ie.__dirty=!0,ie.__firstTimePaint=!0,ie.__used=!1,ie.__drawIndex=0,ie.__startIndex=0,ie.__endIndex=0,ie.__prevStartIndex=null,ie.__prevEndIndex=null;var le;oe=oe||devicePixelRatio,typeof $=="string"?le=createDom($,V,oe):isObject$3($)&&(le=$,$=le.id),ie.id=$,ie.dom=le;var ue=le.style;return ue&&(disableUserSelect(le),le.onselectstart=function(){return!1},ue.padding="0",ue.margin="0",ue.borderWidth="0"),ie.painter=V,ie.dpr=oe,ie}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 $=this.dpr;this.domBack=createDom("back-"+this.id,this.painter,$),this.ctxBack=this.domBack.getContext("2d"),$!==1&&this.ctxBack.scale($,$)},r.prototype.createRepaintRects=function($,V,oe,ie){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var le=[],ue=this.maxRepaintRectCount,de=!1,pe=new BoundingRect$1(0,0,0,0);function he(Et){if(!(!Et.isFinite()||Et.isZero()))if(le.length===0){var Lt=new BoundingRect$1(0,0,0,0);Lt.copy(Et),le.push(Lt)}else{for(var hn=!1,Cn=1/0,bn=0,Sn=0;Sn<le.length;++Sn){var En=le[Sn];if(En.intersect(Et)){var wn=new BoundingRect$1(0,0,0,0);wn.copy(En),wn.union(Et),le[Sn]=wn,hn=!0;break}else if(de){pe.copy(Et),pe.union(En);var $n=Et.width*Et.height,Tn=En.width*En.height,xn=pe.width*pe.height,An=xn-$n-Tn;An<Cn&&(Cn=An,bn=Sn)}}if(de&&(le[bn].union(Et),hn=!0),!hn){var Lt=new BoundingRect$1(0,0,0,0);Lt.copy(Et),le.push(Lt)}de||(de=le.length>=ue)}}for(var _e=this.__startIndex;_e<this.__endIndex;++_e){var $e=$[_e];if($e){var Ie=$e.shouldBePainted(oe,ie,!0,!0),Ve=$e.__isRendered&&($e.__dirty&REDRAW_BIT||!Ie)?$e.getPrevPaintRect():null;Ve&&he(Ve);var Fe=Ie&&($e.__dirty&REDRAW_BIT||!$e.__isRendered)?$e.getPaintRect():null;Fe&&he(Fe)}}for(var _e=this.__prevStartIndex;_e<this.__prevEndIndex;++_e){var $e=V[_e],Ie=$e.shouldBePainted(oe,ie,!0,!0);if($e&&(!Ie||!$e.__zr)&&$e.__isRendered){var Ve=$e.getPrevPaintRect();Ve&&he(Ve)}}var Ue;do{Ue=!1;for(var _e=0;_e<le.length;){if(le[_e].isZero()){le.splice(_e,1);continue}for(var qe=_e+1;qe<le.length;)le[_e].intersect(le[qe])?(Ue=!0,le[_e].union(le[qe]),le.splice(qe,1)):qe++;_e++}}while(Ue);return this._paintRects=le,le},r.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},r.prototype.resize=function($,V){var oe=this.dpr,ie=this.dom,le=ie.style,ue=this.domBack;le&&(le.width=$+"px",le.height=V+"px"),ie.width=$*oe,ie.height=V*oe,ue&&(ue.width=$*oe,ue.height=V*oe,oe!==1&&this.ctxBack.scale(oe,oe))},r.prototype.clear=function($,V,oe){var ie=this.dom,le=this.ctx,ue=ie.width,de=ie.height;V=V||this.clearColor;var pe=this.motionBlur&&!$,he=this.lastFrameAlpha,_e=this.dpr,$e=this;pe&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(ie,0,0,ue/_e,de/_e));var Ie=this.domBack;function Ve(Fe,Ue,qe,Et){if(le.clearRect(Fe,Ue,qe,Et),V&&V!=="transparent"){var Lt=void 0;if(isGradientObject(V)){var hn=V.global||V.__width===qe&&V.__height===Et;Lt=hn&&V.__canvasGradient||getCanvasGradient(le,V,{x:0,y:0,width:qe,height:Et}),V.__canvasGradient=Lt,V.__width=qe,V.__height=Et}else isImagePatternObject(V)&&(V.scaleX=V.scaleX||_e,V.scaleY=V.scaleY||_e,Lt=createCanvasPattern(le,V,{dirty:function(){$e.setUnpainted(),$e.__painter.refresh()}}));le.save(),le.fillStyle=Lt||V,le.fillRect(Fe,Ue,qe,Et),le.restore()}pe&&(le.save(),le.globalAlpha=he,le.drawImage(Ie,Fe,Ue,qe,Et),le.restore())}!oe||pe?Ve(0,0,ue,de):oe.length&&each$c(oe,function(Fe){Ve(Fe.x*_e,Fe.y*_e,Fe.width*_e,Fe.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 $=document.createElement("div");return $.style.cssText=["position:relative","width:"+t+"px","height:"+r+"px","padding:0","margin:0","border-width:0"].join(";")+";",$}var CanvasPainter=function(){function t(r,$,V,oe){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var ie=!r.nodeName||r.nodeName.toUpperCase()==="CANVAS";this._opts=V=extend({},V||{}),this.dpr=V.devicePixelRatio||devicePixelRatio,this._singleCanvas=ie,this.root=r;var le=r.style;le&&(disableUserSelect(r),r.innerHTML=""),this.storage=$;var ue=this._zlevelList;this._prevDisplayList=[];var de=this._layers;if(ie){var he=r,_e=he.width,$e=he.height;V.width!=null&&(_e=V.width),V.height!=null&&($e=V.height),this.dpr=V.devicePixelRatio||1,he.width=_e*this.dpr,he.height=$e*this.dpr,this._width=_e,this._height=$e;var Ie=new Layer$1(he,this,this.dpr);Ie.__builtin__=!0,Ie.initContext(),de[CANVAS_ZLEVEL]=Ie,Ie.zlevel=CANVAS_ZLEVEL,ue.push(CANVAS_ZLEVEL),this._domRoot=r}else{this._width=getSize$1(r,0,V),this._height=getSize$1(r,1,V);var pe=this._domRoot=createRoot(this._width,this._height);r.appendChild(pe)}}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 $=this.storage.getDisplayList(!0),V=this._prevDisplayList,oe=this._zlevelList;this._redrawId=Math.random(),this._paintList($,V,r,this._redrawId);for(var ie=0;ie<oe.length;ie++){var le=oe[ie],ue=this._layers[le];if(!ue.__builtin__&&ue.refresh){var de=ie===0?this._backgroundColor:null;ue.refresh(de)}}return this._opts.useDirtyRect&&(this._prevDisplayList=$.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(r){var $=r.length,V=this._hoverlayer;if(V&&V.clear(),!!$){for(var oe={inHover:!0,viewWidth:this._width,viewHeight:this._height},ie,le=0;le<$;le++){var ue=r[le];ue.__inHover&&(V||(V=this._hoverlayer=this.getLayer(HOVER_LAYER_ZLEVEL)),ie||(ie=V.ctx,ie.save()),brush(ie,ue,oe,le===$-1))}ie&&ie.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(HOVER_LAYER_ZLEVEL)},t.prototype.paintOne=function(r,$){brushSingle(r,$)},t.prototype._paintList=function(r,$,V,oe){if(this._redrawId===oe){V=V||!1,this._updateLayerStatus(r);var ie=this._doPaintList(r,$,V),le=ie.finished,ue=ie.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),ue&&this._paintHoverList(r),le)this.eachLayer(function(pe){pe.afterBrush&&pe.afterBrush()});else{var de=this;requestAnimationFrame$2(function(){de._paintList(r,$,V,oe)})}}},t.prototype._compositeManually=function(){var r=this.getLayer(CANVAS_ZLEVEL).ctx,$=this._domRoot.width,V=this._domRoot.height;r.clearRect(0,0,$,V),this.eachBuiltinLayer(function(oe){oe.virtual&&r.drawImage(oe.dom,0,0,$,V)})},t.prototype._doPaintList=function(r,$,V){for(var oe=this,ie=[],le=this._opts.useDirtyRect,ue=0;ue<this._zlevelList.length;ue++){var de=this._zlevelList[ue],pe=this._layers[de];pe.__builtin__&&pe!==this._hoverlayer&&(pe.__dirty||V)&&ie.push(pe)}for(var he=!0,_e=!1,$e=function(Fe){var Ue=ie[Fe],qe=Ue.ctx,Et=le&&Ue.createRepaintRects(r,$,Ie._width,Ie._height),Lt=V?Ue.__startIndex:Ue.__drawIndex,hn=!V&&Ue.incremental&&Date.now,Cn=hn&&Date.now(),bn=Ue.zlevel===Ie._zlevelList[0]?Ie._backgroundColor:null;if(Ue.__startIndex===Ue.__endIndex)Ue.clear(!1,bn,Et);else if(Lt===Ue.__startIndex){var Sn=r[Lt];(!Sn.incremental||!Sn.notClear||V)&&Ue.clear(!1,bn,Et)}Lt===-1&&(console.error("For some unknown reason. drawIndex is -1"),Lt=Ue.__startIndex);var En,wn=function(An){var Mn={inHover:!1,allClipped:!1,prevEl:null,viewWidth:oe._width,viewHeight:oe._height};for(En=Lt;En<Ue.__endIndex;En++){var Vn=r[En];if(Vn.__inHover&&(_e=!0),oe._doPaintEl(Vn,Ue,le,An,Mn,En===Ue.__endIndex-1),hn){var Bn=Date.now()-Cn;if(Bn>15)break}}Mn.prevElClipPaths&&qe.restore()};if(Et)if(Et.length===0)En=Ue.__endIndex;else for(var $n=Ie.dpr,Tn=0;Tn<Et.length;++Tn){var xn=Et[Tn];qe.save(),qe.beginPath(),qe.rect(xn.x*$n,xn.y*$n,xn.width*$n,xn.height*$n),qe.clip(),wn(xn),qe.restore()}else qe.save(),wn(),qe.restore();Ue.__drawIndex=En,Ue.__drawIndex<Ue.__endIndex&&(he=!1)},Ie=this,Ve=0;Ve<ie.length;Ve++)$e(Ve);return env$1.wxa&&each$c(this._layers,function(Fe){Fe&&Fe.ctx&&Fe.ctx.draw&&Fe.ctx.draw()}),{finished:he,needsRefreshHover:_e}},t.prototype._doPaintEl=function(r,$,V,oe,ie,le){var ue=$.ctx;if(V){var de=r.getPaintRect();(!oe||de&&de.intersect(oe))&&(brush(ue,r,ie,le),r.setPrevPaintRect(de))}else brush(ue,r,ie,le)},t.prototype.getLayer=function(r,$){this._singleCanvas&&!this._needsManuallyCompositing&&(r=CANVAS_ZLEVEL);var V=this._layers[r];return V||(V=new Layer$1("zr_"+r,this,this.dpr),V.zlevel=r,V.__builtin__=!0,this._layerConfig[r]?merge(V,this._layerConfig[r],!0):this._layerConfig[r-EL_AFTER_INCREMENTAL_INC]&&merge(V,this._layerConfig[r-EL_AFTER_INCREMENTAL_INC],!0),$&&(V.virtual=$),this.insertLayer(r,V),V.initContext()),V},t.prototype.insertLayer=function(r,$){var V=this._layers,oe=this._zlevelList,ie=oe.length,le=this._domRoot,ue=null,de=-1;if(!V[r]&&isLayerValid($)){if(ie>0&&r>oe[0]){for(de=0;de<ie-1&&!(oe[de]<r&&oe[de+1]>r);de++);ue=V[oe[de]]}if(oe.splice(de+1,0,r),V[r]=$,!$.virtual)if(ue){var pe=ue.dom;pe.nextSibling?le.insertBefore($.dom,pe.nextSibling):le.appendChild($.dom)}else le.firstChild?le.insertBefore($.dom,le.firstChild):le.appendChild($.dom);$.__painter=this}},t.prototype.eachLayer=function(r,$){for(var V=this._zlevelList,oe=0;oe<V.length;oe++){var ie=V[oe];r.call($,this._layers[ie],ie)}},t.prototype.eachBuiltinLayer=function(r,$){for(var V=this._zlevelList,oe=0;oe<V.length;oe++){var ie=V[oe],le=this._layers[ie];le.__builtin__&&r.call($,le,ie)}},t.prototype.eachOtherLayer=function(r,$){for(var V=this._zlevelList,oe=0;oe<V.length;oe++){var ie=V[oe],le=this._layers[ie];le.__builtin__||r.call($,le,ie)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(r){this.eachBuiltinLayer(function(_e,$e){_e.__dirty=_e.__used=!1});function $(_e){ie&&(ie.__endIndex!==_e&&(ie.__dirty=!0),ie.__endIndex=_e)}if(this._singleCanvas)for(var V=1;V<r.length;V++){var oe=r[V];if(oe.zlevel!==r[V-1].zlevel||oe.incremental){this._needsManuallyCompositing=!0;break}}var ie=null,le=0,ue,de;for(de=0;de<r.length;de++){var oe=r[de],pe=oe.zlevel,he=void 0;ue!==pe&&(ue=pe,le=0),oe.incremental?(he=this.getLayer(pe+INCREMENTAL_INC,this._needsManuallyCompositing),he.incremental=!0,le=1):he=this.getLayer(pe+(le>0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),he.__builtin__||logError("ZLevel "+pe+" has been used by unkown layer "+he.id),he!==ie&&(he.__used=!0,he.__startIndex!==de&&(he.__dirty=!0),he.__startIndex=de,he.incremental?he.__drawIndex=-1:he.__drawIndex=de,$(de),ie=he),oe.__dirty&REDRAW_BIT&&!oe.__inHover&&(he.__dirty=!0,he.incremental&&he.__drawIndex<0&&(he.__drawIndex=de))}$(de),this.eachBuiltinLayer(function(_e,$e){!_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($){$.setUnpainted()})},t.prototype.configLayer=function(r,$){if($){var V=this._layerConfig;V[r]?merge(V[r],$,!0):V[r]=$;for(var oe=0;oe<this._zlevelList.length;oe++){var ie=this._zlevelList[oe];if(ie===r||ie===r+EL_AFTER_INCREMENTAL_INC){var le=this._layers[ie];merge(le,V[r],!0)}}}},t.prototype.delLayer=function(r){var $=this._layers,V=this._zlevelList,oe=$[r];oe&&(oe.dom.parentNode.removeChild(oe.dom),delete $[r],V.splice(indexOf(V,r),1))},t.prototype.resize=function(r,$){if(this._domRoot.style){var V=this._domRoot;V.style.display="none";var oe=this._opts,ie=this.root;if(r!=null&&(oe.width=r),$!=null&&(oe.height=$),r=getSize$1(ie,0,oe),$=getSize$1(ie,1,oe),V.style.display="",this._width!==r||$!==this._height){V.style.width=r+"px",V.style.height=$+"px";for(var le in this._layers)this._layers.hasOwnProperty(le)&&this._layers[le].resize(r,$);this.refresh(!0)}this._width=r,this._height=$}else{if(r==null||$==null)return;this._width=r,this._height=$,this.getLayer(CANVAS_ZLEVEL).resize(r,$)}return this},t.prototype.clearLayer=function(r){var $=this._layers[r];$&&$.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 $=new Layer$1("image",this,r.pixelRatio||this.dpr);$.initContext(),$.clear(!1,r.backgroundColor||this._backgroundColor);var V=$.ctx;if(r.pixelRatio<=this.dpr){this.refresh();var oe=$.dom.width,ie=$.dom.height;this.eachLayer(function(_e){_e.__builtin__?V.drawImage(_e.dom,0,0,oe,ie):_e.renderToCanvas&&(V.save(),_e.renderToCanvas(V),V.restore())})}else for(var le={inHover:!1,viewWidth:this._width,viewHeight:this._height},ue=this.storage.getDisplayList(!0),de=0,pe=ue.length;de<pe;de++){var he=ue[de];brush(V,he,le,de===pe-1)}return $.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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$.hasSymbolVisual=!0,$}return r.prototype.getInitialData=function($){return createSeriesData(null,this,{useEncodeDefaulter:!0})},r.prototype.getLegendIcon=function($){var V=new Group$3,oe=createSymbol("line",0,$.itemHeight/2,$.itemWidth,0,$.lineStyle.stroke,!1);V.add(oe),oe.setStyle($.lineStyle);var ie=this.getData().getVisual("symbol"),le=this.getData().getVisual("symbolRotate"),ue=ie==="none"?"circle":ie,de=$.itemHeight*.8,pe=createSymbol(ue,($.itemWidth-de)/2,($.itemHeight-de)/2,de,de,$.itemStyle.fill);V.add(pe),pe.setStyle($.itemStyle);var he=$.iconRotate==="inherit"?le:$.iconRotate||0;return pe.rotation=he*Math.PI/180,pe.setOrigin([$.itemWidth/2,$.itemHeight/2]),ue.indexOf("empty")>-1&&(pe.style.stroke=pe.style.fill,pe.style.fill="#fff",pe.style.lineWidth=2),V},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 $=t.mapDimensionsAll("defaultedLabel"),V=$.length;if(V===1){var oe=retrieveRawValue(t,r,$[0]);return oe!=null?oe+"":null}else if(V){for(var ie=[],le=0;le<$.length;le++)ie.push(retrieveRawValue(t,r,$[le]));return ie.join(" ")}}function getDefaultInterpolatedLabel(t,r){var $=t.mapDimensionsAll("defaultedLabel");if(!isArray$1(r))return r+"";for(var V=[],oe=0;oe<$.length;oe++){var ie=t.getDimensionIndex($[oe]);ie>=0&&V.push(r[ie])}return V.join(" ")}var Symbol$1=function(t){__extends(r,t);function r($,V,oe,ie){var le=t.call(this)||this;return le.updateData($,V,oe,ie),le}return r.prototype._createSymbol=function($,V,oe,ie,le){this.removeAll();var ue=createSymbol($,-1,-1,2,2,null,le);ue.attr({z2:100,culling:!0,scaleX:ie[0]/2,scaleY:ie[1]/2}),ue.drift=driftSymbol,this._symbolType=$,this.add(ue)},r.prototype.stopSymbolAnimation=function($){this.childAt(0).stopAnimation(null,$)},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){var oe=this.childAt(0);oe.zlevel=$,oe.z=V},r.prototype.setDraggable=function($,V){var oe=this.childAt(0);oe.draggable=$,oe.cursor=!V&&$?"move":oe.cursor},r.prototype.updateData=function($,V,oe,ie){this.silent=!1;var le=$.getItemVisual(V,"symbol")||"circle",ue=$.hostModel,de=r.getSymbolSize($,V),pe=le!==this._symbolType,he=ie&&ie.disableAnimation;if(pe){var _e=$.getItemVisual(V,"symbolKeepAspect");this._createSymbol(le,$,V,de,_e)}else{var $e=this.childAt(0);$e.silent=!1;var Ie={scaleX:de[0]/2,scaleY:de[1]/2};he?$e.attr(Ie):updateProps$1($e,Ie,ue,V),saveOldStyle($e)}if(this._updateCommon($,V,de,oe,ie),pe){var $e=this.childAt(0);if(!he){var Ie={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:$e.style.opacity}};$e.scaleX=$e.scaleY=0,$e.style.opacity=0,initProps($e,Ie,ue,V)}}he&&this.childAt(0).stopAnimation("leave")},r.prototype._updateCommon=function($,V,oe,ie,le){var ue=this.childAt(0),de=$.hostModel,pe,he,_e,$e,Ie,Ve,Fe,Ue,qe;if(ie&&(pe=ie.emphasisItemStyle,he=ie.blurItemStyle,_e=ie.selectItemStyle,$e=ie.focus,Ie=ie.blurScope,Fe=ie.labelStatesModels,Ue=ie.hoverScale,qe=ie.cursorStyle,Ve=ie.emphasisDisabled),!ie||$.hasItemOption){var Et=ie&&ie.itemModel?ie.itemModel:$.getItemModel(V),Lt=Et.getModel("emphasis");pe=Lt.getModel("itemStyle").getItemStyle(),_e=Et.getModel(["select","itemStyle"]).getItemStyle(),he=Et.getModel(["blur","itemStyle"]).getItemStyle(),$e=Lt.get("focus"),Ie=Lt.get("blurScope"),Ve=Lt.get("disabled"),Fe=getLabelStatesModels(Et),Ue=Lt.getShallow("scale"),qe=Et.getShallow("cursor")}var hn=$.getItemVisual(V,"symbolRotate");ue.attr("rotation",(hn||0)*Math.PI/180||0);var Cn=normalizeSymbolOffset($.getItemVisual(V,"symbolOffset"),oe);Cn&&(ue.x=Cn[0],ue.y=Cn[1]),qe&&ue.attr("cursor",qe);var bn=$.getItemVisual(V,"style"),Sn=bn.fill;if(ue instanceof ZRImage$1){var En=ue.style;ue.useStyle(extend({image:En.image,x:En.x,y:En.y,width:En.width,height:En.height},bn))}else ue.__isEmptyBrush?ue.useStyle(extend({},bn)):ue.useStyle(bn),ue.style.decal=null,ue.setColor(Sn,le&&le.symbolInnerColor),ue.style.strokeNoScale=!0;var wn=$.getItemVisual(V,"liftZ"),$n=this._z2;wn!=null?$n==null&&(this._z2=ue.z2,ue.z2+=wn):$n!=null&&(ue.z2=$n,this._z2=null);var Tn=le&&le.useNameLabel;setLabelStyle(ue,Fe,{labelFetcher:de,labelDataIndex:V,defaultText:xn,inheritColor:Sn,defaultOpacity:bn.opacity});function xn(Vn){return Tn?$.getName(Vn):getDefaultLabel($,Vn)}this._sizeX=oe[0]/2,this._sizeY=oe[1]/2;var An=ue.ensureState("emphasis");An.style=pe,ue.ensureState("select").style=_e,ue.ensureState("blur").style=he;var Mn=Ue==null||Ue===!0?Math.max(1.1,3/this._sizeY):isFinite(Ue)&&Ue>0?+Ue:1;An.scaleX=this._sizeX*Mn,An.scaleY=this._sizeY*Mn,this.setSymbolScale(1),toggleHoverEmphasis(this,$e,Ie,Ve)},r.prototype.setSymbolScale=function($){this.scaleX=this.scaleY=$},r.prototype.fadeOut=function($,V,oe){var ie=this.childAt(0),le=getECData(this).dataIndex,ue=oe&&oe.animation;if(this.silent=ie.silent=!0,oe&&oe.fadeLabel){var de=ie.getTextContent();de&&removeElement(de,{style:{opacity:0}},V,{dataIndex:le,removeOpt:ue,cb:function(){ie.removeTextContent()}})}else ie.removeTextContent();removeElement(ie,{style:{opacity:0},scaleX:0,scaleY:0},V,{dataIndex:le,cb:$,removeOpt:ue})},r.getSymbolSize=function($,V){return normalizeSymbolSize($.getItemVisual(V,"symbolSize"))},r}(Group$3);function driftSymbol(t,r){this.parent.drift(t,r)}const SymbolClz=Symbol$1;function symbolNeedsDraw(t,r,$,V){return r&&!isNaN(r[0])&&!isNaN(r[1])&&!(V.isIgnore&&V.isIgnore($))&&!(V.clipShape&&!V.clipShape.contain(r[0],r[1]))&&t.getItemVisual($,"symbol")!=="none"}function normalizeUpdateOpt(t){return t!=null&&!isObject$3(t)&&(t={isIgnore:t}),t||{}}function makeSeriesScope(t){var r=t.hostModel,$=r.getModel("emphasis");return{emphasisItemStyle:$.getModel("itemStyle").getItemStyle(),blurItemStyle:r.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:r.getModel(["select","itemStyle"]).getItemStyle(),focus:$.get("focus"),blurScope:$.get("blurScope"),emphasisDisabled:$.get("disabled"),hoverScale:$.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,$){this._progressiveEls=null,$=normalizeUpdateOpt($);var V=this.group,oe=r.hostModel,ie=this._data,le=this._SymbolCtor,ue=$.disableAnimation,de=makeSeriesScope(r),pe={disableAnimation:ue},he=$.getSymbolPoint||function(_e){return r.getItemLayout(_e)};ie||V.removeAll(),r.diff(ie).add(function(_e){var $e=he(_e);if(symbolNeedsDraw(r,$e,_e,$)){var Ie=new le(r,_e,de,pe);Ie.setPosition($e),r.setItemGraphicEl(_e,Ie),V.add(Ie)}}).update(function(_e,$e){var Ie=ie.getItemGraphicEl($e),Ve=he(_e);if(!symbolNeedsDraw(r,Ve,_e,$)){V.remove(Ie);return}var Fe=r.getItemVisual(_e,"symbol")||"circle",Ue=Ie&&Ie.getSymbolType&&Ie.getSymbolType();if(!Ie||Ue&&Ue!==Fe)V.remove(Ie),Ie=new le(r,_e,de,pe),Ie.setPosition(Ve);else{Ie.updateData(r,_e,de,pe);var qe={x:Ve[0],y:Ve[1]};ue?Ie.attr(qe):updateProps$1(Ie,qe,oe)}V.add(Ie),r.setItemGraphicEl(_e,Ie)}).remove(function(_e){var $e=ie.getItemGraphicEl(_e);$e&&$e.fadeOut(function(){V.remove($e)},oe)}).execute(),this._getSymbolPoint=he,this._data=r},t.prototype.updateLayout=function(){var r=this,$=this._data;$&&$.eachItemGraphicEl(function(V,oe){var ie=r._getSymbolPoint(oe);V.setPosition(ie),V.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(r){this._seriesScope=makeSeriesScope(r),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(r,$,V){this._progressiveEls=[],V=normalizeUpdateOpt(V);function oe(de){de.isGroup||(de.incremental=!0,de.ensureState("emphasis").hoverLayer=!0)}for(var ie=r.start;ie<r.end;ie++){var le=$.getItemLayout(ie);if(symbolNeedsDraw($,le,ie,V)){var ue=new this._SymbolCtor($,ie,this._seriesScope);ue.traverse(oe),ue.setPosition(le),this.group.add(ue),$.setItemGraphicEl(ie,ue),this._progressiveEls.push(ue)}}},t.prototype.eachRendered=function(r){traverseElements(this._progressiveEls||this.group,r)},t.prototype.remove=function(r){var $=this.group,V=this._data;V&&r?V.eachItemGraphicEl(function(oe){oe.fadeOut(function(){$.remove(oe)},V.hostModel)}):$.removeAll()},t}();const SymbolDraw$1=SymbolDraw;function prepareDataCoordInfo(t,r,$){var V=t.getBaseAxis(),oe=t.getOtherAxis(V),ie=getValueStart(oe,$),le=V.dim,ue=oe.dim,de=r.mapDimension(ue),pe=r.mapDimension(le),he=ue==="x"||ue==="radius"?1:0,_e=map$2(t.dimensions,function(Ve){return r.mapDimension(Ve)}),$e=!1,Ie=r.getCalculationInfo("stackResultDimension");return isDimensionStacked(r,_e[0])&&($e=!0,_e[0]=Ie),isDimensionStacked(r,_e[1])&&($e=!0,_e[1]=Ie),{dataDimsForPoint:_e,valueStart:ie,valueAxisDim:ue,baseAxisDim:le,stacked:!!$e,valueDim:de,baseDim:pe,baseDataOffset:he,stackedOverDimension:r.getCalculationInfo("stackedOverDimension")}}function getValueStart(t,r){var $=0,V=t.scale.getExtent();return r==="start"?$=V[0]:r==="end"?$=V[1]:isNumber(r)&&!isNaN(r)?$=r:V[0]>0?$=V[0]:V[1]<0&&($=V[1]),$}function getStackedOnPoint(t,r,$,V){var oe=NaN;t.stacked&&(oe=$.get($.getCalculationInfo("stackedOverDimension"),V)),isNaN(oe)&&(oe=t.valueStart);var ie=t.baseDataOffset,le=[];return le[ie]=$.get(t.baseDim,V),le[1-ie]=oe,r.dataToPoint(le)}function diffData(t,r){var $=[];return r.diff(t).add(function(V){$.push({cmd:"+",idx:V})}).update(function(V,oe){$.push({cmd:"=",idx:oe,idx1:V})}).remove(function(V){$.push({cmd:"-",idx:V})}).execute(),$}function lineAnimationDiff(t,r,$,V,oe,ie,le,ue){for(var de=diffData(t,r),pe=[],he=[],_e=[],$e=[],Ie=[],Ve=[],Fe=[],Ue=prepareDataCoordInfo(oe,r,le),qe=t.getLayout("points")||[],Et=r.getLayout("points")||[],Lt=0;Lt<de.length;Lt++){var hn=de[Lt],Cn=!0,bn=void 0,Sn=void 0;switch(hn.cmd){case"=":bn=hn.idx*2,Sn=hn.idx1*2;var En=qe[bn],wn=qe[bn+1],$n=Et[Sn],Tn=Et[Sn+1];(isNaN(En)||isNaN(wn))&&(En=$n,wn=Tn),pe.push(En,wn),he.push($n,Tn),_e.push($[bn],$[bn+1]),$e.push(V[Sn],V[Sn+1]),Fe.push(r.getRawIndex(hn.idx1));break;case"+":var xn=hn.idx,An=Ue.dataDimsForPoint,Mn=oe.dataToPoint([r.get(An[0],xn),r.get(An[1],xn)]);Sn=xn*2,pe.push(Mn[0],Mn[1]),he.push(Et[Sn],Et[Sn+1]);var Vn=getStackedOnPoint(Ue,oe,r,xn);_e.push(Vn[0],Vn[1]),$e.push(V[Sn],V[Sn+1]),Fe.push(r.getRawIndex(xn));break;case"-":Cn=!1}Cn&&(Ie.push(hn),Ve.push(Ve.length))}Ve.sort(function(br,Qn){return Fe[br]-Fe[Qn]});for(var Bn=pe.length,Dn=createFloat32Array(Bn),Ln=createFloat32Array(Bn),Pn=createFloat32Array(Bn),Fn=createFloat32Array(Bn),Un=[],Lt=0;Lt<Ve.length;Lt++){var Wn=Ve[Lt],Zn=Lt*2,or=Wn*2;Dn[Zn]=pe[or],Dn[Zn+1]=pe[or+1],Ln[Zn]=he[or],Ln[Zn+1]=he[or+1],Pn[Zn]=_e[or],Pn[Zn+1]=_e[or+1],Fn[Zn]=$e[or],Fn[Zn+1]=$e[or+1],Un[Lt]=Ie[Wn]}return{current:Dn,next:Ln,stackedOnCurrent:Pn,stackedOnNext:Fn,status:Un}}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){for(var pe,he,_e,$e,Ie,Ve,Fe=$,Ue=0;Ue<V;Ue++){var qe=r[Fe*2],Et=r[Fe*2+1];if(Fe>=oe||Fe<0)break;if(isPointNull$1(qe,Et)){if(de){Fe+=ie;continue}break}if(Fe===$)t[ie>0?"moveTo":"lineTo"](qe,Et),_e=qe,$e=Et;else{var Lt=qe-pe,hn=Et-he;if(Lt*Lt+hn*hn<.5){Fe+=ie;continue}if(le>0){for(var Cn=Fe+ie,bn=r[Cn*2],Sn=r[Cn*2+1];bn===qe&&Sn===Et&&Ue<V;)Ue++,Cn+=ie,Fe+=ie,bn=r[Cn*2],Sn=r[Cn*2+1],qe=r[Fe*2],Et=r[Fe*2+1],Lt=qe-pe,hn=Et-he;var En=Ue+1;if(de)for(;isPointNull$1(bn,Sn)&&En<V;)En++,Cn+=ie,bn=r[Cn*2],Sn=r[Cn*2+1];var wn=.5,$n=0,Tn=0,xn=void 0,An=void 0;if(En>=V||isPointNull$1(bn,Sn))Ie=qe,Ve=Et;else{$n=bn-pe,Tn=Sn-he;var Mn=qe-pe,Vn=bn-qe,Bn=Et-he,Dn=Sn-Et,Ln=void 0,Pn=void 0;if(ue==="x"){Ln=Math.abs(Mn),Pn=Math.abs(Vn);var Fn=$n>0?1:-1;Ie=qe-Fn*Ln*le,Ve=Et,xn=qe+Fn*Pn*le,An=Et}else if(ue==="y"){Ln=Math.abs(Bn),Pn=Math.abs(Dn);var Un=Tn>0?1:-1;Ie=qe,Ve=Et-Un*Ln*le,xn=qe,An=Et+Un*Pn*le}else Ln=Math.sqrt(Mn*Mn+Bn*Bn),Pn=Math.sqrt(Vn*Vn+Dn*Dn),wn=Pn/(Pn+Ln),Ie=qe-$n*le*(1-wn),Ve=Et-Tn*le*(1-wn),xn=qe+$n*le*wn,An=Et+Tn*le*wn,xn=mathMin$3(xn,mathMax$3(bn,qe)),An=mathMin$3(An,mathMax$3(Sn,Et)),xn=mathMax$3(xn,mathMin$3(bn,qe)),An=mathMax$3(An,mathMin$3(Sn,Et)),$n=xn-qe,Tn=An-Et,Ie=qe-$n*Ln/Pn,Ve=Et-Tn*Ln/Pn,Ie=mathMin$3(Ie,mathMax$3(pe,qe)),Ve=mathMin$3(Ve,mathMax$3(he,Et)),Ie=mathMax$3(Ie,mathMin$3(pe,qe)),Ve=mathMax$3(Ve,mathMin$3(he,Et)),$n=qe-Ie,Tn=Et-Ve,xn=qe+$n*Pn/Ln,An=Et+Tn*Pn/Ln}t.bezierCurveTo(_e,$e,Ie,Ve,qe,Et),_e=xn,$e=An}else t.lineTo(qe,Et)}pe=qe,he=Et,Fe+=ie}return Ue}var ECPolylineShape=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),ECPolyline=function(t){__extends(r,t);function r($){var V=t.call(this,$)||this;return V.type="ec-polyline",V}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new ECPolylineShape},r.prototype.buildPath=function($,V){var oe=V.points,ie=0,le=oe.length/2;if(V.connectNulls){for(;le>0&&isPointNull$1(oe[le*2-2],oe[le*2-1]);le--);for(;ie<le&&isPointNull$1(oe[ie*2],oe[ie*2+1]);ie++);}for(;ie<le;)ie+=drawSegment($,oe,ie,le,le,1,V.smooth,V.smoothMonotone,V.connectNulls)+1},r.prototype.getPointOn=function($,V){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var oe=this.path,ie=oe.data,le=PathProxy$1.CMD,ue,de,pe=V==="x",he=[],_e=0;_e<ie.length;){var $e=ie[_e++],Ie=void 0,Ve=void 0,Fe=void 0,Ue=void 0,qe=void 0,Et=void 0,Lt=void 0;switch($e){case le.M:ue=ie[_e++],de=ie[_e++];break;case le.L:if(Ie=ie[_e++],Ve=ie[_e++],Lt=pe?($-ue)/(Ie-ue):($-de)/(Ve-de),Lt<=1&&Lt>=0){var hn=pe?(Ve-de)*Lt+de:(Ie-ue)*Lt+ue;return pe?[$,hn]:[hn,$]}ue=Ie,de=Ve;break;case le.C:Ie=ie[_e++],Ve=ie[_e++],Fe=ie[_e++],Ue=ie[_e++],qe=ie[_e++],Et=ie[_e++];var Cn=pe?cubicRootAt(ue,Ie,Fe,qe,$,he):cubicRootAt(de,Ve,Ue,Et,$,he);if(Cn>0)for(var bn=0;bn<Cn;bn++){var Sn=he[bn];if(Sn<=1&&Sn>=0){var hn=pe?cubicAt(de,Ve,Ue,Et,Sn):cubicAt(ue,Ie,Fe,qe,Sn);return pe?[$,hn]:[hn,$]}}ue=qe,de=Et;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($){var V=t.call(this,$)||this;return V.type="ec-polygon",V}return r.prototype.getDefaultShape=function(){return new ECPolygonShape},r.prototype.buildPath=function($,V){var oe=V.points,ie=V.stackedOnPoints,le=0,ue=oe.length/2,de=V.smoothMonotone;if(V.connectNulls){for(;ue>0&&isPointNull$1(oe[ue*2-2],oe[ue*2-1]);ue--);for(;le<ue&&isPointNull$1(oe[le*2],oe[le*2+1]);le++);}for(;le<ue;){var pe=drawSegment($,oe,le,ue,ue,1,V.smooth,de,V.connectNulls);drawSegment($,ie,le+pe-1,pe,ue,-1,V.stackedOnSmooth,de,V.connectNulls),le+=pe+1,$.closePath()}},r}(Path$1);function createGridClipPath(t,r,$,V,oe){var ie=t.getArea(),le=ie.x,ue=ie.y,de=ie.width,pe=ie.height,he=$.get(["lineStyle","width"])||2;le-=he/2,ue-=he/2,de+=he,pe+=he,le=Math.floor(le),de=Math.round(de);var _e=new Rect$2({shape:{x:le,y:ue,width:de,height:pe}});if(r){var $e=t.getBaseAxis(),Ie=$e.isHorizontal(),Ve=$e.inverse;Ie?(Ve&&(_e.shape.x+=de),_e.shape.width=0):(Ve||(_e.shape.y+=pe),_e.shape.height=0);var Fe=isFunction(oe)?function(Ue){oe(Ue,_e)}:null;initProps(_e,{shape:{width:de,height:pe,x:le,y:ue}},$,null,V,Fe)}return _e}function createPolarClipPath(t,r,$){var V=t.getArea(),oe=round$1(V.r0,1),ie=round$1(V.r,1),le=new Sector$1({shape:{cx:round$1(t.cx,1),cy:round$1(t.cy,1),r0:oe,r:ie,startAngle:V.startAngle,endAngle:V.endAngle,clockwise:V.clockwise}});if(r){var ue=t.getBaseAxis().dim==="angle";ue?le.shape.endAngle=V.startAngle:le.shape.r=oe,initProps(le,{shape:{endAngle:V.endAngle,r:ie}},$)}return le}function createClipPath(t,r,$,V,oe){if(t){if(t.type==="polar")return createPolarClipPath(t,r,$);if(t.type==="cartesian2d")return createGridClipPath(t,r,$,V,oe)}else return null;return null}function isCoordinateSystemType(t,r){return t.type===r}function isPointsSame(t,r){if(t.length===r.length){for(var $=0;$<t.length;$++)if(t[$]!==r[$])return;return!0}}function bboxFromPoints(t){for(var r=1/0,$=1/0,V=-1/0,oe=-1/0,ie=0;ie<t.length;){var le=t[ie++],ue=t[ie++];isNaN(le)||(r=Math.min(le,r),V=Math.max(le,V)),isNaN(ue)||($=Math.min(ue,$),oe=Math.max(ue,oe))}return[[r,$],[V,oe]]}function getBoundingDiff(t,r){var $=bboxFromPoints(t),V=$[0],oe=$[1],ie=bboxFromPoints(r),le=ie[0],ue=ie[1];return Math.max(Math.abs(V[0]-le[0]),Math.abs(V[1]-le[1]),Math.abs(oe[0]-ue[0]),Math.abs(oe[1]-ue[1]))}function getSmooth(t){return isNumber(t)?t:t?.5:0}function getStackedOnPoints(t,r,$){if(!$.valueDim)return[];for(var V=r.count(),oe=createFloat32Array(V*2),ie=0;ie<V;ie++){var le=getStackedOnPoint($,t,r,ie);oe[ie*2]=le[0],oe[ie*2+1]=le[1]}return oe}function turnPointsIntoStep(t,r,$,V){var oe=r.getBaseAxis(),ie=oe.dim==="x"||oe.dim==="radius"?0:1,le=[],ue=0,de=[],pe=[],he=[],_e=[];if(V){for(ue=0;ue<t.length;ue+=2)!isNaN(t[ue])&&!isNaN(t[ue+1])&&_e.push(t[ue],t[ue+1]);t=_e}for(ue=0;ue<t.length-2;ue+=2)switch(he[0]=t[ue+2],he[1]=t[ue+3],pe[0]=t[ue],pe[1]=t[ue+1],le.push(pe[0],pe[1]),$){case"end":de[ie]=he[ie],de[1-ie]=pe[1-ie],le.push(de[0],de[1]);break;case"middle":var $e=(pe[ie]+he[ie])/2,Ie=[];de[ie]=Ie[ie]=$e,de[1-ie]=pe[1-ie],Ie[1-ie]=he[1-ie],le.push(de[0],de[1]),le.push(Ie[0],Ie[1]);break;default:de[ie]=pe[ie],de[1-ie]=he[1-ie],le.push(de[0],de[1])}return le.push(t[ue++],t[ue++]),le}function clipColorStops(t,r){var $=[],V=t.length,oe,ie;function le(he,_e,$e){var Ie=he.coord,Ve=($e-Ie)/(_e.coord-Ie),Fe=lerp(Ve,[he.color,_e.color]);return{coord:$e,color:Fe}}for(var ue=0;ue<V;ue++){var de=t[ue],pe=de.coord;if(pe<0)oe=de;else if(pe>r){ie?$.push(le(ie,de,r)):oe&&$.push(le(oe,de,0),le(oe,de,r));break}else oe&&($.push(le(oe,de,0)),oe=null),$.push(de),ie=de}return $}function getVisualGradient(t,r,$){var V=t.getVisual("visualMeta");if(!(!V||!V.length||!t.count())&&r.type==="cartesian2d"){for(var oe,ie,le=V.length-1;le>=0;le--){var ue=t.getDimensionInfo(V[le].dimension);if(oe=ue&&ue.coordDim,oe==="x"||oe==="y"){ie=V[le];break}}if(ie){var de=r.getAxis(oe),pe=map$2(ie.stops,function(Lt){return{coord:de.toGlobalCoord(de.dataToCoord(Lt.value)),color:Lt.color}}),he=pe.length,_e=ie.outerColors.slice();he&&pe[0].coord>pe[he-1].coord&&(pe.reverse(),_e.reverse());var $e=clipColorStops(pe,oe==="x"?$.getWidth():$.getHeight()),Ie=$e.length;if(!Ie&&he)return pe[0].coord<0?_e[1]?_e[1]:pe[he-1].color:_e[0]?_e[0]:pe[0].color;var Ve=10,Fe=$e[0].coord-Ve,Ue=$e[Ie-1].coord+Ve,qe=Ue-Fe;if(qe<.001)return"transparent";each$c($e,function(Lt){Lt.offset=(Lt.coord-Fe)/qe}),$e.push({offset:Ie?$e[Ie-1].offset:.5,color:_e[1]||"transparent"}),$e.unshift({offset:Ie?$e[0].offset:.5,color:_e[0]||"transparent"});var Et=new LinearGradient$1(0,0,0,0,$e,!0);return Et[oe]=Fe,Et[oe+"2"]=Ue,Et}}}function getIsIgnoreFunc(t,r,$){var V=t.get("showAllSymbol"),oe=V==="auto";if(!(V&&!oe)){var ie=$.getAxesByScale("ordinal")[0];if(ie&&!(oe&&canShowAllSymbolForCategory(ie,r))){var le=r.mapDimension(ie.dim),ue={};return each$c(ie.getViewLabels(),function(de){var pe=ie.scale.getRawOrdinalNumber(de.tickValue);ue[pe]=1}),function(de){return!ue.hasOwnProperty(r.get(le,de))}}}}function canShowAllSymbolForCategory(t,r){var $=t.getExtent(),V=Math.abs($[1]-$[0])/t.scale.count();isNaN(V)&&(V=0);for(var oe=r.count(),ie=Math.max(1,Math.round(oe/5)),le=0;le<oe;le+=ie)if(SymbolClz.getSymbolSize(r,le)[t.isHorizontal()?1:0]*1.5>V)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,$){for(var V=t.length/2,oe=$==="x"?0:1,ie,le,ue=0,de=-1,pe=0;pe<V;pe++)if(le=t[pe*2+oe],!(isNaN(le)||isNaN(t[pe*2+1-oe]))){if(pe===0){ie=le;continue}if(ie<=r&&le>=r||ie>=r&&le<=r){de=pe;break}ue=pe,ie=le}return{range:[ue,de],t:(r-ie)/(le-ie)}}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){if(isCoordinateSystemType(r,"cartesian2d")){var oe=V.getModel("endLabel"),ie=oe.get("valueAnimation"),le=V.getData(),ue={lastFrameIndex:0},de=anyStateShowEndLabel(V)?function(Ie,Ve){t._endLabelOnDuring(Ie,Ve,le,ue,ie,oe,r)}:null,pe=r.getBaseAxis().isHorizontal(),he=createGridClipPath(r,$,V,function(){var Ie=t._endLabel;Ie&&$&&ue.originalX!=null&&Ie.attr({x:ue.originalX,y:ue.originalY})},de);if(!V.get("clip",!0)){var _e=he.shape,$e=Math.max(_e.width,_e.height);pe?(_e.y-=$e,_e.height+=$e*2):(_e.x-=$e,_e.width+=$e*2)}return de&&de(1,he),he}else return createPolarClipPath(r,$,V)}function getEndLabelStateSpecified(t,r){var $=r.getBaseAxis(),V=$.isHorizontal(),oe=$.inverse,ie=V?oe?"right":"left":"center",le=V?"middle":oe?"top":"bottom";return{normal:{align:t.get("align")||ie,verticalAlign:t.get("verticalAlign")||le}}}var LineView=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.init=function(){var $=new Group$3,V=new SymbolDraw$1;this.group.add(V.group),this._symbolDraw=V,this._lineGroup=$},r.prototype.render=function($,V,oe){var ie=this,le=$.coordinateSystem,ue=this.group,de=$.getData(),pe=$.getModel("lineStyle"),he=$.getModel("areaStyle"),_e=de.getLayout("points")||[],$e=le.type==="polar",Ie=this._coordSys,Ve=this._symbolDraw,Fe=this._polyline,Ue=this._polygon,qe=this._lineGroup,Et=!V.ssr&&$.isAnimationEnabled(),Lt=!he.isEmpty(),hn=he.get("origin"),Cn=prepareDataCoordInfo(le,de,hn),bn=Lt&&getStackedOnPoints(le,de,Cn),Sn=$.get("showSymbol"),En=$.get("connectNulls"),wn=Sn&&!$e&&getIsIgnoreFunc($,de,le),$n=this._data;$n&&$n.eachItemGraphicEl(function(Qn,Gn){Qn.__temp&&(ue.remove(Qn),$n.setItemGraphicEl(Gn,null))}),Sn||Ve.remove(),ue.add(qe);var Tn=$e?!1:$.get("step"),xn;le&&le.getArea&&$.get("clip",!0)&&(xn=le.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 An=getVisualGradient(de,le,oe)||de.getVisual("style")[de.getVisual("drawType")];if(!(Fe&&Ie.type===le.type&&Tn===this._step))Sn&&Ve.updateData(de,{isIgnore:wn,clipShape:xn,disableAnimation:!0,getSymbolPoint:function(Qn){return[_e[Qn*2],_e[Qn*2+1]]}}),Et&&this._initSymbolLabelAnimation(de,le,xn),Tn&&(_e=turnPointsIntoStep(_e,le,Tn,En),bn&&(bn=turnPointsIntoStep(bn,le,Tn,En))),Fe=this._newPolyline(_e),Lt?Ue=this._newPolygon(_e,bn):Ue&&(qe.remove(Ue),Ue=this._polygon=null),$e||this._initOrUpdateEndLabel($,le,convertToColorString(An)),qe.setClipPath(createLineClipPath(this,le,!0,$));else{Lt&&!Ue?Ue=this._newPolygon(_e,bn):Ue&&!Lt&&(qe.remove(Ue),Ue=this._polygon=null),$e||this._initOrUpdateEndLabel($,le,convertToColorString(An));var Mn=qe.getClipPath();if(Mn){var Vn=createLineClipPath(this,le,!1,$);initProps(Mn,{shape:Vn.shape},$)}else qe.setClipPath(createLineClipPath(this,le,!0,$));Sn&&Ve.updateData(de,{isIgnore:wn,clipShape:xn,disableAnimation:!0,getSymbolPoint:function(Qn){return[_e[Qn*2],_e[Qn*2+1]]}}),(!isPointsSame(this._stackedOnPoints,bn)||!isPointsSame(this._points,_e))&&(Et?this._doUpdateAnimation(de,bn,le,oe,Tn,hn,En):(Tn&&(_e=turnPointsIntoStep(_e,le,Tn,En),bn&&(bn=turnPointsIntoStep(bn,le,Tn,En))),Fe.setShape({points:_e}),Ue&&Ue.setShape({points:_e,stackedOnPoints:bn})))}var Bn=$.getModel("emphasis"),Dn=Bn.get("focus"),Ln=Bn.get("blurScope"),Pn=Bn.get("disabled");if(Fe.useStyle(defaults(pe.getLineStyle(),{fill:"none",stroke:An,lineJoin:"bevel"})),setStatesStylesFromModel(Fe,$,"lineStyle"),Fe.style.lineWidth>0&&$.get(["emphasis","lineStyle","width"])==="bolder"){var Fn=Fe.getState("emphasis").style;Fn.lineWidth=+Fe.style.lineWidth+1}getECData(Fe).seriesIndex=$.seriesIndex,toggleHoverEmphasis(Fe,Dn,Ln,Pn);var Un=getSmooth($.get("smooth")),Wn=$.get("smoothMonotone");if(Fe.setShape({smooth:Un,smoothMonotone:Wn,connectNulls:En}),Ue){var Zn=de.getCalculationInfo("stackedOnSeries"),or=0;Ue.useStyle(defaults(he.getAreaStyle(),{fill:An,opacity:.7,lineJoin:"bevel",decal:de.getVisual("style").decal})),Zn&&(or=getSmooth(Zn.get("smooth"))),Ue.setShape({smooth:Un,stackedOnSmooth:or,smoothMonotone:Wn,connectNulls:En}),setStatesStylesFromModel(Ue,$,"areaStyle"),getECData(Ue).seriesIndex=$.seriesIndex,toggleHoverEmphasis(Ue,Dn,Ln,Pn)}var br=function(Qn){ie._changePolyState(Qn)};de.eachItemGraphicEl(function(Qn){Qn&&(Qn.onHoverStateChange=br)}),this._polyline.onHoverStateChange=br,this._data=de,this._coordSys=le,this._stackedOnPoints=bn,this._points=_e,this._step=Tn,this._valueOrigin=hn,$.get("triggerLineEvent")&&(this.packEventData($,Fe),Ue&&this.packEventData($,Ue))},r.prototype.packEventData=function($,V){getECData(V).eventData={componentType:"series",componentSubType:"line",componentIndex:$.componentIndex,seriesIndex:$.seriesIndex,seriesName:$.name,seriesType:"line"}},r.prototype.highlight=function($,V,oe,ie){var le=$.getData(),ue=queryDataIndex(le,ie);if(this._changePolyState("emphasis"),!(ue instanceof Array)&&ue!=null&&ue>=0){var de=le.getLayout("points"),pe=le.getItemGraphicEl(ue);if(!pe){var he=de[ue*2],_e=de[ue*2+1];if(isNaN(he)||isNaN(_e)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(he,_e))return;var $e=$.get("zlevel")||0,Ie=$.get("z")||0;pe=new SymbolClz(le,ue),pe.x=he,pe.y=_e,pe.setZ($e,Ie);var Ve=pe.getSymbolPath().getTextContent();Ve&&(Ve.zlevel=$e,Ve.z=Ie,Ve.z2=this._polyline.z2+1),pe.__temp=!0,le.setItemGraphicEl(ue,pe),pe.stopSymbolAnimation(!0),this.group.add(pe)}pe.highlight()}else ChartView$1.prototype.highlight.call(this,$,V,oe,ie)},r.prototype.downplay=function($,V,oe,ie){var le=$.getData(),ue=queryDataIndex(le,ie);if(this._changePolyState("normal"),ue!=null&&ue>=0){var de=le.getItemGraphicEl(ue);de&&(de.__temp?(le.setItemGraphicEl(ue,null),this.group.remove(de)):de.downplay())}else ChartView$1.prototype.downplay.call(this,$,V,oe,ie)},r.prototype._changePolyState=function($){var V=this._polygon;setStatesFlag(this._polyline,$),V&&setStatesFlag(V,$)},r.prototype._newPolyline=function($){var V=this._polyline;return V&&this._lineGroup.remove(V),V=new ECPolyline({shape:{points:$},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(V),this._polyline=V,V},r.prototype._newPolygon=function($,V){var oe=this._polygon;return oe&&this._lineGroup.remove(oe),oe=new ECPolygon({shape:{points:$,stackedOnPoints:V},segmentIgnoreThreshold:2}),this._lineGroup.add(oe),this._polygon=oe,oe},r.prototype._initSymbolLabelAnimation=function($,V,oe){var ie,le,ue=V.getBaseAxis(),de=ue.inverse;V.type==="cartesian2d"?(ie=ue.isHorizontal(),le=!1):V.type==="polar"&&(ie=ue.dim==="angle",le=!0);var pe=$.hostModel,he=pe.get("animationDuration");isFunction(he)&&(he=he(null));var _e=pe.get("animationDelay")||0,$e=isFunction(_e)?_e(null):_e;$.eachItemGraphicEl(function(Ie,Ve){var Fe=Ie;if(Fe){var Ue=[Ie.x,Ie.y],qe=void 0,Et=void 0,Lt=void 0;if(oe)if(le){var hn=oe,Cn=V.pointToCoord(Ue);ie?(qe=hn.startAngle,Et=hn.endAngle,Lt=-Cn[1]/180*Math.PI):(qe=hn.r0,Et=hn.r,Lt=Cn[0])}else{var bn=oe;ie?(qe=bn.x,Et=bn.x+bn.width,Lt=Ie.x):(qe=bn.y+bn.height,Et=bn.y,Lt=Ie.y)}var Sn=Et===qe?0:(Lt-qe)/(Et-qe);de&&(Sn=1-Sn);var En=isFunction(_e)?_e(Ve):he*Sn+$e,wn=Fe.getSymbolPath(),$n=wn.getTextContent();Fe.attr({scaleX:0,scaleY:0}),Fe.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:En}),$n&&$n.animateFrom({style:{opacity:0}},{duration:300,delay:En}),wn.disableLabelAnimation=!0}})},r.prototype._initOrUpdateEndLabel=function($,V,oe){var ie=$.getModel("endLabel");if(anyStateShowEndLabel($)){var le=$.getData(),ue=this._polyline,de=le.getLayout("points");if(!de){ue.removeTextContent(),this._endLabel=null;return}var pe=this._endLabel;pe||(pe=this._endLabel=new ZRText$1({z2:200}),pe.ignoreClip=!0,ue.setTextContent(this._endLabel),ue.disableLabelAnimation=!0);var he=getLastIndexNotNull(de);he>=0&&(setLabelStyle(ue,getLabelStatesModels($,"endLabel"),{inheritColor:oe,labelFetcher:$,labelDataIndex:he,defaultText:function(_e,$e,Ie){return Ie!=null?getDefaultInterpolatedLabel(le,Ie):getDefaultLabel(le,_e)},enableTextSetter:!0},getEndLabelStateSpecified(ie,V)),ue.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},r.prototype._endLabelOnDuring=function($,V,oe,ie,le,ue,de){var pe=this._endLabel,he=this._polyline;if(pe){$<1&&ie.originalX==null&&(ie.originalX=pe.x,ie.originalY=pe.y);var _e=oe.getLayout("points"),$e=oe.hostModel,Ie=$e.get("connectNulls"),Ve=ue.get("precision"),Fe=ue.get("distance")||0,Ue=de.getBaseAxis(),qe=Ue.isHorizontal(),Et=Ue.inverse,Lt=V.shape,hn=Et?qe?Lt.x:Lt.y+Lt.height:qe?Lt.x+Lt.width:Lt.y,Cn=(qe?Fe:0)*(Et?-1:1),bn=(qe?0:-Fe)*(Et?-1:1),Sn=qe?"x":"y",En=getIndexRange(_e,hn,Sn),wn=En.range,$n=wn[1]-wn[0],Tn=void 0;if($n>=1){if($n>1&&!Ie){var xn=getPointAtIndex(_e,wn[0]);pe.attr({x:xn[0]+Cn,y:xn[1]+bn}),le&&(Tn=$e.getRawValue(wn[0]))}else{var xn=he.getPointOn(hn,Sn);xn&&pe.attr({x:xn[0]+Cn,y:xn[1]+bn});var An=$e.getRawValue(wn[0]),Mn=$e.getRawValue(wn[1]);le&&(Tn=interpolateRawValues(oe,Ve,An,Mn,En.t))}ie.lastFrameIndex=wn[0]}else{var Vn=$===1||ie.lastFrameIndex>0?wn[0]:0,xn=getPointAtIndex(_e,Vn);le&&(Tn=$e.getRawValue(Vn)),pe.attr({x:xn[0]+Cn,y:xn[1]+bn})}if(le){var Bn=labelInner(pe);typeof Bn.setLabelText=="function"&&Bn.setLabelText(Tn)}}},r.prototype._doUpdateAnimation=function($,V,oe,ie,le,ue,de){var pe=this._polyline,he=this._polygon,_e=$.hostModel,$e=lineAnimationDiff(this._data,$,this._stackedOnPoints,V,this._coordSys,oe,this._valueOrigin),Ie=$e.current,Ve=$e.stackedOnCurrent,Fe=$e.next,Ue=$e.stackedOnNext;if(le&&(Ie=turnPointsIntoStep($e.current,oe,le,de),Ve=turnPointsIntoStep($e.stackedOnCurrent,oe,le,de),Fe=turnPointsIntoStep($e.next,oe,le,de),Ue=turnPointsIntoStep($e.stackedOnNext,oe,le,de)),getBoundingDiff(Ie,Fe)>3e3||he&&getBoundingDiff(Ve,Ue)>3e3){pe.stopAnimation(),pe.setShape({points:Fe}),he&&(he.stopAnimation(),he.setShape({points:Fe,stackedOnPoints:Ue}));return}pe.shape.__points=$e.current,pe.shape.points=Ie;var qe={shape:{points:Fe}};$e.current!==Ie&&(qe.shape.__points=$e.next),pe.stopAnimation(),updateProps$1(pe,qe,_e),he&&(he.setShape({points:Ie,stackedOnPoints:Ve}),he.stopAnimation(),updateProps$1(he,{shape:{stackedOnPoints:Ue}},_e),pe.shape.points!==he.shape.points&&(he.shape.points=pe.shape.points));for(var Et=[],Lt=$e.status,hn=0;hn<Lt.length;hn++){var Cn=Lt[hn].cmd;if(Cn==="="){var bn=$.getItemGraphicEl(Lt[hn].idx1);bn&&Et.push({el:bn,ptIdx:hn})}}pe.animators&&pe.animators.length&&pe.animators[0].during(function(){he&&he.dirtyShape();for(var Sn=pe.shape.__points,En=0;En<Et.length;En++){var wn=Et[En].el,$n=Et[En].ptIdx*2;wn.x=Sn[$n],wn.y=Sn[$n+1],wn.markRedraw()}})},r.prototype.remove=function($){var V=this.group,oe=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),oe&&oe.eachItemGraphicEl(function(ie,le){ie.__temp&&(V.remove(ie),oe.setItemGraphicEl(le,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($){var V=$.getData(),oe=$.coordinateSystem,ie=$.pipelineContext,le=r||ie.large;if(oe){var ue=map$2(oe.dimensions,function(Ie){return V.mapDimension(Ie)}).slice(0,2),de=ue.length,pe=V.getCalculationInfo("stackResultDimension");isDimensionStacked(V,ue[0])&&(ue[0]=pe),isDimensionStacked(V,ue[1])&&(ue[1]=pe);var he=V.getStore(),_e=V.getDimensionIndex(ue[0]),$e=V.getDimensionIndex(ue[1]);return de&&{progress:function(Ie,Ve){for(var Fe=Ie.end-Ie.start,Ue=le&&createFloat32Array(Fe*de),qe=[],Et=[],Lt=Ie.start,hn=0;Lt<Ie.end;Lt++){var Cn=void 0;if(de===1){var bn=he.get(_e,Lt);Cn=oe.dataToPoint(bn,null,Et)}else qe[0]=he.get(_e,Lt),qe[1]=he.get($e,Lt),Cn=oe.dataToPoint(qe,null,Et);le?(Ue[hn++]=Cn[0],Ue[hn++]=Cn[1]):Ve.setItemLayout(Lt,Cn.slice())}le&&Ve.setLayout("points",Ue)}}}}}}var samplers={average:function(t){for(var r=0,$=0,V=0;V<t.length;V++)isNaN(t[V])||(r+=t[V],$++);return $===0?NaN:r/$},sum:function(t){for(var r=0,$=0;$<t.length;$++)r+=t[$]||0;return r},max:function(t){for(var r=-1/0,$=0;$<t.length;$++)t[$]>r&&(r=t[$]);return isFinite(r)?r:NaN},min:function(t){for(var r=1/0,$=0;$<t.length;$++)t[$]<r&&(r=t[$]);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){var oe=r.getData(),ie=r.get("sampling"),le=r.coordinateSystem,ue=oe.count();if(ue>10&&le.type==="cartesian2d"&&ie){var de=le.getBaseAxis(),pe=le.getOtherAxis(de),he=de.getExtent(),_e=V.getDevicePixelRatio(),$e=Math.abs(he[1]-he[0])*(_e||1),Ie=Math.round(ue/$e);if(isFinite(Ie)&&Ie>1){ie==="lttb"&&r.setData(oe.lttbDownSample(oe.mapDimension(pe.dim),1/Ie));var Ve=void 0;isString(ie)?Ve=samplers[ie]:isFunction(ie)&&(Ve=ie),Ve&&r.setData(oe.downSample(oe.mapDimension(pe.dim),1/Ie,Ve,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 $=r.getData(),V=r.getModel("lineStyle").getLineStyle();V&&!V.stroke&&(V.stroke=$.getVisual("style").fill),$.setVisual("legendLineStyle",V)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))}var BaseBarSeriesModel=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.prototype.getInitialData=function($,V){return createSeriesData(null,this,{useEncodeDefaulter:!0})},r.prototype.getMarkerPosition=function($,V,oe){var ie=this.coordinateSystem;if(ie&&ie.clampData){var le=ie.clampData($),ue=ie.dataToPoint(le);if(oe)each$c(ie.getAxes(),function($e,Ie){if($e.type==="category"&&V!=null){var Ve=$e.getTicksCoords(),Fe=le[Ie],Ue=V[Ie]==="x1"||V[Ie]==="y1";if(Ue&&(Fe+=1),Ve.length<2)return;if(Ve.length===2){ue[Ie]=$e.toGlobalCoord($e.getExtent()[Ue?1:0]);return}for(var qe=void 0,Et=void 0,Lt=1,hn=0;hn<Ve.length;hn++){var Cn=Ve[hn].coord,bn=hn===Ve.length-1?Ve[hn-1].tickValue+Lt:Ve[hn].tickValue;if(bn===Fe){Et=Cn;break}else if(bn<Fe)qe=Cn;else if(qe!=null&&bn>Fe){Et=(Cn+qe)/2;break}hn===1&&(Lt=bn-Ve[0].tickValue)}Et==null&&(qe?qe&&(Et=Ve[Ve.length-1].coord):Et=Ve[0].coord),ue[Ie]=$e.toGlobalCoord(Et)}});else{var de=this.getData(),pe=de.getLayout("offset"),he=de.getLayout("size"),_e=ie.getBaseAxis().isHorizontal()?0:1;ue[_e]+=pe+he/2}return ue}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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}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 $=this.get("progressiveThreshold"),V=this.get("largeThreshold");return V>$&&($=V),$},r.prototype.brushSelector=function($,V,oe){return oe.rect(V.getItemLayout($))},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($){var V=t.call(this,$)||this;return V.type="sausage",V}return r.prototype.getDefaultShape=function(){return new SausageShape},r.prototype.buildPath=function($,V){var oe=V.cx,ie=V.cy,le=Math.max(V.r0||0,0),ue=Math.max(V.r,0),de=(ue-le)*.5,pe=le+de,he=V.startAngle,_e=V.endAngle,$e=V.clockwise,Ie=Math.PI*2,Ve=$e?_e-he<Ie:he-_e<Ie;Ve||(he=_e-($e?Ie:-Ie));var Fe=Math.cos(he),Ue=Math.sin(he),qe=Math.cos(_e),Et=Math.sin(_e);Ve?($.moveTo(Fe*le+oe,Ue*le+ie),$.arc(Fe*pe+oe,Ue*pe+ie,de,-Math.PI+he,he,!$e)):$.moveTo(Fe*ue+oe,Ue*ue+ie),$.arc(oe,ie,ue,he,_e,!$e),$.arc(qe*pe+oe,Et*pe+ie,de,_e-Math.PI*2,_e-Math.PI,!$e),le!==0&&$.arc(oe,ie,le,_e,he,$e)},r}(Path$1);const Sausage=SausagePath;function createSectorCalculateTextPosition(t,r){r=r||{};var $=r.isRoundCap;return function(V,oe,ie){var le=oe.position;if(!le||le instanceof Array)return calculateTextPosition(V,oe,ie);var ue=t(le),de=oe.distance!=null?oe.distance:5,pe=this.shape,he=pe.cx,_e=pe.cy,$e=pe.r,Ie=pe.r0,Ve=($e+Ie)/2,Fe=pe.startAngle,Ue=pe.endAngle,qe=(Fe+Ue)/2,Et=$?Math.abs($e-Ie)/2:0,Lt=Math.cos,hn=Math.sin,Cn=he+$e*Lt(Fe),bn=_e+$e*hn(Fe),Sn="left",En="top";switch(ue){case"startArc":Cn=he+(Ie-de)*Lt(qe),bn=_e+(Ie-de)*hn(qe),Sn="center",En="top";break;case"insideStartArc":Cn=he+(Ie+de)*Lt(qe),bn=_e+(Ie+de)*hn(qe),Sn="center",En="bottom";break;case"startAngle":Cn=he+Ve*Lt(Fe)+adjustAngleDistanceX(Fe,de+Et,!1),bn=_e+Ve*hn(Fe)+adjustAngleDistanceY(Fe,de+Et,!1),Sn="right",En="middle";break;case"insideStartAngle":Cn=he+Ve*Lt(Fe)+adjustAngleDistanceX(Fe,-de+Et,!1),bn=_e+Ve*hn(Fe)+adjustAngleDistanceY(Fe,-de+Et,!1),Sn="left",En="middle";break;case"middle":Cn=he+Ve*Lt(qe),bn=_e+Ve*hn(qe),Sn="center",En="middle";break;case"endArc":Cn=he+($e+de)*Lt(qe),bn=_e+($e+de)*hn(qe),Sn="center",En="bottom";break;case"insideEndArc":Cn=he+($e-de)*Lt(qe),bn=_e+($e-de)*hn(qe),Sn="center",En="top";break;case"endAngle":Cn=he+Ve*Lt(Ue)+adjustAngleDistanceX(Ue,de+Et,!0),bn=_e+Ve*hn(Ue)+adjustAngleDistanceY(Ue,de+Et,!0),Sn="left",En="middle";break;case"insideEndAngle":Cn=he+Ve*Lt(Ue)+adjustAngleDistanceX(Ue,-de+Et,!0),bn=_e+Ve*hn(Ue)+adjustAngleDistanceY(Ue,-de+Et,!0),Sn="right",En="middle";break;default:return calculateTextPosition(V,oe,ie)}return V=V||{},V.x=Cn,V.y=bn,V.align=Sn,V.verticalAlign=En,V}}function setSectorTextRotation(t,r,$,V){if(isNumber(V)){t.setTextConfig({rotation:V});return}else if(isArray$1(r)){t.setTextConfig({rotation:0});return}var oe=t.shape,ie=oe.clockwise?oe.startAngle:oe.endAngle,le=oe.clockwise?oe.endAngle:oe.startAngle,ue=(ie+le)/2,de,pe=$(r);switch(pe){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":de=ue;break;case"startAngle":case"insideStartAngle":de=ie;break;case"endAngle":case"insideEndAngle":de=le;break;default:t.setTextConfig({rotation:0});return}var he=Math.PI*1.5-de;pe==="middle"&&he>Math.PI/2&&he<Math.PI*1.5&&(he-=Math.PI),t.setTextConfig({rotation:he})}function adjustAngleDistanceX(t,r,$){return r*Math.sin(t)*($?-1:1)}function adjustAngleDistanceY(t,r,$){return r*Math.cos(t)*($?1:-1)}function getSectorCornerRadius(t,r,$){var V=t.get("borderRadius");if(V==null)return $?{cornerRadius:0}:null;isArray$1(V)||(V=[V,V,V,V]);var oe=Math.abs(r.r||0-r.r0||0);return{cornerRadius:map$2(V,function(ie){return parsePercent$1(ie,oe)})}}var mathMax$2=Math.max,mathMin$2=Math.min;function getClipArea(t,r){var $=t.getArea&&t.getArea();if(isCoordinateSystemType(t,"cartesian2d")){var V=t.getBaseAxis();if(V.type!=="category"||!V.onBand){var oe=r.getLayout("bandWidth");V.isHorizontal()?($.x-=oe,$.width+=oe*2):($.y-=oe,$.height+=oe*2)}}return $}var BarView=function(t){__extends(r,t);function r(){var $=t.call(this)||this;return $.type=r.type,$._isFirstFrame=!0,$}return r.prototype.render=function($,V,oe,ie){this._model=$,this._removeOnRenderedListener(oe),this._updateDrawMode($);var le=$.get("coordinateSystem");(le==="cartesian2d"||le==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge($,V,oe):this._renderNormal($,V,oe,ie))},r.prototype.incrementalPrepareRender=function($){this._clear(),this._updateDrawMode($),this._updateLargeClip($)},r.prototype.incrementalRender=function($,V){this._progressiveEls=[],this._incrementalRenderLarge($,V)},r.prototype.eachRendered=function($){traverseElements(this._progressiveEls||this.group,$)},r.prototype._updateDrawMode=function($){var V=$.pipelineContext.large;(this._isLargeDraw==null||V!==this._isLargeDraw)&&(this._isLargeDraw=V,this._clear())},r.prototype._renderNormal=function($,V,oe,ie){var le=this.group,ue=$.getData(),de=this._data,pe=$.coordinateSystem,he=pe.getBaseAxis(),_e;pe.type==="cartesian2d"?_e=he.isHorizontal():pe.type==="polar"&&(_e=he.dim==="angle");var $e=$.isAnimationEnabled()?$:null,Ie=shouldRealtimeSort($,pe);Ie&&this._enableRealtimeSort(Ie,ue,oe);var Ve=$.get("clip",!0)||Ie,Fe=getClipArea(pe,ue);le.removeClipPath();var Ue=$.get("roundCap",!0),qe=$.get("showBackground",!0),Et=$.getModel("backgroundStyle"),Lt=Et.get("borderRadius")||0,hn=[],Cn=this._backgroundEls,bn=ie&&ie.isInitSort,Sn=ie&&ie.type==="changeAxisOrder";function En(Tn){var xn=getLayout[pe.type](ue,Tn),An=createBackgroundEl(pe,_e,xn);return An.useStyle(Et.getItemStyle()),pe.type==="cartesian2d"?An.setShape("r",Lt):An.setShape("cornerRadius",Lt),hn[Tn]=An,An}ue.diff(de).add(function(Tn){var xn=ue.getItemModel(Tn),An=getLayout[pe.type](ue,Tn,xn);if(qe&&En(Tn),!(!ue.hasValue(Tn)||!isValidLayout[pe.type](An))){var Mn=!1;Ve&&(Mn=clip[pe.type](Fe,An));var Vn=elementCreator[pe.type]($,ue,Tn,An,_e,$e,he.model,!1,Ue);Ie&&(Vn.forceLabelAnimation=!0),updateStyle(Vn,ue,Tn,xn,An,$,_e,pe.type==="polar"),bn?Vn.attr({shape:An}):Ie?updateRealtimeAnimation(Ie,$e,Vn,An,Tn,_e,!1,!1):initProps(Vn,{shape:An},$,Tn),ue.setItemGraphicEl(Tn,Vn),le.add(Vn),Vn.ignore=Mn}}).update(function(Tn,xn){var An=ue.getItemModel(Tn),Mn=getLayout[pe.type](ue,Tn,An);if(qe){var Vn=void 0;Cn.length===0?Vn=En(xn):(Vn=Cn[xn],Vn.useStyle(Et.getItemStyle()),pe.type==="cartesian2d"?Vn.setShape("r",Lt):Vn.setShape("cornerRadius",Lt),hn[Tn]=Vn);var Bn=getLayout[pe.type](ue,Tn),Dn=createBackgroundShape(_e,Bn,pe);updateProps$1(Vn,{shape:Dn},$e,Tn)}var Ln=de.getItemGraphicEl(xn);if(!ue.hasValue(Tn)||!isValidLayout[pe.type](Mn)){le.remove(Ln);return}var Pn=!1;if(Ve&&(Pn=clip[pe.type](Fe,Mn),Pn&&le.remove(Ln)),Ln?saveOldStyle(Ln):Ln=elementCreator[pe.type]($,ue,Tn,Mn,_e,$e,he.model,!!Ln,Ue),Ie&&(Ln.forceLabelAnimation=!0),Sn){var Fn=Ln.getTextContent();if(Fn){var Un=labelInner(Fn);Un.prevValue!=null&&(Un.prevValue=Un.value)}}else updateStyle(Ln,ue,Tn,An,Mn,$,_e,pe.type==="polar");bn?Ln.attr({shape:Mn}):Ie?updateRealtimeAnimation(Ie,$e,Ln,Mn,Tn,_e,!0,Sn):updateProps$1(Ln,{shape:Mn},$,Tn,null),ue.setItemGraphicEl(Tn,Ln),Ln.ignore=Pn,le.add(Ln)}).remove(function(Tn){var xn=de.getItemGraphicEl(Tn);xn&&removeElementWithFadeOut(xn,$,Tn)}).execute();var wn=this._backgroundGroup||(this._backgroundGroup=new Group$3);wn.removeAll();for(var $n=0;$n<hn.length;++$n)wn.add(hn[$n]);le.add(wn),this._backgroundEls=hn,this._data=ue},r.prototype._renderLarge=function($,V,oe){this._clear(),createLarge($,this.group),this._updateLargeClip($)},r.prototype._incrementalRenderLarge=function($,V){this._removeBackground(),createLarge(V,this.group,this._progressiveEls,!0)},r.prototype._updateLargeClip=function($){var V=$.get("clip",!0)&&createClipPath($.coordinateSystem,!1,$),oe=this.group;V?oe.setClipPath(V):oe.removeClipPath()},r.prototype._enableRealtimeSort=function($,V,oe){var ie=this;if(V.count()){var le=$.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(V,$,oe),this._isFirstFrame=!1;else{var ue=function(de){var pe=V.getItemGraphicEl(de),he=pe&&pe.shape;return he&&Math.abs(le.isHorizontal()?he.height:he.width)||0};this._onRendered=function(){ie._updateSortWithinSameData(V,ue,le,oe)},oe.getZr().on("rendered",this._onRendered)}}},r.prototype._dataSort=function($,V,oe){var ie=[];return $.each($.mapDimension(V.dim),function(le,ue){var de=oe(ue);de=de??NaN,ie.push({dataIndex:ue,mappedValue:de,ordinalNumber:le})}),ie.sort(function(le,ue){return ue.mappedValue-le.mappedValue}),{ordinalNumbers:map$2(ie,function(le){return le.ordinalNumber})}},r.prototype._isOrderChangedWithinSameData=function($,V,oe){for(var ie=oe.scale,le=$.mapDimension(oe.dim),ue=Number.MAX_VALUE,de=0,pe=ie.getOrdinalMeta().categories.length;de<pe;++de){var he=$.rawIndexOf(le,ie.getRawOrdinalNumber(de)),_e=he<0?Number.MIN_VALUE:V($.indexOfRawIndex(he));if(_e>ue)return!0;ue=_e}return!1},r.prototype._isOrderDifferentInView=function($,V){for(var oe=V.scale,ie=oe.getExtent(),le=Math.max(0,ie[0]),ue=Math.min(ie[1],oe.getOrdinalMeta().categories.length-1);le<=ue;++le)if($.ordinalNumbers[le]!==oe.getRawOrdinalNumber(le))return!0},r.prototype._updateSortWithinSameData=function($,V,oe,ie){if(this._isOrderChangedWithinSameData($,V,oe)){var le=this._dataSort($,oe,V);this._isOrderDifferentInView(le,oe)&&(this._removeOnRenderedListener(ie),ie.dispatchAction({type:"changeAxisOrder",componentType:oe.dim+"Axis",axisId:oe.index,sortInfo:le}))}},r.prototype._dispatchInitSort=function($,V,oe){var ie=V.baseAxis,le=this._dataSort($,ie,function(ue){return $.get($.mapDimension(V.otherAxis.dim),ue)});oe.dispatchAction({type:"changeAxisOrder",componentType:ie.dim+"Axis",isInitSort:!0,axisId:ie.index,sortInfo:le})},r.prototype.remove=function($,V){this._clear(this._model),this._removeOnRenderedListener(V)},r.prototype.dispose=function($,V){this._removeOnRenderedListener(V)},r.prototype._removeOnRenderedListener=function($){this._onRendered&&($.getZr().off("rendered",this._onRendered),this._onRendered=null)},r.prototype._clear=function($){var V=this.group,oe=this._data;$&&$.isAnimationEnabled()&&oe&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],oe.eachItemGraphicEl(function(ie){removeElementWithFadeOut(ie,$,getECData(ie).dataIndex)})):V.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 $=r.width<0?-1:1,V=r.height<0?-1:1;$<0&&(r.x+=r.width,r.width=-r.width),V<0&&(r.y+=r.height,r.height=-r.height);var oe=t.x+t.width,ie=t.y+t.height,le=mathMax$2(r.x,t.x),ue=mathMin$2(r.x+r.width,oe),de=mathMax$2(r.y,t.y),pe=mathMin$2(r.y+r.height,ie),he=ue<le,_e=pe<de;return r.x=he&&le>oe?ue:le,r.y=_e&&de>ie?pe:de,r.width=he?0:ue-le,r.height=_e?0:pe-de,$<0&&(r.x+=r.width,r.width=-r.width),V<0&&(r.y+=r.height,r.height=-r.height),he||_e},polar:function(t,r){var $=r.r0<=r.r?1:-1;if($<0){var V=r.r;r.r=r.r0,r.r0=V}var oe=mathMin$2(r.r,t.r),ie=mathMax$2(r.r0,t.r0);r.r=oe,r.r0=ie;var le=oe-ie<0;if($<0){var V=r.r;r.r=r.r0,r.r0=V}return le}},elementCreator={cartesian2d:function(t,r,$,V,oe,ie,le,ue,de){var pe=new Rect$2({shape:extend({},V),z2:1});if(pe.__dataIndex=$,pe.name="item",ie){var he=pe.shape,_e=oe?"height":"width";he[_e]=0}return pe},polar:function(t,r,$,V,oe,ie,le,ue,de){var pe=!oe&&de?Sausage:Sector$1,he=new pe({shape:V,z2:1});he.name="item";var _e=createPolarPositionMapping(oe);if(he.calculateTextPosition=createSectorCalculateTextPosition(_e,{isRoundCap:pe===Sausage}),ie){var $e=he.shape,Ie=oe?"r":"endAngle",Ve={};$e[Ie]=oe?V.r0:V.startAngle,Ve[Ie]=V[Ie],(ue?updateProps$1:initProps)(he,{shape:Ve},ie)}return he}};function shouldRealtimeSort(t,r){var $=t.get("realtimeSort",!0),V=r.getBaseAxis();if($&&V.type==="category"&&r.type==="cartesian2d")return{baseAxis:V,otherAxis:r.getOtherAxis(V)}}function updateRealtimeAnimation(t,r,$,V,oe,ie,le,ue){var de,pe;ie?(pe={x:V.x,width:V.width},de={y:V.y,height:V.height}):(pe={y:V.y,height:V.height},de={x:V.x,width:V.width}),ue||(le?updateProps$1:initProps)($,{shape:de},r,oe,null);var he=r?t.baseAxis.model:null;(le?updateProps$1:initProps)($,{shape:pe},he,oe)}function checkPropertiesNotValid(t,r){for(var $=0;$<r.length;$++)if(!isFinite(t[r[$]]))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,$){var V=t.getItemLayout(r),oe=$?getLineWidth($,V):0,ie=V.width>0?1:-1,le=V.height>0?1:-1;return{x:V.x+ie*oe/2,y:V.y+le*oe/2,width:V.width-ie*oe,height:V.height-le*oe}},polar:function(t,r,$){var V=t.getItemLayout(r);return{cx:V.cx,cy:V.cy,r0:V.r0,r:V.r,startAngle:V.startAngle,endAngle:V.endAngle,clockwise:V.clockwise}}};function isZeroOnPolar(t){return t.startAngle!=null&&t.endAngle!=null&&t.startAngle===t.endAngle}function createPolarPositionMapping(t){return function(r){var $=r?"Arc":"Angle";return function(V){switch(V){case"start":case"insideStart":case"end":case"insideEnd":return V+$;default:return V}}}(t)}function updateStyle(t,r,$,V,oe,ie,le,ue){var de=r.getItemVisual($,"style");if(ue){if(!ie.get("roundCap")){var he=t.shape,_e=getSectorCornerRadius(V.getModel("itemStyle"),he,!0);extend(he,_e),t.setShape(he)}}else{var pe=V.get(["itemStyle","borderRadius"])||0;t.setShape("r",pe)}t.useStyle(de);var $e=V.getShallow("cursor");$e&&t.attr("cursor",$e);var Ie=ue?le?oe.r>=oe.r0?"endArc":"startArc":oe.endAngle>=oe.startAngle?"endAngle":"startAngle":le?oe.height>=0?"bottom":"top":oe.width>=0?"right":"left",Ve=getLabelStatesModels(V);setLabelStyle(t,Ve,{labelFetcher:ie,labelDataIndex:$,defaultText:getDefaultLabel(ie.getData(),$),inheritColor:de.fill,defaultOpacity:de.opacity,defaultOutsidePosition:Ie});var Fe=t.getTextContent();if(ue&&Fe){var Ue=V.get(["label","position"]);t.textConfig.inside=Ue==="middle"?!0:null,setSectorTextRotation(t,Ue==="outside"?Ie:Ue,createPolarPositionMapping(le),V.get(["label","rotate"]))}setLabelValueAnimation(Fe,Ve,ie.getRawValue($),function(Et){return getDefaultInterpolatedLabel(r,Et)});var qe=V.getModel(["emphasis"]);toggleHoverEmphasis(t,qe.get("focus"),qe.get("blurScope"),qe.get("disabled")),setStatesStylesFromModel(t,V),isZeroOnPolar(oe)&&(t.style.fill="none",t.style.stroke="none",each$c(t.states,function(Et){Et.style&&(Et.style.fill=Et.style.stroke="none")}))}function getLineWidth(t,r){var $=t.get(["itemStyle","borderColor"]);if(!$||$==="none")return 0;var V=t.get(["itemStyle","borderWidth"])||0,oe=isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),ie=isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height);return Math.min(V,oe,ie)}var LagePathShape=function(){function t(){}return t}(),LargePath=function(t){__extends(r,t);function r($){var V=t.call(this,$)||this;return V.type="largeBar",V}return r.prototype.getDefaultShape=function(){return new LagePathShape},r.prototype.buildPath=function($,V){for(var oe=V.points,ie=this.baseDimIdx,le=1-this.baseDimIdx,ue=[],de=[],pe=this.barWidth,he=0;he<oe.length;he+=3)de[ie]=pe,de[le]=oe[he+2],ue[ie]=oe[he+ie],ue[le]=oe[he+le],$.rect(ue[0],ue[1],de[0],de[1])},r}(Path$1);function createLarge(t,r,$,V){var oe=t.getData(),ie=oe.getLayout("valueAxisHorizontal")?1:0,le=oe.getLayout("largeDataIndices"),ue=oe.getLayout("size"),de=t.getModel("backgroundStyle"),pe=oe.getLayout("largeBackgroundPoints");if(pe){var he=new LargePath({shape:{points:pe},incremental:!!V,silent:!0,z2:0});he.baseDimIdx=ie,he.largeDataIndices=le,he.barWidth=ue,he.useStyle(de.getItemStyle()),r.add(he),$&&$.push(he)}var _e=new LargePath({shape:{points:oe.getLayout("largePoints")},incremental:!!V,ignoreCoarsePointer:!0,z2:1});_e.baseDimIdx=ie,_e.largeDataIndices=le,_e.barWidth=ue,r.add(_e),_e.useStyle(oe.getVisual("style")),getECData(_e).seriesIndex=t.seriesIndex,t.get("silent")||(_e.on("mousedown",largePathUpdateDataIndex),_e.on("mousemove",largePathUpdateDataIndex)),$&&$.push(_e)}var largePathUpdateDataIndex=throttle(function(t){var r=this,$=largePathFindDataIndex(r,t.offsetX,t.offsetY);getECData(r).dataIndex=$>=0?$:null},30,!1);function largePathFindDataIndex(t,r,$){for(var V=t.baseDimIdx,oe=1-V,ie=t.shape.points,le=t.largeDataIndices,ue=[],de=[],pe=t.barWidth,he=0,_e=ie.length/3;he<_e;he++){var $e=he*3;if(de[V]=pe,de[oe]=ie[$e+2],ue[V]=ie[$e+V],ue[oe]=ie[$e+oe],de[oe]<0&&(ue[oe]+=de[oe],de[oe]=-de[oe]),r>=ue[0]&&r<=ue[0]+de[0]&&$>=ue[1]&&$<=ue[1]+de[1])return le[he]}return-1}function createBackgroundShape(t,r,$){if(isCoordinateSystemType($,"cartesian2d")){var V=r,oe=$.getArea();return{x:t?V.x:oe.x,y:t?oe.y:V.y,width:t?V.width:oe.width,height:t?oe.height:V.height}}else{var oe=$.getArea(),ie=r;return{cx:oe.cx,cy:oe.cy,r0:t?oe.r0:ie.r0,r:t?oe.r:ie.r,startAngle:t?ie.startAngle:0,endAngle:t?ie.endAngle:Math.PI*2}}}function createBackgroundEl(t,r,$){var V=t.type==="polar"?Sector$1:Rect$2;return new V({shape:createBackgroundShape(r,$,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,$){var V=r.componentType||"series";$.eachComponent({mainType:V,query:r},function(oe){r.sortInfo&&oe.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 $=getViewRect(t,r),V=t.get("center"),oe=t.get("radius");isArray$1(oe)||(oe=[0,oe]);var ie=parsePercent($.width,r.getWidth()),le=parsePercent($.height,r.getHeight()),ue=Math.min(ie,le),de=parsePercent(oe[0],ue/2),pe=parsePercent(oe[1],ue/2),he,_e,$e=t.coordinateSystem;if($e){var Ie=$e.dataToPoint(V);he=Ie[0]||0,_e=Ie[1]||0}else isArray$1(V)||(V=[V,V]),he=parsePercent(V[0],ie)+$.x,_e=parsePercent(V[1],le)+$.y;return{cx:he,cy:_e,r0:de,r:pe}}function pieLayout(t,r,$){r.eachSeriesByType(t,function(V){var oe=V.getData(),ie=oe.mapDimension("value"),le=getViewRect(V,$),ue=getBasicPieLayout(V,$),de=ue.cx,pe=ue.cy,he=ue.r,_e=ue.r0,$e=-V.get("startAngle")*RADIAN$1,Ie=V.get("minAngle")*RADIAN$1,Ve=0;oe.each(ie,function($n){!isNaN($n)&&Ve++});var Fe=oe.getSum(ie),Ue=Math.PI/(Fe||Ve)*2,qe=V.get("clockwise"),Et=V.get("roseType"),Lt=V.get("stillShowZeroSum"),hn=oe.getDataExtent(ie);hn[0]=0;var Cn=PI2,bn=0,Sn=$e,En=qe?1:-1;if(oe.setLayout({viewRect:le,r:he}),oe.each(ie,function($n,Tn){var xn;if(isNaN($n)){oe.setItemLayout(Tn,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:qe,cx:de,cy:pe,r0:_e,r:Et?NaN:he});return}Et!=="area"?xn=Fe===0&&Lt?Ue:$n*Ue:xn=PI2/Ve,xn<Ie?(xn=Ie,Cn-=Ie):bn+=$n;var An=Sn+En*xn;oe.setItemLayout(Tn,{angle:xn,startAngle:Sn,endAngle:An,clockwise:qe,cx:de,cy:pe,r0:_e,r:Et?linearMap$2($n,hn,[_e,he]):he}),Sn=An}),Cn<PI2&&Ve)if(Cn<=.001){var wn=PI2/Ve;oe.each(ie,function($n,Tn){if(!isNaN($n)){var xn=oe.getItemLayout(Tn);xn.angle=wn,xn.startAngle=$e+En*Tn*wn,xn.endAngle=$e+En*(Tn+1)*wn}})}else Ue=Cn/bn,Sn=$e,oe.each(ie,function($n,Tn){if(!isNaN($n)){var xn=oe.getItemLayout(Tn),An=xn.angle===Ie?Ie:$n*Ue;xn.startAngle=Sn,xn.endAngle=Sn+En*An,Sn+=En*An}})})}function dataFilter(t){return{seriesType:t,reset:function(r,$){var V=$.findComponents({mainType:"legend"});if(!(!V||!V.length)){var oe=r.getData();oe.filterSelf(function(ie){for(var le=oe.getName(ie),ue=0;ue<V.length;ue++)if(!V[ue].isSelected(le))return!1;return!0})}}}}var RADIAN=Math.PI/180;function adjustSingleSide(t,r,$,V,oe,ie,le,ue,de,pe){if(t.length<2)return;function he(Fe){for(var Ue=Fe.rB,qe=Ue*Ue,Et=0;Et<Fe.list.length;Et++){var Lt=Fe.list[Et],hn=Math.abs(Lt.label.y-$),Cn=V+Lt.len,bn=Cn*Cn,Sn=Math.sqrt((1-Math.abs(hn*hn/qe))*bn),En=r+(Sn+Lt.len2)*oe,wn=En-Lt.label.x,$n=Lt.targetTextWidth-wn*oe;constrainTextWidth(Lt,$n,!0),Lt.label.x=En}}function _e(Fe){for(var Ue={list:[],maxY:0},qe={list:[],maxY:0},Et=0;Et<Fe.length;Et++)if(Fe[Et].labelAlignTo==="none"){var Lt=Fe[Et],hn=Lt.label.y>$?qe:Ue,Cn=Math.abs(Lt.label.y-$);if(Cn>=hn.maxY){var bn=Lt.label.x-r-Lt.len2*oe,Sn=V+Lt.len,En=Math.abs(bn)<Sn?Math.sqrt(Cn*Cn/(1-bn*bn/Sn/Sn)):Sn;hn.rB=En,hn.maxY=Cn}hn.list.push(Lt)}he(Ue),he(qe)}for(var $e=t.length,Ie=0;Ie<$e;Ie++)if(t[Ie].position==="outer"&&t[Ie].labelAlignTo==="labelLine"){var Ve=t[Ie].label.x-pe;t[Ie].linePoints[1][0]+=Ve,t[Ie].label.x=pe}shiftLayoutOnY(t,de,de+le)&&_e(t)}function avoidOverlap(t,r,$,V,oe,ie,le,ue){for(var de=[],pe=[],he=Number.MAX_VALUE,_e=-Number.MAX_VALUE,$e=0;$e<t.length;$e++){var Ie=t[$e].label;isPositionCenter(t[$e])||(Ie.x<r?(he=Math.min(he,Ie.x),de.push(t[$e])):(_e=Math.max(_e,Ie.x),pe.push(t[$e])))}for(var $e=0;$e<t.length;$e++){var Ve=t[$e];if(!isPositionCenter(Ve)&&Ve.linePoints){if(Ve.labelStyleWidth!=null)continue;var Ie=Ve.label,Fe=Ve.linePoints,Ue=void 0;Ve.labelAlignTo==="edge"?Ie.x<r?Ue=Fe[2][0]-Ve.labelDistance-le-Ve.edgeDistance:Ue=le+oe-Ve.edgeDistance-Fe[2][0]-Ve.labelDistance:Ve.labelAlignTo==="labelLine"?Ie.x<r?Ue=he-le-Ve.bleedMargin:Ue=le+oe-_e-Ve.bleedMargin:Ie.x<r?Ue=Ie.x-le-Ve.bleedMargin:Ue=le+oe-Ie.x-Ve.bleedMargin,Ve.targetTextWidth=Ue,constrainTextWidth(Ve,Ue)}}adjustSingleSide(pe,r,$,V,1,oe,ie,le,ue,_e),adjustSingleSide(de,r,$,V,-1,oe,ie,le,ue,he);for(var $e=0;$e<t.length;$e++){var Ve=t[$e];if(!isPositionCenter(Ve)&&Ve.linePoints){var Ie=Ve.label,Fe=Ve.linePoints,qe=Ve.labelAlignTo==="edge",Et=Ie.style.padding,Lt=Et?Et[1]+Et[3]:0,hn=Ie.style.backgroundColor?0:Lt,Cn=Ve.rect.width+hn,bn=Fe[1][0]-Fe[2][0];qe?Ie.x<r?Fe[2][0]=le+Ve.edgeDistance+Cn+Ve.labelDistance:Fe[2][0]=le+oe-Ve.edgeDistance-Cn-Ve.labelDistance:(Ie.x<r?Fe[2][0]=Ie.x+Ve.labelDistance:Fe[2][0]=Ie.x-Ve.labelDistance,Fe[1][0]=Fe[2][0]+bn),Fe[1][1]=Fe[2][1]=Ie.y}}}function constrainTextWidth(t,r,$){if($===void 0&&($=!1),t.labelStyleWidth==null){var V=t.label,oe=V.style,ie=t.rect,le=oe.backgroundColor,ue=oe.padding,de=ue?ue[1]+ue[3]:0,pe=oe.overflow,he=ie.width+(le?0:de);if(r<he||$){var _e=ie.height;if(pe&&pe.match("break")){V.setStyle("backgroundColor",null),V.setStyle("width",r-de);var $e=V.getBoundingRect();V.setStyle("width",Math.ceil($e.width)),V.setStyle("backgroundColor",le)}else{var Ie=r-de,Ve=r<he?Ie:$?Ie>t.unconstrainedWidth?null:Ie:null;V.setStyle("width",Ve)}var Fe=V.getBoundingRect();ie.width=Fe.width;var Ue=(V.style.margin||0)+2.1;ie.height=Fe.height+Ue,ie.y-=(ie.height-_e)/2}}}function isPositionCenter(t){return t.position==="center"}function pieLabelLayout(t){var r=t.getData(),$=[],V,oe,ie=!1,le=(t.get("minShowLabelAngle")||0)*RADIAN,ue=r.getLayout("viewRect"),de=r.getLayout("r"),pe=ue.width,he=ue.x,_e=ue.y,$e=ue.height;function Ie(bn){bn.ignore=!0}function Ve(bn){if(!bn.ignore)return!0;for(var Sn in bn.states)if(bn.states[Sn].ignore===!1)return!0;return!1}r.each(function(bn){var Sn=r.getItemGraphicEl(bn),En=Sn.shape,wn=Sn.getTextContent(),$n=Sn.getTextGuideLine(),Tn=r.getItemModel(bn),xn=Tn.getModel("label"),An=xn.get("position")||Tn.get(["emphasis","label","position"]),Mn=xn.get("distanceToLabelLine"),Vn=xn.get("alignTo"),Bn=parsePercent(xn.get("edgeDistance"),pe),Dn=xn.get("bleedMargin"),Ln=Tn.getModel("labelLine"),Pn=Ln.get("length");Pn=parsePercent(Pn,pe);var Fn=Ln.get("length2");if(Fn=parsePercent(Fn,pe),Math.abs(En.endAngle-En.startAngle)<le){each$c(wn.states,Ie),wn.ignore=!0,$n&&(each$c($n.states,Ie),$n.ignore=!0);return}if(Ve(wn)){var Un=(En.startAngle+En.endAngle)/2,Wn=Math.cos(Un),Zn=Math.sin(Un),or,br,Qn,Gn;V=En.cx,oe=En.cy;var Yn=An==="inside"||An==="inner";if(An==="center")or=En.cx,br=En.cy,Gn="center";else{var er=(Yn?(En.r+En.r0)/2*Wn:En.r*Wn)+V,lr=(Yn?(En.r+En.r0)/2*Zn:En.r*Zn)+oe;if(or=er+Wn*3,br=lr+Zn*3,!Yn){var sr=er+Wn*(Pn+de-En.r),zn=lr+Zn*(Pn+de-En.r),Kn=sr+(Wn<0?-1:1)*Fn,Jn=zn;Vn==="edge"?or=Wn<0?he+Bn:he+pe-Bn:or=Kn+(Wn<0?-Mn:Mn),br=Jn,Qn=[[er,lr],[sr,zn],[Kn,Jn]]}Gn=Yn?"center":Vn==="edge"?Wn>0?"right":"left":Wn>0?"left":"right"}var cr=Math.PI,_r=0,ur=xn.get("rotate");if(isNumber(ur))_r=ur*(cr/180);else if(An==="center")_r=0;else if(ur==="radial"||ur===!0){var wr=Wn<0?-Un+cr:-Un;_r=wr}else if(ur==="tangential"&&An!=="outside"&&An!=="outer"){var Cr=Math.atan2(Wn,Zn);Cr<0&&(Cr=cr*2+Cr);var mr=Zn>0;mr&&(Cr=cr+Cr),_r=Cr-cr}if(ie=!!_r,wn.x=or,wn.y=br,wn.rotation=_r,wn.setStyle({verticalAlign:"middle"}),Yn){wn.setStyle({align:Gn});var nr=wn.states.select;nr&&(nr.x+=wn.x,nr.y+=wn.y)}else{var Er=wn.getBoundingRect().clone();Er.applyTransform(wn.getComputedTransform());var Tr=(wn.style.margin||0)+2.1;Er.y-=Tr/2,Er.height+=Tr,$.push({label:wn,labelLine:$n,position:An,len:Pn,len2:Fn,minTurnAngle:Ln.get("minTurnAngle"),maxSurfaceAngle:Ln.get("maxSurfaceAngle"),surfaceNormal:new Point$1(Wn,Zn),linePoints:Qn,textAlign:Gn,labelDistance:Mn,labelAlignTo:Vn,edgeDistance:Bn,bleedMargin:Dn,rect:Er,unconstrainedWidth:Er.width,labelStyleWidth:wn.style.width})}Sn.setTextConfig({inside:Yn})}}),!ie&&t.get("avoidLabelOverlap")&&avoidOverlap($,V,oe,de,pe,$e,he,_e);for(var Fe=0;Fe<$.length;Fe++){var Ue=$[Fe],qe=Ue.label,Et=Ue.labelLine,Lt=isNaN(qe.x)||isNaN(qe.y);if(qe){qe.setStyle({align:Ue.textAlign}),Lt&&(each$c(qe.states,Ie),qe.ignore=!0);var hn=qe.states.select;hn&&(hn.x+=qe.x,hn.y+=qe.y)}if(Et){var Cn=Ue.linePoints;Lt||!Cn?(each$c(Et.states,Ie),Et.ignore=!0):(limitTurnAngle(Cn,Ue.minTurnAngle),limitSurfaceAngle(Cn,Ue.surfaceNormal,Ue.maxSurfaceAngle),Et.setShape({points:Cn}),qe.__hostTarget.textGuideLineConfig={anchor:new Point$1(Cn[0][0],Cn[0][1])})}}}var PiePiece=function(t){__extends(r,t);function r($,V,oe){var ie=t.call(this)||this;ie.z2=2;var le=new ZRText$1;return ie.setTextContent(le),ie.updateData($,V,oe,!0),ie}return r.prototype.updateData=function($,V,oe,ie){var le=this,ue=$.hostModel,de=$.getItemModel(V),pe=de.getModel("emphasis"),he=$.getItemLayout(V),_e=extend(getSectorCornerRadius(de.getModel("itemStyle"),he,!0),he);if(isNaN(_e.startAngle)){le.setShape(_e);return}if(ie){le.setShape(_e);var $e=ue.getShallow("animationType");ue.ecModel.ssr?(initProps(le,{scaleX:0,scaleY:0},ue,{dataIndex:V,isFrom:!0}),le.originX=_e.cx,le.originY=_e.cy):$e==="scale"?(le.shape.r=he.r0,initProps(le,{shape:{r:he.r}},ue,V)):oe!=null?(le.setShape({startAngle:oe,endAngle:oe}),initProps(le,{shape:{startAngle:he.startAngle,endAngle:he.endAngle}},ue,V)):(le.shape.endAngle=he.startAngle,updateProps$1(le,{shape:{endAngle:he.endAngle}},ue,V))}else saveOldStyle(le),updateProps$1(le,{shape:_e},ue,V);le.useStyle($.getItemVisual(V,"style")),setStatesStylesFromModel(le,de);var Ie=(he.startAngle+he.endAngle)/2,Ve=ue.get("selectedOffset"),Fe=Math.cos(Ie)*Ve,Ue=Math.sin(Ie)*Ve,qe=de.getShallow("cursor");qe&&le.attr("cursor",qe),this._updateLabel(ue,$,V),le.ensureState("emphasis").shape=extend({r:he.r+(pe.get("scale")&&pe.get("scaleSize")||0)},getSectorCornerRadius(pe.getModel("itemStyle"),he)),extend(le.ensureState("select"),{x:Fe,y:Ue,shape:getSectorCornerRadius(de.getModel(["select","itemStyle"]),he)}),extend(le.ensureState("blur"),{shape:getSectorCornerRadius(de.getModel(["blur","itemStyle"]),he)});var Et=le.getTextGuideLine(),Lt=le.getTextContent();Et&&extend(Et.ensureState("select"),{x:Fe,y:Ue}),extend(Lt.ensureState("select"),{x:Fe,y:Ue}),toggleHoverEmphasis(this,pe.get("focus"),pe.get("blurScope"),pe.get("disabled"))},r.prototype._updateLabel=function($,V,oe){var ie=this,le=V.getItemModel(oe),ue=le.getModel("labelLine"),de=V.getItemVisual(oe,"style"),pe=de&&de.fill,he=de&&de.opacity;setLabelStyle(ie,getLabelStatesModels(le),{labelFetcher:V.hostModel,labelDataIndex:oe,inheritColor:pe,defaultOpacity:he,defaultText:$.getFormattedLabel(oe,"normal")||V.getName(oe)});var _e=ie.getTextContent();ie.setTextConfig({position:null,rotation:null}),_e.attr({z2:10});var $e=$.get(["label","position"]);if($e!=="outside"&&$e!=="outer")ie.removeTextGuideLine();else{var Ie=this.getTextGuideLine();Ie||(Ie=new Polyline$1,this.setTextGuideLine(Ie)),setLabelLineStyle(this,getLabelLineStatesModels(le),{stroke:pe,opacity:retrieve3(ue.get(["lineStyle","opacity"]),he,1)})}},r}(Sector$1),PieView=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.ignoreLabelLineUpdate=!0,$}return r.prototype.render=function($,V,oe,ie){var le=$.getData(),ue=this._data,de=this.group,pe;if(!ue&&le.count()>0){for(var he=le.getItemLayout(0),_e=1;isNaN(he&&he.startAngle)&&_e<le.count();++_e)he=le.getItemLayout(_e);he&&(pe=he.startAngle)}if(this._emptyCircleSector&&de.remove(this._emptyCircleSector),le.count()===0&&$.get("showEmptyCircle")){var $e=new Sector$1({shape:getBasicPieLayout($,oe)});$e.useStyle($.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=$e,de.add($e)}le.diff(ue).add(function(Ie){var Ve=new PiePiece(le,Ie,pe);le.setItemGraphicEl(Ie,Ve),de.add(Ve)}).update(function(Ie,Ve){var Fe=ue.getItemGraphicEl(Ve);Fe.updateData(le,Ie,pe),Fe.off("click"),de.add(Fe),le.setItemGraphicEl(Ie,Fe)}).remove(function(Ie){var Ve=ue.getItemGraphicEl(Ie);removeElementWithFadeOut(Ve,$,Ie)}).execute(),pieLabelLayout($),$.get("animationTypeUpdate")!=="expansion"&&(this._data=le)},r.prototype.dispose=function(){},r.prototype.containPoint=function($,V){var oe=V.getData(),ie=oe.getItemLayout(0);if(ie){var le=$[0]-ie.cx,ue=$[1]-ie.cy,de=Math.sqrt(le*le+ue*ue);return de<=ie.r&&de>=ie.r0}},r.type="pie",r}(ChartView$1);const PieView$1=PieView;function createSeriesDataSimply(t,r,$){r=isArray$1(r)&&{coordDimensions:r}||extend({encodeDefine:t.getEncode()},r);var V=t.getSource(),oe=prepareSeriesDataSchema(V,r).dimensions,ie=new SeriesData$1(oe,t);return ie.initData(V,$),ie}var LegendVisualProvider=function(){function t(r,$){this._getDataWithEncodedVisual=r,this._getRawData=$}return t.prototype.getAllNames=function(){var r=this._getRawData();return r.mapArray(r.getName)},t.prototype.containName=function(r){var $=this._getRawData();return $.indexOfName(r)>=0},t.prototype.indexOfName=function(r){var $=this._getDataWithEncodedVisual();return $.indexOfName(r)},t.prototype.getItemVisual=function(r,$){var V=this._getDataWithEncodedVisual();return V.getItemVisual(r,$)},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($){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider$1(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine($)},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($){var V=this.getData(),oe=innerData(V),ie=oe.seats;if(!ie){var le=[];V.each(V.mapDimension("value"),function(de){le.push(de)}),ie=oe.seats=getPercentSeats(le,V.hostModel.get("percentPrecision"))}var ue=t.prototype.getDataParams.call(this,$);return ue.percent=ie[$]||0,ue.$vars.push("percent"),ue},r.prototype._defaultLabelLine=function($){defaultEmphasis($,"labelLine",["show"]);var V=$.labelLine,oe=$.emphasis.labelLine;V.show=V.show&&$.label.show,oe.show=oe.show&&$.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,$){var V=r.getData();V.filterSelf(function(oe){var ie=V.mapDimension("value"),le=V.get(ie,oe);return!(isNumber(le)&&!isNaN(le)&&le<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){each$c(AXIS_TYPES,function(oe,ie){var le=merge(merge({},axisDefault[ie],!0),V,!0),ue=function(de){__extends(pe,de);function pe(){var he=de!==null&&de.apply(this,arguments)||this;return he.type=r+"Axis."+ie,he}return pe.prototype.mergeDefaultAndTheme=function(he,_e){var $e=fetchLayoutMode(this),Ie=$e?getLayoutParams(he):{},Ve=_e.getTheme();merge(he,Ve.get(ie+"Axis")),merge(he,this.getDefaultOption()),he.type=getAxisType(he),$e&&mergeLayoutParam(he,Ie,$e)},pe.prototype.optionUpdated=function(){var he=this.option;he.type==="category"&&(this.__ordinalMeta=OrdinalMeta$1.createByAxisModel(this))},pe.prototype.getCategories=function(he){var _e=this.option;if(_e.type==="category")return he?_e.data:this.__ordinalMeta.categories},pe.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},pe.type=r+"Axis."+ie,pe.defaultOption=le,pe}($);t.registerComponentModel(ue)}),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($){return $.scale.type===r})},t.prototype.addAxis=function(r){var $=r.dim;this._axes[$]=r,this._dimList.push($)},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 $=t!==null&&t.apply(this,arguments)||this;return $.type="cartesian2d",$.dimensions=cartesian2DDimensions,$}return r.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var $=this.getAxis("x").scale,V=this.getAxis("y").scale;if(!(!canCalculateAffineTransform($)||!canCalculateAffineTransform(V))){var oe=$.getExtent(),ie=V.getExtent(),le=this.dataToPoint([oe[0],ie[0]]),ue=this.dataToPoint([oe[1],ie[1]]),de=oe[1]-oe[0],pe=ie[1]-ie[0];if(!(!de||!pe)){var he=(ue[0]-le[0])/de,_e=(ue[1]-le[1])/pe,$e=le[0]-oe[0]*he,Ie=le[1]-ie[0]*_e,Ve=this._transform=[he,0,0,_e,$e,Ie];this._invTransform=invert([],Ve)}}},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},r.prototype.containPoint=function($){var V=this.getAxis("x"),oe=this.getAxis("y");return V.contain(V.toLocalCoord($[0]))&&oe.contain(oe.toLocalCoord($[1]))},r.prototype.containData=function($){return this.getAxis("x").containData($[0])&&this.getAxis("y").containData($[1])},r.prototype.containZone=function($,V){var oe=this.dataToPoint($),ie=this.dataToPoint(V),le=this.getArea(),ue=new BoundingRect$1(oe[0],oe[1],ie[0]-oe[0],ie[1]-oe[1]);return le.intersect(ue)},r.prototype.dataToPoint=function($,V,oe){oe=oe||[];var ie=$[0],le=$[1];if(this._transform&&ie!=null&&isFinite(ie)&&le!=null&&isFinite(le))return applyTransform$1(oe,$,this._transform);var ue=this.getAxis("x"),de=this.getAxis("y");return oe[0]=ue.toGlobalCoord(ue.dataToCoord(ie,V)),oe[1]=de.toGlobalCoord(de.dataToCoord(le,V)),oe},r.prototype.clampData=function($,V){var oe=this.getAxis("x").scale,ie=this.getAxis("y").scale,le=oe.getExtent(),ue=ie.getExtent(),de=oe.parse($[0]),pe=ie.parse($[1]);return V=V||[],V[0]=Math.min(Math.max(Math.min(le[0],le[1]),de),Math.max(le[0],le[1])),V[1]=Math.min(Math.max(Math.min(ue[0],ue[1]),pe),Math.max(ue[0],ue[1])),V},r.prototype.pointToData=function($,V){var oe=[];if(this._invTransform)return applyTransform$1(oe,$,this._invTransform);var ie=this.getAxis("x"),le=this.getAxis("y");return oe[0]=ie.coordToData(ie.toLocalCoord($[0]),V),oe[1]=le.coordToData(le.toLocalCoord($[1]),V),oe},r.prototype.getOtherAxis=function($){return this.getAxis($.dim==="x"?"y":"x")},r.prototype.getArea=function(){var $=this.getAxis("x").getGlobalExtent(),V=this.getAxis("y").getGlobalExtent(),oe=Math.min($[0],$[1]),ie=Math.min(V[0],V[1]),le=Math.max($[0],$[1])-oe,ue=Math.max(V[0],V[1])-ie;return new BoundingRect$1(oe,ie,le,ue)},r}(Cartesian$1),Axis2D=function(t){__extends(r,t);function r($,V,oe,ie,le){var ue=t.call(this,$,V,oe)||this;return ue.index=0,ue.type=ie||"value",ue.position=le||"bottom",ue}return r.prototype.isHorizontal=function(){var $=this.position;return $==="top"||$==="bottom"},r.prototype.getGlobalExtent=function($){var V=this.getExtent();return V[0]=this.toGlobalCoord(V[0]),V[1]=this.toGlobalCoord(V[1]),$&&V[0]>V[1]&&V.reverse(),V},r.prototype.pointToData=function($,V){return this.coordToData(this.toLocalCoord($[this.dim==="x"?0:1]),V)},r.prototype.setCategorySortInfo=function($){if(this.type!=="category")return!1;this.model.option.categorySortInfo=$,this.scale.setSortInfo($)},r}(Axis$1);const Axis2D$1=Axis2D;function layout$1(t,r,$){$=$||{};var V=t.coordinateSystem,oe=r.axis,ie={},le=oe.getAxesOnZeroOf()[0],ue=oe.position,de=le?"onZero":ue,pe=oe.dim,he=V.getRect(),_e=[he.x,he.x+he.width,he.y,he.y+he.height],$e={left:0,right:1,top:0,bottom:1,onZero:2},Ie=r.get("offset")||0,Ve=pe==="x"?[_e[2]-Ie,_e[3]+Ie]:[_e[0]-Ie,_e[1]+Ie];if(le){var Fe=le.toGlobalCoord(le.dataToCoord(0));Ve[$e.onZero]=Math.max(Math.min(Fe,Ve[1]),Ve[0])}ie.position=[pe==="y"?Ve[$e[de]]:_e[0],pe==="x"?Ve[$e[de]]:_e[3]],ie.rotation=Math.PI/2*(pe==="x"?0:1);var Ue={top:-1,bottom:1,left:-1,right:1};ie.labelDirection=ie.tickDirection=ie.nameDirection=Ue[ue],ie.labelOffset=le?Ve[$e[ue]]-Ve[$e.onZero]:0,r.get(["axisTick","inside"])&&(ie.tickDirection=-ie.tickDirection),retrieve($.labelInside,r.get(["axisLabel","inside"]))&&(ie.labelDirection=-ie.labelDirection);var qe=r.get(["axisLabel","rotate"]);return ie.labelRotate=de==="top"?-qe:qe,ie.z2=1,ie}function isCartesian2DSeries(t){return t.get("coordinateSystem")==="cartesian2d"}function findAxisModels(t){var r={xAxisModel:null,yAxisModel:null};return each$c(r,function($,V){var oe=V.replace(/Model$/,""),ie=t.getReferringComponents(oe,SINGLE_REFERRING).models[0];r[V]=ie}),r}var mathLog=Math.log;function alignScaleTicks(t,r,$){var V=IntervalScale$1.prototype,oe=V.getTicks.call($),ie=V.getTicks.call($,!0),le=oe.length-1,ue=V.getInterval.call($),de=getScaleExtent(t,r),pe=de.extent,he=de.fixMin,_e=de.fixMax;if(t.type==="log"){var $e=mathLog(t.base);pe=[mathLog(pe[0])/$e,mathLog(pe[1])/$e]}t.setExtent(pe[0],pe[1]),t.calcNiceExtent({splitNumber:le,fixMin:he,fixMax:_e});var Ie=V.getExtent.call(t);he&&(pe[0]=Ie[0]),_e&&(pe[1]=Ie[1]);var Ve=V.getInterval.call(t),Fe=pe[0],Ue=pe[1];if(he&&_e)Ve=(Ue-Fe)/le;else if(he)for(Ue=pe[0]+Ve*le;Ue<pe[1]&&isFinite(Ue)&&isFinite(pe[1]);)Ve=increaseInterval(Ve),Ue=pe[0]+Ve*le;else if(_e)for(Fe=pe[1]-Ve*le;Fe>pe[0]&&isFinite(Fe)&&isFinite(pe[0]);)Ve=increaseInterval(Ve),Fe=pe[1]-Ve*le;else{var qe=t.getTicks().length-1;qe>le&&(Ve=increaseInterval(Ve));var Et=Ve*le;Ue=Math.ceil(pe[1]/Ve)*Ve,Fe=round$1(Ue-Et),Fe<0&&pe[0]>=0?(Fe=0,Ue=round$1(Et)):Ue>0&&pe[1]<=0&&(Ue=0,Fe=-round$1(Et))}var Lt=(oe[0].value-ie[0].value)/ue,hn=(oe[le].value-ie[le].value)/ue;V.setExtent.call(t,Fe+Ve*Lt,Ue+Ve*hn),V.setInterval.call(t,Ve),(Lt||hn)&&V.setNiceExtent.call(t,Fe+Ve,Ue-Ve)}var Grid=function(){function t(r,$,V){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,this._initCartesian(r,$,V),this.model=r}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(r,$){var V=this._axesMap;this._updateScale(r,this.model);function oe(le){var ue,de=keys(le),pe=de.length;if(pe){for(var he=[],_e=pe-1;_e>=0;_e--){var $e=+de[_e],Ie=le[$e],Ve=Ie.model,Fe=Ie.scale;isIntervalOrLogScale(Fe)&&Ve.get("alignTicks")&&Ve.get("interval")==null?he.push(Ie):(niceScaleExtent(Fe,Ve),isIntervalOrLogScale(Fe)&&(ue=Ie))}he.length&&(ue||(ue=he.pop(),niceScaleExtent(ue.scale,ue.model)),each$c(he,function(Ue){alignScaleTicks(Ue.scale,Ue.model,ue.scale)}))}}oe(V.x),oe(V.y);var ie={};each$c(V.x,function(le){fixAxisOnZero(V,"y",le,ie)}),each$c(V.y,function(le){fixAxisOnZero(V,"x",le,ie)}),this.resize(this.model,$)},t.prototype.resize=function(r,$,V){var oe=r.getBoxLayoutParams(),ie=!V&&r.get("containLabel"),le=getLayoutRect(oe,{width:$.getWidth(),height:$.getHeight()});this._rect=le;var ue=this._axesList;de(),ie&&(each$c(ue,function(pe){if(!pe.model.get(["axisLabel","inside"])){var he=estimateLabelUnionRect(pe);if(he){var _e=pe.isHorizontal()?"height":"width",$e=pe.model.get(["axisLabel","margin"]);le[_e]-=he[_e]+$e,pe.position==="top"?le.y+=he.height+$e:pe.position==="left"&&(le.x+=he.width+$e)}}}),de()),each$c(this._coordsList,function(pe){pe.calcAffineTransform()});function de(){each$c(ue,function(pe){var he=pe.isHorizontal(),_e=he?[0,le.width]:[0,le.height],$e=pe.inverse?1:0;pe.setExtent(_e[$e],_e[1-$e]),updateAxisTransform(pe,he?le.x:le.y)})}},t.prototype.getAxis=function(r,$){var V=this._axesMap[r];if(V!=null)return V[$||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(r,$){if(r!=null&&$!=null){var V="x"+r+"y"+$;return this._coordsMap[V]}isObject$3(r)&&($=r.yAxisIndex,r=r.xAxisIndex);for(var oe=0,ie=this._coordsList;oe<ie.length;oe++)if(ie[oe].getAxis("x").index===r||ie[oe].getAxis("y").index===$)return ie[oe]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(r,$,V){var oe=this._findConvertTarget($);return oe.cartesian?oe.cartesian.dataToPoint(V):oe.axis?oe.axis.toGlobalCoord(oe.axis.dataToCoord(V)):null},t.prototype.convertFromPixel=function(r,$,V){var oe=this._findConvertTarget($);return oe.cartesian?oe.cartesian.pointToData(V):oe.axis?oe.axis.coordToData(oe.axis.toLocalCoord(V)):null},t.prototype._findConvertTarget=function(r){var $=r.seriesModel,V=r.xAxisModel||$&&$.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],oe=r.yAxisModel||$&&$.getReferringComponents("yAxis",SINGLE_REFERRING).models[0],ie=r.gridModel,le=this._coordsList,ue,de;if($)ue=$.coordinateSystem,indexOf(le,ue)<0&&(ue=null);else if(V&&oe)ue=this.getCartesian(V.componentIndex,oe.componentIndex);else if(V)de=this.getAxis("x",V.componentIndex);else if(oe)de=this.getAxis("y",oe.componentIndex);else if(ie){var pe=ie.coordinateSystem;pe===this&&(ue=this._coordsList[0])}return{cartesian:ue,axis:de}},t.prototype.containPoint=function(r){var $=this._coordsList[0];if($)return $.containPoint(r)},t.prototype._initCartesian=function(r,$,V){var oe=this,ie=this,le={left:!1,right:!1,top:!1,bottom:!1},ue={x:{},y:{}},de={x:0,y:0};if($.eachComponent("xAxis",pe("x"),this),$.eachComponent("yAxis",pe("y"),this),!de.x||!de.y){this._axesMap={},this._axesList=[];return}this._axesMap=ue,each$c(ue.x,function(he,_e){each$c(ue.y,function($e,Ie){var Ve="x"+_e+"y"+Ie,Fe=new Cartesian2D(Ve);Fe.master=oe,Fe.model=r,oe._coordsMap[Ve]=Fe,oe._coordsList.push(Fe),Fe.addAxis(he),Fe.addAxis($e)})});function pe(he){return function(_e,$e){if(isAxisUsedInTheGrid(_e,r)){var Ie=_e.get("position");he==="x"?Ie!=="top"&&Ie!=="bottom"&&(Ie=le.bottom?"top":"bottom"):Ie!=="left"&&Ie!=="right"&&(Ie=le.left?"right":"left"),le[Ie]=!0;var Ve=new Axis2D$1(he,createScaleByModel(_e),[0,0],_e.get("type"),Ie),Fe=Ve.type==="category";Ve.onBand=Fe&&_e.get("boundaryGap"),Ve.inverse=_e.get("inverse"),_e.axis=Ve,Ve.model=_e,Ve.grid=ie,Ve.index=$e,ie._axesList.push(Ve),ue[he][$e]=Ve,de[he]++}}}},t.prototype._updateScale=function(r,$){each$c(this._axesList,function(oe){if(oe.scale.setExtent(1/0,-1/0),oe.type==="category"){var ie=oe.model.get("categorySortInfo");oe.scale.setSortInfo(ie)}}),r.eachSeries(function(oe){if(isCartesian2DSeries(oe)){var ie=findAxisModels(oe),le=ie.xAxisModel,ue=ie.yAxisModel;if(!isAxisUsedInTheGrid(le,$)||!isAxisUsedInTheGrid(ue,$))return;var de=this.getCartesian(le.componentIndex,ue.componentIndex),pe=oe.getData(),he=de.getAxis("x"),_e=de.getAxis("y");V(pe,he),V(pe,_e)}},this);function V(oe,ie){each$c(getDataDimensionsOnAxis(oe,ie.dim),function(le){ie.scale.unionExtentFromData(oe,le)})}},t.prototype.getTooltipAxes=function(r){var $=[],V=[];return each$c(this.getCartesians(),function(oe){var ie=r!=null&&r!=="auto"?oe.getAxis(r):oe.getBaseAxis(),le=oe.getOtherAxis(ie);indexOf($,ie)<0&&$.push(ie),indexOf(V,le)<0&&V.push(le)}),{baseAxes:$,otherAxes:V}},t.create=function(r,$){var V=[];return r.eachComponent("grid",function(oe,ie){var le=new t(oe,r,$);le.name="grid_"+ie,le.resize(oe,$,!0),oe.coordinateSystem=le,V.push(le)}),r.eachSeries(function(oe){if(isCartesian2DSeries(oe)){var ie=findAxisModels(oe),le=ie.xAxisModel,ue=ie.yAxisModel,de=le.getCoordSysModel(),pe=de.coordinateSystem;oe.coordinateSystem=pe.getCartesian(le.componentIndex,ue.componentIndex)}}),V},t.dimensions=cartesian2DDimensions,t}();function isAxisUsedInTheGrid(t,r){return t.getCoordSysModel()===r}function fixAxisOnZero(t,r,$,V){$.getAxesOnZeroOf=function(){return ie?[ie]:[]};var oe=t[r],ie,le=$.model,ue=le.get(["axisLine","onZero"]),de=le.get(["axisLine","onZeroAxisIndex"]);if(!ue)return;if(de!=null)canOnZeroToAxis(oe[de])&&(ie=oe[de]);else for(var pe in oe)if(oe.hasOwnProperty(pe)&&canOnZeroToAxis(oe[pe])&&!V[he(oe[pe])]){ie=oe[pe];break}ie&&(V[he(ie)]=!0);function he(_e){return _e.dim+"_"+_e.index}}function canOnZeroToAxis(t){return t&&t.type!=="category"&&t.type!=="time"&&ifAxisCrossZero(t)}function updateAxisTransform(t,r){var $=t.getExtent(),V=$[0]+$[1];t.toGlobalCoord=t.dim==="x"?function(oe){return oe+r}:function(oe){return V-oe+r},t.toLocalCoord=t.dim==="x"?function(oe){return oe-r}:function(oe){return V-oe+r}}const Grid$1=Grid;var PI=Math.PI,AxisBuilder=function(){function t(r,$){this.group=new Group$3,this.opt=$,this.axisModel=r,defaults($,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var V=new Group$3({x:$.position[0],y:$.position[1],rotation:$.rotation});V.updateTransform(),this._transformGroup=V}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){var oe=remRadian($-r),ie,le;return isRadianAroundZero(oe)?(le=V>0?"top":"bottom",ie="center"):isRadianAroundZero(oe-PI)?(le=V>0?"bottom":"top",ie="center"):(le="middle",oe>0&&oe<PI?ie=V>0?"right":"left":ie=V>0?"left":"right"),{rotation:oe,textAlign:ie,textVerticalAlign:le}},t.makeAxisEventDataBase=function(r){var $={componentType:r.mainType,componentIndex:r.componentIndex};return $[r.mainType+"Index"]=r.componentIndex,$},t.isLabelSilent=function(r){var $=r.get("tooltip");return r.get("silent")||!(r.get("triggerEvent")||$&&$.show)},t}(),builders={axisLine:function(t,r,$,V){var oe=r.get(["axisLine","show"]);if(oe==="auto"&&t.handleAutoShown&&(oe=t.handleAutoShown("axisLine")),!!oe){var ie=r.axis.getExtent(),le=V.transform,ue=[ie[0],0],de=[ie[1],0],pe=ue[0]>de[0];le&&(applyTransform$1(ue,ue,le),applyTransform$1(de,de,le));var he=extend({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),_e=new Line$1({shape:{x1:ue[0],y1:ue[1],x2:de[0],y2:de[1]},style:he,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(_e.shape,_e.style.lineWidth),_e.anid="line",$.add(_e);var $e=r.get(["axisLine","symbol"]);if($e!=null){var Ie=r.get(["axisLine","symbolSize"]);isString($e)&&($e=[$e,$e]),(isString(Ie)||isNumber(Ie))&&(Ie=[Ie,Ie]);var Ve=normalizeSymbolOffset(r.get(["axisLine","symbolOffset"])||0,Ie),Fe=Ie[0],Ue=Ie[1];each$c([{rotate:t.rotation+Math.PI/2,offset:Ve[0],r:0},{rotate:t.rotation-Math.PI/2,offset:Ve[1],r:Math.sqrt((ue[0]-de[0])*(ue[0]-de[0])+(ue[1]-de[1])*(ue[1]-de[1]))}],function(qe,Et){if($e[Et]!=="none"&&$e[Et]!=null){var Lt=createSymbol($e[Et],-Fe/2,-Ue/2,Fe,Ue,he.stroke,!0),hn=qe.r+qe.offset,Cn=pe?de:ue;Lt.attr({rotation:qe.rotate,x:Cn[0]+hn*Math.cos(t.rotation),y:Cn[1]-hn*Math.sin(t.rotation),silent:!0,z2:11}),$.add(Lt)}})}}},axisTickLabel:function(t,r,$,V){var oe=buildAxisMajorTicks($,V,r,t),ie=buildAxisLabel($,V,r,t);if(fixMinMaxLabelShow(r,ie,oe),buildAxisMinorTicks($,V,r,t.tickDirection),r.get(["axisLabel","hideOverlap"])){var le=prepareLayoutList(map$2(ie,function(ue){return{label:ue,priority:ue.z2,defaultAttr:{ignore:ue.ignore}}}));hideOverlap(le)}},axisName:function(t,r,$,V){var oe=retrieve(t.axisName,r.get("name"));if(oe){var ie=r.get("nameLocation"),le=t.nameDirection,ue=r.getModel("nameTextStyle"),de=r.get("nameGap")||0,pe=r.axis.getExtent(),he=pe[0]>pe[1]?-1:1,_e=[ie==="start"?pe[0]-he*de:ie==="end"?pe[1]+he*de:(pe[0]+pe[1])/2,isNameLocationCenter(ie)?t.labelOffset+le*de:0],$e,Ie=r.get("nameRotate");Ie!=null&&(Ie=Ie*PI/180);var Ve;isNameLocationCenter(ie)?$e=AxisBuilder.innerTextLayout(t.rotation,Ie??t.rotation,le):($e=endTextLayout(t.rotation,ie,Ie||0,pe),Ve=t.axisNameAvailableWidth,Ve!=null&&(Ve=Math.abs(Ve/Math.sin($e.rotation)),!isFinite(Ve)&&(Ve=null)));var Fe=ue.getFont(),Ue=r.get("nameTruncate",!0)||{},qe=Ue.ellipsis,Et=retrieve(t.nameTruncateMaxWidth,Ue.maxWidth,Ve),Lt=new ZRText$1({x:_e[0],y:_e[1],rotation:$e.rotation,silent:AxisBuilder.isLabelSilent(r),style:createTextStyle$1(ue,{text:oe,font:Fe,overflow:"truncate",width:Et,ellipsis:qe,fill:ue.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:ue.get("align")||$e.textAlign,verticalAlign:ue.get("verticalAlign")||$e.textVerticalAlign}),z2:1});if(setTooltipConfig({el:Lt,componentModel:r,itemName:oe}),Lt.__fullText=oe,Lt.anid="name",r.get("triggerEvent")){var hn=AxisBuilder.makeAxisEventDataBase(r);hn.targetType="axisName",hn.name=oe,getECData(Lt).eventData=hn}V.add(Lt),Lt.updateTransform(),$.add(Lt),Lt.decomposeTransform()}}};function endTextLayout(t,r,$,V){var oe=remRadian($-t),ie,le,ue=V[0]>V[1],de=r==="start"&&!ue||r!=="start"&&ue;return isRadianAroundZero(oe-PI/2)?(le=de?"bottom":"top",ie="center"):isRadianAroundZero(oe-PI*1.5)?(le=de?"top":"bottom",ie="center"):(le="middle",oe<PI*1.5&&oe>PI/2?ie=de?"left":"right":ie=de?"right":"left"),{rotation:oe,textAlign:ie,textVerticalAlign:le}}function fixMinMaxLabelShow(t,r,$){if(!shouldShowAllLabels(t.axis)){var V=t.get(["axisLabel","showMinLabel"]),oe=t.get(["axisLabel","showMaxLabel"]);r=r||[],$=$||[];var ie=r[0],le=r[1],ue=r[r.length-1],de=r[r.length-2],pe=$[0],he=$[1],_e=$[$.length-1],$e=$[$.length-2];V===!1?(ignoreEl(ie),ignoreEl(pe)):isTwoLabelOverlapped(ie,le)&&(V?(ignoreEl(le),ignoreEl(he)):(ignoreEl(ie),ignoreEl(pe))),oe===!1?(ignoreEl(ue),ignoreEl(_e)):isTwoLabelOverlapped(de,ue)&&(oe?(ignoreEl(de),ignoreEl($e)):(ignoreEl(ue),ignoreEl(_e)))}}function ignoreEl(t){t&&(t.ignore=!0)}function isTwoLabelOverlapped(t,r){var $=t&&t.getBoundingRect().clone(),V=r&&r.getBoundingRect().clone();if(!(!$||!V)){var oe=identity([]);return rotate(oe,oe,-t.rotation),$.applyTransform(mul([],oe,t.getLocalTransform())),V.applyTransform(mul([],oe,r.getLocalTransform())),$.intersect(V)}}function isNameLocationCenter(t){return t==="middle"||t==="center"}function createTicks(t,r,$,V,oe){for(var ie=[],le=[],ue=[],de=0;de<t.length;de++){var pe=t[de].coord;le[0]=pe,le[1]=0,ue[0]=pe,ue[1]=$,r&&(applyTransform$1(le,le,r),applyTransform$1(ue,ue,r));var he=new Line$1({shape:{x1:le[0],y1:le[1],x2:ue[0],y2:ue[1]},style:V,z2:2,autoBatch:!0,silent:!0});subPixelOptimizeLine(he.shape,he.style.lineWidth),he.anid=oe+"_"+t[de].tickValue,ie.push(he)}return ie}function buildAxisMajorTicks(t,r,$,V){var oe=$.axis,ie=$.getModel("axisTick"),le=ie.get("show");if(le==="auto"&&V.handleAutoShown&&(le=V.handleAutoShown("axisTick")),!(!le||oe.scale.isBlank())){for(var ue=ie.getModel("lineStyle"),de=V.tickDirection*ie.get("length"),pe=oe.getTicksCoords(),he=createTicks(pe,r.transform,de,defaults(ue.getLineStyle(),{stroke:$.get(["axisLine","lineStyle","color"])}),"ticks"),_e=0;_e<he.length;_e++)t.add(he[_e]);return he}}function buildAxisMinorTicks(t,r,$,V){var oe=$.axis,ie=$.getModel("minorTick");if(!(!ie.get("show")||oe.scale.isBlank())){var le=oe.getMinorTicksCoords();if(le.length)for(var ue=ie.getModel("lineStyle"),de=V*ie.get("length"),pe=defaults(ue.getLineStyle(),defaults($.getModel("axisTick").getLineStyle(),{stroke:$.get(["axisLine","lineStyle","color"])})),he=0;he<le.length;he++)for(var _e=createTicks(le[he],r.transform,de,pe,"minorticks_"+he),$e=0;$e<_e.length;$e++)t.add(_e[$e])}}function buildAxisLabel(t,r,$,V){var oe=$.axis,ie=retrieve(V.axisLabelShow,$.get(["axisLabel","show"]));if(!(!ie||oe.scale.isBlank())){var le=$.getModel("axisLabel"),ue=le.get("margin"),de=oe.getViewLabels(),pe=(retrieve(V.labelRotate,le.get("rotate"))||0)*PI/180,he=AxisBuilder.innerTextLayout(V.rotation,pe,V.labelDirection),_e=$.getCategories&&$.getCategories(!0),$e=[],Ie=AxisBuilder.isLabelSilent($),Ve=$.get("triggerEvent");return each$c(de,function(Fe,Ue){var qe=oe.scale.type==="ordinal"?oe.scale.getRawOrdinalNumber(Fe.tickValue):Fe.tickValue,Et=Fe.formattedLabel,Lt=Fe.rawLabel,hn=le;if(_e&&_e[qe]){var Cn=_e[qe];isObject$3(Cn)&&Cn.textStyle&&(hn=new Model$1(Cn.textStyle,le,$.ecModel))}var bn=hn.getTextColor()||$.get(["axisLine","lineStyle","color"]),Sn=oe.dataToCoord(qe),En=new ZRText$1({x:Sn,y:V.labelOffset+V.labelDirection*ue,rotation:he.rotation,silent:Ie,z2:10+(Fe.level||0),style:createTextStyle$1(hn,{text:Et,align:hn.getShallow("align",!0)||he.textAlign,verticalAlign:hn.getShallow("verticalAlign",!0)||hn.getShallow("baseline",!0)||he.textVerticalAlign,fill:isFunction(bn)?bn(oe.type==="category"?Lt:oe.type==="value"?qe+"":qe,Ue):bn})});if(En.anid="label_"+qe,Ve){var wn=AxisBuilder.makeAxisEventDataBase($);wn.targetType="axisLabel",wn.value=Lt,wn.tickIndex=Ue,oe.type==="category"&&(wn.dataIndex=qe),getECData(En).eventData=wn}r.add(En),En.updateTransform(),$e.push(En),t.add(En),En.decomposeTransform()}),$e}}const AxisBuilder$1=AxisBuilder;function collect(t,r){var $={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return collectAxesInfo($,t,r),$.seriesInvolved&&collectSeriesInfo($,t),$}function collectAxesInfo(t,r,$){var V=r.getComponent("tooltip"),oe=r.getComponent("axisPointer"),ie=oe.get("link",!0)||[],le=[];each$c($.getCoordinateSystems(),function(ue){if(!ue.axisPointerEnabled)return;var de=makeKey(ue.model),pe=t.coordSysAxesInfo[de]={};t.coordSysMap[de]=ue;var he=ue.model,_e=he.getModel("tooltip",V);if(each$c(ue.getAxes(),curry$1(Fe,!1,null)),ue.getTooltipAxes&&V&&_e.get("show")){var $e=_e.get("trigger")==="axis",Ie=_e.get(["axisPointer","type"])==="cross",Ve=ue.getTooltipAxes(_e.get(["axisPointer","axis"]));($e||Ie)&&each$c(Ve.baseAxes,curry$1(Fe,Ie?"cross":!0,$e)),Ie&&each$c(Ve.otherAxes,curry$1(Fe,"cross",!1))}function Fe(Ue,qe,Et){var Lt=Et.model.getModel("axisPointer",oe),hn=Lt.get("show");if(!(!hn||hn==="auto"&&!Ue&&!isHandleTrigger(Lt))){qe==null&&(qe=Lt.get("triggerTooltip")),Lt=Ue?makeAxisPointerModel(Et,_e,oe,r,Ue,qe):Lt;var Cn=Lt.get("snap"),bn=Lt.get("triggerEmphasis"),Sn=makeKey(Et.model),En=qe||Cn||Et.type==="category",wn=t.axesInfo[Sn]={key:Sn,axis:Et,coordSys:ue,axisPointerModel:Lt,triggerTooltip:qe,triggerEmphasis:bn,involveSeries:En,snap:Cn,useHandle:isHandleTrigger(Lt),seriesModels:[],linkGroup:null};pe[Sn]=wn,t.seriesInvolved=t.seriesInvolved||En;var $n=getLinkGroupIndex(ie,Et);if($n!=null){var Tn=le[$n]||(le[$n]={axesInfo:{}});Tn.axesInfo[Sn]=wn,Tn.mapper=ie[$n].mapper,wn.linkGroup=Tn}}}})}function makeAxisPointerModel(t,r,$,V,oe,ie){var le=r.getModel("axisPointer"),ue=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],de={};each$c(ue,function($e){de[$e]=clone$3(le.get($e))}),de.snap=t.type!=="category"&&!!ie,le.get("type")==="cross"&&(de.type="line");var pe=de.label||(de.label={});if(pe.show==null&&(pe.show=!1),oe==="cross"){var he=le.get(["label","show"]);if(pe.show=he??!0,!ie){var _e=de.lineStyle=le.get("crossStyle");_e&&defaults(pe,_e.textStyle)}}return t.model.getModel("axisPointer",new Model$1(de,$,V))}function collectSeriesInfo(t,r){r.eachSeries(function($){var V=$.coordinateSystem,oe=$.get(["tooltip","trigger"],!0),ie=$.get(["tooltip","show"],!0);!V||oe==="none"||oe===!1||oe==="item"||ie===!1||$.get(["axisPointer","show"],!0)===!1||each$c(t.coordSysAxesInfo[makeKey(V.model)],function(le){var ue=le.axis;V.getAxis(ue.dim)===ue&&(le.seriesModels.push($),le.seriesDataCount==null&&(le.seriesDataCount=0),le.seriesDataCount+=$.getData().count())})})}function getLinkGroupIndex(t,r){for(var $=r.model,V=r.dim,oe=0;oe<t.length;oe++){var ie=t[oe]||{};if(checkPropInLink(ie[V+"AxisId"],$.id)||checkPropInLink(ie[V+"AxisIndex"],$.componentIndex)||checkPropInLink(ie[V+"AxisName"],$.name))return oe}}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 $=r.axisPointerModel,V=r.axis.scale,oe=$.option,ie=$.get("status"),le=$.get("value");le!=null&&(le=V.parse(le));var ue=isHandleTrigger($);ie==null&&(oe.status=ue?"show":"hide");var de=V.getExtent().slice();de[0]>de[1]&&de.reverse(),(le==null||le>de[1])&&(le=de[1]),le<de[0]&&(le=de[0]),oe.value=le,ue&&(oe.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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.prototype.render=function($,V,oe,ie){this.axisPointerClass&&fixValue($),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass($,oe,!0)},r.prototype.updateAxisPointer=function($,V,oe,ie){this._doUpdateAxisPointerClass($,oe,!1)},r.prototype.remove=function($,V){var oe=this._axisPointer;oe&&oe.remove(V)},r.prototype.dispose=function($,V){this._disposeAxisPointer(V),t.prototype.dispose.apply(this,arguments)},r.prototype._doUpdateAxisPointerClass=function($,V,oe){var ie=r.getAxisPointerClass(this.axisPointerClass);if(ie){var le=getAxisPointerModel($);le?(this._axisPointer||(this._axisPointer=new ie)).render($,le,V,oe):this._disposeAxisPointer(V)}},r.prototype._disposeAxisPointer=function($){this._axisPointer&&this._axisPointer.dispose($),this._axisPointer=null},r.registerAxisPointerClass=function($,V){axisPointerClazz[$]=V},r.getAxisPointerClass=function($){return $&&axisPointerClazz[$]},r.type="axis",r}(ComponentView$1);const AxisView$1=AxisView;var inner$6=makeInner();function rectCoordAxisBuildSplitArea(t,r,$,V){var oe=$.axis;if(!oe.scale.isBlank()){var ie=$.getModel("splitArea"),le=ie.getModel("areaStyle"),ue=le.get("color"),de=V.coordinateSystem.getRect(),pe=oe.getTicksCoords({tickModel:ie,clamp:!0});if(pe.length){var he=ue.length,_e=inner$6(t).splitAreaColors,$e=createHashMap(),Ie=0;if(_e)for(var Ve=0;Ve<pe.length;Ve++){var Fe=_e.get(pe[Ve].tickValue);if(Fe!=null){Ie=(Fe+(he-1)*Ve)%he;break}}var Ue=oe.toGlobalCoord(pe[0].coord),qe=le.getAreaStyle();ue=isArray$1(ue)?ue:[ue];for(var Ve=1;Ve<pe.length;Ve++){var Et=oe.toGlobalCoord(pe[Ve].coord),Lt=void 0,hn=void 0,Cn=void 0,bn=void 0;oe.isHorizontal()?(Lt=Ue,hn=de.y,Cn=Et-Lt,bn=de.height,Ue=Lt+Cn):(Lt=de.x,hn=Ue,Cn=de.width,bn=Et-hn,Ue=hn+bn);var Sn=pe[Ve-1].tickValue;Sn!=null&&$e.set(Sn,Ie),r.add(new Rect$2({anid:Sn!=null?"area_"+Sn:null,shape:{x:Lt,y:hn,width:Cn,height:bn},style:defaults({fill:ue[Ie]},qe),autoBatch:!0,silent:!0})),Ie=(Ie+1)%he}inner$6(t).splitAreaColors=$e}}}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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$.axisPointerClass="CartesianAxisPointer",$}return r.prototype.render=function($,V,oe,ie){this.group.removeAll();var le=this._axisGroup;if(this._axisGroup=new Group$3,this.group.add(this._axisGroup),!!$.get("show")){var ue=$.getCoordSysModel(),de=layout$1(ue,$),pe=new AxisBuilder$1($,extend({handleAutoShown:function(_e){for(var $e=ue.coordinateSystem.getCartesians(),Ie=0;Ie<$e.length;Ie++)if(isIntervalOrLogScale($e[Ie].getOtherAxis($.axis).scale))return!0;return!1}},de));each$c(axisBuilderAttrs,pe.add,pe),this._axisGroup.add(pe.getGroup()),each$c(selfBuilderAttrs,function(_e){$.get([_e,"show"])&&axisElementBuilders[_e](this,this._axisGroup,$,ue)},this);var he=ie&&ie.type==="changeAxisOrder"&&ie.isInitSort;he||groupTransition(le,this._axisGroup,$),t.prototype.render.call(this,$,V,oe,ie)}},r.prototype.remove=function(){rectCoordAxisHandleRemove(this)},r.type="cartesianAxis",r}(AxisView$1),axisElementBuilders={splitLine:function(t,r,$,V){var oe=$.axis;if(!oe.scale.isBlank()){var ie=$.getModel("splitLine"),le=ie.getModel("lineStyle"),ue=le.get("color");ue=isArray$1(ue)?ue:[ue];for(var de=V.coordinateSystem.getRect(),pe=oe.isHorizontal(),he=0,_e=oe.getTicksCoords({tickModel:ie}),$e=[],Ie=[],Ve=le.getLineStyle(),Fe=0;Fe<_e.length;Fe++){var Ue=oe.toGlobalCoord(_e[Fe].coord);pe?($e[0]=Ue,$e[1]=de.y,Ie[0]=Ue,Ie[1]=de.y+de.height):($e[0]=de.x,$e[1]=Ue,Ie[0]=de.x+de.width,Ie[1]=Ue);var qe=he++%ue.length,Et=_e[Fe].tickValue,Lt=new Line$1({anid:Et!=null?"line_"+_e[Fe].tickValue:null,autoBatch:!0,shape:{x1:$e[0],y1:$e[1],x2:Ie[0],y2:Ie[1]},style:defaults({stroke:ue[qe]},Ve),silent:!0});subPixelOptimizeLine(Lt.shape,Ve.lineWidth),r.add(Lt)}}},minorSplitLine:function(t,r,$,V){var oe=$.axis,ie=$.getModel("minorSplitLine"),le=ie.getModel("lineStyle"),ue=V.coordinateSystem.getRect(),de=oe.isHorizontal(),pe=oe.getMinorTicksCoords();if(pe.length)for(var he=[],_e=[],$e=le.getLineStyle(),Ie=0;Ie<pe.length;Ie++)for(var Ve=0;Ve<pe[Ie].length;Ve++){var Fe=oe.toGlobalCoord(pe[Ie][Ve].coord);de?(he[0]=Fe,he[1]=ue.y,_e[0]=Fe,_e[1]=ue.y+ue.height):(he[0]=ue.x,he[1]=Fe,_e[0]=ue.x+ue.width,_e[1]=Fe);var Ue=new Line$1({anid:"minor_line_"+pe[Ie][Ve].tickValue,autoBatch:!0,shape:{x1:he[0],y1:he[1],x2:_e[0],y2:_e[1]},style:$e,silent:!0});subPixelOptimizeLine(Ue.shape,$e.lineWidth),r.add(Ue)}},splitArea:function(t,r,$,V){rectCoordAxisBuildSplitArea(t,r,$,V)}},CartesianXAxisView=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.type="xAxis",r}(CartesianAxisView),CartesianYAxisView=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=CartesianXAxisView.type,$}return r.type="yAxis",r}(CartesianAxisView),GridView=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type="grid",$}return r.prototype.render=function($,V){this.group.removeAll(),$.get("show")&&this.group.add(new Rect$2({shape:$.coordinateSystem.getRect(),style:defaults({fill:$.get("backgroundColor")},$.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,$){var V=getStore(t);V[r]=$}function release(t,r,$){var V=getStore(t),oe=V[r];oe===$&&(V[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($){var V=t.call(this)||this;V._zr=$;var oe=bind$1(V._mousedownHandler,V),ie=bind$1(V._mousemoveHandler,V),le=bind$1(V._mouseupHandler,V),ue=bind$1(V._mousewheelHandler,V),de=bind$1(V._pinchHandler,V);return V.enable=function(pe,he){this.disable(),this._opt=defaults(clone$3(he)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),pe==null&&(pe=!0),(pe===!0||pe==="move"||pe==="pan")&&($.on("mousedown",oe),$.on("mousemove",ie),$.on("mouseup",le)),(pe===!0||pe==="scale"||pe==="zoom")&&($.on("mousewheel",ue),$.on("pinch",de))},V.disable=function(){$.off("mousedown",oe),$.off("mousemove",ie),$.off("mouseup",le),$.off("mousewheel",ue),$.off("pinch",de)},V}return r.prototype.isDragging=function(){return this._dragging},r.prototype.isPinching=function(){return this._pinching},r.prototype.setPointerChecker=function($){this.pointerChecker=$},r.prototype.dispose=function(){this.disable()},r.prototype._mousedownHandler=function($){if(!isMiddleOrRightButtonOnMouseUpDown($)){for(var V=$.target;V;){if(V.draggable)return;V=V.__hostTarget||V.parent}var oe=$.offsetX,ie=$.offsetY;this.pointerChecker&&this.pointerChecker($,oe,ie)&&(this._x=oe,this._y=ie,this._dragging=!0)}},r.prototype._mousemoveHandler=function($){if(!(!this._dragging||!isAvailableBehavior("moveOnMouseMove",$,this._opt)||$.gestureEvent==="pinch"||isTaken(this._zr,"globalPan"))){var V=$.offsetX,oe=$.offsetY,ie=this._x,le=this._y,ue=V-ie,de=oe-le;this._x=V,this._y=oe,this._opt.preventDefaultMouseMove&&stop($.event),trigger$1(this,"pan","moveOnMouseMove",$,{dx:ue,dy:de,oldX:ie,oldY:le,newX:V,newY:oe,isAvailableBehavior:null})}},r.prototype._mouseupHandler=function($){isMiddleOrRightButtonOnMouseUpDown($)||(this._dragging=!1)},r.prototype._mousewheelHandler=function($){var V=isAvailableBehavior("zoomOnMouseWheel",$,this._opt),oe=isAvailableBehavior("moveOnMouseWheel",$,this._opt),ie=$.wheelDelta,le=Math.abs(ie),ue=$.offsetX,de=$.offsetY;if(!(ie===0||!V&&!oe)){if(V){var pe=le>3?1.4:le>1?1.2:1.1,he=ie>0?pe:1/pe;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",$,{scale:he,originX:ue,originY:de,isAvailableBehavior:null})}if(oe){var _e=Math.abs(ie),$e=(ie>0?1:-1)*(_e>3?.4:_e>1?.15:.05);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",$,{scrollDelta:$e,originX:ue,originY:de,isAvailableBehavior:null})}}},r.prototype._pinchHandler=function($){if(!isTaken(this._zr,"globalPan")){var V=$.pinchScale>1?1.1:1/1.1;checkPointerAndTrigger(this,"zoom",null,$,{scale:V,originX:$.pinchX,originY:$.pinchY,isAvailableBehavior:null})}},r}(Eventful$1);function checkPointerAndTrigger(t,r,$,V,oe){t.pointerChecker&&t.pointerChecker(V,oe.originX,oe.originY)&&(stop(V.event),trigger$1(t,r,$,V,oe))}function trigger$1(t,r,$,V,oe){oe.isAvailableBehavior=bind$1(isAvailableBehavior,null,$,V),t.trigger(r,oe)}function isAvailableBehavior(t,r,$){var V=$[t];return!t||V&&(!isString(V)||r.event[V+"Key"])}const RoamController$1=RoamController;var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement(t,r,$){var V=r.getComponentByElement(t.topTarget),oe=V&&V.coordinateSystem;return V&&V!==$&&!IRRELEVANT_EXCLUDES.hasOwnProperty(V.mainType)&&oe&&oe.model!==$}var each$9=each$c,isObject=isObject$3,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function t(r){var $=r.mappingMethod,V=r.type,oe=this.option=clone$3(r);this.type=V,this.mappingMethod=$,this._normalizeData=normalizers[$];var ie=t.visualHandlers[V];this.applyVisual=ie.applyVisual,this.getColorMapper=ie.getColorMapper,this._normalizedToVisual=ie._normalizedToVisual[$],$==="piecewise"?(normalizeVisualRange(oe),preprocessForPiecewise(oe)):$==="category"?oe.categories?preprocessForSpecifiedCategory(oe):normalizeVisualRange(oe,!0):(assert($!=="linear"||oe.dataExtent),normalizeVisualRange(oe))}return t.prototype.mapValueToVisual=function(r){var $=this._normalizeData(r);return this._normalizedToVisual($,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){isObject$3(r)?each$c(r,$,V):$.call(V,r)},t.mapVisual=function(r,$,V){var oe,ie=isArray$1(r)?[]:isObject$3(r)?{}:(oe=!0,null);return t.eachVisual(r,function(le,ue){var de=$.call(V,le,ue);oe?ie=de:ie[ue]=de}),ie},t.retrieveVisuals=function(r){var $={},V;return r&&each$9(t.visualHandlers,function(oe,ie){r.hasOwnProperty(ie)&&($[ie]=r[ie],V=!0)}),V?$:null},t.prepareVisualTypes=function(r){if(isArray$1(r))r=r.slice();else if(isObject(r)){var $=[];each$9(r,function(V,oe){$.push(oe)}),r=$}else return[];return r.sort(function(V,oe){return oe==="color"&&V!=="color"&&V.indexOf("color")===0?1:-1}),r},t.dependsOn=function(r,$){return $==="color"?!!(r&&r.indexOf($)===0):r===$},t.findPieceIndex=function(r,$,V){for(var oe,ie=1/0,le=0,ue=$.length;le<ue;le++){var de=$[le].value;if(de!=null){if(de===r||isString(de)&&de===r+"")return le;V&&$e(de,le)}}for(var le=0,ue=$.length;le<ue;le++){var pe=$[le],he=pe.interval,_e=pe.close;if(he){if(he[0]===-1/0){if(littleThan(_e[1],r,he[1]))return le}else if(he[1]===1/0){if(littleThan(_e[0],he[0],r))return le}else if(littleThan(_e[0],he[0],r)&&littleThan(_e[1],r,he[1]))return le;V&&$e(he[0],le),V&&$e(he[1],le)}}if(V)return r===1/0?$.length-1:r===-1/0?0:oe;function $e(Ie,Ve){var Fe=Math.abs(Ie-r);Fe<ie&&(ie=Fe,oe=Ve)}},t.visualHandlers={color:{applyVisual:makeApplyVisual("color"),getColorMapper:function(){var r=this.option;return bind$1(r.mappingMethod==="category"?function($,V){return!V&&($=this._normalizeData($)),doMapCategory.call(this,$)}:function($,V,oe){var ie=!!oe;return!V&&($=this._normalizeData($)),oe=fastLerp($,r.parsedVisual,oe),ie?oe:stringify(oe,"rgba")},this)},_normalizedToVisual:{linear:function(r){return stringify(fastLerp(r,this.option.parsedVisual),"rgba")},category:doMapCategory,piecewise:function(r,$){var V=getSpecifiedVisual.call(this,$);return V==null&&(V=stringify(fastLerp(r,this.option.parsedVisual),"rgba")),V},fixed:doMapFixed}},colorHue:makePartialColorVisualHandler(function(r,$){return modifyHSL(r,$)}),colorSaturation:makePartialColorVisualHandler(function(r,$){return modifyHSL(r,null,$)}),colorLightness:makePartialColorVisualHandler(function(r,$){return modifyHSL(r,null,null,$)}),colorAlpha:makePartialColorVisualHandler(function(r,$){return modifyAlpha(r,$)}),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){var oe=this.mapValueToVisual(r);V("symbol",oe)},_normalizedToVisual:{linear:doMapToArray,category:doMapCategory,piecewise:function(r,$){var V=getSpecifiedVisual.call(this,$);return V==null&&(V=doMapToArray.call(this,r)),V},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){$.originIndex=V,$.visual!=null&&(t.hasSpecialVisual=!0)})}function preprocessForSpecifiedCategory(t){var r=t.categories,$=t.categoryMap={},V=t.visual;if(each$9(r,function(le,ue){$[le]=ue}),!isArray$1(V)){var oe=[];isObject$3(V)?each$9(V,function(le,ue){var de=$[ue];oe[de??CATEGORY_DEFAULT_VISUAL_INDEX]=le}):oe[CATEGORY_DEFAULT_VISUAL_INDEX]=V,V=setVisualToOption(t,oe)}for(var ie=r.length-1;ie>=0;ie--)V[ie]==null&&(delete $[r[ie]],r.pop())}function normalizeVisualRange(t,r){var $=t.visual,V=[];isObject$3($)?each$9($,function(ie){V.push(ie)}):$!=null&&V.push($);var oe={color:1,symbol:1};!r&&V.length===1&&!oe.hasOwnProperty(t.type)&&(V[1]=V[0]),setVisualToOption(t,V)}function makePartialColorVisualHandler(t){return{applyVisual:function(r,$,V){var oe=this.mapValueToVisual(r);V("color",t($("color"),oe))},_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){V(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,$){var V=getSpecifiedVisual.call(this,$);return V==null&&(V=linearMap$2(r,t,this.option.visual,!0)),V},fixed:doMapFixed}}function getSpecifiedVisual(t){var r=this.option,$=r.pieceList;if(r.hasSpecialVisual){var V=VisualMapping.findPieceIndex(t,$),oe=$[V];if(oe&&oe.visual)return oe.visual[this.type]}}function setVisualToOption(t,r){return t.visual=r,t.type==="color"&&(t.parsedVisual=map$2(r,function($){var V=parse$1($);return V||[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,$=VisualMapping.findPieceIndex(t,r,!0);if($!=null)return linearMap$2($,[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,$){return t?r<=$:r<$}const VisualMapping$1=VisualMapping;function sliderMove(t,r,$,V,oe,ie){t=t||0;var le=$[1]-$[0];if(oe!=null&&(oe=restrict(oe,[0,le])),ie!=null&&(ie=Math.max(ie,oe??0)),V==="all"){var ue=Math.abs(r[1]-r[0]);ue=restrict(ue,[0,le]),oe=ie=restrict(ue,[oe,ie]),V=0}r[0]=restrict(r[0],$),r[1]=restrict(r[1],$);var de=getSpanSign(r,V);r[V]+=t;var pe=oe||0,he=$.slice();de.sign<0?he[0]+=pe:he[1]-=pe,r[V]=restrict(r[V],he);var _e;return _e=getSpanSign(r,V),oe!=null&&(_e.sign!==de.sign||_e.span<oe)&&(r[1-V]=r[V]+de.sign*oe),_e=getSpanSign(r,V),ie!=null&&_e.span>ie&&(r[1-V]=r[V]+_e.sign*ie),r}function getSpanSign(t,r){var $=t[r]-t[1-r];return{span:Math.abs($),sign:$>0?-1:$<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($){var V=t.call(this)||this;return V._track=[],V._covers=[],V._handlers={},V._zr=$,V.group=new Group$3,V._uid="brushController_"+baseUID++,each$c(pointerHandlers,function(oe,ie){this._handlers[ie]=bind$1(oe,this)},V),V}return r.prototype.enableBrush=function($){return this._brushType&&this._doDisableBrush(),$.brushType&&this._doEnableBrush($),this},r.prototype._doEnableBrush=function($){var V=this._zr;this._enableGlobalPan||take(V,MUTEX_RESOURCE_KEY,this._uid),each$c(this._handlers,function(oe,ie){V.on(ie,oe)}),this._brushType=$.brushType,this._brushOption=merge(clone$3(DEFAULT_BRUSH_OPT),$,!0)},r.prototype._doDisableBrush=function(){var $=this._zr;release($,MUTEX_RESOURCE_KEY,this._uid),each$c(this._handlers,function(V,oe){$.off(oe,V)}),this._brushType=this._brushOption=null},r.prototype.setPanels=function($){if($&&$.length){var V=this._panels={};each$c($,function(oe){V[oe.panelId]=clone$3(oe)})}else this._panels=null;return this},r.prototype.mount=function($){$=$||{},this._enableGlobalPan=$.enableGlobalPan;var V=this.group;return this._zr.add(V),V.attr({x:$.x||0,y:$.y||0,rotation:$.rotation||0,scaleX:$.scaleX||1,scaleY:$.scaleY||1}),this._transform=V.getLocalTransform(),this},r.prototype.updateCovers=function($){$=map$2($,function($e){return merge(clone$3(DEFAULT_BRUSH_OPT),$e,!0)});var V="\0-brush-index-",oe=this._covers,ie=this._covers=[],le=this,ue=this._creatingCover;return new DataDiffer$1(oe,$,pe,de).add(he).update(he).remove(_e).execute(),this;function de($e,Ie){return($e.id!=null?$e.id:V+Ie)+"-"+$e.brushType}function pe($e,Ie){return de($e.__brushOption,Ie)}function he($e,Ie){var Ve=$[$e];if(Ie!=null&&oe[Ie]===ue)ie[$e]=oe[Ie];else{var Fe=ie[$e]=Ie!=null?(oe[Ie].__brushOption=Ve,oe[Ie]):endCreating(le,createCover(le,Ve));updateCoverAfterCreation(le,Fe)}}function _e($e){oe[$e]!==ue&&le.group.remove(oe[$e])}},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 $=coverRenderers[r.brushType].createCover(t,r);return $.__brushOption=r,updateZ($,r),t.group.add($),$}function endCreating(t,r){var $=getCoverRenderer(r);return $.endCreating&&($.endCreating(t,r),updateZ(r,r.__brushOption)),r}function updateCoverShape(t,r){var $=r.__brushOption;getCoverRenderer(r).updateCoverShape(t,r,$.range,$)}function updateZ(t,r){var $=r.z;$==null&&($=COVER_Z),t.traverse(function(V){V.z=$,V.z2=$})}function updateCoverAfterCreation(t,r){getCoverRenderer(r).updateCommon(t,r),updateCoverShape(t,r)}function getCoverRenderer(t){return coverRenderers[t.__brushOption.brushType]}function getPanelByPoint(t,r,$){var V=t._panels;if(!V)return BRUSH_PANEL_GLOBAL;var oe,ie=t._transform;return each$c(V,function(le){le.isTargetByCursor(r,$,ie)&&(oe=le)}),oe}function getPanelByCover(t,r){var $=t._panels;if(!$)return BRUSH_PANEL_GLOBAL;var V=r.__brushOption.panelId;return V!=null?$[V]:BRUSH_PANEL_GLOBAL}function clearCovers(t){var r=t._covers,$=r.length;return each$c(r,function(V){t.group.remove(V)},t),r.length=0,!!$}function trigger(t,r){var $=map$2(t._covers,function(V){var oe=V.__brushOption,ie=clone$3(oe.range);return{brushType:oe.brushType,panelId:oe.panelId,range:ie}});t.trigger("brush",{areas:$,isEnd:!!r.isEnd,removeOnClick:!!r.removeOnClick})}function shouldShowCover(t){var r=t._track;if(!r.length)return!1;var $=r[r.length-1],V=r[0],oe=$[0]-V[0],ie=$[1]-V[1],le=mathPow(oe*oe+ie*ie,.5);return le>UNSELECT_THRESHOLD}function getTrackEnds(t){var r=t.length-1;return r<0&&(r=0),[t[0],t[r]]}function createBaseRectCover(t,r,$,V){var oe=new Group$3;return oe.add(new Rect$2({name:"main",style:makeStyle($),silent:!0,draggable:!0,cursor:"move",drift:curry$1(driftRect,t,r,oe,["n","s","w","e"]),ondragend:curry$1(trigger,r,{isEnd:!0})})),each$c(V,function(ie){oe.add(new Rect$2({name:ie.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,t,r,oe,ie),ondragend:curry$1(trigger,r,{isEnd:!0})}))}),oe}function updateBaseRect(t,r,$,V){var oe=V.brushStyle.lineWidth||0,ie=mathMax$1(oe,MIN_RESIZE_LINE_WIDTH),le=$[0][0],ue=$[1][0],de=le-oe/2,pe=ue-oe/2,he=$[0][1],_e=$[1][1],$e=he-ie+oe/2,Ie=_e-ie+oe/2,Ve=he-le,Fe=_e-ue,Ue=Ve+oe,qe=Fe+oe;updateRectShape(t,r,"main",le,ue,Ve,Fe),V.transformable&&(updateRectShape(t,r,"w",de,pe,ie,qe),updateRectShape(t,r,"e",$e,pe,ie,qe),updateRectShape(t,r,"n",de,pe,Ue,ie),updateRectShape(t,r,"s",de,Ie,Ue,ie),updateRectShape(t,r,"nw",de,pe,ie,ie),updateRectShape(t,r,"ne",$e,pe,ie,ie),updateRectShape(t,r,"sw",de,Ie,ie,ie),updateRectShape(t,r,"se",$e,Ie,ie,ie))}function updateCommon(t,r){var $=r.__brushOption,V=$.transformable,oe=r.childAt(0);oe.useStyle(makeStyle($)),oe.attr({silent:!V,cursor:V?"move":"default"}),each$c([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(ie){var le=r.childOfName(ie.join("")),ue=ie.length===1?getGlobalDirection1(t,ie[0]):getGlobalDirection2(t,ie);le&&le.attr({silent:!V,invisible:!V,cursor:V?CURSOR_MAP[ue]+"-resize":null})})}function updateRectShape(t,r,$,V,oe,ie,le){var ue=r.childOfName($);ue&&ue.setShape(pointsToRect(clipByPanel(t,r,[[V,oe],[V+ie,oe+le]])))}function makeStyle(t){return defaults({strokeNoScale:!0},t.brushStyle)}function formatRectRange(t,r,$,V){var oe=[mathMin$1(t,$),mathMin$1(r,V)],ie=[mathMax$1(t,$),mathMax$1(r,V)];return[[oe[0],ie[0]],[oe[1],ie[1]]]}function getTransform(t){return getTransform$1(t.group)}function getGlobalDirection1(t,r){var $={w:"left",e:"right",n:"top",s:"bottom"},V={left:"w",right:"e",top:"n",bottom:"s"},oe=transformDirection($[r],getTransform(t));return V[oe]}function getGlobalDirection2(t,r){var $=[getGlobalDirection1(t,r[0]),getGlobalDirection1(t,r[1])];return($[0]==="e"||$[0]==="w")&&$.reverse(),$.join("")}function driftRect(t,r,$,V,oe,ie){var le=$.__brushOption,ue=t.toRectRange(le.range),de=toLocalDelta(r,oe,ie);each$c(V,function(pe){var he=DIRECTION_MAP[pe];ue[he[0]][he[1]]+=de[he[0]]}),le.range=t.fromRectRange(formatRectRange(ue[0][0],ue[1][0],ue[0][1],ue[1][1])),updateCoverAfterCreation(r,$),trigger(r,{isEnd:!1})}function driftPolygon(t,r,$,V){var oe=r.__brushOption.range,ie=toLocalDelta(t,$,V);each$c(oe,function(le){le[0]+=ie[0],le[1]+=ie[1]}),updateCoverAfterCreation(t,r),trigger(t,{isEnd:!1})}function toLocalDelta(t,r,$){var V=t.group,oe=V.transformCoordToLocal(r,$),ie=V.transformCoordToLocal(0,0);return[oe[0]-ie[0],oe[1]-ie[1]]}function clipByPanel(t,r,$){var V=getPanelByCover(t,r);return V&&V!==BRUSH_PANEL_GLOBAL?V.clipPath($,t._transform):clone$3($)}function pointsToRect(t){var r=mathMin$1(t[0][0],t[1][0]),$=mathMin$1(t[0][1],t[1][1]),V=mathMax$1(t[0][0],t[1][0]),oe=mathMax$1(t[0][1],t[1][1]);return{x:r,y:$,width:V-r,height:oe-$}}function resetCursor(t,r,$){if(!(!t._brushType||isOutsideZrArea(t,r.offsetX,r.offsetY))){var V=t._zr,oe=t._covers,ie=getPanelByPoint(t,r,$);if(!t._dragging)for(var le=0;le<oe.length;le++){var ue=oe[le].__brushOption;if(ie&&(ie===BRUSH_PANEL_GLOBAL||ue.panelId===ie.panelId)&&coverRenderers[ue.brushType].contain(oe[le],$[0],$[1]))return}ie&&V.setCursorStyle("crosshair")}}function preventDefault(t){var r=t.event;r.preventDefault&&r.preventDefault()}function mainShapeContain(t,r,$){return t.childOfName("main").contain(r,$)}function updateCoverByMouse(t,r,$,V){var oe=t._creatingCover,ie=t._creatingPanel,le=t._brushOption,ue;if(t._track.push($.slice()),shouldShowCover(t)||oe){if(ie&&!oe){le.brushMode==="single"&&clearCovers(t);var de=clone$3(le);de.brushType=determineBrushType(de.brushType,ie),de.panelId=ie===BRUSH_PANEL_GLOBAL?null:ie.panelId,oe=t._creatingCover=createCover(t,de),t._covers.push(oe)}if(oe){var pe=coverRenderers[determineBrushType(t._brushType,ie)],he=oe.__brushOption;he.range=pe.getCreatingRange(clipByPanel(t,oe,t._track)),V&&(endCreating(t,oe),pe.updateCommon(t,oe)),updateCoverShape(t,oe),ue={isEnd:V}}}else V&&le.brushMode==="single"&&le.removeOnClick&&getPanelByPoint(t,r,$)&&clearCovers(t)&&(ue={isEnd:V,removeOnClick:!0});return ue}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 $=this._creatingPanel=getPanelByPoint(this,t,r);$&&(this._dragging=!0,this._track=[r.slice()])}},mousemove:function(t){var r=t.offsetX,$=t.offsetY,V=this.group.transformCoordToLocal(r,$);if(resetCursor(this,t,V),this._dragging){preventDefault(t);var oe=updateCoverByMouse(this,t,V,!1);oe&&trigger(this,oe)}},mouseup:function(t){handleDragEnd(this,t)}};function handleDragEnd(t,r){if(t._dragging){preventDefault(r);var $=r.offsetX,V=r.offsetY,oe=t.group.transformCoordToLocal($,V),ie=updateCoverByMouse(t,r,oe,!0);t._dragging=!1,t._track=[],t._creatingCover=null,ie&&trigger(t,ie)}}function isOutsideZrArea(t,r,$){var V=t._zr;return r<0||r>V.getWidth()||$<0||$>V.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(t,r){function $(V){return V}return createBaseRectCover({toRectRange:$,fromRectRange:$},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){updateBaseRect(t,r,$,V)},updateCommon,contain:mainShapeContain},polygon:{createCover:function(t,r){var $=new Group$3;return $.add(new Polyline$1({name:"main",style:makeStyle(r),silent:!0})),$},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){r.childAt(0).setShape({points:clipByPanel(t,r,$)})},updateCommon,contain:mainShapeContain}};function getLineRenderer(t){return{createCover:function(r,$){return createBaseRectCover({toRectRange:function(V){var oe=[V,[0,100]];return t&&oe.reverse(),oe},fromRectRange:function(V){return V[t]}},r,$,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(r){var $=getTrackEnds(r),V=mathMin$1($[0][t],$[1][t]),oe=mathMax$1($[0][t],$[1][t]);return[V,oe]},updateCoverShape:function(r,$,V,oe){var ie,le=getPanelByCover(r,$);if(le!==BRUSH_PANEL_GLOBAL&&le.getLinearBrushOtherExtent)ie=le.getLinearBrushOtherExtent(t);else{var ue=r._zr;ie=[0,[ue.getWidth(),ue.getHeight()][1-t]]}var de=[V,ie];t&&de.reverse(),updateBaseRect(r,$,de,oe)},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($){var V=r??$,oe=V?t.width:t.height,ie=V?t.x:t.y;return[ie,ie+(oe||0)]}}function makeRectIsTargetByCursor(t,r,$){var V=normalizeRect(t);return function(oe,ie){return V.contain(ie[0],ie[1])&&!onIrrelevantElement(oe,r,$)}}function normalizeRect(t){return BoundingRect$1.create(t)}function isEC4CompatibleStyle(t,r,$,V){return t&&(t.legacy||t.legacy!==!1&&!$&&!V&&r!=="tspan"&&(r==="text"||hasOwn(t,"text")))}function convertFromEC4CompatibleStyle(t,r,$){var V=t,oe,ie,le;if(r==="text")le=V;else{le={},hasOwn(V,"text")&&(le.text=V.text),hasOwn(V,"rich")&&(le.rich=V.rich),hasOwn(V,"textFill")&&(le.fill=V.textFill),hasOwn(V,"textStroke")&&(le.stroke=V.textStroke),hasOwn(V,"fontFamily")&&(le.fontFamily=V.fontFamily),hasOwn(V,"fontSize")&&(le.fontSize=V.fontSize),hasOwn(V,"fontStyle")&&(le.fontStyle=V.fontStyle),hasOwn(V,"fontWeight")&&(le.fontWeight=V.fontWeight),ie={type:"text",style:le,silent:!0},oe={};var ue=hasOwn(V,"textPosition");$?oe.position=ue?V.textPosition:"inside":ue&&(oe.position=V.textPosition),hasOwn(V,"textPosition")&&(oe.position=V.textPosition),hasOwn(V,"textOffset")&&(oe.offset=V.textOffset),hasOwn(V,"textRotation")&&(oe.rotation=V.textRotation),hasOwn(V,"textDistance")&&(oe.distance=V.textDistance)}return convertEC4CompatibleRichItem(le,t),each$c(le.rich,function(de){convertEC4CompatibleRichItem(de,de)}),{textConfig:oe,textContent:ie}}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){var ie=t+"Animation",le=getAnimationConfig(t,V,oe)||{},ue=transitionInnerStore(r).userDuring;return le.duration>0&&(le.during=ue?bind$1(duringCall,{el:r,userDuring:ue}):null,le.setToFinal=!0,le.scope=t),extend(le,$[ie]),le}function applyUpdateTransition(t,r,$,V){V=V||{};var oe=V.dataIndex,ie=V.isInit,le=V.clearStyle,ue=$.isAnimationEnabled(),de=transitionInnerStore(t),pe=r.style;de.userDuring=r.during;var he={},_e={};if(prepareTransformAllPropsFinal(t,r,_e),prepareShapeOrExtraAllPropsFinal("shape",r,_e),prepareShapeOrExtraAllPropsFinal("extra",r,_e),!ie&&ue&&(prepareTransformTransitionFrom(t,r,he),prepareShapeOrExtraTransitionFrom("shape",t,r,he),prepareShapeOrExtraTransitionFrom("extra",t,r,he),prepareStyleTransitionFrom(t,r,pe,he)),_e.style=pe,applyPropsDirectly(t,_e,le),applyMiscProps(t,r),ue)if(ie){var $e={};each$c(ELEMENT_ANIMATABLE_PROPS,function(Ve){var Fe=Ve?r[Ve]:r;Fe&&Fe.enterFrom&&(Ve&&($e[Ve]=$e[Ve]||{}),extend(Ve?$e[Ve]:$e,Fe.enterFrom))});var Ie=getElementAnimationConfig("enter",t,r,$,oe);Ie.duration>0&&t.animateFrom($e,Ie)}else applyPropsTransition(t,r,oe||0,$,he);updateLeaveTo(t,r),pe?t.dirty():t.markRedraw()}function updateLeaveTo(t,r){for(var $=transitionInnerStore(t).leaveToProps,V=0;V<ELEMENT_ANIMATABLE_PROPS.length;V++){var oe=ELEMENT_ANIMATABLE_PROPS[V],ie=oe?r[oe]:r;ie&&ie.leaveTo&&($||($=transitionInnerStore(t).leaveToProps={}),oe&&($[oe]=$[oe]||{}),extend(oe?$[oe]:$,ie.leaveTo))}}function applyLeaveTransition(t,r,$,V){if(t){var oe=t.parent,ie=transitionInnerStore(t).leaveToProps;if(ie){var le=getElementAnimationConfig("update",t,r,$,0);le.done=function(){oe.remove(t),V&&V()},t.animateTo(ie,le)}else oe.remove(t),V&&V()}}function isTransitionAll(t){return t==="all"}function applyPropsDirectly(t,r,$){var V=r.style;if(!t.isGroup&&V){if($){t.useStyle({});for(var oe=t.animators,ie=0;ie<oe.length;ie++){var le=oe[ie];le.targetName==="style"&&le.changeTarget(t.style)}}t.setStyle(V)}r&&(r.style=null,r&&t.attr(r),r.style=V)}function applyPropsTransition(t,r,$,V,oe){if(oe){var ie=getElementAnimationConfig("update",t,r,V,$);ie.duration>0&&t.animateFrom(oe,ie)}}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 $=tmpDuringScope.el,V=$.shape||($.shape={});return V[t]=r,$.dirtyShape&&$.dirtyShape(),this},getShape:function(t){var r=tmpDuringScope.el.shape;if(r)return r[t]},setStyle:function(t,r){var $=tmpDuringScope.el,V=$.style;return V&&(V[t]=r,$.dirtyStyle&&$.dirtyStyle()),this},getStyle:function(t){var r=tmpDuringScope.el.style;if(r)return r[t]},setExtra:function(t,r){var $=tmpDuringScope.el.extra||(tmpDuringScope.el.extra={});return $[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 $=transitionInnerStore(r).userDuring,V=t.userDuring;if($!==V){t.el=t.userDuring=null;return}tmpDuringScope.el=r,V(transitionDuringAPI)}}function prepareShapeOrExtraTransitionFrom(t,r,$,V){var oe=$[t];if(oe){var ie=r[t],le;if(ie){var ue=$.transition,de=oe.transition;if(de)if(!le&&(le=V[t]={}),isTransitionAll(de))extend(le,ie);else for(var pe=normalizeToArray(de),he=0;he<pe.length;he++){var _e=pe[he],$e=ie[_e];le[_e]=$e}else if(isTransitionAll(ue)||indexOf(ue,t)>=0){!le&&(le=V[t]={});for(var Ie=keys(ie),he=0;he<Ie.length;he++){var _e=Ie[he],$e=ie[_e];isNonStyleTransitionEnabled(oe[_e],$e)&&(le[_e]=$e)}}}}}function prepareShapeOrExtraAllPropsFinal(t,r,$){var V=r[t];if(V)for(var oe=$[t]={},ie=keys(V),le=0;le<ie.length;le++){var ue=ie[le];oe[ue]=cloneValue(V[ue])}}function prepareTransformTransitionFrom(t,r,$){for(var V=r.transition,oe=isTransitionAll(V)?TRANSFORMABLE_PROPS:normalizeToArray(V||[]),ie=0;ie<oe.length;ie++){var le=oe[ie];if(!(le==="style"||le==="shape"||le==="extra")){var ue=t[le];$[le]=ue}}}function prepareTransformAllPropsFinal(t,r,$){for(var V=0;V<LEGACY_TRANSFORM_PROPS.length;V++){var oe=LEGACY_TRANSFORM_PROPS[V],ie=LEGACY_TRANSFORM_PROPS_MAP[oe],le=r[oe];le&&($[ie[0]]=le[0],$[ie[1]]=le[1])}for(var V=0;V<TRANSFORMABLE_PROPS.length;V++){var ue=TRANSFORMABLE_PROPS[V];r[ue]!=null&&($[ue]=r[ue])}}function prepareStyleTransitionFrom(t,r,$,V){if($){var oe=t.style,ie;if(oe){var le=$.transition,ue=r.transition;if(le&&!isTransitionAll(le)){var de=normalizeToArray(le);!ie&&(ie=V.style={});for(var pe=0;pe<de.length;pe++){var he=de[pe],_e=oe[he];ie[he]=_e}}else if(t.getAnimationStyleProps&&(isTransitionAll(ue)||isTransitionAll(le)||indexOf(ue,"style")>=0)){var $e=t.getAnimationStyleProps(),Ie=$e?$e.style:null;if(Ie){!ie&&(ie=V.style={});for(var Ve=keys($),pe=0;pe<Ve.length;pe++){var he=Ve[pe];if(Ie[he]){var _e=oe[he];ie[he]=_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,$){if(!(!$.isAnimationEnabled()||!r)){if(isArray$1(r)){each$c(r,function(ue){applyKeyframeAnimation(t,ue,$)});return}var V=r.keyframes,oe=r.duration;if($&&oe==null){var ie=getAnimationConfig("enter",$,0);oe=ie&&ie.duration}if(!(!V||!oe)){var le=getStateToRestore(t);each$c(ELEMENT_ANIMATABLE_PROPS,function(ue){if(!(ue&&!t[ue])){var de;V.sort(function(pe,he){return pe.percent-he.percent}),each$c(V,function(pe){var he=t.animators,_e=ue?pe[ue]:pe;if(_e){var $e=keys(_e);if(ue||($e=filter($e,function(Fe){return indexOf(KEYFRAME_EXCLUDE_KEYS,Fe)<0})),!!$e.length){de||(de=t.animate(ue,r.loop,!0),de.scope="keyframe");for(var Ie=0;Ie<he.length;Ie++)he[Ie]!==de&&he[Ie].targetName===de.targetName&&he[Ie].stopTracks($e);ue&&(le[ue]=le[ue]||{});var Ve=ue?le[ue]:le;each$c($e,function(Fe){Ve[Fe]=((ue?t[ue]:t)||{})[Fe]}),de.whenWithKeys(oe*pe.percent,_e,$e,pe.easing)}}}),de&&de.delay(r.delay||0).duration(oe).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){var ie=$.get("value"),le=$.get("status");if(this._axisModel=r,this._axisPointerModel=$,this._api=V,!(!oe&&this._lastValue===ie&&this._lastStatus===le)){this._lastValue=ie,this._lastStatus=le;var ue=this._group,de=this._handle;if(!le||le==="hide"){ue&&ue.hide(),de&&de.hide();return}ue&&ue.show(),de&&de.show();var pe={};this.makeElOption(pe,ie,r,$,V);var he=pe.graphicKey;he!==this._lastGraphicKey&&this.clear(V),this._lastGraphicKey=he;var _e=this._moveAnimation=this.determineAnimation(r,$);if(!ue)ue=this._group=new Group$3,this.createPointerEl(ue,pe,r,$),this.createLabelEl(ue,pe,r,$),V.getZr().add(ue);else{var $e=curry$1(updateProps,$,_e);this.updatePointerEl(ue,pe,$e),this.updateLabelEl(ue,pe,$e,$)}updateMandatoryProps(ue,$,!0),this._renderHandle(ie)}},t.prototype.remove=function(r){this.clear(r)},t.prototype.dispose=function(r){this.clear(r)},t.prototype.determineAnimation=function(r,$){var V=$.get("animation"),oe=r.axis,ie=oe.type==="category",le=$.get("snap");if(!le&&!ie)return!1;if(V==="auto"||V==null){var ue=this.animationThreshold;if(ie&&oe.getBandWidth()>ue)return!0;if(le){var de=getAxisInfo(r).seriesDataCount,pe=oe.getExtent();return Math.abs(pe[0]-pe[1])/de>ue}return!1}return V===!0},t.prototype.makeElOption=function(r,$,V,oe,ie){},t.prototype.createPointerEl=function(r,$,V,oe){var ie=$.pointer;if(ie){var le=inner$5(r).pointerEl=new graphic$1[ie.type](clone($.pointer));r.add(le)}},t.prototype.createLabelEl=function(r,$,V,oe){if($.label){var ie=inner$5(r).labelEl=new ZRText$1(clone($.label));r.add(ie),updateLabelShowHide(ie,oe)}},t.prototype.updatePointerEl=function(r,$,V){var oe=inner$5(r).pointerEl;oe&&$.pointer&&(oe.setStyle($.pointer.style),V(oe,{shape:$.pointer.shape}))},t.prototype.updateLabelEl=function(r,$,V,oe){var ie=inner$5(r).labelEl;ie&&(ie.setStyle($.label.style),V(ie,{x:$.label.x,y:$.label.y}),updateLabelShowHide(ie,oe))},t.prototype._renderHandle=function(r){if(!(this._dragging||!this.updateHandleTransform)){var $=this._axisPointerModel,V=this._api.getZr(),oe=this._handle,ie=$.getModel("handle"),le=$.get("status");if(!ie.get("show")||!le||le==="hide"){oe&&V.remove(oe),this._handle=null;return}var ue;this._handle||(ue=!0,oe=this._handle=createIcon(ie.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(pe){stop(pe.event)},onmousedown:bind(this._onHandleDragMove,this,0,0),drift:bind(this._onHandleDragMove,this),ondragend:bind(this._onHandleDragEnd,this)}),V.add(oe)),updateMandatoryProps(oe,$,!1),oe.setStyle(ie.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var de=ie.get("size");isArray$1(de)||(de=[de,de]),oe.scaleX=de[0]/2,oe.scaleY=de[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",ie.get("throttle")||0,"fixRate"),this._moveHandleToValue(r,ue)}},t.prototype._moveHandleToValue=function(r,$){updateProps(this._axisPointerModel,!$&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform(r,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(r,$){var V=this._handle;if(V){this._dragging=!0;var oe=this.updateHandleTransform(getHandleTransProps(V),[r,$],this._axisModel,this._axisPointerModel);this._payloadInfo=oe,V.stopAnimation(),V.attr(getHandleTransProps(oe)),inner$5(V).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var r=this._handle;if(r){var $=this._payloadInfo,V=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:$.cursorPoint[0],y:$.cursorPoint[1],tooltipOption:$.tooltipOption,axesInfo:[{axisDim:V.axis.dim,axisIndex:V.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var r=this._handle;if(r){var $=this._axisPointerModel.get("value");this._moveHandleToValue($),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(r){this._lastValue=null,this._lastStatus=null;var $=r.getZr(),V=this._group,oe=this._handle;$&&V&&(this._lastGraphicKey=null,V&&$.remove(V),oe&&$.remove(oe),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(r,$,V){return V=V||0,{x:r[V],y:r[1-V],width:$[V],height:$[1-V]}},t}();function updateProps(t,r,$,V){propsEqual(inner$5($).lastProp,V)||(inner$5($).lastProp=V,r?updateProps$1($,V,t):($.stopAnimation(),$.attr(V)))}function propsEqual(t,r){if(isObject$3(t)&&isObject$3(r)){var $=!0;return each$c(r,function(V,oe){$=$&&propsEqual(t[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,$){var V=r.get("z"),oe=r.get("zlevel");t&&t.traverse(function(ie){ie.type!=="group"&&(V!=null&&(ie.z=V),oe!=null&&(ie.zlevel=oe),ie.silent=$)})}const BaseAxisPointer$1=BaseAxisPointer;function buildElStyle(t){var r=t.get("type"),$=t.getModel(r+"Style"),V;return r==="line"?(V=$.getLineStyle(),V.fill=null):r==="shadow"&&(V=$.getAreaStyle(),V.stroke=null),V}function buildLabelElOption(t,r,$,V,oe){var ie=$.get("value"),le=getValueLabel(ie,r.axis,r.ecModel,$.get("seriesDataIndices"),{precision:$.get(["label","precision"]),formatter:$.get(["label","formatter"])}),ue=$.getModel("label"),de=normalizeCssArray(ue.get("padding")||0),pe=ue.getFont(),he=getBoundingRect(le,pe),_e=oe.position,$e=he.width+de[1]+de[3],Ie=he.height+de[0]+de[2],Ve=oe.align;Ve==="right"&&(_e[0]-=$e),Ve==="center"&&(_e[0]-=$e/2);var Fe=oe.verticalAlign;Fe==="bottom"&&(_e[1]-=Ie),Fe==="middle"&&(_e[1]-=Ie/2),confineInContainer(_e,$e,Ie,V);var Ue=ue.get("backgroundColor");(!Ue||Ue==="auto")&&(Ue=r.get(["axisLine","lineStyle","color"])),t.label={x:_e[0],y:_e[1],style:createTextStyle$1(ue,{text:le,font:pe,fill:ue.getTextColor(),padding:de,backgroundColor:Ue}),z2:10}}function confineInContainer(t,r,$,V){var oe=V.getWidth(),ie=V.getHeight();t[0]=Math.min(t[0]+r,oe)-r,t[1]=Math.min(t[1]+$,ie)-$,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function getValueLabel(t,r,$,V,oe){t=r.scale.parse(t);var ie=r.scale.getLabel({value:t},{precision:oe.precision}),le=oe.formatter;if(le){var ue={value:getAxisRawValue(r,{value:t}),axisDimension:r.dim,axisIndex:r.index,seriesData:[]};each$c(V,function(de){var pe=$.getSeriesByIndex(de.seriesIndex),he=de.dataIndexInside,_e=pe&&pe.getDataParams(he);_e&&ue.seriesData.push(_e)}),isString(le)?ie=le.replace("{value}",ie):isFunction(le)&&(ie=le(ue))}return ie}function getTransformedPosition(t,r,$){var V=create();return rotate(V,V,$.rotation),translate(V,V,$.position),applyTransform([t.dataToCoord(r),($.labelOffset||0)+($.labelDirection||1)*($.labelMargin||0)],V)}function buildCartesianSingleLabelElOption(t,r,$,V,oe,ie){var le=AxisBuilder$1.innerTextLayout($.rotation,0,$.labelDirection);$.labelMargin=oe.get(["label","margin"]),buildLabelElOption(r,V,oe,ie,{position:getTransformedPosition(V.axis,t,$),align:le.textAlign,verticalAlign:le.textVerticalAlign})}function makeLineShape(t,r,$){return $=$||0,{x1:t[$],y1:t[1-$],x2:r[$],y2:r[1-$]}}function makeRectShape(t,r,$){return $=$||0,{x:t[$],y:t[1-$],width:r[$],height:r[1-$]}}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){var ue=oe.axis,de=ue.grid,pe=ie.get("type"),he=getCartesian(de,ue).getOtherAxis(ue).getGlobalExtent(),_e=ue.toGlobalCoord(ue.dataToCoord(V,!0));if(pe&&pe!=="none"){var $e=buildElStyle(ie),Ie=pointerShapeBuilder[pe](ue,_e,he);Ie.style=$e,$.graphicKey=Ie.type,$.pointer=Ie}var Ve=layout$1(de.model,oe);buildCartesianSingleLabelElOption(V,$,Ve,oe,ie,le)},r.prototype.getHandleTransform=function($,V,oe){var ie=layout$1(V.axis.grid.model,V,{labelInside:!1});ie.labelMargin=oe.get(["handle","margin"]);var le=getTransformedPosition(V.axis,$,ie);return{x:le[0],y:le[1],rotation:ie.rotation+(ie.labelDirection<0?Math.PI:0)}},r.prototype.updateHandleTransform=function($,V,oe,ie){var le=oe.axis,ue=le.grid,de=le.getGlobalExtent(!0),pe=getCartesian(ue,le).getOtherAxis(le).getGlobalExtent(),he=le.dim==="x"?0:1,_e=[$.x,$.y];_e[he]+=V[he],_e[he]=Math.min(de[1],_e[he]),_e[he]=Math.max(de[0],_e[he]);var $e=(pe[1]+pe[0])/2,Ie=[$e,$e];Ie[he]=_e[he];var Ve=[{verticalAlign:"middle"},{align:"center"}];return{x:_e[0],y:_e[1],rotation:$.rotation,cursorPoint:Ie,tooltipOption:Ve[he]}},r}(BaseAxisPointer$1);function getCartesian(t,r){var $={};return $[r.dim+"AxisIndex"]=r.index,t.getCartesian($)}var pointerShapeBuilder={line:function(t,r,$){var V=makeLineShape([r,$[0]],[r,$[1]],getAxisDimIndex(t));return{type:"Line",subPixelOptimize:!0,shape:V}},shadow:function(t,r,$){var V=Math.max(1,t.getBandWidth()),oe=$[1]-$[0];return{type:"Rect",shape:makeRectShape([r-V/2,$[0]],[V,oe],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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}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,$){if(!env$1.node){var V=r.getZr();inner$4(V).records||(inner$4(V).records={}),initGlobalListeners(V,r);var oe=inner$4(V).records[t]||(inner$4(V).records[t]={});oe.handler=$}}function initGlobalListeners(t,r){if(inner$4(t).initialized)return;inner$4(t).initialized=!0,$("click",curry$1(doEnter,"click")),$("mousemove",curry$1(doEnter,"mousemove")),$("globalout",onLeave);function $(V,oe){t.on(V,function(ie){var le=makeDispatchAction$1(r);each$8(inner$4(t).records,function(ue){ue&&oe(ue,ie,le.dispatchAction)}),dispatchTooltipFinally(le.pendings,r)})}}function dispatchTooltipFinally(t,r){var $=t.showTip.length,V=t.hideTip.length,oe;$?oe=t.showTip[$-1]:V&&(oe=t.hideTip[V-1]),oe&&(oe.dispatchAction=null,r.dispatchAction(oe))}function onLeave(t,r,$){t.handler("leave",null,$)}function doEnter(t,r,$,V){r.handler(t,$,V)}function makeDispatchAction$1(t){var r={showTip:[],hideTip:[]},$=function(V){var oe=r[V.type];oe?oe.push(V):(V.dispatchAction=$,t.dispatchAction(V))};return{dispatchAction:$,pendings:r}}function unregister(t,r){if(!env$1.node){var $=r.getZr(),V=(inner$4($).records||{})[t];V&&(inner$4($).records[t]=null)}}var AxisPointerView=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.prototype.render=function($,V,oe){var ie=V.getComponent("tooltip"),le=$.get("triggerOn")||ie&&ie.get("triggerOn")||"mousemove|click";register("axisPointer",oe,function(ue,de,pe){le!=="none"&&(ue==="leave"||le.indexOf(ue)>=0)&&pe({type:"updateAxisPointer",currTrigger:ue,x:de&&de.offsetX,y:de&&de.offsetY})})},r.prototype.remove=function($,V){unregister("axisPointer",V)},r.prototype.dispose=function($,V){unregister("axisPointer",V)},r.type="axisPointer",r}(ComponentView$1);const AxisPointerView$1=AxisPointerView;function findPointFromSeries(t,r){var $=[],V=t.seriesIndex,oe;if(V==null||!(oe=r.getSeriesByIndex(V)))return{point:[]};var ie=oe.getData(),le=queryDataIndex(ie,t);if(le==null||le<0||isArray$1(le))return{point:[]};var ue=ie.getItemGraphicEl(le),de=oe.coordinateSystem;if(oe.getTooltipPosition)$=oe.getTooltipPosition(le)||[];else if(de&&de.dataToPoint)if(t.isStacked){var pe=de.getBaseAxis(),he=de.getOtherAxis(pe),_e=he.dim,$e=pe.dim,Ie=_e==="x"||_e==="radius"?1:0,Ve=ie.mapDimension($e),Fe=[];Fe[Ie]=ie.get(Ve,le),Fe[1-Ie]=ie.get(ie.getCalculationInfo("stackResultDimension"),le),$=de.dataToPoint(Fe)||[]}else $=de.dataToPoint(ie.getValues(map$2(de.dimensions,function(qe){return ie.mapDimension(qe)}),le))||[];else if(ue){var Ue=ue.getBoundingRect().clone();Ue.applyTransform(ue.transform),$=[Ue.x+Ue.width/2,Ue.y+Ue.height/2]}return{point:$,el:ue}}var inner$3=makeInner();function axisTrigger(t,r,$){var V=t.currTrigger,oe=[t.x,t.y],ie=t,le=t.dispatchAction||bind$1($.dispatchAction,$),ue=r.getComponent("axisPointer").coordSysAxesInfo;if(ue){illegalPoint(oe)&&(oe=findPointFromSeries({seriesIndex:ie.seriesIndex,dataIndex:ie.dataIndex},r).point);var de=illegalPoint(oe),pe=ie.axesInfo,he=ue.axesInfo,_e=V==="leave"||illegalPoint(oe),$e={},Ie={},Ve={list:[],map:{}},Fe={showPointer:curry$1(showPointer,Ie),showTooltip:curry$1(showTooltip,Ve)};each$c(ue.coordSysMap,function(qe,Et){var Lt=de||qe.containPoint(oe);each$c(ue.coordSysAxesInfo[Et],function(hn,Cn){var bn=hn.axis,Sn=findInputAxisInfo(pe,hn);if(!_e&&Lt&&(!pe||Sn)){var En=Sn&&Sn.value;En==null&&!de&&(En=bn.pointToData(oe)),En!=null&&processOnAxis(hn,En,Fe,!1,$e)}})});var Ue={};return each$c(he,function(qe,Et){var Lt=qe.linkGroup;Lt&&!Ie[Et]&&each$c(Lt.axesInfo,function(hn,Cn){var bn=Ie[Cn];if(hn!==qe&&bn){var Sn=bn.value;Lt.mapper&&(Sn=qe.axis.scale.parse(Lt.mapper(Sn,makeMapperParam(hn),makeMapperParam(qe)))),Ue[qe.key]=Sn}})}),each$c(Ue,function(qe,Et){processOnAxis(he[Et],qe,Fe,!0,$e)}),updateModelActually(Ie,he,$e),dispatchTooltipActually(Ve,oe,t,le),dispatchHighDownActually(he,le,$),$e}}function processOnAxis(t,r,$,V,oe){var ie=t.axis;if(!(ie.scale.isBlank()||!ie.containData(r))){if(!t.involveSeries){$.showPointer(t,r);return}var le=buildPayloadsBySeries(r,t),ue=le.payloadBatch,de=le.snapToValue;ue[0]&&oe.seriesIndex==null&&extend(oe,ue[0]),!V&&t.snap&&ie.containData(de)&&de!=null&&(r=de),$.showPointer(t,r,ue),$.showTooltip(t,le,de)}}function buildPayloadsBySeries(t,r){var $=r.axis,V=$.dim,oe=t,ie=[],le=Number.MAX_VALUE,ue=-1;return each$c(r.seriesModels,function(de,pe){var he=de.getData().mapDimensionsAll(V),_e,$e;if(de.getAxisTooltipData){var Ie=de.getAxisTooltipData(he,t,$);$e=Ie.dataIndices,_e=Ie.nestestValue}else{if($e=de.getData().indicesOfNearest(he[0],t,$.type==="category"?.5:null),!$e.length)return;_e=de.getData().get(he[0],$e[0])}if(!(_e==null||!isFinite(_e))){var Ve=t-_e,Fe=Math.abs(Ve);Fe<=le&&((Fe<le||Ve>=0&&ue<0)&&(le=Fe,ue=Ve,oe=_e,ie.length=0),each$c($e,function(Ue){ie.push({seriesIndex:de.seriesIndex,dataIndexInside:Ue,dataIndex:de.getData().getRawIndex(Ue)})}))}}),{payloadBatch:ie,snapToValue:oe}}function showPointer(t,r,$,V){t[r.key]={value:$,payloadBatch:V}}function showTooltip(t,r,$,V){var oe=$.payloadBatch,ie=r.axis,le=ie.model,ue=r.axisPointerModel;if(!(!r.triggerTooltip||!oe.length)){var de=r.coordSys.model,pe=makeKey(de),he=t.map[pe];he||(he=t.map[pe]={coordSysId:de.id,coordSysIndex:de.componentIndex,coordSysType:de.type,coordSysMainType:de.mainType,dataByAxis:[]},t.list.push(he)),he.dataByAxis.push({axisDim:ie.dim,axisIndex:le.componentIndex,axisType:le.type,axisId:le.id,value:V,valueLabelOpt:{precision:ue.get(["label","precision"]),formatter:ue.get(["label","formatter"])},seriesDataIndices:oe.slice()})}}function updateModelActually(t,r,$){var V=$.axesInfo=[];each$c(r,function(oe,ie){var le=oe.axisPointerModel.option,ue=t[ie];ue?(!oe.useHandle&&(le.status="show"),le.value=ue.value,le.seriesDataIndices=(ue.payloadBatch||[]).slice()):!oe.useHandle&&(le.status="hide"),le.status==="show"&&V.push({axisDim:oe.axis.dim,axisIndex:oe.axis.model.componentIndex,value:le.value})})}function dispatchTooltipActually(t,r,$,V){if(illegalPoint(r)||!t.list.length){V({type:"hideTip"});return}var oe=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};V({type:"showTip",escapeConnect:!0,x:r[0],y:r[1],tooltipOption:$.tooltipOption,position:$.position,dataIndexInside:oe.dataIndexInside,dataIndex:oe.dataIndex,seriesIndex:oe.seriesIndex,dataByCoordSys:t.list})}function dispatchHighDownActually(t,r,$){var V=$.getZr(),oe="axisPointerLastHighlights",ie=inner$3(V)[oe]||{},le=inner$3(V)[oe]={};each$c(t,function(pe,he){var _e=pe.axisPointerModel.option;_e.status==="show"&&pe.triggerEmphasis&&each$c(_e.seriesDataIndices,function($e){var Ie=$e.seriesIndex+" | "+$e.dataIndex;le[Ie]=$e})});var ue=[],de=[];each$c(ie,function(pe,he){!le[he]&&de.push(pe)}),each$c(le,function(pe,he){!ie[he]&&ue.push(pe)}),de.length&&$.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:de}),ue.length&&$.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:ue})}function findInputAxisInfo(t,r){for(var $=0;$<(t||[]).length;$++){var V=t[$];if(r.axis.dim===V.axisDim&&r.axis.model.componentIndex===V.axisIndex)return V}}function makeMapperParam(t){var r=t.axis.model,$={},V=$.axisDim=t.axis.dim;return $.axisIndex=$[V+"AxisIndex"]=r.componentIndex,$.axisName=$[V+"AxisName"]=r.name,$.axisId=$[V+"AxisId"]=r.id,$}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 $=r.axisPointer.link;$&&!isArray$1($)&&(r.axisPointer.link=[$])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(r,$){r.getComponent("axisPointer").coordSysAxesInfo=collect(r,$)}),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 $=t.existing;if(r.id=t.keyInfo.id,!r.type&&$&&(r.type=$.type),r.parentId==null){var V=r.parentOption;V?r.parentId=V.id:$&&(r.parentId=$.parentId)}r.parentOption=null}function isSetLoc(t,r){var $;return each$c(r,function(V){t[V]!=null&&t[V]!=="auto"&&($=!0)}),$}function mergeNewElOptionToExist(t,r,$){var V=extend({},$),oe=t[r],ie=$.$action||"merge";ie==="merge"?oe?(merge(oe,V,!0),mergeLayoutParam(oe,V,{ignoreSize:!0}),copyLayoutParams($,oe),copyTransitionInfo($,oe),copyTransitionInfo($,oe,"shape"),copyTransitionInfo($,oe,"style"),copyTransitionInfo($,oe,"extra"),$.clipPath=oe.clipPath):t[r]=V:ie==="replace"?t[r]=V:ie==="remove"&&oe&&(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,$){if($&&(!t[$]&&r[$]&&(t[$]={}),t=t[$],r=r[$]),!(!t||!r))for(var V=$?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,oe=0;oe<V.length;oe++){var ie=V[oe];t[ie]==null&&r[ie]!=null&&(t[ie]=r[ie])}}function setLayoutInfoToExist(t,r){if(t&&(t.hv=r.hv=[isSetLoc(r,["left","right"]),isSetLoc(r,["top","bottom"])],t.type==="group")){var $=t,V=r;$.width==null&&($.width=V.width=0),$.height==null&&($.height=V.height=0)}}var GraphicComponentModel=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$.preventAutoZ=!0,$}return r.prototype.mergeOption=function($,V){var oe=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,$,V),this.option.elements=oe},r.prototype.optionUpdated=function($,V){var oe=this.option,ie=(V?oe:$).elements,le=oe.elements=V?[]:oe.elements,ue=[];this._flatten(ie,ue,null);var de=mappingToExists(le,ue,"normalMerge"),pe=this._elOptionsToUpdate=[];each$c(de,function(he,_e){var $e=he.newOption;$e&&(pe.push($e),setKeyInfoToNewElOption(he,$e),mergeNewElOptionToExist(le,_e,$e),setLayoutInfoToExist(le[_e],$e))},this),oe.elements=filter(le,function(he){return he&&delete he.$action,he!=null})},r.prototype._flatten=function($,V,oe){each$c($,function(ie){if(ie){oe&&(ie.parentOption=oe),V.push(ie);var le=ie.children;le&&le.length&&this._flatten(le,V,ie),delete ie.children}},this)},r.prototype.useElOptionsToUpdate=function(){var $=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,$},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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.prototype.init=function(){this._elMap=createHashMap()},r.prototype.render=function($,V,oe){$!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=$,this._updateElements($),this._relocate($,oe)},r.prototype._updateElements=function($){var V=$.useElOptionsToUpdate();if(V){var oe=this._elMap,ie=this.group,le=$.get("z"),ue=$.get("zlevel");each$c(V,function(de){var pe=convertOptionIdName(de.id,null),he=pe!=null?oe.get(pe):null,_e=convertOptionIdName(de.parentId,null),$e=_e!=null?oe.get(_e):ie,Ie=de.type,Ve=de.style;Ie==="text"&&Ve&&de.hv&&de.hv[1]&&(Ve.textVerticalAlign=Ve.textBaseline=Ve.verticalAlign=Ve.align=null);var Fe=de.textContent,Ue=de.textConfig;if(Ve&&isEC4CompatibleStyle(Ve,Ie,!!Ue,!!Fe)){var qe=convertFromEC4CompatibleStyle(Ve,Ie,!0);!Ue&&qe.textConfig&&(Ue=de.textConfig=qe.textConfig),!Fe&&qe.textContent&&(Fe=qe.textContent)}var Et=getCleanedElOption(de),Lt=de.$action||"merge",hn=Lt==="merge",Cn=Lt==="replace";if(hn){var bn=!he,Sn=he;bn?Sn=createEl(pe,$e,de.type,oe):(Sn&&(inner$2(Sn).isNew=!1),stopPreviousKeyframeAnimationAndRestore(Sn)),Sn&&(applyUpdateTransition(Sn,Et,$,{isInit:bn}),updateCommonAttrs(Sn,de,le,ue))}else if(Cn){removeEl(he,de,oe,$);var En=createEl(pe,$e,de.type,oe);En&&(applyUpdateTransition(En,Et,$,{isInit:!0}),updateCommonAttrs(En,de,le,ue))}else Lt==="remove"&&(updateLeaveTo(he,de),removeEl(he,de,oe,$));var wn=oe.get(pe);if(wn&&Fe)if(hn){var $n=wn.getTextContent();$n?$n.attr(Fe):wn.setTextContent(new ZRText$1(Fe))}else Cn&&wn.setTextContent(new ZRText$1(Fe));if(wn){var Tn=de.clipPath;if(Tn){var xn=Tn.type,An=void 0,bn=!1;if(hn){var Mn=wn.getClipPath();bn=!Mn||inner$2(Mn).type!==xn,An=bn?newEl(xn):Mn}else Cn&&(bn=!0,An=newEl(xn));wn.setClipPath(An),applyUpdateTransition(An,Tn,$,{isInit:bn}),applyKeyframeAnimation(An,Tn.keyframeAnimation,$)}var Vn=inner$2(wn);wn.setTextConfig(Ue),Vn.option=de,setEventData(wn,$,de),setTooltipConfig({el:wn,componentModel:$,itemName:wn.name,itemTooltipOption:de.tooltip}),applyKeyframeAnimation(wn,de.keyframeAnimation,$)}})}},r.prototype._relocate=function($,V){for(var oe=$.option.elements,ie=this.group,le=this._elMap,ue=V.getWidth(),de=V.getHeight(),pe=["x","y"],he=0;he<oe.length;he++){var _e=oe[he],$e=convertOptionIdName(_e.id,null),Ie=$e!=null?le.get($e):null;if(!(!Ie||!Ie.isGroup)){var Ve=Ie.parent,Fe=Ve===ie,Ue=inner$2(Ie),qe=inner$2(Ve);Ue.width=parsePercent(Ue.option.width,Fe?ue:qe.width)||0,Ue.height=parsePercent(Ue.option.height,Fe?de:qe.height)||0}}for(var he=oe.length-1;he>=0;he--){var _e=oe[he],$e=convertOptionIdName(_e.id,null),Ie=$e!=null?le.get($e):null;if(Ie){var Ve=Ie.parent,qe=inner$2(Ve),Et=Ve===ie?{width:ue,height:de}:{width:qe.width,height:qe.height},Lt={},hn=positionElement(Ie,_e,Et,null,{hv:_e.hv,boundingMode:_e.bounding},Lt);if(!inner$2(Ie).isNew&&hn){for(var Cn=_e.transition,bn={},Sn=0;Sn<pe.length;Sn++){var En=pe[Sn],wn=Lt[En];Cn&&(isTransitionAll(Cn)||indexOf(Cn,En)>=0)?bn[En]=wn:Ie[En]=wn}updateProps$1(Ie,bn,$,0)}else Ie.attr(Lt)}}},r.prototype._clear=function(){var $=this,V=this._elMap;V.each(function(oe){removeEl(oe,inner$2(oe).option,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),$=new r({});return inner$2($).type=t,$}function createEl(t,r,$,V){var oe=newEl($);return r.add(oe),V.set(t,oe),inner$2(oe).id=t,inner$2(oe).isNew=!0,oe}function removeEl(t,r,$,V){var oe=t&&t.parent;oe&&(t.type==="group"&&t.traverse(function(ie){removeEl(ie,r,$,V)}),applyLeaveTransition(t,r,V),$.removeKey(inner$2(t).id))}function updateCommonAttrs(t,r,$,V){t.isGroup||each$c([["cursor",Displayable$1.prototype.cursor],["zlevel",V||0],["z",$||0],["z2",0]],function(oe){var ie=oe[0];hasOwn(r,ie)?t[ie]=retrieve2(r[ie],oe[1]):t[ie]==null&&(t[ie]=oe[1])}),each$c(keys(r),function(oe){if(oe.indexOf("on")===0){var ie=r[oe];t[oe]=isFunction(ie)?ie: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,$){var V=getECData(t).eventData;!t.silent&&!t.ignore&&!V&&(V=getECData(t).eventData={componentType:"graphic",componentIndex:r.componentIndex,name:t.name}),V&&(V.info=$.info)}function install$d(t){t.registerComponentModel(GraphicComponentModel),t.registerComponentView(GraphicComponentView),t.registerPreprocessor(function(r){var $=r.graphic;isArray$1($)?!$[0]||!$[0].elements?r.graphic=[{elements:$}]:r.graphic=[r.graphic[0]]:$&&!$.elements&&(r.graphic=[{elements:[$]}])})}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 $=createHashMap(),V=[],oe=createHashMap();t.eachComponent({mainType:"dataZoom",query:r},function(he){oe.get(he.uid)||ue(he)});var ie;do ie=!1,t.eachComponent("dataZoom",le);while(ie);function le(he){!oe.get(he.uid)&&de(he)&&(ue(he),ie=!0)}function ue(he){oe.set(he.uid,!0),V.push(he),pe(he)}function de(he){var _e=!1;return he.eachTargetAxis(function($e,Ie){var Ve=$.get($e);Ve&&Ve[Ie]&&(_e=!0)}),_e}function pe(he){he.eachTargetAxis(function(_e,$e){($.get(_e)||$.set(_e,[]))[$e]=!0})}return V}function collectReferCoordSysModelInfo(t){var r=t.ecModel,$={infoList:[],infoMap:createHashMap()};return t.eachTargetAxis(function(V,oe){var ie=r.getComponent(getAxisMainType(V),oe);if(ie){var le=ie.getCoordSysModel();if(le){var ue=le.uid,de=$.infoMap.get(ue);de||(de={model:le,axisModels:[]},$.infoList.push(de),$.infoMap.set(ue,de)),de.axisModels.push(ie)}}}),$}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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$._autoThrottle=!0,$._noTarget=!0,$._rangePropMode=["percent","percent"],$}return r.prototype.init=function($,V,oe){var ie=retrieveRawOption($);this.settledOption=ie,this.mergeDefaultAndTheme($,oe),this._doInit(ie)},r.prototype.mergeOption=function($){var V=retrieveRawOption($);merge(this.option,$,!0),merge(this.settledOption,V,!0),this._doInit(V)},r.prototype._doInit=function($){var V=this.option;this._setDefaultThrottle($),this._updateRangeUse($);var oe=this.settledOption;each$c([["start","startValue"],["end","endValue"]],function(ie,le){this._rangePropMode[le]==="value"&&(V[ie[0]]=oe[ie[0]]=null)},this),this._resetTarget()},r.prototype._resetTarget=function(){var $=this.get("orient",!0),V=this._targetAxisInfoMap=createHashMap(),oe=this._fillSpecifiedTargetAxis(V);oe?this._orient=$||this._makeAutoOrientByTargetAxis():(this._orient=$||"horizontal",this._fillAutoTargetAxisByOrient(V,this._orient)),this._noTarget=!0,V.each(function(ie){ie.indexList.length&&(this._noTarget=!1)},this)},r.prototype._fillSpecifiedTargetAxis=function($){var V=!1;return each$c(DATA_ZOOM_AXIS_DIMENSIONS,function(oe){var ie=this.getReferringComponents(getAxisMainType(oe),MULTIPLE_REFERRING);if(ie.specified){V=!0;var le=new DataZoomAxisInfo;each$c(ie.models,function(ue){le.add(ue.componentIndex)}),$.set(oe,le)}},this),V},r.prototype._fillAutoTargetAxisByOrient=function($,V){var oe=this.ecModel,ie=!0;if(ie){var le=V==="vertical"?"y":"x",ue=oe.findComponents({mainType:le+"Axis"});de(ue,le)}if(ie){var ue=oe.findComponents({mainType:"singleAxis",filter:function(he){return he.get("orient",!0)===V}});de(ue,"single")}function de(pe,he){var _e=pe[0];if(_e){var $e=new DataZoomAxisInfo;if($e.add(_e.componentIndex),$.set(he,$e),ie=!1,he==="x"||he==="y"){var Ie=_e.getReferringComponents("grid",SINGLE_REFERRING).models[0];Ie&&each$c(pe,function(Ve){_e.componentIndex!==Ve.componentIndex&&Ie===Ve.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&$e.add(Ve.componentIndex)})}}}ie&&each$c(DATA_ZOOM_AXIS_DIMENSIONS,function(pe){if(ie){var he=oe.findComponents({mainType:getAxisMainType(pe),filter:function($e){return $e.get("type",!0)==="category"}});if(he[0]){var _e=new DataZoomAxisInfo;_e.add(he[0].componentIndex),$.set(pe,_e),ie=!1}}},this)},r.prototype._makeAutoOrientByTargetAxis=function(){var $;return this.eachTargetAxis(function(V){!$&&($=V)},this),$==="y"?"vertical":"horizontal"},r.prototype._setDefaultThrottle=function($){if($.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var V=this.ecModel.option;this.option.throttle=V.animation&&V.animationDurationUpdate>0?100:20}},r.prototype._updateRangeUse=function($){var V=this._rangePropMode,oe=this.get("rangeMode");each$c([["start","startValue"],["end","endValue"]],function(ie,le){var ue=$[ie[0]]!=null,de=$[ie[1]]!=null;ue&&!de?V[le]="percent":!ue&&de?V[le]="value":oe?V[le]=oe[le]:ue&&(V[le]="percent")})},r.prototype.noTarget=function(){return this._noTarget},r.prototype.getFirstTargetAxisModel=function(){var $;return this.eachTargetAxis(function(V,oe){$==null&&($=this.ecModel.getComponent(getAxisMainType(V),oe))},this),$},r.prototype.eachTargetAxis=function($,V){this._targetAxisInfoMap.each(function(oe,ie){each$c(oe.indexList,function(le){$.call(V,ie,le)})})},r.prototype.getAxisProxy=function($,V){var oe=this.getAxisModel($,V);if(oe)return oe.__dzAxisProxy},r.prototype.getAxisModel=function($,V){var oe=this._targetAxisInfoMap.get($);if(oe&&oe.indexMap[V])return this.ecModel.getComponent(getAxisMainType($),V)},r.prototype.setRawRange=function($){var V=this.option,oe=this.settledOption;each$c([["start","startValue"],["end","endValue"]],function(ie){($[ie[0]]!=null||$[ie[1]]!=null)&&(V[ie[0]]=oe[ie[0]]=$[ie[0]],V[ie[1]]=oe[ie[1]]=$[ie[1]])},this),this._updateRangeUse($)},r.prototype.setCalculatedRange=function($){var V=this.option;each$c(["start","startValue","end","endValue"],function(oe){V[oe]=$[oe]})},r.prototype.getPercentRange=function(){var $=this.findRepresentativeAxisProxy();if($)return $.getDataPercentWindow()},r.prototype.getValueRange=function($,V){if($==null&&V==null){var oe=this.findRepresentativeAxisProxy();if(oe)return oe.getDataValueWindow()}else return this.getAxisProxy($,V).getDataValueWindow()},r.prototype.findRepresentativeAxisProxy=function($){if($)return $.__dzAxisProxy;for(var V,oe=this._targetAxisInfoMap.keys(),ie=0;ie<oe.length;ie++)for(var le=oe[ie],ue=this._targetAxisInfoMap.get(le),de=0;de<ue.indexList.length;de++){var pe=this.getAxisProxy(le,ue.indexList[de]);if(pe.hostedBy(this))return pe;V||(V=pe)}return V},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($){t.hasOwnProperty($)&&(r[$]=t[$])}),r}const DataZoomModel$1=DataZoomModel;var SelectDataZoomModel=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.type="dataZoom.select",r}(DataZoomModel$1);const SelectZoomModel=SelectDataZoomModel;var DataZoomView=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.prototype.render=function($,V,oe,ie){this.dataZoomModel=$,this.ecModel=V,this.api=oe},r.type="dataZoom",r}(ComponentView$1);const DataZoomView$1=DataZoomView;var SelectDataZoomView=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}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){this._dimName=r,this._axisIndex=$,this.ecModel=oe,this._dataZoomModel=V}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($){if(isCoordSupported($)){var V=getAxisMainType(this._dimName),oe=$.getReferringComponents(V,SINGLE_REFERRING).models[0];oe&&this._axisIndex===oe.componentIndex&&r.push($)}},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 $=this._dataExtent,V=this.getAxisModel(),oe=V.axis.scale,ie=this._dataZoomModel.getRangePropMode(),le=[0,100],ue=[],de=[],pe;each$7(["start","end"],function($e,Ie){var Ve=r[$e],Fe=r[$e+"Value"];ie[Ie]==="percent"?(Ve==null&&(Ve=le[Ie]),Fe=oe.parse(linearMap$2(Ve,le,$))):(pe=!0,Fe=Fe==null?$[Ie]:oe.parse(Fe),Ve=linearMap$2(Fe,$,le)),de[Ie]=Fe==null||isNaN(Fe)?$[Ie]:Fe,ue[Ie]=Ve==null||isNaN(Ve)?le[Ie]:Ve}),asc$1(de),asc$1(ue);var he=this._minMaxSpan;pe?_e(de,ue,$,le,!1):_e(ue,de,le,$,!0);function _e($e,Ie,Ve,Fe,Ue){var qe=Ue?"Span":"ValueSpan";sliderMove(0,$e,Ve,"all",he["min"+qe],he["max"+qe]);for(var Et=0;Et<2;Et++)Ie[Et]=linearMap$2($e[Et],Ve,Fe,!0),Ue&&(Ie[Et]=oe.parse(Ie[Et]))}return{valueWindow:de,percentWindow:ue}},t.prototype.reset=function(r){if(r===this._dataZoomModel){var $=this.getTargetSeriesModels();this._dataExtent=calculateDataExtent(this,this._dimName,$),this._updateMinMaxSpan();var V=this.calculateDataWindow(r.settledOption);this._valueWindow=V.valueWindow,this._percentWindow=V.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(r,$){if(r!==this._dataZoomModel)return;var V=this._dimName,oe=this.getTargetSeriesModels(),ie=r.get("filterMode"),le=this._valueWindow;if(ie==="none")return;each$7(oe,function(de){var pe=de.getData(),he=pe.mapDimensionsAll(V);if(he.length){if(ie==="weakFilter"){var _e=pe.getStore(),$e=map$2(he,function(Ie){return pe.getDimensionIndex(Ie)},pe);pe.filterSelf(function(Ie){for(var Ve,Fe,Ue,qe=0;qe<he.length;qe++){var Et=_e.get($e[qe],Ie),Lt=!isNaN(Et),hn=Et<le[0],Cn=Et>le[1];if(Lt&&!hn&&!Cn)return!0;Lt&&(Ue=!0),hn&&(Ve=!0),Cn&&(Fe=!0)}return Ue&&Ve&&Fe})}else each$7(he,function(Ie){if(ie==="empty")de.setData(pe=pe.map(Ie,function(Fe){return ue(Fe)?Fe:NaN}));else{var Ve={};Ve[Ie]=le,pe.selectRange(Ve)}});each$7(he,function(Ie){pe.setApproximateExtent(le,Ie)})}});function ue(de){return de>=le[0]&&de<=le[1]}},t.prototype._updateMinMaxSpan=function(){var r=this._minMaxSpan={},$=this._dataZoomModel,V=this._dataExtent;each$7(["min","max"],function(oe){var ie=$.get(oe+"Span"),le=$.get(oe+"ValueSpan");le!=null&&(le=this.getAxisModel().axis.scale.parse(le)),le!=null?ie=linearMap$2(V[0]+le,V,[0,100],!0):ie!=null&&(le=linearMap$2(ie,[0,100],V,!0)-V[0]),r[oe+"Span"]=ie,r[oe+"ValueSpan"]=le},this)},t.prototype._setAxisModel=function(){var r=this.getAxisModel(),$=this._percentWindow,V=this._valueWindow;if($){var oe=getPixelPrecision(V,[0,500]);oe=Math.min(oe,20);var ie=r.axis.scale.rawExtentInfo;$[0]!==0&&ie.setDeterminedMinMax("min",+V[0].toFixed(oe)),$[1]!==100&&ie.setDeterminedMinMax("max",+V[1].toFixed(oe)),ie.freeze()}},t}();function calculateDataExtent(t,r,$){var V=[1/0,-1/0];each$7($,function(le){unionAxisExtentFromData(V,le.getData(),r)});var oe=t.getAxisModel(),ie=ensureScaleRawExtentInfo(oe.axis.scale,oe,V).calculate();return[ie.min,ie.max]}const AxisProxy$1=AxisProxy;var dataZoomProcessor={getTargetSeries:function(t){function r(oe){t.eachComponent("dataZoom",function(ie){ie.eachTargetAxis(function(le,ue){var de=t.getComponent(getAxisMainType(le),ue);oe(le,ue,de,ie)})})}r(function(oe,ie,le,ue){le.__dzAxisProxy=null});var $=[];r(function(oe,ie,le,ue){le.__dzAxisProxy||(le.__dzAxisProxy=new AxisProxy$1(oe,ie,ue,t),$.push(le.__dzAxisProxy))});var V=createHashMap();return each$c($,function(oe){each$c(oe.getTargetSeriesModels(),function(ie){V.set(ie.uid,ie)})}),V},overallReset:function(t,r){t.eachComponent("dataZoom",function($){$.eachTargetAxis(function(V,oe){$.getAxisProxy(V,oe).reset($)}),$.eachTargetAxis(function(V,oe){$.getAxisProxy(V,oe).filterData($,r)})}),t.eachComponent("dataZoom",function($){var V=$.findRepresentativeAxisProxy();if(V){var oe=V.getDataPercentWindow(),ie=V.getDataValueWindow();$.setCalculatedRange({start:oe[0],end:oe[1],startValue:ie[0],endValue:ie[1]})}})}};const dataZoomProcessor$1=dataZoomProcessor;function installDataZoomAction(t){t.registerAction("dataZoom",function(r,$){var V=findEffectedDataZooms($,r);each$c(V,function(oe){oe.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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var $=this.ecModel;each$c(this.option.feature,function(V,oe){var ie=getFeature(oe);ie&&(ie.getDefaultOption&&(ie.defaultOption=ie.getDefaultOption($)),merge(V,ie.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,$){var V=r.getBoxLayoutParams(),oe=r.get("padding"),ie={width:$.getWidth(),height:$.getHeight()},le=getLayoutRect(V,ie,oe);box(r.get("orient"),t,r.get("itemGap"),le.width,le.height),positionElement(t,V,ie,oe)}function makeBackground(t,r){var $=normalizeCssArray(r.get("padding")),V=r.getItemStyle(["color","opacity"]);return V.fill=r.get("backgroundColor"),t=new Rect$2({shape:{x:t.x-$[3],y:t.y-$[0],width:t.width+$[1]+$[3],height:t.height+$[0]+$[2],r:r.get("borderRadius")},style:V,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){var le=this.group;if(le.removeAll(),!$.get("show"))return;var ue=+$.get("itemSize"),de=$.get("orient")==="vertical",pe=$.get("feature")||{},he=this._features||(this._features={}),_e=[];each$c(pe,function(Ve,Fe){_e.push(Fe)}),new DataDiffer$1(this._featureNames||[],_e).add($e).update($e).remove(curry$1($e,null)).execute(),this._featureNames=_e;function $e(Ve,Fe){var Ue=_e[Ve],qe=_e[Fe],Et=pe[Ue],Lt=new Model$1(Et,$,$.ecModel),hn;if(ie&&ie.newTitle!=null&&ie.featureName===Ue&&(Et.title=ie.newTitle),Ue&&!qe){if(isUserFeatureName(Ue))hn={onclick:Lt.option.onclick,featureName:Ue};else{var Cn=getFeature(Ue);if(!Cn)return;hn=new Cn}he[Ue]=hn}else if(hn=he[qe],!hn)return;hn.uid=getUID("toolbox-feature"),hn.model=Lt,hn.ecModel=V,hn.api=oe;var bn=hn instanceof ToolboxFeature;if(!Ue&&qe){bn&&hn.dispose&&hn.dispose(V,oe);return}if(!Lt.get("show")||bn&&hn.unusable){bn&&hn.remove&&hn.remove(V,oe);return}Ie(Lt,hn,Ue),Lt.setIconStatus=function(Sn,En){var wn=this.option,$n=this.iconPaths;wn.iconStatus=wn.iconStatus||{},wn.iconStatus[Sn]=En,$n[Sn]&&(En==="emphasis"?enterEmphasis:leaveEmphasis)($n[Sn])},hn instanceof ToolboxFeature&&hn.render&&hn.render(Lt,V,oe,ie)}function Ie(Ve,Fe,Ue){var qe=Ve.getModel("iconStyle"),Et=Ve.getModel(["emphasis","iconStyle"]),Lt=Fe instanceof ToolboxFeature&&Fe.getIcons?Fe.getIcons():Ve.get("icon"),hn=Ve.get("title")||{},Cn,bn;isString(Lt)?(Cn={},Cn[Ue]=Lt):Cn=Lt,isString(hn)?(bn={},bn[Ue]=hn):bn=hn;var Sn=Ve.iconPaths={};each$c(Cn,function(En,wn){var $n=createIcon(En,{},{x:-ue/2,y:-ue/2,width:ue,height:ue});$n.setStyle(qe.getItemStyle());var Tn=$n.ensureState("emphasis");Tn.style=Et.getItemStyle();var xn=new ZRText$1({style:{text:bn[wn],align:Et.get("textAlign"),borderRadius:Et.get("textBorderRadius"),padding:Et.get("textPadding"),fill:null},ignore:!0});$n.setTextContent(xn),setTooltipConfig({el:$n,componentModel:$,itemName:wn,formatterParamsExtra:{title:bn[wn]}}),$n.__title=bn[wn],$n.on("mouseover",function(){var An=Et.getItemStyle(),Mn=de?$.get("right")==null&&$.get("left")!=="right"?"right":"left":$.get("bottom")==null&&$.get("top")!=="bottom"?"bottom":"top";xn.setStyle({fill:Et.get("textFill")||An.fill||An.stroke||"#000",backgroundColor:Et.get("textBackgroundColor")}),$n.setTextConfig({position:Et.get("textPosition")||Mn}),xn.ignore=!$.get("showTitle"),oe.enterEmphasis(this)}).on("mouseout",function(){Ve.get(["iconStatus",wn])!=="emphasis"&&oe.leaveEmphasis(this),xn.hide()}),(Ve.get(["iconStatus",wn])==="emphasis"?enterEmphasis:leaveEmphasis)($n),le.add($n),$n.on("click",bind$1(Fe.onclick,Fe,V,oe,wn)),Sn[wn]=$n})}layout(le,$,oe),le.add(makeBackground(le.getBoundingRect(),$)),de||le.eachChild(function(Ve){var Fe=Ve.__title,Ue=Ve.ensureState("emphasis"),qe=Ue.textConfig||(Ue.textConfig={}),Et=Ve.getTextContent(),Lt=Et&&Et.ensureState("emphasis");if(Lt&&!isFunction(Lt)&&Fe){var hn=Lt.style||(Lt.style={}),Cn=getBoundingRect(Fe,ZRText$1.makeFont(hn)),bn=Ve.x+le.x,Sn=Ve.y+le.y+ue,En=!1;Sn+Cn.height>oe.getHeight()&&(qe.position="top",En=!0);var wn=En?-5-Cn.height:ue+10;bn+Cn.width/2>oe.getWidth()?(qe.position=["100%",wn],hn.align="right"):bn-Cn.width/2<0&&(qe.position=[0,wn],hn.align="left")}})},r.prototype.updateView=function($,V,oe,ie){each$c(this._features,function(le){le instanceof ToolboxFeature&&le.updateView&&le.updateView(le.model,V,oe,ie)})},r.prototype.remove=function($,V){each$c(this._features,function(oe){oe instanceof ToolboxFeature&&oe.remove&&oe.remove($,V)}),this.group.removeAll()},r.prototype.dispose=function($,V){each$c(this._features,function(oe){oe instanceof ToolboxFeature&&oe.dispose&&oe.dispose($,V)})},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){var oe=this.model,ie=oe.get("name")||$.get("title.0.text")||"echarts",le=V.getZr().painter.getType()==="svg",ue=le?"svg":oe.get("type",!0)||"png",de=V.getConnectedDataURL({type:ue,backgroundColor:oe.get("backgroundColor",!0)||$.get("backgroundColor")||"#fff",connectedBackgroundColor:oe.get("connectedBackgroundColor"),excludeComponents:oe.get("excludeComponents"),pixelRatio:oe.get("pixelRatio")}),pe=env$1.browser;if(isFunction(MouseEvent)&&(pe.newEdge||!pe.ie&&!pe.edge)){var he=document.createElement("a");he.download=ie+"."+ue,he.target="_blank",he.href=de;var _e=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});he.dispatchEvent(_e)}else if(window.navigator.msSaveOrOpenBlob||le){var $e=de.split(","),Ie=$e[0].indexOf("base64")>-1,Ve=le?decodeURIComponent($e[1]):$e[1];Ie&&(Ve=window.atob(Ve));var Fe=ie+"."+ue;if(window.navigator.msSaveOrOpenBlob){for(var Ue=Ve.length,qe=new Uint8Array(Ue);Ue--;)qe[Ue]=Ve.charCodeAt(Ue);var Et=new Blob([qe]);window.navigator.msSaveOrOpenBlob(Et,Fe)}else{var Lt=document.createElement("iframe");document.body.appendChild(Lt);var hn=Lt.contentWindow,Cn=hn.document;Cn.open("image/svg+xml","replace"),Cn.write(Ve),Cn.close(),hn.focus(),Cn.execCommand("SaveAs",!0,Fe),document.body.removeChild(Lt)}}else{var bn=oe.get("lang"),Sn='<body style="margin:0;"><img src="'+de+'" style="max-width:100%;" title="'+(bn&&bn[0]||"")+'" /></body>',En=window.open();En.document.write(Sn),En.document.title=ie}},r.getDefaultOption=function($){var V={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:$.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:$.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return V},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 $=this.model,V=$.get("icon"),oe={};return each$c($.get("type"),function(ie){V[ie]&&(oe[ie]=V[ie])}),oe},r.getDefaultOption=function($){var V={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:$.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return V},r.prototype.onclick=function($,V,oe){var ie=this.model,le=ie.get(["seriesIndex",oe]);if(seriesOptGenreator[oe]){var ue={series:[]},de=function(_e){var $e=_e.subType,Ie=_e.id,Ve=seriesOptGenreator[oe]($e,Ie,_e,ie);Ve&&(defaults(Ve,_e.option),ue.series.push(Ve));var Fe=_e.coordinateSystem;if(Fe&&Fe.type==="cartesian2d"&&(oe==="line"||oe==="bar")){var Ue=Fe.getAxesByScale("ordinal")[0];if(Ue){var qe=Ue.dim,Et=qe+"Axis",Lt=_e.getReferringComponents(Et,SINGLE_REFERRING).models[0],hn=Lt.componentIndex;ue[Et]=ue[Et]||[];for(var Cn=0;Cn<=hn;Cn++)ue[Et][hn]=ue[Et][hn]||{};ue[Et][hn].boundaryGap=oe==="bar"}}};each$c(radioTypes,function(_e){indexOf(_e,oe)>=0&&each$c(_e,function($e){ie.setIconStatus($e,"normal")})}),ie.setIconStatus(oe,"emphasis"),$.eachComponent({mainType:"series",query:le==null?null:{seriesIndex:le}},de);var pe,he=oe;oe==="stack"&&(pe=merge({stack:ie.option.title.tiled,tiled:ie.option.title.stack},ie.option.title),ie.get(["iconStatus",oe])!=="emphasis"&&(he="tiled")),V.dispatchAction({type:"changeMagicType",currentType:he,newOption:ue,newTitle:pe,featureName:"magicType"})}},r}(ToolboxFeature),seriesOptGenreator={line:function(t,r,$,V){if(t==="bar")return merge({id:r,type:"line",data:$.get("data"),stack:$.get("stack"),markPoint:$.get("markPoint"),markLine:$.get("markLine")},V.get(["option","line"])||{},!0)},bar:function(t,r,$,V){if(t==="line")return merge({id:r,type:"bar",data:$.get("data"),stack:$.get("stack"),markPoint:$.get("markPoint"),markLine:$.get("markLine")},V.get(["option","bar"])||{},!0)},stack:function(t,r,$,V){var oe=$.get("stack")===INNER_STACK_KEYWORD;if(t==="line"||t==="bar")return V.setIconStatus("stack",oe?"normal":"emphasis"),merge({id:r,stack:oe?"":INNER_STACK_KEYWORD},V.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=[];return t.eachRawSeries(function(oe){var ie=oe.coordinateSystem;if(ie&&(ie.type==="cartesian2d"||ie.type==="polar")){var le=ie.getBaseAxis();if(le.type==="category"){var ue=le.dim+"_"+le.index;r[ue]||(r[ue]={categoryAxis:le,valueAxis:ie.getOtherAxis(le),series:[]},V.push({axisDim:le.dim,axisIndex:le.index})),r[ue].series.push(oe)}else $.push(oe)}else $.push(oe)}),{seriesGroupByCategoryAxis:r,other:$,meta:V}}function assembleSeriesWithCategoryAxis(t){var r=[];return each$c(t,function($,V){var oe=$.categoryAxis,ie=$.valueAxis,le=ie.dim,ue=[" "].concat(map$2($.series,function(Ie){return Ie.name})),de=[oe.model.getCategories()];each$c($.series,function(Ie){var Ve=Ie.getRawData();de.push(Ie.getRawData().mapArray(Ve.mapDimension(le),function(Fe){return Fe}))});for(var pe=[ue.join(ITEM_SPLITER)],he=0;he<de[0].length;he++){for(var _e=[],$e=0;$e<de.length;$e++)_e.push(de[$e][he]);pe.push(_e.join(ITEM_SPLITER))}r.push(pe.join(`
|
||
`))}),r.join(`
|
||
|
||
`+BLOCK_SPLITER+`
|
||
|
||
`)}function assembleOtherSeries(t){return map$2(t,function(r){var $=r.getRawData(),V=[r.name],oe=[];return $.each($.dimensions,function(){for(var ie=arguments.length,le=arguments[ie-1],ue=$.getName(le),de=0;de<ie-1;de++)oe[de]=arguments[de];V.push((ue?ue+ITEM_SPLITER:"")+oe.join(ITEM_SPLITER))}),V.join(`
|
||
`)}).join(`
|
||
|
||
`+BLOCK_SPLITER+`
|
||
|
||
`)}function getContentFromModel(t){var r=groupSeries(t);return{value:filter([assembleSeriesWithCategoryAxis(r.seriesGroupByCategoryAxis),assembleOtherSeries(r.other)],function($){return!!$.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),$=trim(r.shift()).split(itemSplitRegex),V=[],oe=map$2($,function(de){return{name:de,data:[]}}),ie=0;ie<r.length;ie++){var le=trim(r[ie]).split(itemSplitRegex);V.push(le.shift());for(var ue=0;ue<le.length;ue++)oe[ue]&&(oe[ue].data[ie]=le[ue])}return{series:oe,categories:V}}function parseListContents(t){for(var r=t.split(/\n+/g),$=trim(r.shift()),V=[],oe=0;oe<r.length;oe++){var ie=trim(r[oe]);if(ie){var le=ie.split(itemSplitRegex),ue="",de=void 0,pe=!1;isNaN(le[0])?(pe=!0,ue=le[0],le=le.slice(1),V[oe]={name:ue,value:[]},de=V[oe].value):de=V[oe]=[];for(var he=0;he<le.length;he++)de.push(+le[he]);de.length===1&&(pe?V[oe].value=de[0]:V[oe]=de[0])}}return{name:$,data:V}}function parseContents(t,r){var $=t.split(new RegExp(`
|
||
*`+BLOCK_SPLITER+`
|
||
*`,"g")),V={series:[]};return each$c($,function(oe,ie){if(isTSVFormat(oe)){var le=parseTSVContents(oe),ue=r[ie],de=ue.axisDim+"Axis";ue&&(V[de]=V[de]||[],V[de][ue.axisIndex]={data:le.categories},V.series=V.series.concat(le.series))}else{var le=parseListContents(oe);V.series.push(le)}}),V}var DataView$1=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.onclick=function($,V){setTimeout(function(){V.dispatchAction({type:"hideTip"})});var oe=V.getDom(),ie=this.model;this._dom&&oe.removeChild(this._dom);var le=document.createElement("div");le.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",le.style.backgroundColor=ie.get("backgroundColor")||"#fff";var ue=document.createElement("h4"),de=ie.get("lang")||[];ue.innerHTML=de[0]||ie.get("title"),ue.style.cssText="margin:10px 20px",ue.style.color=ie.get("textColor");var pe=document.createElement("div"),he=document.createElement("textarea");pe.style.cssText="overflow:auto";var _e=ie.get("optionToContent"),$e=ie.get("contentToOption"),Ie=getContentFromModel($);if(isFunction(_e)){var Ve=_e(V.getOption());isString(Ve)?pe.innerHTML=Ve:isDom(Ve)&&pe.appendChild(Ve)}else{he.readOnly=ie.get("readOnly");var Fe=he.style;Fe.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",Fe.color=ie.get("textColor"),Fe.borderColor=ie.get("textareaBorderColor"),Fe.backgroundColor=ie.get("textareaColor"),he.value=Ie.value,pe.appendChild(he)}var Ue=Ie.meta,qe=document.createElement("div");qe.style.cssText="position:absolute;bottom:5px;left:0;right:0";var Et="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");Et+=";background-color:"+ie.get("buttonColor"),Et+=";color:"+ie.get("buttonTextColor");var Cn=this;function bn(){oe.removeChild(le),Cn._dom=null}addEventListener(Lt,"click",bn),addEventListener(hn,"click",function(){if($e==null&&_e!=null||$e!=null&&_e==null){bn();return}var Sn;try{isFunction($e)?Sn=$e(pe,V.getOption()):Sn=parseContents(he.value,Ue)}catch(En){throw bn(),new Error("Data view format error "+En)}Sn&&V.dispatchAction({type:"changeDataView",newOption:Sn}),bn()}),Lt.innerHTML=de[1],hn.innerHTML=de[2],hn.style.cssText=Lt.style.cssText=Et,!ie.get("readOnly")&&qe.appendChild(hn),qe.appendChild(Lt),le.appendChild(ue),le.appendChild(pe),le.appendChild(qe),pe.style.height=oe.clientHeight-80+"px",oe.appendChild(le),this._dom=le},r.prototype.remove=function($,V){this._dom&&V.getDom().removeChild(this._dom)},r.prototype.dispose=function($,V){this.remove($,V)},r.getDefaultOption=function($){var V={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:$.getLocaleModel().get(["toolbox","dataView","title"]),lang:$.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return V},r}(ToolboxFeature);function tryMergeDataOption(t,r){return map$2(t,function($,V){var oe=r&&r[V];if(isObject$3(oe)&&!isArray$1(oe)){var ie=isObject$3($)&&!isArray$1($);ie||($={value:$});var le=oe.name!=null&&$.name==null;return $=defaults($,oe),le&&delete $.name,$}else return $})}registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,r){var $=[];each$c(t.newOption.series,function(V){var oe=r.getSeriesByName(V.name)[0];if(!oe)$.push(extend({type:"scatter"},V));else{var ie=oe.get("data");$.push({name:V.name,data:tryMergeDataOption(V.data,ie)})}}),r.mergeOption(defaults({series:$},t.newOption))});const DataView$2=DataView$1;var each$6=each$c,inner$1=makeInner();function push(t,r){var $=getStoreSnapshots(t);each$6(r,function(V,oe){for(var ie=$.length-1;ie>=0;ie--){var le=$[ie];if(le[oe])break}if(ie<0){var ue=t.queryComponents({mainType:"dataZoom",subType:"select",id:oe})[0];if(ue){var de=ue.getPercentRange();$[0][oe]={dataZoomId:oe,start:de[0],end:de[1]}}}}),$.push(r)}function pop(t){var r=getStoreSnapshots(t),$=r[r.length-1];r.length>1&&r.pop();var V={};return each$6($,function(oe,ie){for(var le=r.length-1;le>=0;le--)if(oe=r[le][ie],oe){V[ie]=oe;break}}),V}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){clear($),V.dispatchAction({type:"restore",from:this.uid})},r.getDefaultOption=function($){var V={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:$.getLocaleModel().get(["toolbox","restore","title"])};return V},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){var oe=this;this._targetInfoList=[];var ie=parseFinder($,r);each$c(targetInfoBuilders,function(le,ue){(!V||!V.include||indexOf(V.include,ue)>=0)&&le(ie,oe._targetInfoList)})}return t.prototype.setOutputRanges=function(r,$){return this.matchOutputRanges(r,$,function(V,oe,ie){if((V.coordRanges||(V.coordRanges=[])).push(oe),!V.coordRange){V.coordRange=oe;var le=coordConvert[V.brushType](0,ie,oe);V.__rangeOffset={offset:diffProcessor[V.brushType](le.values,V.range,[1,1]),xyMinMax:le.xyMinMax}}}),r},t.prototype.matchOutputRanges=function(r,$,V){each$c(r,function(oe){var ie=this.findTargetInfo(oe,$);ie&&ie!==!0&&each$c(ie.coordSyses,function(le){var ue=coordConvert[oe.brushType](1,le,oe.range,!0);V(oe,ue.values,le,$)})},this)},t.prototype.setInputRanges=function(r,$){each$c(r,function(V){var oe=this.findTargetInfo(V,$);if(V.range=V.range||[],oe&&oe!==!0){V.panelId=oe.panelId;var ie=coordConvert[V.brushType](0,oe.coordSys,V.coordRange),le=V.__rangeOffset;V.range=le?diffProcessor[V.brushType](ie.values,le.offset,getScales(ie.xyMinMax,le.xyMinMax)):ie.values}},this)},t.prototype.makePanelOpts=function(r,$){return map$2(this._targetInfoList,function(V){var oe=V.getPanelRect();return{panelId:V.panelId,defaultBrushType:$?$(V):null,clipPath:makeRectPanelClipPath(oe),isTargetByCursor:makeRectIsTargetByCursor(oe,r,V.coordSysModel),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(oe)}})},t.prototype.controlSeries=function(r,$,V){var oe=this.findTargetInfo(r,V);return oe===!0||oe&&indexOf(oe.coordSyses,$.coordinateSystem)>=0},t.prototype.findTargetInfo=function(r,$){for(var V=this._targetInfoList,oe=parseFinder($,r),ie=0;ie<V.length;ie++){var le=V[ie],ue=r.panelId;if(ue){if(le.panelId===ue)return le}else for(var de=0;de<targetInfoMatchers.length;de++)if(targetInfoMatchers[de](oe,le))return le}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 $=t.xAxisModels,V=t.yAxisModels,oe=t.gridModels,ie=createHashMap(),le={},ue={};!$&&!V&&!oe||(each$c($,function(de){var pe=de.axis.grid.model;ie.set(pe.id,pe),le[pe.id]=!0}),each$c(V,function(de){var pe=de.axis.grid.model;ie.set(pe.id,pe),ue[pe.id]=!0}),each$c(oe,function(de){ie.set(de.id,de),le[de.id]=!0,ue[de.id]=!0}),ie.each(function(de){var pe=de.coordinateSystem,he=[];each$c(pe.getCartesians(),function(_e,$e){(indexOf($,_e.getAxis("x").model)>=0||indexOf(V,_e.getAxis("y").model)>=0)&&he.push(_e)}),r.push({panelId:"grid--"+de.id,gridModel:de,coordSysModel:de,coordSys:he[0],coordSyses:he,getPanelRect:panelRectBuilders.grid,xAxisDeclared:le[de.id],yAxisDeclared:ue[de.id]})}))},geo:function(t,r){each$c(t.geoModels,function($){var V=$.coordinateSystem;r.push({panelId:"geo--"+$.id,geoModel:$,coordSysModel:$,coordSys:V,coordSyses:[V],getPanelRect:panelRectBuilders.geo})})}},targetInfoMatchers=[function(t,r){var $=t.xAxisModel,V=t.yAxisModel,oe=t.gridModel;return!oe&&$&&(oe=$.axis.grid.model),!oe&&V&&(oe=V.axis.grid.model),oe&&oe===r.gridModel},function(t,r){var $=t.geoModel;return $&&$===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){var oe=t?r.pointToData([$[0][0],$[1][0]],V):r.dataToPoint([$[0][0],$[1][0]],V),ie=t?r.pointToData([$[0][1],$[1][1]],V):r.dataToPoint([$[0][1],$[1][1]],V),le=[formatMinMax([oe[0],ie[0]]),formatMinMax([oe[1],ie[1]])];return{values:le,xyMinMax:le}},polygon:function(t,r,$,V){var oe=[[1/0,-1/0],[1/0,-1/0]],ie=map$2($,function(le){var ue=t?r.pointToData(le,V):r.dataToPoint(le,V);return oe[0][0]=Math.min(oe[0][0],ue[0]),oe[1][0]=Math.min(oe[1][0],ue[1]),oe[0][1]=Math.max(oe[0][1],ue[0]),oe[1][1]=Math.max(oe[1][1],ue[1]),ue});return{values:ie,xyMinMax:oe}}};function axisConvert(t,r,$,V){var oe=$.getAxis(["x","y"][t]),ie=formatMinMax(map$2([0,1],function(ue){return r?oe.coordToData(oe.toLocalCoord(V[ue]),!0):oe.toGlobalCoord(oe.dataToCoord(V[ue]))})),le=[];return le[t]=ie,le[1-t]=[NaN,NaN],{values:ie,xyMinMax:le}}var diffProcessor={lineX:curry$1(axisDiffProcessor,0),lineY:curry$1(axisDiffProcessor,1),rect:function(t,r,$){return[[t[0][0]-$[0]*r[0][0],t[0][1]-$[0]*r[0][1]],[t[1][0]-$[1]*r[1][0],t[1][1]-$[1]*r[1][1]]]},polygon:function(t,r,$){return map$2(t,function(V,oe){return[V[0]-$[0]*r[oe][0],V[1]-$[1]*r[oe][1]]})}};function axisDiffProcessor(t,r,$,V){return[r[0]-V[t]*$[0],r[1]-V[t]*$[1]]}function getScales(t,r){var $=getSize(t),V=getSize(r),oe=[$[0]/V[0],$[1]/V[1]];return isNaN(oe[0])&&(oe[0]=1),isNaN(oe[1])&&(oe[1]=1),oe}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){this._brushController||(this._brushController=new BrushController$1(oe.getZr()),this._brushController.on("brush",bind$1(this._onBrush,this)).mount()),updateZoomBtnStatus($,V,this,ie,oe),updateBackBtnStatus($,V)},r.prototype.onclick=function($,V,oe){handlers[oe].call(this)},r.prototype.remove=function($,V){this._brushController&&this._brushController.unmount()},r.prototype.dispose=function($,V){this._brushController&&this._brushController.dispose()},r.prototype._onBrush=function($){var V=$.areas;if(!$.isEnd||!V.length)return;var oe={},ie=this.ecModel;this._brushController.updateCovers([]);var le=new BrushTargetManager$1(makeAxisFinder(this.model),ie,{include:["grid"]});le.matchOutputRanges(V,ie,function(pe,he,_e){if(_e.type==="cartesian2d"){var $e=pe.brushType;$e==="rect"?(ue("x",_e,he[0]),ue("y",_e,he[1])):ue({lineX:"x",lineY:"y"}[$e],_e,he)}}),push(ie,oe),this._dispatchZoomAction(oe);function ue(pe,he,_e){var $e=he.getAxis(pe),Ie=$e.model,Ve=de(pe,Ie,ie),Fe=Ve.findRepresentativeAxisProxy(Ie).getMinMaxSpan();(Fe.minValueSpan!=null||Fe.maxValueSpan!=null)&&(_e=sliderMove(0,_e.slice(),$e.scale.getExtent(),0,Fe.minValueSpan,Fe.maxValueSpan)),Ve&&(oe[Ve.id]={dataZoomId:Ve.id,startValue:_e[0],endValue:_e[1]})}function de(pe,he,_e){var $e;return _e.eachComponent({mainType:"dataZoom",subType:"select"},function(Ie){var Ve=Ie.getAxisModel(pe,he.componentIndex);Ve&&($e=Ie)}),$e}},r.prototype._dispatchZoomAction=function($){var V=[];each$5($,function(oe,ie){V.push(clone$3(oe))}),V.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:V})},r.getDefaultOption=function($){var V={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:$.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return V},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){var ie=$._isZoomActive;V&&V.type==="takeGlobalCursor"&&(ie=V.key==="dataZoomSelect"?V.dataZoomSelectActive:!1),$._isZoomActive=ie,t.setIconStatus("zoom",ie?"emphasis":"normal");var le=new BrushTargetManager$1(makeAxisFinder(t),r,{include:["grid"]}),ue=le.makePanelOpts(oe,function(de){return de.xAxisDeclared&&!de.yAxisDeclared?"lineX":!de.xAxisDeclared&&de.yAxisDeclared?"lineY":"rect"});$._brushController.setPanels(ue).enableBrush(ie&&ue.length?{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()}:!1)}registerInternalOptionCreator("dataZoom",function(t){var r=t.getComponent("toolbox",0),$=["feature","dataZoom"];if(!r||r.get($)==null)return;var V=r.getModel($),oe=[],ie=makeAxisFinder(V),le=parseFinder$1(t,ie);each$5(le.xAxisModels,function(de){return ue(de,"xAxis","xAxisIndex")}),each$5(le.yAxisModels,function(de){return ue(de,"yAxis","yAxisIndex")});function ue(de,pe,he){var _e=de.componentIndex,$e={type:"select",$fromToolbox:!0,filterMode:V.get("filterMode",!0)||"filter",id:DATA_ZOOM_ID_BASE+pe+_e};$e[he]=_e,oe.push($e)}return oe});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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}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,$=0,V=t.length;$<V;$++)if(t[$]in r)return t[$]}}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 $=t.indexOf(r);return t=$===-1?r:"-"+t.slice(0,$)+"-"+r,t.toLowerCase()}function getComputedStyle$1(t,r){var $=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return $?r?$[r]:$: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,$){if(!isString($)||$==="inside")return"";var V=t.get("backgroundColor"),oe=t.get("borderWidth");r=convertToColorString(r);var ie=mirrorPos($),le=Math.max(Math.round(oe)*1.5,6),ue="",de=CSS_TRANSFORM_VENDOR+":",pe;indexOf(["left","right"],ie)>-1?(ue+="top:50%",de+="translateY(-50%) rotate("+(pe=ie==="left"?-225:-45)+"deg)"):(ue+="left:50%",de+="translateX(-50%) rotate("+(pe=ie==="top"?225:45)+"deg)");var he=pe*Math.PI/180,_e=le+oe,$e=_e*Math.abs(Math.cos(he))+_e*Math.abs(Math.sin(he)),Ie=Math.round((($e-Math.SQRT2*oe)/2+Math.SQRT2*oe-($e-_e)/2)*100)/100;ue+=";"+ie+":-"+Ie+"px";var Ve=r+" solid "+oe+"px;",Fe=["position:absolute;width:"+le+"px;height:"+le+"px;z-index:-1;",ue+";"+de+";","border-bottom:"+Ve,"border-right:"+Ve,"background-color:"+V+";"];return'<div style="'+Fe.join("")+'"></div>'}function assembleTransition(t,r){var $="cubic-bezier(0.23,1,0.32,1)",V=" "+t/2+"s "+$,oe="opacity"+V+",visibility"+V;return r||(V=" "+t+"s "+$,oe+=env$1.transformSupported?","+CSS_TRANSFORM_VENDOR+V:",left"+V+",top"+V),CSS_TRANSITION_VENDOR+":"+oe}function assembleTransform(t,r,$){var V=t.toFixed(0)+"px",oe=r.toFixed(0)+"px";if(!env$1.transformSupported)return $?"top:"+oe+";left:"+V+";":[["top",oe],["left",V]];var ie=env$1.transform3dSupported,le="translate"+(ie?"3d":"")+"("+V+","+oe+(ie?",0":"")+")";return $?"top:0;left:0;"+CSS_TRANSFORM_VENDOR+":"+le+";":[["top",0],["left",0],[TRANSFORM_VENDOR,le]]}function assembleFont(t){var r=[],$=t.get("fontSize"),V=t.getTextColor();V&&r.push("color:"+V),r.push("font:"+t.getFont()),$&&r.push("line-height:"+Math.round($*3/2)+"px");var oe=t.get("textShadowColor"),ie=t.get("textShadowBlur")||0,le=t.get("textShadowOffsetX")||0,ue=t.get("textShadowOffsetY")||0;return oe&&ie&&r.push("text-shadow:"+le+"px "+ue+"px "+ie+"px "+oe),each$c(["decoration","align"],function(de){var pe=t.get(de);pe&&r.push("text-"+de+":"+pe)}),r.join(";")}function assembleCssText(t,r,$){var V=[],oe=t.get("transitionDuration"),ie=t.get("backgroundColor"),le=t.get("shadowBlur"),ue=t.get("shadowColor"),de=t.get("shadowOffsetX"),pe=t.get("shadowOffsetY"),he=t.getModel("textStyle"),_e=getPaddingFromTooltipModel(t,"html"),$e=de+"px "+pe+"px "+le+"px "+ue;return V.push("box-shadow:"+$e),r&&oe&&V.push(assembleTransition(oe,$)),ie&&V.push("background-color:"+ie),each$c(["width","color","radius"],function(Ie){var Ve="border-"+Ie,Fe=toCamelCase(Ve),Ue=t.get(Fe);Ue!=null&&V.push(Ve+":"+Ue+(Ie==="color"?"":"px"))}),V.push(assembleFont(he)),_e!=null&&V.push("padding:"+normalizeCssArray(_e).join("px ")+"px"),V.join(";")+";"}function makeStyleCoord$1(t,r,$,V,oe){var ie=r&&r.painter;if($){var le=ie&&ie.getViewportRoot();le&&transformLocalCoord(t,le,document.body,V,oe)}else{t[0]=V,t[1]=oe;var ue=ie&&ie.getViewportRootOffset();ue&&(t[0]+=ue.offsetLeft,t[1]+=ue.offsetTop)}t[2]=t[0]/r.getWidth(),t[3]=t[1]/r.getHeight()}var TooltipHTMLContent=function(){function t(r,$,V){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 oe=document.createElement("div");oe.domBelongToZr=!0,this.el=oe;var ie=this._zr=$.getZr(),le=this._appendToBody=V&&V.appendToBody;makeStyleCoord$1(this._styleCoord,ie,le,$.getWidth()/2,$.getHeight()/2),le?document.body.appendChild(oe):r.appendChild(oe),this._container=r;var ue=this;oe.onmouseenter=function(){ue._enterable&&(clearTimeout(ue._hideTimeout),ue._show=!0),ue._inContent=!0},oe.onmousemove=function(de){if(de=de||window.event,!ue._enterable){var pe=ie.handler,he=ie.painter.getViewportRoot();normalizeEvent(he,de,!0),pe.dispatch("mousemove",de)}},oe.onmouseleave=function(){ue._inContent=!1,ue._enterable&&ue._show&&ue.hideLater(ue._hideDelay)}}return t.prototype.update=function(r){var $=this._container,V=getComputedStyle$1($,"position"),oe=$.style;oe.position!=="absolute"&&V!=="absolute"&&(oe.position="relative");var ie=r.get("alwaysShowContent");ie&&this._moveIfResized(),this._alwaysShowContent=ie,this.el.className=r.get("className")||""},t.prototype.show=function(r,$){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var V=this.el,oe=V.style,ie=this._styleCoord;V.innerHTML?oe.cssText=gCssText+assembleCssText(r,!this._firstShow,this._longHide)+assembleTransform(ie[0],ie[1],!0)+("border-color:"+convertToColorString($)+";")+(r.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):oe.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(r,$,V,oe,ie){var le=this.el;if(r==null){le.innerHTML="";return}var ue="";if(isString(ie)&&V.get("trigger")==="item"&&!shouldTooltipConfine(V)&&(ue=assembleArrow(V,oe,ie)),isString(r))le.innerHTML=r+ue;else if(r){le.innerHTML="",isArray$1(r)||(r=[r]);for(var de=0;de<r.length;de++)isDom(r[de])&&r[de].parentNode!==le&&le.appendChild(r[de]);if(ue&&le.childNodes.length){var pe=document.createElement("div");pe.innerHTML=ue,le.appendChild(pe)}}},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,$){var V=this._styleCoord;if(makeStyleCoord$1(V,this._zr,this._appendToBody,r,$),V[0]!=null&&V[1]!=null){var oe=this.el.style,ie=assembleTransform(V[0],V[1]);each$c(ie,function(le){oe[le[0]]=le[1]})}},t.prototype._moveIfResized=function(){var r=this._styleCoord[2],$=this._styleCoord[3];this.moveTo(r*this._zr.getWidth(),$*this._zr.getHeight())},t.prototype.hide=function(){var r=this,$=this.el.style;$.visibility="hidden",$.opacity="0",env$1.transform3dSupported&&($.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 $=r.get("alwaysShowContent");$&&this._moveIfResized(),this._alwaysShowContent=$},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(r,$,V,oe,ie){var le=this;isObject$3(r)&&throwError(""),this.el&&this._zr.remove(this.el);var ue=V.getModel("textStyle");this.el=new ZRText$1({style:{rich:$.richTextStyles,text:r,lineHeight:22,borderWidth:1,borderColor:oe,textShadowColor:ue.get("textShadowColor"),fill:V.get(["textStyle","color"]),padding:getPaddingFromTooltipModel(V,"richText"),verticalAlign:"top",align:"left"},z:V.get("z")}),each$c(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(pe){le.el.style[pe]=V.get(pe)}),each$c(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(pe){le.el.style[pe]=ue.get(pe)||0}),this._zr.add(this.el);var de=this;this.el.on("mouseover",function(){de._enterable&&(clearTimeout(de._hideTimeout),de._show=!0),de._inContent=!0}),this.el.on("mouseout",function(){de._enterable&&de._show&&de.hideLater(de._hideDelay),de._inContent=!1})},t.prototype.setEnterable=function(r){this._enterable=r},t.prototype.getSize=function(){var r=this.el,$=this.el.getBoundingRect(),V=calcShadowOuterSize(r.style);return[$.width+V.left+V.right,$.height+V.top+V.bottom]},t.prototype.moveTo=function(r,$){var V=this.el;if(V){var oe=this._styleCoord;makeStyleCoord(oe,this._zr,r,$),r=oe[0],$=oe[1];var ie=V.style,le=mathMaxWith0(ie.borderWidth||0),ue=calcShadowOuterSize(ie);V.x=r+le+ue.left,V.y=$+le+ue.top,V.markRedraw()}},t.prototype._moveIfResized=function(){var r=this._styleCoord[2],$=this._styleCoord[3];this.moveTo(r*this._zr.getWidth(),$*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),$=mathMaxWith0(t.shadowOffsetX||0),V=mathMaxWith0(t.shadowOffsetY||0);return{left:mathMaxWith0(r-$),right:mathMaxWith0(r+$),top:mathMaxWith0(r-V),bottom:mathMaxWith0(r+V)}}function makeStyleCoord(t,r,$,V){t[0]=$,t[1]=V,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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.prototype.init=function($,V){if(!(env$1.node||!V.getDom())){var oe=$.getComponent("tooltip"),ie=this._renderMode=getTooltipRenderMode(oe.get("renderMode"));this._tooltipContent=ie==="richText"?new TooltipRichContent$1(V):new TooltipHTMLContent$1(V.getDom(),V,{appendToBody:oe.get("appendToBody",!0)})}},r.prototype.render=function($,V,oe){if(!(env$1.node||!oe.getDom())){this.group.removeAll(),this._tooltipModel=$,this._ecModel=V,this._api=oe;var ie=this._tooltipContent;ie.update($),ie.setEnterable($.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&$.get("transitionDuration")?createOrUpdate(this,"_updatePosition",50,"fixRate"):clear$1(this,"_updatePosition")}},r.prototype._initGlobalListener=function(){var $=this._tooltipModel,V=$.get("triggerOn");register("itemTooltip",this._api,bind$1(function(oe,ie,le){V!=="none"&&(V.indexOf(oe)>=0?this._tryShow(ie,le):oe==="leave"&&this._hide(le))},this))},r.prototype._keepShow=function(){var $=this._tooltipModel,V=this._ecModel,oe=this._api,ie=$.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&ie!=="none"&&ie!=="click"){var le=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!oe.isDisposed()&&le.manuallyShowTip($,V,oe,{x:le._lastX,y:le._lastY,dataByCoordSys:le._lastDataByCoordSys})})}},r.prototype.manuallyShowTip=function($,V,oe,ie){if(!(ie.from===this.uid||env$1.node||!oe.getDom())){var le=makeDispatchAction(ie,oe);this._ticket="";var ue=ie.dataByCoordSys,de=findComponentReference(ie,V,oe);if(de){var pe=de.el.getBoundingRect().clone();pe.applyTransform(de.el.transform),this._tryShow({offsetX:pe.x+pe.width/2,offsetY:pe.y+pe.height/2,target:de.el,position:ie.position,positionDefault:"bottom"},le)}else if(ie.tooltip&&ie.x!=null&&ie.y!=null){var he=proxyRect;he.x=ie.x,he.y=ie.y,he.update(),getECData(he).tooltipConfig={name:null,option:ie.tooltip},this._tryShow({offsetX:ie.x,offsetY:ie.y,target:he},le)}else if(ue)this._tryShow({offsetX:ie.x,offsetY:ie.y,position:ie.position,dataByCoordSys:ue,tooltipOption:ie.tooltipOption},le);else if(ie.seriesIndex!=null){if(this._manuallyAxisShowTip($,V,oe,ie))return;var _e=findPointFromSeries(ie,V),$e=_e.point[0],Ie=_e.point[1];$e!=null&&Ie!=null&&this._tryShow({offsetX:$e,offsetY:Ie,target:_e.el,position:ie.position,positionDefault:"bottom"},le)}else ie.x!=null&&ie.y!=null&&(oe.dispatchAction({type:"updateAxisPointer",x:ie.x,y:ie.y}),this._tryShow({offsetX:ie.x,offsetY:ie.y,position:ie.position,target:oe.getZr().findHover(ie.x,ie.y).target},le))}},r.prototype.manuallyHideTip=function($,V,oe,ie){var le=this._tooltipContent;this._tooltipModel&&le.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,ie.from!==this.uid&&this._hide(makeDispatchAction(ie,oe))},r.prototype._manuallyAxisShowTip=function($,V,oe,ie){var le=ie.seriesIndex,ue=ie.dataIndex,de=V.getComponent("axisPointer").coordSysAxesInfo;if(!(le==null||ue==null||de==null)){var pe=V.getSeriesByIndex(le);if(pe){var he=pe.getData(),_e=buildTooltipModel([he.getItemModel(ue),pe,(pe.coordinateSystem||{}).model],this._tooltipModel);if(_e.get("trigger")==="axis")return oe.dispatchAction({type:"updateAxisPointer",seriesIndex:le,dataIndex:ue,position:ie.position}),!0}}},r.prototype._tryShow=function($,V){var oe=$.target,ie=this._tooltipModel;if(ie){this._lastX=$.offsetX,this._lastY=$.offsetY;var le=$.dataByCoordSys;if(le&&le.length)this._showAxisTooltip(le,$);else if(oe){this._lastDataByCoordSys=null;var ue,de;findEventDispatcher(oe,function(pe){if(getECData(pe).dataIndex!=null)return ue=pe,!0;if(getECData(pe).tooltipConfig!=null)return de=pe,!0},!0),ue?this._showSeriesItemTooltip($,ue,V):de?this._showComponentItemTooltip($,de,V):this._hide(V)}else this._lastDataByCoordSys=null,this._hide(V)}},r.prototype._showOrMove=function($,V){var oe=$.get("showDelay");V=bind$1(V,this),clearTimeout(this._showTimout),oe>0?this._showTimout=setTimeout(V,oe):V()},r.prototype._showAxisTooltip=function($,V){var oe=this._ecModel,ie=this._tooltipModel,le=[V.offsetX,V.offsetY],ue=buildTooltipModel([V.tooltipOption],ie),de=this._renderMode,pe=[],he=createTooltipMarkup("section",{blocks:[],noHeader:!0}),_e=[],$e=new TooltipMarkupStyleCreator;each$c($,function(Et){each$c(Et.dataByAxis,function(Lt){var hn=oe.getComponent(Lt.axisDim+"Axis",Lt.axisIndex),Cn=Lt.value;if(!(!hn||Cn==null)){var bn=getValueLabel(Cn,hn.axis,oe,Lt.seriesDataIndices,Lt.valueLabelOpt),Sn=createTooltipMarkup("section",{header:bn,noHeader:!trim$1(bn),sortBlocks:!0,blocks:[]});he.blocks.push(Sn),each$c(Lt.seriesDataIndices,function(En){var wn=oe.getSeriesByIndex(En.seriesIndex),$n=En.dataIndexInside,Tn=wn.getDataParams($n);if(!(Tn.dataIndex<0)){Tn.axisDim=Lt.axisDim,Tn.axisIndex=Lt.axisIndex,Tn.axisType=Lt.axisType,Tn.axisId=Lt.axisId,Tn.axisValue=getAxisRawValue(hn.axis,{value:Cn}),Tn.axisValueLabel=bn,Tn.marker=$e.makeTooltipMarker("item",convertToColorString(Tn.color),de);var xn=normalizeTooltipFormatResult(wn.formatTooltip($n,!0,null)),An=xn.frag;if(An){var Mn=buildTooltipModel([wn],ie).get("valueFormatter");Sn.blocks.push(Mn?extend({valueFormatter:Mn},An):An)}xn.text&&_e.push(xn.text),pe.push(Tn)}})}})}),he.blocks.reverse(),_e.reverse();var Ie=V.position,Ve=ue.get("order"),Fe=buildTooltipMarkup(he,$e,de,Ve,oe.get("useUTC"),ue.get("textStyle"));Fe&&_e.unshift(Fe);var Ue=de==="richText"?`
|
||
|
||
`:"<br/>",qe=_e.join(Ue);this._showOrMove(ue,function(){this._updateContentNotChangedOnAxis($,pe)?this._updatePosition(ue,Ie,le[0],le[1],this._tooltipContent,pe):this._showTooltipContent(ue,qe,pe,Math.random()+"",le[0],le[1],Ie,null,$e)})},r.prototype._showSeriesItemTooltip=function($,V,oe){var ie=this._ecModel,le=getECData(V),ue=le.seriesIndex,de=ie.getSeriesByIndex(ue),pe=le.dataModel||de,he=le.dataIndex,_e=le.dataType,$e=pe.getData(_e),Ie=this._renderMode,Ve=$.positionDefault,Fe=buildTooltipModel([$e.getItemModel(he),pe,de&&(de.coordinateSystem||{}).model],this._tooltipModel,Ve?{position:Ve}:null),Ue=Fe.get("trigger");if(!(Ue!=null&&Ue!=="item")){var qe=pe.getDataParams(he,_e),Et=new TooltipMarkupStyleCreator;qe.marker=Et.makeTooltipMarker("item",convertToColorString(qe.color),Ie);var Lt=normalizeTooltipFormatResult(pe.formatTooltip(he,!1,_e)),hn=Fe.get("order"),Cn=Fe.get("valueFormatter"),bn=Lt.frag,Sn=bn?buildTooltipMarkup(Cn?extend({valueFormatter:Cn},bn):bn,Et,Ie,hn,ie.get("useUTC"),Fe.get("textStyle")):Lt.text,En="item_"+pe.name+"_"+he;this._showOrMove(Fe,function(){this._showTooltipContent(Fe,Sn,qe,En,$.offsetX,$.offsetY,$.position,$.target,Et)}),oe({type:"showTip",dataIndexInside:he,dataIndex:$e.getRawIndex(he),seriesIndex:ue,from:this.uid})}},r.prototype._showComponentItemTooltip=function($,V,oe){var ie=getECData(V),le=ie.tooltipConfig,ue=le.option||{};if(isString(ue)){var de=ue;ue={content:de,formatter:de}}var pe=[ue],he=this._ecModel.getComponent(ie.componentMainType,ie.componentIndex);he&&pe.push(he),pe.push({formatter:ue.content});var _e=$.positionDefault,$e=buildTooltipModel(pe,this._tooltipModel,_e?{position:_e}:null),Ie=$e.get("content"),Ve=Math.random()+"",Fe=new TooltipMarkupStyleCreator;this._showOrMove($e,function(){var Ue=clone$3($e.get("formatterParams")||{});this._showTooltipContent($e,Ie,Ue,Ve,$.offsetX,$.offsetY,$.position,V,Fe)}),oe({type:"showTip",from:this.uid})},r.prototype._showTooltipContent=function($,V,oe,ie,le,ue,de,pe,he){if(this._ticket="",!(!$.get("showContent")||!$.get("show"))){var _e=this._tooltipContent;_e.setEnterable($.get("enterable"));var $e=$.get("formatter");de=de||$.get("position");var Ie=V,Ve=this._getNearestPoint([le,ue],oe,$.get("trigger"),$.get("borderColor")),Fe=Ve.color;if($e)if(isString($e)){var Ue=$.ecModel.get("useUTC"),qe=isArray$1(oe)?oe[0]:oe,Et=qe&&qe.axisType&&qe.axisType.indexOf("time")>=0;Ie=$e,Et&&(Ie=format$1(qe.axisValue,Ie,Ue)),Ie=formatTpl(Ie,oe,!0)}else if(isFunction($e)){var Lt=bind$1(function(hn,Cn){hn===this._ticket&&(_e.setContent(Cn,he,$,Fe,de),this._updatePosition($,de,le,ue,_e,oe,pe))},this);this._ticket=ie,Ie=$e(oe,ie,Lt)}else Ie=$e;_e.setContent(Ie,he,$,Fe,de),_e.show($,Fe),this._updatePosition($,de,le,ue,_e,oe,pe)}},r.prototype._getNearestPoint=function($,V,oe,ie){if(oe==="axis"||isArray$1(V))return{color:ie||(this._renderMode==="html"?"#fff":"none")};if(!isArray$1(V))return{color:ie||V.color||V.borderColor}},r.prototype._updatePosition=function($,V,oe,ie,le,ue,de){var pe=this._api.getWidth(),he=this._api.getHeight();V=V||$.get("position");var _e=le.getSize(),$e=$.get("align"),Ie=$.get("verticalAlign"),Ve=de&&de.getBoundingRect().clone();if(de&&Ve.applyTransform(de.transform),isFunction(V)&&(V=V([oe,ie],ue,le.el,Ve,{viewSize:[pe,he],contentSize:_e.slice()})),isArray$1(V))oe=parsePercent(V[0],pe),ie=parsePercent(V[1],he);else if(isObject$3(V)){var Fe=V;Fe.width=_e[0],Fe.height=_e[1];var Ue=getLayoutRect(Fe,{width:pe,height:he});oe=Ue.x,ie=Ue.y,$e=null,Ie=null}else if(isString(V)&&de){var qe=calcTooltipPosition(V,Ve,_e,$.get("borderWidth"));oe=qe[0],ie=qe[1]}else{var qe=refixTooltipPosition(oe,ie,le,pe,he,$e?null:20,Ie?null:20);oe=qe[0],ie=qe[1]}if($e&&(oe-=isCenterAlign($e)?_e[0]/2:$e==="right"?_e[0]:0),Ie&&(ie-=isCenterAlign(Ie)?_e[1]/2:Ie==="bottom"?_e[1]:0),shouldTooltipConfine($)){var qe=confineTooltipPosition(oe,ie,le,pe,he);oe=qe[0],ie=qe[1]}le.moveTo(oe,ie)},r.prototype._updateContentNotChangedOnAxis=function($,V){var oe=this._lastDataByCoordSys,ie=this._cbParamsList,le=!!oe&&oe.length===$.length;return le&&each$c(oe,function(ue,de){var pe=ue.dataByAxis||[],he=$[de]||{},_e=he.dataByAxis||[];le=le&&pe.length===_e.length,le&&each$c(pe,function($e,Ie){var Ve=_e[Ie]||{},Fe=$e.seriesDataIndices||[],Ue=Ve.seriesDataIndices||[];le=le&&$e.value===Ve.value&&$e.axisType===Ve.axisType&&$e.axisId===Ve.axisId&&Fe.length===Ue.length,le&&each$c(Fe,function(qe,Et){var Lt=Ue[Et];le=le&&qe.seriesIndex===Lt.seriesIndex&&qe.dataIndex===Lt.dataIndex}),ie&&each$c($e.seriesDataIndices,function(qe){var Et=qe.seriesIndex,Lt=V[Et],hn=ie[Et];Lt&&hn&&hn.data!==Lt.data&&(le=!1)})})}),this._lastDataByCoordSys=$,this._cbParamsList=V,!!le},r.prototype._hide=function($){this._lastDataByCoordSys=null,$({type:"hideTip",from:this.uid})},r.prototype.dispose=function($,V){env$1.node||!V.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",V))},r.type="tooltip",r}(ComponentView$1);function buildTooltipModel(t,r,$){var V=r.ecModel,oe;$?(oe=new Model$1($,V,V),oe=new Model$1(r.option,oe,V)):oe=r;for(var ie=t.length-1;ie>=0;ie--){var le=t[ie];le&&(le instanceof Model$1&&(le=le.get("tooltip",!0)),isString(le)&&(le={formatter:le}),le&&(oe=new Model$1(le,oe,V)))}return oe}function makeDispatchAction(t,r){return t.dispatchAction||bind$1(r.dispatchAction,r)}function refixTooltipPosition(t,r,$,V,oe,ie,le){var ue=$.getSize(),de=ue[0],pe=ue[1];return ie!=null&&(t+de+ie+2>V?t-=de+ie:t+=ie),le!=null&&(r+pe+le>oe?r-=pe+le:r+=le),[t,r]}function confineTooltipPosition(t,r,$,V,oe){var ie=$.getSize(),le=ie[0],ue=ie[1];return t=Math.min(t+le,V)-le,r=Math.min(r+ue,oe)-ue,t=Math.max(t,0),r=Math.max(r,0),[t,r]}function calcTooltipPosition(t,r,$,V){var oe=$[0],ie=$[1],le=Math.ceil(Math.SQRT2*V)+8,ue=0,de=0,pe=r.width,he=r.height;switch(t){case"inside":ue=r.x+pe/2-oe/2,de=r.y+he/2-ie/2;break;case"top":ue=r.x+pe/2-oe/2,de=r.y-ie-le;break;case"bottom":ue=r.x+pe/2-oe/2,de=r.y+he+le;break;case"left":ue=r.x-oe-le,de=r.y+he/2-ie/2;break;case"right":ue=r.x+pe+le,de=r.y+he/2-ie/2}return[ue,de]}function isCenterAlign(t){return t==="center"||t==="middle"}function findComponentReference(t,r,$){var V=preParseFinder(t).queryOptionMap,oe=V.keys()[0];if(!(!oe||oe==="series")){var ie=queryReferringComponents(r,oe,V.get(oe),{useDefault:!1,enableAll:!1,enableNone:!1}),le=ie.models[0];if(le){var ue=$.getViewOfComponentModel(le),de;if(ue.group.traverse(function(pe){var he=getECData(pe).tooltipConfig;if(he&&he.name===t.name)return de=pe,!0}),de)return{componentMainType:oe,componentIndex:le.componentIndex,el:de}}}}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,$){var V={};return each$4(r,function(ie){var le=V[ie]=oe();each$4(t[ie],function(ue,de){if(VisualMapping$1.isValidType(de)){var pe={type:de,visual:ue};$&&$(pe,ie),le[de]=new VisualMapping$1(pe),de==="opacity"&&(pe=clone$3(pe),pe.type="colorAlpha",le.__hidden.__alphaForOpacity=new VisualMapping$1(pe))}})}),V;function oe(){var ie=function(){};ie.prototype.__hidden=ie.prototype;var le=new ie;return le}}function replaceVisualOption(t,r,$){var V;each$c($,function(oe){r.hasOwnProperty(oe)&&hasKeys(r[oe])&&(V=!0)}),V&&each$c($,function(oe){r.hasOwnProperty(oe)&&hasKeys(r[oe])?t[oe]=clone$3(r[oe]):delete t[oe]})}function incrementalApplyVisual(t,r,$,V){var oe={};return each$c(t,function(ie){var le=VisualMapping$1.prepareVisualTypes(r[ie]);oe[ie]=le}),{progress:function(le,ue){var de;V!=null&&(de=ue.getDimensionIndex(V));function pe(Cn){return getItemVisualFromData(ue,_e,Cn)}function he(Cn,bn){setItemVisualFromData(ue,_e,Cn,bn)}for(var _e,$e=ue.getStore();(_e=le.next())!=null;){var Ie=ue.getRawDataItem(_e);if(!(Ie&&Ie.visualMap===!1))for(var Ve=V!=null?$e.get(de,_e):_e,Fe=$(Ve),Ue=r[Fe],qe=oe[Fe],Et=0,Lt=qe.length;Et<Lt;Et++){var hn=qe[Et];Ue[hn]&&Ue[hn].applyVisual(Ve,pe,he)}}}}}var TitleModel=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$.layoutMode={type:"box",ignoreSize:!0},$}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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.prototype.render=function($,V,oe){if(this.group.removeAll(),!!$.get("show")){var ie=this.group,le=$.getModel("textStyle"),ue=$.getModel("subtextStyle"),de=$.get("textAlign"),pe=retrieve2($.get("textBaseline"),$.get("textVerticalAlign")),he=new ZRText$1({style:createTextStyle$1(le,{text:$.get("text"),fill:le.getTextColor()},{disableBox:!0}),z2:10}),_e=he.getBoundingRect(),$e=$.get("subtext"),Ie=new ZRText$1({style:createTextStyle$1(ue,{text:$e,fill:ue.getTextColor(),y:_e.height+$.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),Ve=$.get("link"),Fe=$.get("sublink"),Ue=$.get("triggerEvent",!0);he.silent=!Ve&&!Ue,Ie.silent=!Fe&&!Ue,Ve&&he.on("click",function(){windowOpen(Ve,"_"+$.get("target"))}),Fe&&Ie.on("click",function(){windowOpen(Fe,"_"+$.get("subtarget"))}),getECData(he).eventData=getECData(Ie).eventData=Ue?{componentType:"title",componentIndex:$.componentIndex}:null,ie.add(he),$e&&ie.add(Ie);var qe=ie.getBoundingRect(),Et=$.getBoxLayoutParams();Et.width=qe.width,Et.height=qe.height;var Lt=getLayoutRect(Et,{width:oe.getWidth(),height:oe.getHeight()},$.get("padding"));de||(de=$.get("left")||$.get("right"),de==="middle"&&(de="center"),de==="right"?Lt.x+=Lt.width:de==="center"&&(Lt.x+=Lt.width/2)),pe||(pe=$.get("top")||$.get("bottom"),pe==="center"&&(pe="middle"),pe==="bottom"?Lt.y+=Lt.height:pe==="middle"&&(Lt.y+=Lt.height/2),pe=pe||"top"),ie.x=Lt.x,ie.y=Lt.y,ie.markRedraw();var hn={align:de,verticalAlign:pe};he.setStyle(hn),Ie.setStyle(hn),qe=ie.getBoundingRect();var Cn=Lt.margin,bn=$.getItemStyle(["color","opacity"]);bn.fill=$.get("backgroundColor");var Sn=new Rect$2({shape:{x:qe.x-Cn[3],y:qe.y-Cn[0],width:qe.width+Cn[1]+Cn[3],height:qe.height+Cn[0]+Cn[2],r:$.get("borderRadius")},style:bn,subPixelOptimize:!0,silent:!0});ie.add(Sn)}},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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$.layoutMode={type:"box",ignoreSize:!0},$}return r.prototype.init=function($,V,oe){this.mergeDefaultAndTheme($,oe),$.selected=$.selected||{},this._updateSelector($)},r.prototype.mergeOption=function($,V){t.prototype.mergeOption.call(this,$,V),this._updateSelector($)},r.prototype._updateSelector=function($){var V=$.selector,oe=this.ecModel;V===!0&&(V=$.selector=["all","inverse"]),isArray$1(V)&&each$c(V,function(ie,le){isString(ie)&&(ie={type:ie}),V[le]=merge(ie,getDefaultSelectorOptions(oe,ie.type))})},r.prototype.optionUpdated=function(){this._updateData(this.ecModel);var $=this._data;if($[0]&&this.get("selectedMode")==="single"){for(var V=!1,oe=0;oe<$.length;oe++){var ie=$[oe].get("name");if(this.isSelected(ie)){this.select(ie),V=!0;break}}!V&&this.select($[0].get("name"))}},r.prototype._updateData=function($){var V=[],oe=[];$.eachRawSeries(function(de){var pe=de.name;oe.push(pe);var he;if(de.legendVisualProvider){var _e=de.legendVisualProvider,$e=_e.getAllNames();$.isSeriesFiltered(de)||(oe=oe.concat($e)),$e.length?V=V.concat($e):he=!0}else he=!0;he&&isNameSpecified(de)&&V.push(de.name)}),this._availableNames=oe;var ie=this.get("data")||V,le=createHashMap(),ue=map$2(ie,function(de){return(isString(de)||isNumber(de))&&(de={name:de}),le.get(de.name)?null:(le.set(de.name,!0),new Model$1(de,this,this.ecModel))},this);this._data=filter(ue,function(de){return!!de})},r.prototype.getData=function(){return this._data},r.prototype.select=function($){var V=this.option.selected,oe=this.get("selectedMode");if(oe==="single"){var ie=this._data;each$c(ie,function(le){V[le.get("name")]=!1})}V[$]=!0},r.prototype.unSelect=function($){this.get("selectedMode")!=="single"&&(this.option.selected[$]=!1)},r.prototype.toggleSelected=function($){var V=this.option.selected;V.hasOwnProperty($)||(V[$]=!0),this[V[$]?"unSelect":"select"]($)},r.prototype.allSelect=function(){var $=this._data,V=this.option.selected;each$c($,function(oe){V[oe.get("name",!0)]=!0})},r.prototype.inverseSelect=function(){var $=this._data,V=this.option.selected;each$c($,function(oe){var ie=oe.get("name",!0);V.hasOwnProperty(ie)||(V[ie]=!0),V[ie]=!V[ie]})},r.prototype.isSelected=function($){var V=this.option.selected;return!(V.hasOwnProperty($)&&!V[$])&&indexOf(this._availableNames,$)>=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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$.newlineDisabled=!1,$}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){var ie=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!$.get("show",!0)){var le=$.get("align"),ue=$.get("orient");(!le||le==="auto")&&(le=$.get("left")==="right"&&ue==="vertical"?"right":"left");var de=$.get("selector",!0),pe=$.get("selectorPosition",!0);de&&(!pe||pe==="auto")&&(pe=ue==="horizontal"?"end":"start"),this.renderInner(le,$,V,oe,de,ue,pe);var he=$.getBoxLayoutParams(),_e={width:oe.getWidth(),height:oe.getHeight()},$e=$.get("padding"),Ie=getLayoutRect(he,_e,$e),Ve=this.layoutInner($,le,Ie,ie,de,pe),Fe=getLayoutRect(defaults({width:Ve.width,height:Ve.height},he),_e,$e);this.group.x=Fe.x-Ve.x,this.group.y=Fe.y-Ve.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(Ve,$))}},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){var pe=this.getContentGroup(),he=createHashMap(),_e=V.get("selectedMode"),$e=[];oe.eachRawSeries(function(Ie){!Ie.get("legendHoverLink")&&$e.push(Ie.id)}),each$3(V.getData(),function(Ie,Ve){var Fe=Ie.get("name");if(!this.newlineDisabled&&(Fe===""||Fe===`
|
||
`)){var Ue=new Group$1;Ue.newline=!0,pe.add(Ue);return}var qe=oe.getSeriesByName(Fe)[0];if(!he.get(Fe))if(qe){var Et=qe.getData(),Lt=Et.getVisual("legendLineStyle")||{},hn=Et.getVisual("legendIcon"),Cn=Et.getVisual("style"),bn=this._createItem(qe,Fe,Ve,Ie,V,$,Lt,Cn,hn,_e,ie);bn.on("click",curry(dispatchSelectAction,Fe,null,ie,$e)).on("mouseover",curry(dispatchHighlightAction,qe.name,null,ie,$e)).on("mouseout",curry(dispatchDownplayAction,qe.name,null,ie,$e)),he.set(Fe,!0)}else oe.eachRawSeries(function(Sn){if(!he.get(Fe)&&Sn.legendVisualProvider){var En=Sn.legendVisualProvider;if(!En.containName(Fe))return;var wn=En.indexOfName(Fe),$n=En.getItemVisual(wn,"style"),Tn=En.getItemVisual(wn,"legendIcon"),xn=parse$1($n.fill);xn&&xn[3]===0&&(xn[3]=.2,$n=extend(extend({},$n),{fill:stringify(xn,"rgba")}));var An=this._createItem(Sn,Fe,Ve,Ie,V,$,{},$n,Tn,_e,ie);An.on("click",curry(dispatchSelectAction,null,Fe,ie,$e)).on("mouseover",curry(dispatchHighlightAction,null,Fe,ie,$e)).on("mouseout",curry(dispatchDownplayAction,null,Fe,ie,$e)),he.set(Fe,!0)}},this)},this),le&&this._createSelector(le,V,ie,ue,de)},r.prototype._createSelector=function($,V,oe,ie,le){var ue=this.getSelectorGroup();each$3($,function(pe){var he=pe.type,_e=new ZRText$1({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){oe.dispatchAction({type:he==="all"?"legendAllSelect":"legendInverseSelect"})}});ue.add(_e);var $e=V.getModel("selectorLabel"),Ie=V.getModel(["emphasis","selectorLabel"]);setLabelStyle(_e,{normal:$e,emphasis:Ie},{defaultText:pe.title}),enableHoverEmphasis(_e)})},r.prototype._createItem=function($,V,oe,ie,le,ue,de,pe,he,_e,$e){var Ie=$.visualDrawType,Ve=le.get("itemWidth"),Fe=le.get("itemHeight"),Ue=le.isSelected(V),qe=ie.get("symbolRotate"),Et=ie.get("symbolKeepAspect"),Lt=ie.get("icon");he=Lt||he||"roundRect";var hn=getLegendStyle(he,ie,de,pe,Ie,Ue,$e),Cn=new Group$1,bn=ie.getModel("textStyle");if(isFunction($.getLegendIcon)&&(!Lt||Lt==="inherit"))Cn.add($.getLegendIcon({itemWidth:Ve,itemHeight:Fe,icon:he,iconRotate:qe,itemStyle:hn.itemStyle,lineStyle:hn.lineStyle,symbolKeepAspect:Et}));else{var Sn=Lt==="inherit"&&$.getData().getVisual("symbol")?qe==="inherit"?$.getData().getVisual("symbolRotate"):qe:0;Cn.add(getDefaultLegendIcon({itemWidth:Ve,itemHeight:Fe,icon:he,iconRotate:Sn,itemStyle:hn.itemStyle,lineStyle:hn.lineStyle,symbolKeepAspect:Et}))}var En=ue==="left"?Ve+5:-5,wn=ue,$n=le.get("formatter"),Tn=V;isString($n)&&$n?Tn=$n.replace("{name}",V??""):isFunction($n)&&(Tn=$n(V));var xn=Ue?bn.getTextColor():ie.get("inactiveColor");Cn.add(new ZRText$1({style:createTextStyle$1(bn,{text:Tn,x:En,y:Fe/2,fill:xn,align:wn,verticalAlign:"middle"},{inheritColor:xn})}));var An=new Rect$2({shape:Cn.getBoundingRect(),invisible:!0}),Mn=ie.getModel("tooltip");return Mn.get("show")&&setTooltipConfig({el:An,componentModel:le,itemName:V,itemTooltipOption:Mn.option}),Cn.add(An),Cn.eachChild(function(Vn){Vn.silent=!0}),An.silent=!_e,this.getContentGroup().add(Cn),enableHoverEmphasis(Cn),Cn.__legendDataIndex=oe,Cn},r.prototype.layoutInner=function($,V,oe,ie,le,ue){var de=this.getContentGroup(),pe=this.getSelectorGroup();box($.get("orient"),de,$.get("itemGap"),oe.width,oe.height);var he=de.getBoundingRect(),_e=[-he.x,-he.y];if(pe.markRedraw(),de.markRedraw(),le){box("horizontal",pe,$.get("selectorItemGap",!0));var $e=pe.getBoundingRect(),Ie=[-$e.x,-$e.y],Ve=$.get("selectorButtonGap",!0),Fe=$.getOrient().index,Ue=Fe===0?"width":"height",qe=Fe===0?"height":"width",Et=Fe===0?"y":"x";ue==="end"?Ie[Fe]+=he[Ue]+Ve:_e[Fe]+=$e[Ue]+Ve,Ie[1-Fe]+=he[qe]/2-$e[qe]/2,pe.x=Ie[0],pe.y=Ie[1],de.x=_e[0],de.y=_e[1];var Lt={x:0,y:0};return Lt[Ue]=he[Ue]+Ve+$e[Ue],Lt[qe]=Math.max(he[qe],$e[qe]),Lt[Et]=Math.min(0,$e[Et]+Ie[1-Fe]),Lt}else return de.x=_e[0],de.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){function ue(Ue,qe){Ue.lineWidth==="auto"&&(Ue.lineWidth=qe.lineWidth>0?2:0),each$3(Ue,function(Et,Lt){Ue[Lt]==="inherit"&&(Ue[Lt]=qe[Lt])})}var de=r.getModel("itemStyle"),pe=de.getItemStyle(),he=t.lastIndexOf("empty",0)===0?"fill":"stroke",_e=de.getShallow("decal");pe.decal=!_e||_e==="inherit"?V.decal:createOrUpdatePatternFromDecal(_e,le),pe.fill==="inherit"&&(pe.fill=V[oe]),pe.stroke==="inherit"&&(pe.stroke=V[he]),pe.opacity==="inherit"&&(pe.opacity=(oe==="fill"?V:$).opacity),ue(pe,V);var $e=r.getModel("lineStyle"),Ie=$e.getLineStyle();if(ue(Ie,$),pe.fill==="auto"&&(pe.fill=V.fill),pe.stroke==="auto"&&(pe.stroke=V.fill),Ie.stroke==="auto"&&(Ie.stroke=V.fill),!ie){var Ve=r.get("inactiveBorderWidth"),Fe=pe[he];pe.lineWidth=Ve==="auto"?V.lineWidth>0&&Fe?2:0:pe.lineWidth,pe.fill=r.get("inactiveColor"),pe.stroke=r.get("inactiveBorderColor"),Ie.stroke=$e.get("inactiveColor"),Ie.lineWidth=$e.get("inactiveWidth")}return{itemStyle:pe,lineStyle:Ie}}function getDefaultLegendIcon(t){var r=t.icon||"roundRect",$=createSymbol(r,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return $.setStyle(t.itemStyle),$.rotation=(t.iconRotate||0)*Math.PI/180,$.setOrigin([t.itemWidth/2,t.itemHeight/2]),r.indexOf("empty")>-1&&($.style.stroke=$.style.fill,$.style.fill="#fff",$.style.lineWidth=2),$}function dispatchSelectAction(t,r,$,V){dispatchDownplayAction(t,r,$,V),$.dispatchAction({type:"legendToggleSelect",name:t??r}),dispatchHighlightAction(t,r,$,V)}function isUseHoverLayer(t){for(var r=t.getZr().storage.getDisplayList(),$,V=0,oe=r.length;V<oe&&!($=r[V].states.emphasis);)V++;return $&&$.hoverLayer}function dispatchHighlightAction(t,r,$,V){isUseHoverLayer($)||$.dispatchAction({type:"highlight",seriesName:t,name:r,excludeSeriesId:V})}function dispatchDownplayAction(t,r,$,V){isUseHoverLayer($)||$.dispatchAction({type:"downplay",seriesName:t,name:r,excludeSeriesId:V})}const LegendView$1=LegendView;function legendFilter(t){var r=t.findComponents({mainType:"legend"});r&&r.length&&t.filterSeries(function($){for(var V=0;V<r.length;V++)if(!r[V].isSelected($.name))return!1;return!0})}function legendSelectActionHandler(t,r,$){var V={},oe=t==="toggleSelected",ie;return $.eachComponent("legend",function(le){oe&&ie!=null?le[ie?"select":"unSelect"](r.name):t==="allSelect"||t==="inverseSelect"?le[t]():(le[t](r.name),ie=le.isSelected(r.name));var ue=le.getData();each$c(ue,function(de){var pe=de.get("name");if(!(pe===`
|
||
`||pe==="")){var he=le.isSelected(pe);V.hasOwnProperty(pe)?V[pe]=V[pe]&&he:V[pe]=he}})}),t==="allSelect"||t==="inverseSelect"?{selected:V}:{name:r.name,selected:V}}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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.prototype.setScrollDataIndex=function($){this.option.scrollDataIndex=$},r.prototype.init=function($,V,oe){var ie=getLayoutParams($);t.prototype.init.call(this,$,V,oe),mergeAndNormalizeLayoutParams(this,$,ie)},r.prototype.mergeOption=function($,V){t.prototype.mergeOption.call(this,$,V),mergeAndNormalizeLayoutParams(this,this.option,$)},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,$){var V=t.getOrient(),oe=[1,1];oe[V.index]=0,mergeLayoutParam(r,$,{type:"box",ignoreSize:!!oe})}const ScrollableLegendModel$1=ScrollableLegendModel;var Group=Group$3,WH=["width","height"],XY=["x","y"],ScrollableLegendView=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$.newlineDisabled=!0,$._currentIndex=0,$}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){var pe=this;t.prototype.renderInner.call(this,$,V,oe,ie,le,ue,de);var he=this._controllerGroup,_e=V.get("pageIconSize",!0),$e=isArray$1(_e)?_e:[_e,_e];Ve("pagePrev",0);var Ie=V.getModel("pageTextStyle");he.add(new ZRText$1({name:"pageText",style:{text:"xx/xx",fill:Ie.getTextColor(),font:Ie.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),Ve("pageNext",1);function Ve(Fe,Ue){var qe=Fe+"DataIndex",Et=createIcon(V.get("pageIcons",!0)[V.getOrient().name][Ue],{onclick:bind$1(pe._pageGo,pe,qe,V,ie)},{x:-$e[0]/2,y:-$e[1]/2,width:$e[0],height:$e[1]});Et.name=Fe,he.add(Et)}},r.prototype.layoutInner=function($,V,oe,ie,le,ue){var de=this.getSelectorGroup(),pe=$.getOrient().index,he=WH[pe],_e=XY[pe],$e=WH[1-pe],Ie=XY[1-pe];le&&box("horizontal",de,$.get("selectorItemGap",!0));var Ve=$.get("selectorButtonGap",!0),Fe=de.getBoundingRect(),Ue=[-Fe.x,-Fe.y],qe=clone$3(oe);le&&(qe[he]=oe[he]-Fe[he]-Ve);var Et=this._layoutContentAndController($,ie,qe,pe,he,$e,Ie,_e);if(le){if(ue==="end")Ue[pe]+=Et[he]+Ve;else{var Lt=Fe[he]+Ve;Ue[pe]-=Lt,Et[_e]-=Lt}Et[he]+=Fe[he]+Ve,Ue[1-pe]+=Et[Ie]+Et[$e]/2-Fe[$e]/2,Et[$e]=Math.max(Et[$e],Fe[$e]),Et[Ie]=Math.min(Et[Ie],Fe[Ie]+Ue[1-pe]),de.x=Ue[0],de.y=Ue[1],de.markRedraw()}return Et},r.prototype._layoutContentAndController=function($,V,oe,ie,le,ue,de,pe){var he=this.getContentGroup(),_e=this._containerGroup,$e=this._controllerGroup;box($.get("orient"),he,$.get("itemGap"),ie?oe.width:null,ie?null:oe.height),box("horizontal",$e,$.get("pageButtonItemGap",!0));var Ie=he.getBoundingRect(),Ve=$e.getBoundingRect(),Fe=this._showController=Ie[le]>oe[le],Ue=[-Ie.x,-Ie.y];V||(Ue[ie]=he[pe]);var qe=[0,0],Et=[-Ve.x,-Ve.y],Lt=retrieve2($.get("pageButtonGap",!0),$.get("itemGap",!0));if(Fe){var hn=$.get("pageButtonPosition",!0);hn==="end"?Et[ie]+=oe[le]-Ve[le]:qe[ie]+=Ve[le]+Lt}Et[1-ie]+=Ie[ue]/2-Ve[ue]/2,he.setPosition(Ue),_e.setPosition(qe),$e.setPosition(Et);var Cn={x:0,y:0};if(Cn[le]=Fe?oe[le]:Ie[le],Cn[ue]=Math.max(Ie[ue],Ve[ue]),Cn[de]=Math.min(0,Ve[de]+Et[1-ie]),_e.__rectSize=oe[le],Fe){var bn={x:0,y:0};bn[le]=Math.max(oe[le]-Ve[le]-Lt,0),bn[ue]=Cn[ue],_e.setClipPath(new Rect$2({shape:bn})),_e.__rectSize=bn[le]}else $e.eachChild(function(En){En.attr({invisible:!0,silent:!0})});var Sn=this._getPageInfo($);return Sn.pageIndex!=null&&updateProps$1(he,{x:Sn.contentPosition[0],y:Sn.contentPosition[1]},Fe?$:null),this._updatePageInfoView($,Sn),Cn},r.prototype._pageGo=function($,V,oe){var ie=this._getPageInfo(V)[$];ie!=null&&oe.dispatchAction({type:"legendScroll",scrollDataIndex:ie,legendId:V.id})},r.prototype._updatePageInfoView=function($,V){var oe=this._controllerGroup;each$c(["pagePrev","pageNext"],function(he){var _e=he+"DataIndex",$e=V[_e]!=null,Ie=oe.childOfName(he);Ie&&(Ie.setStyle("fill",$e?$.get("pageIconColor",!0):$.get("pageIconInactiveColor",!0)),Ie.cursor=$e?"pointer":"default")});var ie=oe.childOfName("pageText"),le=$.get("pageFormatter"),ue=V.pageIndex,de=ue!=null?ue+1:0,pe=V.pageCount;ie&&le&&ie.setStyle("text",isString(le)?le.replace("{current}",de==null?"":de+"").replace("{total}",pe==null?"":pe+""):le({current:de,total:pe}))},r.prototype._getPageInfo=function($){var V=$.get("scrollDataIndex",!0),oe=this.getContentGroup(),ie=this._containerGroup.__rectSize,le=$.getOrient().index,ue=WH[le],de=XY[le],pe=this._findTargetItemIndex(V),he=oe.children(),_e=he[pe],$e=he.length,Ie=$e?1:0,Ve={contentPosition:[oe.x,oe.y],pageCount:Ie,pageIndex:Ie-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!_e)return Ve;var Fe=hn(_e);Ve.contentPosition[le]=-Fe.s;for(var Ue=pe+1,qe=Fe,Et=Fe,Lt=null;Ue<=$e;++Ue)Lt=hn(he[Ue]),(!Lt&&Et.e>qe.s+ie||Lt&&!Cn(Lt,qe.s))&&(Et.i>qe.i?qe=Et:qe=Lt,qe&&(Ve.pageNextDataIndex==null&&(Ve.pageNextDataIndex=qe.i),++Ve.pageCount)),Et=Lt;for(var Ue=pe-1,qe=Fe,Et=Fe,Lt=null;Ue>=-1;--Ue)Lt=hn(he[Ue]),(!Lt||!Cn(Et,Lt.s))&&qe.i<Et.i&&(Et=qe,Ve.pagePrevDataIndex==null&&(Ve.pagePrevDataIndex=qe.i),++Ve.pageCount,++Ve.pageIndex),qe=Lt;return Ve;function hn(bn){if(bn){var Sn=bn.getBoundingRect(),En=Sn[de]+bn[de];return{s:En,e:En+Sn[ue],i:bn.__legendDataIndex}}}function Cn(bn,Sn){return bn.e>=Sn&&bn.s<=Sn+ie}},r.prototype._findTargetItemIndex=function($){if(!this._showController)return 0;var V,oe=this.getContentGroup(),ie;return oe.eachChild(function(le,ue){var de=le.__legendDataIndex;ie==null&&de!=null&&(ie=ue),de===$&&(V=ue)}),V??ie},r.type="legend.scroll",r}(LegendView$1);const ScrollableLegendView$1=ScrollableLegendView;function installScrollableLegendAction(t){t.registerAction("legendScroll","legendscroll",function(r,$){var V=r.scrollDataIndex;V!=null&&$.eachComponent({mainType:"legend",subType:"scroll",query:r},function(oe){oe.setScrollDataIndex(V)})})}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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}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,$){inner(t).coordSysRecordMap.each(function(V){var oe=V.dataZoomInfoMap.get(r.uid);oe&&(oe.getRange=$)})}function disposeCoordSysRecordIfNeeded(t,r){for(var $=inner(t).coordSysRecordMap,V=$.keys(),oe=0;oe<V.length;oe++){var ie=V[oe],le=$.get(ie),ue=le.dataZoomInfoMap;if(ue){var de=r.uid,pe=ue.get(de);pe&&(ue.removeKey(de),ue.keys().length||disposeCoordSysRecord($,le))}}}function disposeCoordSysRecord(t,r){if(r){t.removeKey(r.model.uid);var $=r.controller;$&&$.dispose()}}function createCoordSysRecord(t,r){var $={model:r,containsPoint:curry$1(containsPoint,r),dispatchAction:curry$1(dispatchAction,t),dataZoomInfoMap:null,controller:null},V=$.controller=new RoamController$1(t.getZr());return each$c(["pan","zoom","scrollMove"],function(oe){V.on(oe,function(ie){var le=[];$.dataZoomInfoMap.each(function(ue){if(ie.isAvailableBehavior(ue.model.option)){var de=(ue.getRange||{})[oe],pe=de&&de(ue.dzReferCoordSysInfo,$.model.mainType,$.controller,ie);!ue.model.get("disabled",!0)&&pe&&le.push({dataZoomId:ue.model.id,start:pe[0],end:pe[1]})}}),le.length&&$.dispatchAction(le)})}),$}function dispatchAction(t,r){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:r})}function containsPoint(t,r,$,V){return t.coordinateSystem.containPoint([$,V])}function mergeControllerParams(t){var r,$="type_",V={type_true:2,type_move:1,type_false:0,type_undefined:-1},oe=!0;return t.each(function(ie){var le=ie.model,ue=le.get("disabled",!0)?!1:le.get("zoomLock",!0)?"move":!0;V[$+ue]>V[$+r]&&(r=ue),oe=oe&&le.get("preventDefaultMouseMove",!0)}),{controlType:r,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!oe}}}function installDataZoomRoamProcessor(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(r,$){var V=inner($),oe=V.coordSysRecordMap||(V.coordSysRecordMap=createHashMap());oe.each(function(ie){ie.dataZoomInfoMap=null}),r.eachComponent({mainType:"dataZoom",subType:"inside"},function(ie){var le=collectReferCoordSysModelInfo(ie);each$c(le.infoList,function(ue){var de=ue.model.uid,pe=oe.get(de)||oe.set(de,createCoordSysRecord($,ue.model)),he=pe.dataZoomInfoMap||(pe.dataZoomInfoMap=createHashMap());he.set(ie.uid,{dzReferCoordSysInfo:ue,model:ie,getRange:null})})}),oe.each(function(ie){var le=ie.controller,ue,de=ie.dataZoomInfoMap;if(de){var pe=de.keys()[0];pe!=null&&(ue=de.get(pe))}if(!ue){disposeCoordSysRecord(oe,ie);return}var he=mergeControllerParams(de);le.enable(he.controlType,he.opt),le.setPointerChecker(ie.containsPoint),createOrUpdate(ie,"dispatchAction",ue.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type="dataZoom.inside",$}return r.prototype.render=function($,V,oe){if(t.prototype.render.apply(this,arguments),$.noTarget()){this._clear();return}this.range=$.getPercentRange(),setViewInfoToCoordSysRecord(oe,$,{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){var oe=this.range,ie=oe.slice(),le=t.axisModels[0];if(le){var ue=getDirectionInfo[r](null,[V.originX,V.originY],le,$,t),de=(ue.signal>0?ue.pixelStart+ue.pixelLength-ue.pixel:ue.pixel-ue.pixelStart)/ue.pixelLength*(ie[1]-ie[0])+ie[0],pe=Math.max(1/V.scale,0);ie[0]=(ie[0]-de)*pe+de,ie[1]=(ie[1]-de)*pe+de;var he=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,ie,[0,100],0,he.minSpan,he.maxSpan),this.range=ie,oe[0]!==ie[0]||oe[1]!==ie[1])return ie}},pan:makeMover(function(t,r,$,V,oe,ie){var le=getDirectionInfo[V]([ie.oldX,ie.oldY],[ie.newX,ie.newY],r,oe,$);return le.signal*(t[1]-t[0])*le.pixel/le.pixelLength}),scrollMove:makeMover(function(t,r,$,V,oe,ie){var le=getDirectionInfo[V]([0,0],[ie.scrollDelta,ie.scrollDelta],r,oe,$);return le.signal*(t[1]-t[0])*ie.scrollDelta})};function makeMover(t){return function(r,$,V,oe){var ie=this.range,le=ie.slice(),ue=r.axisModels[0];if(ue){var de=t(le,ue,r,$,V,oe);if(sliderMove(de,le,[0,100],"all"),this.range=le,ie[0]!==le[0]||ie[1]!==le[1])return le}}}var getDirectionInfo={grid:function(t,r,$,V,oe){var ie=$.axis,le={},ue=oe.model.coordinateSystem.getRect();return t=t||[0,0],ie.dim==="x"?(le.pixel=r[0]-t[0],le.pixelLength=ue.width,le.pixelStart=ue.x,le.signal=ie.inverse?1:-1):(le.pixel=r[1]-t[1],le.pixelLength=ue.height,le.pixelStart=ue.y,le.signal=ie.inverse?-1:1),le},polar:function(t,r,$,V,oe){var ie=$.axis,le={},ue=oe.model.coordinateSystem,de=ue.getRadiusAxis().getExtent(),pe=ue.getAngleAxis().getExtent();return t=t?ue.pointToCoord(t):[0,0],r=ue.pointToCoord(r),$.mainType==="radiusAxis"?(le.pixel=r[0]-t[0],le.pixelLength=de[1]-de[0],le.pixelStart=de[0],le.signal=ie.inverse?1:-1):(le.pixel=r[1]-t[1],le.pixelLength=pe[1]-pe[0],le.pixelStart=pe[0],le.signal=ie.inverse?-1:1),le},singleAxis:function(t,r,$,V,oe){var ie=$.axis,le=oe.model.coordinateSystem.getRect(),ue={};return t=t||[0,0],ie.orient==="horizontal"?(ue.pixel=r[0]-t[0],ue.pixelLength=le.width,ue.pixelStart=le.x,ue.signal=ie.inverse?1:-1):(ue.pixel=r[1]-t[1],ue.pixelLength=le.height,ue.pixelStart=le.y,ue.signal=ie.inverse?-1:1),ue}};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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$._displayables={},$}return r.prototype.init=function($,V){this.api=V,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},r.prototype.render=function($,V,oe,ie){if(t.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",$.get("throttle"),"fixRate"),this._orient=$.getOrient(),$.get("show")===!1){this.group.removeAll();return}if($.noTarget()){this._clear(),this.group.removeAll();return}(!ie||ie.type!=="dataZoom"||ie.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 $=this.api.getZr();$.off("mousemove",this._onBrush),$.off("mouseup",this._onBrushEnd)},r.prototype._buildView=function(){var $=this.group;$.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var V=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),$.add(V),this._positionGroup()},r.prototype._resetLocation=function(){var $=this.dataZoomModel,V=this.api,oe=$.get("brushSelect"),ie=oe?DEFAULT_MOVE_HANDLE_SIZE:0,le=this._findCoordRect(),ue={width:V.getWidth(),height:V.getHeight()},de=this._orient===HORIZONTAL?{right:ue.width-le.x-le.width,top:ue.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-ie,width:le.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:le.y,width:DEFAULT_FILLER_SIZE,height:le.height},pe=getLayoutParams($.option);each$c(["right","top","width","height"],function(_e){pe[_e]==="ph"&&(pe[_e]=de[_e])});var he=getLayoutRect(pe,ue);this._location={x:he.x,y:he.y},this._size=[he.width,he.height],this._orient===VERTICAL&&this._size.reverse()},r.prototype._positionGroup=function(){var $=this.group,V=this._location,oe=this._orient,ie=this.dataZoomModel.getFirstTargetAxisModel(),le=ie&&ie.get("inverse"),ue=this._displayables.sliderGroup,de=(this._dataShadowInfo||{}).otherAxisInverse;ue.attr(oe===HORIZONTAL&&!le?{scaleY:de?1:-1,scaleX:1}:oe===HORIZONTAL&&le?{scaleY:de?1:-1,scaleX:-1}:oe===VERTICAL&&!le?{scaleY:de?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:de?-1:1,scaleX:-1,rotation:Math.PI/2});var pe=$.getBoundingRect([ue]);$.x=V.x-pe.x,$.y=V.y-pe.y,$.markRedraw()},r.prototype._getViewExtent=function(){return[0,this._size[0]]},r.prototype._renderBackground=function(){var $=this.dataZoomModel,V=this._size,oe=this._displayables.sliderGroup,ie=$.get("brushSelect");oe.add(new Rect({silent:!0,shape:{x:0,y:0,width:V[0],height:V[1]},style:{fill:$.get("backgroundColor")},z2:-40}));var le=new Rect({shape:{x:0,y:0,width:V[0],height:V[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),ue=this.api.getZr();ie?(le.on("mousedown",this._onBrushStart,this),le.cursor="crosshair",ue.on("mousemove",this._onBrush),ue.on("mouseup",this._onBrushEnd)):(ue.off("mousemove",this._onBrush),ue.off("mouseup",this._onBrushEnd)),oe.add(le)},r.prototype._renderDataShadow=function(){var $=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!$)return;var V=this._size,oe=this._shadowSize||[],ie=$.series,le=ie.getRawData(),ue=ie.getShadowDim&&ie.getShadowDim(),de=ue&&le.getDimensionInfo(ue)?ie.getShadowDim():$.otherDim;if(de==null)return;var pe=this._shadowPolygonPts,he=this._shadowPolylinePts;if(le!==this._shadowData||de!==this._shadowDim||V[0]!==oe[0]||V[1]!==oe[1]){var _e=le.getDataExtent(de),$e=(_e[1]-_e[0])*.3;_e=[_e[0]-$e,_e[1]+$e];var Ie=[0,V[1]],Ve=[0,V[0]],Fe=[[V[0],0],[0,0]],Ue=[],qe=Ve[1]/(le.count()-1),Et=0,Lt=Math.round(le.count()/V[0]),hn;le.each([de],function(wn,$n){if(Lt>0&&$n%Lt){Et+=qe;return}var Tn=wn==null||isNaN(wn)||wn==="",xn=Tn?0:linearMap$2(wn,_e,Ie,!0);Tn&&!hn&&$n?(Fe.push([Fe[Fe.length-1][0],0]),Ue.push([Ue[Ue.length-1][0],0])):!Tn&&hn&&(Fe.push([Et,0]),Ue.push([Et,0])),Fe.push([Et,xn]),Ue.push([Et,xn]),Et+=qe,hn=Tn}),pe=this._shadowPolygonPts=Fe,he=this._shadowPolylinePts=Ue}this._shadowData=le,this._shadowDim=de,this._shadowSize=[V[0],V[1]];var Cn=this.dataZoomModel;function bn(wn){var $n=Cn.getModel(wn?"selectedDataBackground":"dataBackground"),Tn=new Group$3,xn=new Polygon$1({shape:{points:pe},segmentIgnoreThreshold:1,style:$n.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),An=new Polyline$1({shape:{points:he},segmentIgnoreThreshold:1,style:$n.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return Tn.add(xn),Tn.add(An),Tn}for(var Sn=0;Sn<3;Sn++){var En=bn(Sn===1);this._displayables.sliderGroup.add(En),this._displayables.dataShadowSegs.push(En)}},r.prototype._prepareDataShadowInfo=function(){var $=this.dataZoomModel,V=$.get("showDataShadow");if(V!==!1){var oe,ie=this.ecModel;return $.eachTargetAxis(function(le,ue){var de=$.getAxisProxy(le,ue).getTargetSeriesModels();each$c(de,function(pe){if(!oe&&!(V!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,pe.get("type"))<0)){var he=ie.getComponent(getAxisMainType(le),ue).axis,_e=getOtherDim(le),$e,Ie=pe.coordinateSystem;_e!=null&&Ie.getOtherAxis&&($e=Ie.getOtherAxis(he).inverse),_e=pe.getData().mapDimension(_e),oe={thisAxis:he,series:pe,thisDim:le,otherDim:_e,otherAxisInverse:$e}}},this)},this),oe}},r.prototype._renderHandle=function(){var $=this.group,V=this._displayables,oe=V.handles=[null,null],ie=V.handleLabels=[null,null],le=this._displayables.sliderGroup,ue=this._size,de=this.dataZoomModel,pe=this.api,he=de.get("borderRadius")||0,_e=de.get("brushSelect"),$e=V.filler=new Rect({silent:_e,style:{fill:de.get("fillerColor")},textConfig:{position:"inside"}});le.add($e),le.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:ue[0],height:ue[1],r:he},style:{stroke:de.get("dataBackgroundColor")||de.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$c([0,1],function(Lt){var hn=de.get("handleIcon");!symbolBuildProxies[hn]&&hn.indexOf("path://")<0&&hn.indexOf("image://")<0&&(hn="path://"+hn);var Cn=createSymbol(hn,-1,0,2,2,null,!0);Cn.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 bn=Cn.getBoundingRect(),Sn=de.get("handleSize");this._handleHeight=parsePercent(Sn,this._size[1]),this._handleWidth=bn.width/bn.height*this._handleHeight,Cn.setStyle(de.getModel("handleStyle").getItemStyle()),Cn.style.strokeNoScale=!0,Cn.rectHover=!0,Cn.ensureState("emphasis").style=de.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(Cn);var En=de.get("handleColor");En!=null&&(Cn.style.fill=En),le.add(oe[Lt]=Cn);var wn=de.getModel("textStyle");$.add(ie[Lt]=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle$1(wn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:wn.getTextColor(),font:wn.getFont()}),z2:10}))},this);var Ie=$e;if(_e){var Ve=parsePercent(de.get("moveHandleSize"),ue[1]),Fe=V.moveHandle=new Rect$2({style:de.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:ue[1]-.5,height:Ve}}),Ue=Ve*.8,qe=V.moveHandleIcon=createSymbol(de.get("moveHandleIcon"),-Ue/2,-Ue/2,Ue,Ue,"#fff",!0);qe.silent=!0,qe.y=ue[1]+Ve/2-.5,Fe.ensureState("emphasis").style=de.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var Et=Math.min(ue[1]/2,Math.max(Ve,10));Ie=V.moveZone=new Rect$2({invisible:!0,shape:{y:ue[1]-Et,height:Ve+Et}}),Ie.on("mouseover",function(){pe.enterEmphasis(Fe)}).on("mouseout",function(){pe.leaveEmphasis(Fe)}),le.add(Fe),le.add(qe),le.add(Ie)}Ie.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 $=this._range=this.dataZoomModel.getPercentRange(),V=this._getViewExtent();this._handleEnds=[linearMap$2($[0],[0,100],V,!0),linearMap$2($[1],[0,100],V,!0)]},r.prototype._updateInterval=function($,V){var oe=this.dataZoomModel,ie=this._handleEnds,le=this._getViewExtent(),ue=oe.findRepresentativeAxisProxy().getMinMaxSpan(),de=[0,100];sliderMove(V,ie,le,oe.get("zoomLock")?"all":$,ue.minSpan!=null?linearMap$2(ue.minSpan,de,le,!0):null,ue.maxSpan!=null?linearMap$2(ue.maxSpan,de,le,!0):null);var pe=this._range,he=this._range=asc$2([linearMap$2(ie[0],le,de,!0),linearMap$2(ie[1],le,de,!0)]);return!pe||pe[0]!==he[0]||pe[1]!==he[1]},r.prototype._updateView=function($){var V=this._displayables,oe=this._handleEnds,ie=asc$2(oe.slice()),le=this._size;each$c([0,1],function(Ie){var Ve=V.handles[Ie],Fe=this._handleHeight;Ve.attr({scaleX:Fe/2,scaleY:Fe/2,x:oe[Ie]+(Ie?-1:1),y:le[1]/2-Fe/2})},this),V.filler.setShape({x:ie[0],y:0,width:ie[1]-ie[0],height:le[1]});var ue={x:ie[0],width:ie[1]-ie[0]};V.moveHandle&&(V.moveHandle.setShape(ue),V.moveZone.setShape(ue),V.moveZone.getBoundingRect(),V.moveHandleIcon&&V.moveHandleIcon.attr("x",ue.x+ue.width/2));for(var de=V.dataShadowSegs,pe=[0,ie[0],ie[1],le[0]],he=0;he<de.length;he++){var _e=de[he],$e=_e.getClipPath();$e||($e=new Rect$2,_e.setClipPath($e)),$e.setShape({x:pe[he],y:0,width:pe[he+1]-pe[he],height:le[1]})}this._updateDataInfo($)},r.prototype._updateDataInfo=function($){var V=this.dataZoomModel,oe=this._displayables,ie=oe.handleLabels,le=this._orient,ue=["",""];if(V.get("showDetail")){var de=V.findRepresentativeAxisProxy();if(de){var pe=de.getAxisModel().axis,he=this._range,_e=$?de.calculateDataWindow({start:he[0],end:he[1]}).valueWindow:de.getDataValueWindow();ue=[this._formatLabel(_e[0],pe),this._formatLabel(_e[1],pe)]}}var $e=asc$2(this._handleEnds.slice());Ie.call(this,0),Ie.call(this,1);function Ie(Ve){var Fe=getTransform$1(oe.handles[Ve].parent,this.group),Ue=transformDirection(Ve===0?"right":"left",Fe),qe=this._handleWidth/2+LABEL_GAP,Et=applyTransform([$e[Ve]+(Ve===0?-qe:qe),this._size[1]/2],Fe);ie[Ve].setStyle({x:Et[0],y:Et[1],verticalAlign:le===HORIZONTAL?"middle":Ue,align:le===HORIZONTAL?Ue:"center",text:ue[Ve]})}},r.prototype._formatLabel=function($,V){var oe=this.dataZoomModel,ie=oe.get("labelFormatter"),le=oe.get("labelPrecision");(le==null||le==="auto")&&(le=V.getPixelPrecision());var ue=$==null||isNaN($)?"":V.type==="category"||V.type==="time"?V.scale.getLabel({value:Math.round($)}):$.toFixed(Math.min(le,20));return isFunction(ie)?ie($,ue):isString(ie)?ie.replace("{value}",ue):ue},r.prototype._showDataInfo=function($){$=this._dragging||$;var V=this._displayables,oe=V.handleLabels;oe[0].attr("invisible",!$),oe[1].attr("invisible",!$),V.moveHandle&&this.api[$?"enterEmphasis":"leaveEmphasis"](V.moveHandle,1)},r.prototype._onDragMove=function($,V,oe,ie){this._dragging=!0,stop(ie.event);var le=this._displayables.sliderGroup.getLocalTransform(),ue=applyTransform([V,oe],le,!0),de=this._updateInterval($,ue[0]),pe=this.dataZoomModel.get("realtime");this._updateView(!pe),de&&pe&&this._dispatchZoomAction(!0)},r.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var $=this.dataZoomModel.get("realtime");!$&&this._dispatchZoomAction(!1)},r.prototype._onClickPanel=function($){var V=this._size,oe=this._displayables.sliderGroup.transformCoordToLocal($.offsetX,$.offsetY);if(!(oe[0]<0||oe[0]>V[0]||oe[1]<0||oe[1]>V[1])){var ie=this._handleEnds,le=(ie[0]+ie[1])/2,ue=this._updateInterval("all",oe[0]-le);this._updateView(),ue&&this._dispatchZoomAction(!1)}},r.prototype._onBrushStart=function($){var V=$.offsetX,oe=$.offsetY;this._brushStart=new Point$1(V,oe),this._brushing=!0,this._brushStartTime=+new Date},r.prototype._onBrushEnd=function($){if(this._brushing){var V=this._displayables.brushRect;if(this._brushing=!1,!!V){V.attr("ignore",!0);var oe=V.shape,ie=+new Date;if(!(ie-this._brushStartTime<200&&Math.abs(oe.width)<5)){var le=this._getViewExtent(),ue=[0,100];this._range=asc$2([linearMap$2(oe.x,le,ue,!0),linearMap$2(oe.x+oe.width,le,ue,!0)]),this._handleEnds=[oe.x,oe.x+oe.width],this._updateView(),this._dispatchZoomAction(!1)}}}},r.prototype._onBrush=function($){this._brushing&&(stop($.event),this._updateBrushRect($.offsetX,$.offsetY))},r.prototype._updateBrushRect=function($,V){var oe=this._displayables,ie=this.dataZoomModel,le=oe.brushRect;le||(le=oe.brushRect=new Rect({silent:!0,style:ie.getModel("brushStyle").getItemStyle()}),oe.sliderGroup.add(le)),le.attr("ignore",!1);var ue=this._brushStart,de=this._displayables.sliderGroup,pe=de.transformCoordToLocal($,V),he=de.transformCoordToLocal(ue.x,ue.y),_e=this._size;pe[0]=Math.max(Math.min(_e[0],pe[0]),0),le.setShape({x:he[0],y:0,width:pe[0]-he[0],height:_e[1]})},r.prototype._dispatchZoomAction=function($){var V=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:$?REALTIME_ANIMATION_CONFIG:null,start:V[0],end:V[1]})},r.prototype._findCoordRect=function(){var $,V=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!$&&V.length){var oe=V[0].model.coordinateSystem;$=oe.getRect&&oe.getRect()}if(!$){var ie=this.api.getWidth(),le=this.api.getHeight();$={x:ie*.2,y:le*.2,width:ie*.6,height:le*.6}}return $},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,$){var V=clone$3((defaultOption[t]||{})[r]);return $&&isArray$1(V)?V[V.length-1]:V}},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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$.stateList=["inRange","outOfRange"],$.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],$.layoutMode={type:"box",ignoreSize:!0},$.dataBound=[-1/0,1/0],$.targetVisuals={},$.controllerVisuals={},$}return r.prototype.init=function($,V,oe){this.mergeDefaultAndTheme($,oe)},r.prototype.optionUpdated=function($,V){var oe=this.option;!V&&replaceVisualOption(oe,$,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},r.prototype.resetVisual=function($){var V=this.stateList;$=bind$1($,this),this.controllerVisuals=createVisualMappings(this.option.controller,V,$),this.targetVisuals=createVisualMappings(this.option.target,V,$)},r.prototype.getItemSymbol=function(){return null},r.prototype.getTargetSeriesIndices=function(){var $=this.option.seriesIndex,V=[];return $==null||$==="all"?this.ecModel.eachSeries(function(oe,ie){V.push(ie)}):V=normalizeToArray($),V},r.prototype.eachTargetSeries=function($,V){each$c(this.getTargetSeriesIndices(),function(oe){var ie=this.ecModel.getSeriesByIndex(oe);ie&&$.call(V,ie)},this)},r.prototype.isTargetSeries=function($){var V=!1;return this.eachTargetSeries(function(oe){oe===$&&(V=!0)}),V},r.prototype.formatValueText=function($,V,oe){var ie=this.option,le=ie.precision,ue=this.dataBound,de=ie.formatter,pe;oe=oe||["<",">"],isArray$1($)&&($=$.slice(),pe=!0);var he=V?$:pe?[_e($[0]),_e($[1])]:_e($);if(isString(de))return de.replace("{value}",pe?he[0]:he).replace("{value2}",pe?he[1]:he);if(isFunction(de))return pe?de($[0],$[1]):de($);if(pe)return $[0]===ue[0]?oe[0]+" "+he[1]:$[1]===ue[1]?oe[1]+" "+he[0]:he[0]+" - "+he[1];return he;function _e($e){return $e===ue[0]?"min":$e===ue[1]?"max":(+$e).toFixed(Math.min(le,20))}},r.prototype.resetExtent=function(){var $=this.option,V=asc([$.min,$.max]);this._dataExtent=V},r.prototype.getDataDimensionIndex=function($){var V=this.option.dimension;if(V!=null)return $.getDimensionIndex(V);for(var oe=$.dimensions,ie=oe.length-1;ie>=0;ie--){var le=oe[ie],ue=$.getDimensionInfo(le);if(!ue.isCalculationCoord)return ue.storeDimIndex}},r.prototype.getExtent=function(){return this._dataExtent.slice()},r.prototype.completeVisualOption=function(){var $=this.ecModel,V=this.option,oe={inRange:V.inRange,outOfRange:V.outOfRange},ie=V.target||(V.target={}),le=V.controller||(V.controller={});merge(ie,oe),merge(le,oe);var ue=this.isCategory();de.call(this,ie),de.call(this,le),pe.call(this,ie,"inRange","outOfRange"),he.call(this,le);function de(_e){isArray(V.color)&&!_e.inRange&&(_e.inRange={color:V.color.slice().reverse()}),_e.inRange=_e.inRange||{color:$.get("gradientColor")}}function pe(_e,$e,Ie){var Ve=_e[$e],Fe=_e[Ie];Ve&&!Fe&&(Fe=_e[Ie]={},each$2(Ve,function(Ue,qe){if(VisualMapping$1.isValidType(qe)){var Et=visualDefault$1.get(qe,"inactive",ue);Et!=null&&(Fe[qe]=Et,qe==="color"&&!Fe.hasOwnProperty("opacity")&&!Fe.hasOwnProperty("colorAlpha")&&(Fe.opacity=[0,0]))}}))}function he(_e){var $e=(_e.inRange||{}).symbol||(_e.outOfRange||{}).symbol,Ie=(_e.inRange||{}).symbolSize||(_e.outOfRange||{}).symbolSize,Ve=this.get("inactiveColor"),Fe=this.getItemSymbol(),Ue=Fe||"roundRect";each$2(this.stateList,function(qe){var Et=this.itemSize,Lt=_e[qe];Lt||(Lt=_e[qe]={color:ue?Ve:[Ve]}),Lt.symbol==null&&(Lt.symbol=$e&&clone$3($e)||(ue?Ue:[Ue])),Lt.symbolSize==null&&(Lt.symbolSize=Ie&&clone$3(Ie)||(ue?Et[0]:[Et[0],Et[0]])),Lt.symbol=mapVisual(Lt.symbol,function(bn){return bn==="none"?Ue:bn});var hn=Lt.symbolSize;if(hn!=null){var Cn=-1/0;eachVisual(hn,function(bn){bn>Cn&&(Cn=bn)}),Lt.symbolSize=mapVisual(hn,function(bn){return linearMap$1(bn,[0,Cn],[0,Et[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($){},r.prototype.getSelected=function(){return null},r.prototype.getValueState=function($){return null},r.prototype.getVisualMeta=function($){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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.prototype.optionUpdated=function($,V){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(oe){oe.mappingMethod="linear",oe.dataExtent=this.getExtent()}),this._resetRange()},r.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var $=this.itemSize;($[0]==null||isNaN($[0]))&&($[0]=DEFAULT_BAR_BOUND[0]),($[1]==null||isNaN($[1]))&&($[1]=DEFAULT_BAR_BOUND[1])},r.prototype._resetRange=function(){var $=this.getExtent(),V=this.option.range;!V||V.auto?($.auto=1,this.option.range=$):isArray$1(V)&&(V[0]>V[1]&&V.reverse(),V[0]=Math.max(V[0],$[0]),V[1]=Math.min(V[1],$[1]))},r.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),each$c(this.stateList,function($){var V=this.option.controller[$].symbolSize;V&&V[0]!==V[1]&&(V[0]=V[1]/3)},this)},r.prototype.setSelected=function($){this.option.range=$.slice(),this._resetRange()},r.prototype.getSelected=function(){var $=this.getExtent(),V=asc$2((this.get("range")||[]).slice());return V[0]>$[1]&&(V[0]=$[1]),V[1]>$[1]&&(V[1]=$[1]),V[0]<$[0]&&(V[0]=$[0]),V[1]<$[0]&&(V[1]=$[0]),V},r.prototype.getValueState=function($){var V=this.option.range,oe=this.getExtent();return(V[0]<=oe[0]||V[0]<=$)&&(V[1]>=oe[1]||$<=V[1])?"inRange":"outOfRange"},r.prototype.findTargetDataIndices=function($){var V=[];return this.eachTargetSeries(function(oe){var ie=[],le=oe.getData();le.each(this.getDataDimensionIndex(le),function(ue,de){$[0]<=ue&&ue<=$[1]&&ie.push(de)},this),V.push({seriesId:oe.id,dataIndex:ie})},this),V},r.prototype.getVisualMeta=function($){var V=getColorStopValues(this,"outOfRange",this.getExtent()),oe=getColorStopValues(this,"inRange",this.option.range.slice()),ie=[];function le(Ie,Ve){ie.push({value:Ie,color:$(Ie,Ve)})}for(var ue=0,de=0,pe=oe.length,he=V.length;de<he&&(!oe.length||V[de]<=oe[0]);de++)V[de]<oe[ue]&&le(V[de],"outOfRange");for(var _e=1;ue<pe;ue++,_e=0)_e&&ie.length&&le(oe[ue],"outOfRange"),le(oe[ue],"inRange");for(var _e=1;de<he;de++)(!oe.length||oe[oe.length-1]<V[de])&&(_e&&(ie.length&&le(ie[ie.length-1].value,"outOfRange"),_e=0),le(V[de],"outOfRange"));var $e=ie.length;return{stops:ie,outerColors:[$e?ie[0].color:"transparent",$e?ie[$e-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,$){if($[0]===$[1])return $.slice();for(var V=200,oe=($[1]-$[0])/V,ie=$[0],le=[],ue=0;ue<=V&&ie<$[1];ue++)le.push(ie),ie+=oe;return le.push($[1]),le}const ContinuousModel$1=ContinuousModel;var VisualMapView=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$.autoPositionValues={left:1,right:1,top:1,bottom:1},$}return r.prototype.init=function($,V){this.ecModel=$,this.api=V},r.prototype.render=function($,V,oe,ie){if(this.visualMapModel=$,$.get("show")===!1){this.group.removeAll();return}this.doRender($,V,oe,ie)},r.prototype.renderBackground=function($){var V=this.visualMapModel,oe=normalizeCssArray(V.get("padding")||0),ie=$.getBoundingRect();$.add(new Rect$2({z2:-1,silent:!0,shape:{x:ie.x-oe[3],y:ie.y-oe[0],width:ie.width+oe[3]+oe[1],height:ie.height+oe[0]+oe[2]},style:{fill:V.get("backgroundColor"),stroke:V.get("borderColor"),lineWidth:V.get("borderWidth")}}))},r.prototype.getControllerVisual=function($,V,oe){oe=oe||{};var ie=oe.forceState,le=this.visualMapModel,ue={};if(V==="color"){var de=le.get("contentColor");ue.color=de}function pe(Ie){return ue[Ie]}function he(Ie,Ve){ue[Ie]=Ve}var _e=le.controllerVisuals[ie||le.getValueState($)],$e=VisualMapping$1.prepareVisualTypes(_e);return each$c($e,function(Ie){var Ve=_e[Ie];oe.convertOpacityToAlpha&&Ie==="opacity"&&(Ie="colorAlpha",Ve=_e.__alphaForOpacity),VisualMapping$1.dependsOn(Ie,V)&&Ve&&Ve.applyVisual($,pe,he)}),ue[V]},r.prototype.positionGroup=function($){var V=this.visualMapModel,oe=this.api;positionElement($,V.getBoxLayoutParams(),{width:oe.getWidth(),height:oe.getHeight()})},r.prototype.doRender=function($,V,oe,ie){},r.type="visualMap",r}(ComponentView$1);const VisualMapView$1=VisualMapView;var paramsSet=[["left","right","width"],["top","bottom","height"]];function getItemAlign(t,r,$){var V=t.option,oe=V.align;if(oe!=null&&oe!=="auto")return oe;for(var ie={width:r.getWidth(),height:r.getHeight()},le=V.orient==="horizontal"?1:0,ue=paramsSet[le],de=[0,null,10],pe={},he=0;he<3;he++)pe[paramsSet[1-le][he]]=de[he],pe[ue[he]]=he===2?$[0]:V[ue[he]];var _e=[["x","width",3],["y","height",0]][le],$e=getLayoutRect(pe,ie,V.padding);return ue[($e.margin[_e[2]]||0)+$e[_e[0]]+$e[_e[1]]*.5<ie[_e[1]]*.5?0:1]}function makeHighDownBatch(t,r){return each$c(t||[],function($){$.dataIndex!=null&&($.dataIndexInside=$.dataIndex,$.dataIndex=null),$.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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$._shapes={},$._dataInterval=[],$._handleEnds=[],$._hoverLinkDataIndices=[],$}return r.prototype.doRender=function($,V,oe,ie){this._api=oe,(!ie||ie.type!=="selectDataRange"||ie.from!==this.uid)&&this._buildView()},r.prototype._buildView=function(){this.group.removeAll();var $=this.visualMapModel,V=this.group;this._orient=$.get("orient"),this._useHandle=$.get("calculable"),this._resetInterval(),this._renderBar(V);var oe=$.get("text");this._renderEndsText(V,oe,0),this._renderEndsText(V,oe,1),this._updateView(!0),this.renderBackground(V),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(V)},r.prototype._renderEndsText=function($,V,oe){if(V){var ie=V[1-oe];ie=ie!=null?ie+"":"";var le=this.visualMapModel,ue=le.get("textGap"),de=le.itemSize,pe=this._shapes.mainGroup,he=this._applyTransform([de[0]/2,oe===0?-ue:de[1]+ue],pe),_e=this._applyTransform(oe===0?"bottom":"top",pe),$e=this._orient,Ie=this.visualMapModel.textStyleModel;this.group.add(new ZRText$1({style:createTextStyle$1(Ie,{x:he[0],y:he[1],verticalAlign:$e==="horizontal"?"middle":_e,align:$e==="horizontal"?_e:"center",text:ie})}))}},r.prototype._renderBar=function($){var V=this.visualMapModel,oe=this._shapes,ie=V.itemSize,le=this._orient,ue=this._useHandle,de=getItemAlign(V,this.api,ie),pe=oe.mainGroup=this._createBarGroup(de),he=new Group$3;pe.add(he),he.add(oe.outOfRange=createPolygon()),he.add(oe.inRange=createPolygon(null,ue?getCursor(this._orient):null,bind$1(this._dragHandle,this,"all",!1),bind$1(this._dragHandle,this,"all",!0))),he.setClipPath(new Rect$2({shape:{x:0,y:0,width:ie[0],height:ie[1],r:3}}));var _e=V.textStyleModel.getTextRect("国"),$e=mathMax(_e.width,_e.height);ue&&(oe.handleThumbs=[],oe.handleLabels=[],oe.handleLabelPoints=[],this._createHandle(V,pe,0,ie,$e,le),this._createHandle(V,pe,1,ie,$e,le)),this._createIndicator(V,pe,ie,$e,le),$.add(pe)},r.prototype._createHandle=function($,V,oe,ie,le,ue){var de=bind$1(this._dragHandle,this,oe,!1),pe=bind$1(this._dragHandle,this,oe,!0),he=parsePercent$1($.get("handleSize"),ie[0]),_e=createSymbol($.get("handleIcon"),-he/2,-he/2,he,he,null,!0),$e=getCursor(this._orient);_e.attr({cursor:$e,draggable:!0,drift:de,ondragend:pe,onmousemove:function(qe){stop(qe.event)}}),_e.x=ie[0]/2,_e.useStyle($.getModel("handleStyle").getItemStyle()),_e.setStyle({strokeNoScale:!0,strokeFirst:!0}),_e.style.lineWidth*=2,_e.ensureState("emphasis").style=$.getModel(["emphasis","handleStyle"]).getItemStyle(),setAsHighDownDispatcher(_e,!0),V.add(_e);var Ie=this.visualMapModel.textStyleModel,Ve=new ZRText$1({cursor:$e,draggable:!0,drift:de,onmousemove:function(qe){stop(qe.event)},ondragend:pe,style:createTextStyle$1(Ie,{x:0,y:0,text:""})});Ve.ensureState("blur").style={opacity:.1},Ve.stateTransition={duration:200},this.group.add(Ve);var Fe=[he,0],Ue=this._shapes;Ue.handleThumbs[oe]=_e,Ue.handleLabelPoints[oe]=Fe,Ue.handleLabels[oe]=Ve},r.prototype._createIndicator=function($,V,oe,ie,le){var ue=parsePercent$1($.get("indicatorSize"),oe[0]),de=createSymbol($.get("indicatorIcon"),-ue/2,-ue/2,ue,ue,null,!0);de.attr({cursor:"move",invisible:!0,silent:!0,x:oe[0]/2});var pe=$.getModel("indicatorStyle").getItemStyle();if(de instanceof ZRImage$1){var he=de.style;de.useStyle(extend({image:he.image,x:he.x,y:he.y,width:he.width,height:he.height},pe))}else de.useStyle(pe);V.add(de);var _e=this.visualMapModel.textStyleModel,$e=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle$1(_e,{x:0,y:0,text:""})});this.group.add($e);var Ie=[(le==="horizontal"?ie/2:HOVER_LINK_OUT)+oe[0]/2,0],Ve=this._shapes;Ve.indicator=de,Ve.indicatorLabel=$e,Ve.indicatorLabelPoint=Ie,this._firstShowIndicator=!0},r.prototype._dragHandle=function($,V,oe,ie){if(this._useHandle){if(this._dragging=!V,!V){var le=this._applyTransform([oe,ie],this._shapes.mainGroup,!0);this._updateInterval($,le[1]),this._hideIndicator(),this._updateView()}V===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),V?!this._hovering&&this._clearHoverLinkToSeries():useHoverLinkOnHandle(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[$],!1)}},r.prototype._resetInterval=function(){var $=this.visualMapModel,V=this._dataInterval=$.getSelected(),oe=$.getExtent(),ie=[0,$.itemSize[1]];this._handleEnds=[linearMap(V[0],oe,ie,!0),linearMap(V[1],oe,ie,!0)]},r.prototype._updateInterval=function($,V){V=V||0;var oe=this.visualMapModel,ie=this._handleEnds,le=[0,oe.itemSize[1]];sliderMove(V,ie,le,$,0);var ue=oe.getExtent();this._dataInterval=[linearMap(ie[0],le,ue,!0),linearMap(ie[1],le,ue,!0)]},r.prototype._updateView=function($){var V=this.visualMapModel,oe=V.getExtent(),ie=this._shapes,le=[0,V.itemSize[1]],ue=$?le:this._handleEnds,de=this._createBarVisual(this._dataInterval,oe,ue,"inRange"),pe=this._createBarVisual(oe,oe,le,"outOfRange");ie.inRange.setStyle({fill:de.barColor}).setShape("points",de.barPoints),ie.outOfRange.setStyle({fill:pe.barColor}).setShape("points",pe.barPoints),this._updateHandle(ue,de)},r.prototype._createBarVisual=function($,V,oe,ie){var le={forceState:ie,convertOpacityToAlpha:!0},ue=this._makeColorGradient($,le),de=[this.getControllerVisual($[0],"symbolSize",le),this.getControllerVisual($[1],"symbolSize",le)],pe=this._createBarPoints(oe,de);return{barColor:new LinearGradient$1(0,0,0,1,ue),barPoints:pe,handlesColor:[ue[0].color,ue[ue.length-1].color]}},r.prototype._makeColorGradient=function($,V){var oe=100,ie=[],le=($[1]-$[0])/oe;ie.push({color:this.getControllerVisual($[0],"color",V),offset:0});for(var ue=1;ue<oe;ue++){var de=$[0]+le*ue;if(de>$[1])break;ie.push({color:this.getControllerVisual(de,"color",V),offset:ue/oe})}return ie.push({color:this.getControllerVisual($[1],"color",V),offset:1}),ie},r.prototype._createBarPoints=function($,V){var oe=this.visualMapModel.itemSize;return[[oe[0]-V[0],$[0]],[oe[0],$[0]],[oe[0],$[1]],[oe[0]-V[1],$[1]]]},r.prototype._createBarGroup=function($){var V=this._orient,oe=this.visualMapModel.get("inverse");return new Group$3(V==="horizontal"&&!oe?{scaleX:$==="bottom"?1:-1,rotation:Math.PI/2}:V==="horizontal"&&oe?{scaleX:$==="bottom"?-1:1,rotation:-Math.PI/2}:V==="vertical"&&!oe?{scaleX:$==="left"?1:-1,scaleY:-1}:{scaleX:$==="left"?1:-1})},r.prototype._updateHandle=function($,V){if(this._useHandle){var oe=this._shapes,ie=this.visualMapModel,le=oe.handleThumbs,ue=oe.handleLabels,de=ie.itemSize,pe=ie.getExtent();each$1([0,1],function(he){var _e=le[he];_e.setStyle("fill",V.handlesColor[he]),_e.y=$[he];var $e=linearMap($[he],[0,de[1]],pe,!0),Ie=this.getControllerVisual($e,"symbolSize");_e.scaleX=_e.scaleY=Ie/de[0],_e.x=de[0]-Ie/2;var Ve=applyTransform(oe.handleLabelPoints[he],getTransform$1(_e,this.group));ue[he].setStyle({x:Ve[0],y:Ve[1],text:ie.formatValueText(this._dataInterval[he]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",oe.mainGroup):"center"})},this)}},r.prototype._showIndicator=function($,V,oe,ie){var le=this.visualMapModel,ue=le.getExtent(),de=le.itemSize,pe=[0,de[1]],he=this._shapes,_e=he.indicator;if(_e){_e.attr("invisible",!1);var $e={convertOpacityToAlpha:!0},Ie=this.getControllerVisual($,"color",$e),Ve=this.getControllerVisual($,"symbolSize"),Fe=linearMap($,ue,pe,!0),Ue=de[0]-Ve/2,qe={x:_e.x,y:_e.y};_e.y=Fe,_e.x=Ue;var Et=applyTransform(he.indicatorLabelPoint,getTransform$1(_e,this.group)),Lt=he.indicatorLabel;Lt.attr("invisible",!1);var hn=this._applyTransform("left",he.mainGroup),Cn=this._orient,bn=Cn==="horizontal";Lt.setStyle({text:(oe||"")+le.formatValueText(V),verticalAlign:bn?hn:"middle",align:bn?"center":hn});var Sn={x:Ue,y:Fe,style:{fill:Ie}},En={style:{x:Et[0],y:Et[1]}};if(le.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var wn={duration:100,easing:"cubicInOut",additive:!0};_e.x=qe.x,_e.y=qe.y,_e.animateTo(Sn,wn),Lt.animateTo(En,wn)}else _e.attr(Sn),Lt.attr(En);this._firstShowIndicator=!1;var $n=this._shapes.handleLabels;if($n)for(var Tn=0;Tn<$n.length;Tn++)this._api.enterBlur($n[Tn])}},r.prototype._enableHoverLinkToSeries=function(){var $=this;this._shapes.mainGroup.on("mousemove",function(V){if($._hovering=!0,!$._dragging){var oe=$.visualMapModel.itemSize,ie=$._applyTransform([V.offsetX,V.offsetY],$._shapes.mainGroup,!0,!0);ie[1]=mathMin(mathMax(0,ie[1]),oe[1]),$._doHoverLinkToSeries(ie[1],0<=ie[0]&&ie[0]<=oe[0])}}).on("mouseout",function(){$._hovering=!1,!$._dragging&&$._clearHoverLinkToSeries()})},r.prototype._enableHoverLinkFromSeries=function(){var $=this.api.getZr();this.visualMapModel.option.hoverLink?($.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),$.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},r.prototype._doHoverLinkToSeries=function($,V){var oe=this.visualMapModel,ie=oe.itemSize;if(oe.option.hoverLink){var le=[0,ie[1]],ue=oe.getExtent();$=mathMin(mathMax(le[0],$),le[1]);var de=getHalfHoverLinkSize(oe,ue,le),pe=[$-de,$+de],he=linearMap($,le,ue,!0),_e=[linearMap(pe[0],le,ue,!0),linearMap(pe[1],le,ue,!0)];pe[0]<le[0]&&(_e[0]=-1/0),pe[1]>le[1]&&(_e[1]=1/0),V&&(_e[0]===-1/0?this._showIndicator(he,_e[1],"< ",de):_e[1]===1/0?this._showIndicator(he,_e[0],"> ",de):this._showIndicator(he,he,"≈ ",de));var $e=this._hoverLinkDataIndices,Ie=[];(V||useHoverLinkOnHandle(oe))&&(Ie=this._hoverLinkDataIndices=oe.findTargetDataIndices(_e));var Ve=compressBatches($e,Ie);this._dispatchHighDown("downplay",makeHighDownBatch(Ve[0],oe)),this._dispatchHighDown("highlight",makeHighDownBatch(Ve[1],oe))}},r.prototype._hoverLinkFromSeriesMouseOver=function($){var V;if(findEventDispatcher($.target,function(de){var pe=getECData(de);if(pe.dataIndex!=null)return V=pe,!0},!0),!!V){var oe=this.ecModel.getSeriesByIndex(V.seriesIndex),ie=this.visualMapModel;if(ie.isTargetSeries(oe)){var le=oe.getData(V.dataType),ue=le.getStore().get(ie.getDataDimensionIndex(le),V.dataIndex);isNaN(ue)||this._showIndicator(ue,ue)}}},r.prototype._hideIndicator=function(){var $=this._shapes;$.indicator&&$.indicator.attr("invisible",!0),$.indicatorLabel&&$.indicatorLabel.attr("invisible",!0);var V=this._shapes.handleLabels;if(V)for(var oe=0;oe<V.length;oe++)this._api.leaveBlur(V[oe])},r.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var $=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",makeHighDownBatch($,this.visualMapModel)),$.length=0},r.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var $=this.api.getZr();$.off("mouseover",this._hoverLinkFromSeriesMouseOver),$.off("mouseout",this._hideIndicator)},r.prototype._applyTransform=function($,V,oe,ie){var le=getTransform$1(V,ie?null:this.group);return isArray$1($)?applyTransform($,le,oe):transformDirection($,le,oe)},r.prototype._dispatchHighDown=function($,V){V&&V.length&&this.api.dispatchAction({type:$,batch:V})},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){return new Polygon$1({shape:{points:t},draggable:!!$,cursor:r,drift:$,onmousemove:function(oe){stop(oe.event)},ondragend:V})}function getHalfHoverLinkSize(t,r,$){var V=HOVER_LINK_SIZE/2,oe=t.get("hoverLinkDataSize");return oe&&(V=linearMap(oe,r,$,!0)/2),V}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($){$.setSelected(t.selected)})},visualMapEncodingHandlers=[{createOnAllSeries:!0,reset:function(t,r){var $=[];return r.eachComponent("visualMap",function(V){var oe=t.pipelineContext;!V.isTargetSeries(t)||oe&&oe.large||$.push(incrementalApplyVisual(V.stateList,V.targetVisuals,bind$1(V.getValueState,V),V.getDataDimensionIndex(t.getData())))}),$}},{createOnAllSeries:!0,reset:function(t,r){var $=t.getData(),V=[];r.eachComponent("visualMap",function(oe){if(oe.isTargetSeries(t)){var ie=oe.getVisualMeta(bind$1(getColorVisual,null,t,oe))||{stops:[],outerColors:[]},le=oe.getDataDimensionIndex($);le>=0&&(ie.dimension=le,V.push(ie))}}),t.getData().setVisual("visualMeta",V)}}];function getColorVisual(t,r,$,V){for(var oe=r.targetVisuals[V],ie=VisualMapping$1.prepareVisualTypes(oe),le={color:getVisualFromData(t.getData(),"color")},ue=0,de=ie.length;ue<de;ue++){var pe=ie[ue],he=oe[pe==="opacity"?"__alphaForOpacity":pe];he&&he.applyVisual($,_e,$e)}return le.color;function _e(Ie){return le[Ie]}function $e(Ie,Ve){le[Ie]=Ve}}var each=each$c;function visualMapPreprocessor(t){var r=t&&t.visualMap;isArray$1(r)||(r=r?[r]:[]),each(r,function($){if($){has($,"splitList")&&!has($,"pieces")&&($.pieces=$.splitList,delete $.splitList);var V=$.pieces;V&&isArray$1(V)&&each(V,function(oe){isObject$3(oe)&&(has(oe,"start")&&!has(oe,"min")&&(oe.min=oe.start),has(oe,"end")&&!has(oe,"max")&&(oe.max=oe.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 $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$._pieceList=[],$}return r.prototype.optionUpdated=function($,V){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var oe=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected($,V);var ie=this.option.categories;this.resetVisual(function(le,ue){oe==="categories"?(le.mappingMethod="category",le.categories=clone$3(ie)):(le.dataExtent=this.getExtent(),le.mappingMethod="piecewise",le.pieceList=map$2(this._pieceList,function(de){return de=clone$3(de),ue!=="inRange"&&(de.visual=null),de}))})},r.prototype.completeVisualOption=function(){var $=this.option,V={},oe=VisualMapping$1.listVisualTypes(),ie=this.isCategory();each$c($.pieces,function(ue){each$c(oe,function(de){ue.hasOwnProperty(de)&&(V[de]=1)})}),each$c(V,function(ue,de){var pe=!1;each$c(this.stateList,function(he){pe=pe||le($,he,de)||le($.target,he,de)},this),!pe&&each$c(this.stateList,function(he){($[he]||($[he]={}))[de]=visualDefault$1.get(de,he==="inRange"?"active":"inactive",ie)})},this);function le(ue,de,pe){return ue&&ue[de]&&ue[de].hasOwnProperty(pe)}t.prototype.completeVisualOption.apply(this,arguments)},r.prototype._resetSelected=function($,V){var oe=this.option,ie=this._pieceList,le=(V?oe:$).selected||{};if(oe.selected=le,each$c(ie,function(de,pe){var he=this.getSelectedMapKey(de);le.hasOwnProperty(he)||(le[he]=!0)},this),oe.selectedMode==="single"){var ue=!1;each$c(ie,function(de,pe){var he=this.getSelectedMapKey(de);le[he]&&(ue?le[he]=!1:ue=!0)},this)}},r.prototype.getItemSymbol=function(){return this.get("itemSymbol")},r.prototype.getSelectedMapKey=function($){return this._mode==="categories"?$.value+"":$.index+""},r.prototype.getPieceList=function(){return this._pieceList},r.prototype._determineMode=function(){var $=this.option;return $.pieces&&$.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},r.prototype.setSelected=function($){this.option.selected=clone$3($)},r.prototype.getValueState=function($){var V=VisualMapping$1.findPieceIndex($,this._pieceList);return V!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[V])]?"inRange":"outOfRange"},r.prototype.findTargetDataIndices=function($){var V=[],oe=this._pieceList;return this.eachTargetSeries(function(ie){var le=[],ue=ie.getData();ue.each(this.getDataDimensionIndex(ue),function(de,pe){var he=VisualMapping$1.findPieceIndex(de,oe);he===$&&le.push(pe)},this),V.push({seriesId:ie.id,dataIndex:le})},this),V},r.prototype.getRepresentValue=function($){var V;if(this.isCategory())V=$.value;else if($.value!=null)V=$.value;else{var oe=$.interval||[];V=oe[0]===-1/0&&oe[1]===1/0?0:(oe[0]+oe[1])/2}return V},r.prototype.getVisualMeta=function($){if(this.isCategory())return;var V=[],oe=["",""],ie=this;function le(he,_e){var $e=ie.getRepresentValue({interval:he});_e||(_e=ie.getValueState($e));var Ie=$($e,_e);he[0]===-1/0?oe[0]=Ie:he[1]===1/0?oe[1]=Ie:V.push({value:he[0],color:Ie},{value:he[1],color:Ie})}var ue=this._pieceList.slice();if(!ue.length)ue.push({interval:[-1/0,1/0]});else{var de=ue[0].interval[0];de!==-1/0&&ue.unshift({interval:[-1/0,de]}),de=ue[ue.length-1].interval[1],de!==1/0&&ue.push({interval:[de,1/0]})}var pe=-1/0;return each$c(ue,function(he){var _e=he.interval;_e&&(_e[0]>pe&&le([pe,_e[0]],"outOfRange"),le(_e.slice()),pe=_e[1])},this),{stops:V,outerColors:oe}},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,$=Math.min(r.precision,20),V=this.getExtent(),oe=r.splitNumber;oe=Math.max(parseInt(oe,10),1),r.splitNumber=oe;for(var ie=(V[1]-V[0])/oe;+ie.toFixed($)!==ie&&$<5;)$++;r.precision=$,ie=+ie.toFixed($),r.minOpen&&t.push({interval:[-1/0,V[0]],close:[0,0]});for(var le=0,ue=V[0];le<oe;ue+=ie,le++){var de=le===oe-1?V[1]:ue+ie;t.push({interval:[ue,de],close:[1,1]})}r.maxOpen&&t.push({interval:[V[1],1/0],close:[0,0]}),reformIntervals(t),each$c(t,function(pe,he){pe.index=he,pe.text=this.formatValueText(pe.interval)},this)},categories:function(t){var r=this.option;each$c(r.categories,function($){t.push({text:this.formatValueText($,!0),value:$})},this),normalizeReverse(r,t)},pieces:function(t){var r=this.option;each$c(r.pieces,function($,V){isObject$3($)||($={value:$});var oe={text:"",index:V};if($.label!=null&&(oe.text=$.label),$.hasOwnProperty("value")){var ie=oe.value=$.value;oe.interval=[ie,ie],oe.close=[1,1]}else{for(var le=oe.interval=[],ue=oe.close=[0,0],de=[1,0,1],pe=[-1/0,1/0],he=[],_e=0;_e<2;_e++){for(var $e=[["gte","gt","min"],["lte","lt","max"]][_e],Ie=0;Ie<3&&le[_e]==null;Ie++)le[_e]=$[$e[Ie]],ue[_e]=de[Ie],he[_e]=Ie===2;le[_e]==null&&(le[_e]=pe[_e])}he[0]&&le[1]===1/0&&(ue[0]=0),he[1]&&le[0]===-1/0&&(ue[1]=0),le[0]===le[1]&&ue[0]&&ue[1]&&(oe.value=le[0])}oe.visual=VisualMapping$1.retrieveVisuals($),t.push(oe)},this),normalizeReverse(r,t),reformIntervals(t),each$c(t,function($){var V=$.close,oe=[["<","≤"][V[1]],[">","≥"][V[0]]];$.text=$.text||this.formatValueText($.value!=null?$.value:$.interval,!1,oe)},this)}};function normalizeReverse(t,r){var $=t.inverse;(t.orient==="vertical"?!$:$)&&r.reverse()}const PiecewiseModel$1=PiecewiseModel;var PiecewiseVisualMapView=function(t){__extends(r,t);function r(){var $=t!==null&&t.apply(this,arguments)||this;return $.type=r.type,$}return r.prototype.doRender=function(){var $=this.group;$.removeAll();var V=this.visualMapModel,oe=V.get("textGap"),ie=V.textStyleModel,le=ie.getFont(),ue=ie.getTextColor(),de=this._getItemAlign(),pe=V.itemSize,he=this._getViewData(),_e=he.endsText,$e=retrieve(V.get("showLabel",!0),!_e);_e&&this._renderEndsText($,_e[0],pe,$e,de),each$c(he.viewPieceList,function(Ie){var Ve=Ie.piece,Fe=new Group$3;Fe.onclick=bind$1(this._onItemClick,this,Ve),this._enableHoverLink(Fe,Ie.indexInModelPieceList);var Ue=V.getRepresentValue(Ve);if(this._createItemSymbol(Fe,Ue,[0,0,pe[0],pe[1]]),$e){var qe=this.visualMapModel.getValueState(Ue);Fe.add(new ZRText$1({style:{x:de==="right"?-oe:pe[0]+oe,y:pe[1]/2,text:Ve.text,verticalAlign:"middle",align:de,font:le,fill:ue,opacity:qe==="outOfRange"?.5:1}}))}$.add(Fe)},this),_e&&this._renderEndsText($,_e[1],pe,$e,de),box(V.get("orient"),$,V.get("itemGap")),this.renderBackground($),this.positionGroup($)},r.prototype._enableHoverLink=function($,V){var oe=this;$.on("mouseover",function(){return ie("highlight")}).on("mouseout",function(){return ie("downplay")});var ie=function(le){var ue=oe.visualMapModel;ue.option.hoverLink&&oe.api.dispatchAction({type:le,batch:makeHighDownBatch(ue.findTargetDataIndices(V),ue)})}},r.prototype._getItemAlign=function(){var $=this.visualMapModel,V=$.option;if(V.orient==="vertical")return getItemAlign($,this.api,$.itemSize);var oe=V.align;return(!oe||oe==="auto")&&(oe="left"),oe},r.prototype._renderEndsText=function($,V,oe,ie,le){if(V){var ue=new Group$3,de=this.visualMapModel.textStyleModel;ue.add(new ZRText$1({style:createTextStyle$1(de,{x:ie?le==="right"?oe[0]:0:oe[0]/2,y:oe[1]/2,verticalAlign:"middle",align:ie?le:"center",text:V})})),$.add(ue)}},r.prototype._getViewData=function(){var $=this.visualMapModel,V=map$2($.getPieceList(),function(ue,de){return{piece:ue,indexInModelPieceList:de}}),oe=$.get("text"),ie=$.get("orient"),le=$.get("inverse");return(ie==="horizontal"?le:!le)?V.reverse():oe&&(oe=oe.slice().reverse()),{viewPieceList:V,endsText:oe}},r.prototype._createItemSymbol=function($,V,oe){$.add(createSymbol(this.getControllerVisual(V,"symbol"),oe[0],oe[1],oe[2],oe[3],this.getControllerVisual(V,"color")))},r.prototype._onItemClick=function($){var V=this.visualMapModel,oe=V.option,ie=oe.selectedMode;if(ie){var le=clone$3(oe.selected),ue=V.getSelectedMapKey($);ie==="single"||ie===!0?(le[ue]=!0,each$c(le,function(de,pe){le[pe]=pe===ue})):le[ue]=!le[ue],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:le})}},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,$)=>r in t?p(t,r,{enumerable:!0,configurable:!0,writable:!0,value:$}):t[r]=$,P=(t,r)=>{for(var $ in r)p(t,$,{get:r[$],enumerable:!0})},y=(t,r,$,V)=>{if(r&&typeof r=="object"||typeof r=="function")for(let oe of u(r))!j$1.call(t,oe)&&oe!==$&&p(t,oe,{get:()=>r[oe],enumerable:!(V=d(r,oe))||V.enumerable});return t},m$1=(t,r,$)=>(y(t,r,"default"),$&&y($,r,"default")),f=(t,r,$)=>(_(t,typeof r!="symbol"?r+"":r,$),$),c={};P(c,{Vue:()=>vue_runtime_esmBundler});m$1(c,vue_runtime_esmBundler);var g=class{static install(t,r){let{nameSpace:$=this._nameSpace,memory:V}=r;return V&&this.clearAll($,V),new g(t,r)}static clearAll(t,r){Object.keys(r).forEach($=>{let V=t+$;Object.prototype.hasOwnProperty.call(window.localStorage,V)&&window.localStorage.removeItem(V)})}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 $=g,{version:V=3,nameSpace:oe=$._nameSpace,memory:ie}=r,le=pe=>oe+pe,ue=V===3?(0,c.reactive)(ie):ie;Object.keys(ue).length===0&&console.warn("key cannot be empty"),Object.keys(ue).forEach(pe=>{let he=ue[pe];$.set(le(pe),he),Reflect.defineProperty(ue,pe,{get:()=>$.get(le(pe)),set:_e=>$.set(le(pe),_e),configurable:!0}),V===2&&t.util.defineReactive(ue,pe,ue[pe])});let de=V===3?t.config.globalProperties:t.prototype;Reflect.defineProperty(de,"$storage",{get:()=>ue})}},n=g;f(n,"_nameSpace","rs-"),f(n,"_getStaticKey",(t,r)=>`${t??g._nameSpace}${r}`);const injectResponsiveStorage=(t,r)=>{const $=responsiveStorageNameSpace(),V=Object.assign({locale:n.getData("locale",$)??{locale:r.Locale??"zh"},layout:n.getData("layout",$)??{layout:r.Layout??"vertical",theme:r.Theme??"default",darkMode:r.DarkMode??!1,sidebarStatus:r.SidebarStatus??!0,epThemeColor:r.EpThemeColor??"#409EFF"},configure:n.getData("configure",$)??{grey:r.Grey??!1,weak:r.Weak??!1,hideTabs:r.HideTabs??!1,hideFooter:r.HideFooter??!0,showLogo:r.ShowLogo??!0,showModel:r.ShowModel??"smart",multiTagsCache:r.MultiTagsCache??!1}},r.MultiTagsCache?{tags:n.getData("tags",$)??routerArrays}:{});t.use(n,{nameSpace:$,memory:V})},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($=t)&&$.__epPropKey)return t;var $;const{values:V,required:oe,default:ie,type:le,validator:ue}=t,de=V||ue?he=>{let _e=!1,$e=[];if(V&&($e=Array.from(V),W(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,pe={type:le,required:!!oe,validator:de,__epPropKey:!0};return W(t,"default")&&(pe.default=ie),pe})({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)=>{if(r&&typeof r=="object"||typeof r=="function")for(let oe of Ce(r))!Be.call(t,oe)&&oe!==$&&ee(t,oe,{get:()=>r[oe],enumerable:!(V=je(r,oe))||V.enumerable});return t},ze=Object.prototype.toString;function G(t){return typeof t=="function"}function Ne(t){return function(r,$){return ze.call(r)===`[object ${$}]`}(t,"Boolean")}var h={};((t,r)=>{for(var $ in r)ee(t,$,{get:r[$],enumerable:!0})})(h,{Vue:()=>vue_runtime_esmBundler}),U(h,vue_runtime_esmBundler,"default");var Te=()=>{let t,r=(0,h.shallowRef)(!1),$=()=>{r.value=document.documentElement.classList.contains("dark")};return function(V){(0,h.getCurrentInstance)()&&(0,h.onUnmounted)(V)}(()=>{t.takeRecords(),t.disconnect()}),(0,h.onBeforeMount)(()=>{$(),t=new MutationObserver($),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:$,emit:V,expose:oe}){var ie;const{key:le,columns:ue,loading:de,adaptive:pe,pagination:he,alignWhole:_e,headerAlign:$e,loadingConfig:Ie,adaptiveConfig:Ve,rowHoverBgColor:Fe,showOverflowTooltip:Ue}=toRefs(t),{isDark:qe}=Te(),Et=getCurrentInstance();let Lt=unref(he)&&unref(he).currentPage&&unref(he).pageSize,hn=computed(()=>{if(!unref(Ie))return;let{text:Mn,spinner:Vn,svg:Bn,viewBox:Dn}=unref(Ie);return{"element-loading-text":Mn,"element-loading-spinner":Vn,"element-loading-svg":Bn,"element-loading-svg-view-box":Dn}});const Cn=computed(()=>{var Mn,Vn;if(unref(de))return{"element-loading-background":(Mn=unref(Ie))!=null&&Mn.background?(Vn=unref(Ie))==null?void 0:Vn.background:qe.value?"rgba(0, 0, 0, 0.45)":"rgba(255, 255, 255, 0.45)"}}),bn=computed(()=>{var Mn;return Object.assign({width:"100%",margin:"16px 0",display:"flex",justifyContent:unref(he).align==="left"?"flex-start":unref(he).align==="center"?"center":"flex-end"},(Mn=unref(he).style)!=null?Mn:{})}),Sn=(Mn,Vn)=>{const{cellRenderer:Bn,slot:Dn,headerRenderer:Ln,headerSlot:Pn,hide:Fn,children:Un,prop:Wn,...Zn}=Mn;if(G(Fn)&&Fn($))return Fn($);if(Ne(Fn)&&Fn)return Fn;const or={default:Gn=>{var Yn;return Bn?createVNode(J,{render:Bn,params:Object.assign(Gn,{index:Gn.$index,props:t,attrs:$})},null):Dn?(Yn=r==null?void 0:r[Dn])==null?void 0:Yn.call(r,Object.assign(Gn,{index:Gn.$index,props:t,attrs:$})):void 0}};let br=Ln?{header:Gn=>createVNode(J,{render:Ln,params:Object.assign(Gn,{index:Gn.$index,props:t,attrs:$})},null),...or}:r!=null&&r[Pn]?{header:Gn=>{var Yn;return(Yn=r==null?void 0:r[Pn])==null?void 0:Yn.call(r,Object.assign(Gn,{index:Gn.$index,props:t,attrs:$}))},...or}:or;return(Un==null?void 0:Un.length)>0&&(br=Un.map(Sn)),createVNode(ElTableColumn,mergeProps({key:Vn},Zn,{prop:G(Wn)&&Wn(Vn)?Wn(Vn):Wn,align:Mn!=null&&Mn.align?Mn.align:unref(_e),headerAlign:Mn!=null&&Mn.headerAlign?Mn.headerAlign:unref($e),showOverflowTooltip:Mn!=null&&Mn.showOverflowTooltip?Mn.showOverflowTooltip:unref(Ue)}),typeof(Qn=br)=="function"||Object.prototype.toString.call(Qn)==="[object Object]"&&!isVNode$1(Qn)?br:{default:()=>[br]});var Qn},En=()=>{var Mn;return(Mn=Et==null?void 0:Et.proxy)==null?void 0:Mn.$refs[`TableRef${unref(le)}`]},wn=()=>En().$refs,$n=async()=>{var Mn;await nextTick();const Vn=wn().tableWrapper,Bn=(Mn=unref(Ve).offsetBottom)!=null?Mn:96;Vn.style.height=window.innerHeight-Vn.getBoundingClientRect().top-Bn+"px"},Tn=((Mn,Vn=200,Bn=!1)=>{let Dn,Ln,Pn=Vn;return function(){Dn&&clearTimeout(Dn),Bn?(Dn||Mn.call(Ln,...arguments),Dn=setTimeout(()=>Dn=null,Pn)):Dn=setTimeout(()=>Mn.call(Ln,...arguments),Pn)}})($n,(ie=unref(Ve).timeout)!=null?ie:60),xn=async(Mn=100)=>{await nextTick();const Vn=wn().tableHeaderRef.$el.style;Vn.position="sticky",Vn.top=0,Vn.zIndex=Mn};onMounted(()=>{nextTick(()=>{var Mn;if(unref(Fe)&&wn().tableWrapper.style.setProperty("--el-table-row-hover-bg-color",unref(Fe),"important"),unref(pe)){if($n(),window.addEventListener("resize",Tn),Reflect.has(unref(Ve),"fixHeader")&&!unref(Ve).fixHeader)return;xn((Mn=unref(Ve).zIndex)!=null?Mn:100)}})}),onBeforeUnmount(()=>{unref(pe)&&window.removeEventListener("resize",Tn)}),oe({getTableRef:En,getTableDoms:wn,setAdaptive:$n,setHeaderSticky:xn});let An=()=>{var Mn,Vn;return createVNode(Fragment,null,[createVNode(ElTable,mergeProps(t,$,{ref:`TableRef${unref(le)}`}),{default:()=>unref(ue).map(Sn),append:()=>r.append&&r.append(),empty:()=>r.empty&&r.empty()}),Lt?createVNode(ElPagination,mergeProps($,{class:"pure-pagination",style:unref(bn)},unref(he),{small:t!=null&&t.paginationSmall?t==null?void 0:t.paginationSmall:!!unref(he).small&&unref(he).small,layout:(Mn=unref(he).layout)!=null?Mn:"total, sizes, prev, pager, next, jumper",pageSizes:(Vn=unref(he).pageSizes)!=null?Vn:[5,10,15,20],onSizeChange:Bn=>(Dn=>{unref(he).pageSize=Dn,V("page-size-change",Dn)})(Bn),onCurrentChange:Bn=>(Dn=>{unref(he).currentPage=Dn,V("page-current-change",Dn)})(Bn)}),null):null])};return()=>withDirectives(createVNode("div",mergeProps({class:"pure-table",style:"width:100%"},unref(Cn),unref(hn)),[An()]),[[resolveDirective("loading"),unref(de)]])}}),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:$}){const{data:V,columns:oe,align:ie,labelAlign:le,loading:ue}=toRefs(t),de={title:()=>(r==null?void 0:r.title)&&r.title({props:t,attrs:$})},pe={extra:()=>(r==null?void 0:r.extra)&&r.extra({props:t,attrs:$})},he=r!=null&&r.title&&!(r!=null&&r.extra)?de:r!=null&&r.extra&&!(r!=null&&r.title)?pe:r!=null&&r.title&&(r!=null&&r.extra)?Object.assign(de,pe):null;return()=>{var _e;return withDirectives(createVNode(ElDescriptions,mergeProps(t,$,{"element-loading-text":(_e=unref(ue).text)!=null?_e:"Loading...","element-loading-svg":unref(ue).svg,"element-loading-spinner":unref(ue).spinner,"element-loading-svg-view-box":unref(ue).svgViewBox,"element-loading-background":unref(ue).background}),{default:()=>[unref(oe).map(($e,Ie)=>{let Ve=unref(V).map(Lt=>Lt[$e==null?void 0:$e.prop]);const Fe={default:()=>{var Lt;return $e!=null&&$e.cellRenderer?createVNode(j,{render:$e.cellRenderer,params:{props:t,attrs:$,index:Ie,value:Ve[0]}},null):$e!=null&&$e.slot?(Lt=r==null?void 0:r[$e.slot])==null?void 0:Lt.call(r,{props:t,attrs:$,index:Ie,value:Ve[0]}):createVNode(Fragment,null,$e!=null&&$e.value?[unref($e.value)]:[Ve])}},Ue=$e!=null&&$e.labelRenderer?{label:()=>createVNode(j,{render:$e.labelRenderer,params:{props:t,attrs:$,index:Ie,value:Ve[0]}},null),...Fe}:Fe;return qe=$e==null?void 0:$e.hide,typeof qe=="function"&&($e!=null&&$e.hide($))?$e==null?void 0:$e.hide($):createVNode(ElDescriptionsItem,mergeProps($e,{key:Ie,align:$e.align?$e.align:unref(ie),labelAlign:$e.labelAlign?$e.labelAlign:unref(le)}),typeof(Et=Ue)=="function"||Object.prototype.toString.call(Et)==="[object Object]"&&!isVNode$1(Et)?Ue:{default:()=>[Ue]});var qe,Et})],...he}),[[resolveDirective("loading"),unref(ue).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 $=($=document.getElementsByTagName("script"))[$.length-1],r=$.getAttribute("data-injectcss"),$=$.getAttribute("data-disable-injectsvg");if(!$){var V,oe,ie,le,ue,de=function(_e,$e){$e.parentNode.insertBefore(_e,$e)};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)}}V=function(){var _e,$e=document.createElement("div");$e.innerHTML=t._iconfont_svg_string_2208059,($e=$e.getElementsByTagName("svg")[0])&&($e.setAttribute("aria-hidden","true"),$e.style.position="absolute",$e.style.width=0,$e.style.height=0,$e.style.overflow="hidden",$e=$e,(_e=document.body).firstChild?de($e,_e.firstChild):_e.appendChild($e))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(V,0):(oe=function(){document.removeEventListener("DOMContentLoaded",oe,!1),V()},document.addEventListener("DOMContentLoaded",oe,!1)):document.attachEvent&&(ie=V,le=t.document,ue=!1,he(),le.onreadystatechange=function(){le.readyState=="complete"&&(le.onreadystatechange=null,pe())})}function pe(){ue||(ue=!0,ie())}function he(){try{le.documentElement.doScroll("left")}catch{return void setTimeout(he,50)}pe()}}(window);const iconfont="",auth$1={mounted(t,r){var V;const{value:$}=r;if($)!hasAuth($)&&((V=t.parentNode)==null||V.removeChild(t));else throw new Error(`[Directive: auth]: need auths! Like v-auth="['btn.add','btn.edit']"`)}},message=(t,r)=>{if(r){const{icon:$,type:V="info",dangerouslyUseHTMLString:oe=!1,customClass:ie="antd",duration:le=2e3,showClose:ue=!1,center:de=!1,offset:pe=20,appendTo:he=document.body,grouping:_e=!1,onClose:$e}=r;return ElMessage({message:t,type:V,icon:$,dangerouslyUseHTMLString:oe,duration:le,showClose:ue,center:de,offset:pe,appendTo:he,grouping:_e,customClass:ie==="antd"?"pure-message":"",onClose:()=>Y($e)?$e():null})}else return ElMessage({message:t,customClass:"pure-message"})},closeAllMessage=()=>ElMessage.closeAll(),copy={mounted(t,r){const{value:$}=r;if($){t.copyValue=$;const V=r.arg??"dblclick";useEventListener(t,V,()=>{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 V;const $=r.value;if($&&Y($)){let oe=null,ie=null,le=500,ue=null;const de=((V=r==null?void 0:r.arg)==null?void 0:V.includes(":"))??!1;de?(le=Number(Vt(r.arg,":")),ue=Number(Zt(r.arg,":"))):r.arg&&(le=Number(r.arg));const pe=()=>{oe&&(clearTimeout(oe),oe=null),ie&&(clearInterval(ie),ie=null)},he=$e=>{$e.preventDefault(),ie===null&&(ie=setInterval(()=>$(),ue))};useEventListener(t,"pointerdown",$e=>{pe(),$e.preventDefault(),oe===null&&(oe=setTimeout(de?()=>{$(),he($e)}:()=>$(),le))}),useEventListener(t,"pointerup",pe),useEventListener(t,"pointerleave",pe)}else throw new Error('[Directive: longpress]: need callback and callback must be a function! Like v-longpress="callback"')}},optimize={mounted(t,r){const{value:$}=r,V=r.arg??"debounce",oe=["debounce","throttle"].find(ie=>ie===V);if(oe)if($&&$.event&&Y($.fn)){let ie=$==null?void 0:$.params;if(ie)if(I$1(ie)||D$1(ie))ie=D$1(ie)?Array.of(ie):ie;else throw new Error("[Directive: optimize]: `params` must be an array or object");useEventListener(t,$.event,oe==="debounce"?Tt(ie?()=>$.fn(...ie):$.fn,($==null?void 0:$.timeout)??200,($==null?void 0:$.immediate)??!1):kn(ie?()=>$.fn(...ie):$.fn,($==null?void 0:$.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 $={...t};for(const V in r){const oe=r[V],ie=typeof oe;V in defaultIconSizeCustomisations$1?(oe===null||oe&&(ie==="string"||ie==="number"))&&($[V]=oe):ie===typeof $[V]&&($[V]=V==="rotate"?oe%4:oe)}return $}const separator$1=/[\s,]+/;function flipFromString$1(t,r){r.split(separator$1).forEach($=>{switch($.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function rotateFromString$1(t,r=0){const $=t.replace(/^-?[0-9.]*/,"");function V(oe){for(;oe<0;)oe+=4;return oe%4}if($===""){const oe=parseInt(t);return isNaN(oe)?0:V(oe)}else if($!==t){let oe=0;switch($){case"%":oe=25;break;case"deg":oe=90}if(oe){let ie=parseFloat(t.slice(0,t.length-$.length));return isNaN(ie)?0:(ie=ie/oe,ie%1===0?V(ie):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,$){if(r===1)return t;if($=$||100,typeof t=="number")return Math.ceil(t*r*$)/$;if(typeof t!="string")return t;const V=t.split(unitsSplit$1);if(V===null||!V.length)return t;const oe=[];let ie=V.shift(),le=unitsTest$1.test(ie);for(;;){if(le){const ue=parseFloat(ie);isNaN(ue)?oe.push(ie):oe.push(Math.ceil(ue*r*$)/$)}else oe.push(ie);if(ie=V.shift(),ie===void 0)return oe.join("");le=!le}}const isUnsetKeyword$1=t=>t==="unset"||t==="undefined"||t==="none";function iconToSVG$1(t,r){const $={...defaultIconProps$1,...t},V={...defaultIconCustomisations$1,...r},oe={left:$.left,top:$.top,width:$.width,height:$.height};let ie=$.body;[$,V].forEach(Ve=>{const Fe=[],Ue=Ve.hFlip,qe=Ve.vFlip;let Et=Ve.rotate;Ue?qe?Et+=2:(Fe.push("translate("+(oe.width+oe.left).toString()+" "+(0-oe.top).toString()+")"),Fe.push("scale(-1 1)"),oe.top=oe.left=0):qe&&(Fe.push("translate("+(0-oe.left).toString()+" "+(oe.height+oe.top).toString()+")"),Fe.push("scale(1 -1)"),oe.top=oe.left=0);let Lt;switch(Et<0&&(Et-=Math.floor(Et/4)*4),Et=Et%4,Et){case 1:Lt=oe.height/2+oe.top,Fe.unshift("rotate(90 "+Lt.toString()+" "+Lt.toString()+")");break;case 2:Fe.unshift("rotate(180 "+(oe.width/2+oe.left).toString()+" "+(oe.height/2+oe.top).toString()+")");break;case 3:Lt=oe.width/2+oe.left,Fe.unshift("rotate(-90 "+Lt.toString()+" "+Lt.toString()+")");break}Et%2===1&&(oe.left!==oe.top&&(Lt=oe.left,oe.left=oe.top,oe.top=Lt),oe.width!==oe.height&&(Lt=oe.width,oe.width=oe.height,oe.height=Lt)),Fe.length&&(ie='<g transform="'+Fe.join(" ")+'">'+ie+"</g>")});const le=V.width,ue=V.height,de=oe.width,pe=oe.height;let he,_e;le===null?(_e=ue===null?"1em":ue==="auto"?pe:ue,he=calculateSize$1(_e,de/pe)):(he=le==="auto"?de:le,_e=ue===null?calculateSize$1(he,pe/de):ue==="auto"?pe:ue);const $e={},Ie=(Ve,Fe)=>{isUnsetKeyword$1(Fe)||($e[Ve]=Fe.toString())};return Ie("width",he),Ie("height",_e),$e.viewBox=oe.left.toString()+" "+oe.top.toString()+" "+de.toString()+" "+pe.toString(),{attributes:$e,body:ie}}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 $=[];let V;for(;V=regex$1.exec(t);)$.push(V[1]);if(!$.length)return t;const oe="suffix"+(Math.random()*16777216|Date.now()).toString(16);return $.forEach(ie=>{const le=typeof r=="function"?r(ie):r+(counter$1++).toString(),ue=ie.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+ue+')([")]|\\.[a-z])',"g"),"$1"+le+oe+"$3")}),t=t.replace(new RegExp(oe,"g"),""),t}function iconToHTML$1(t,r){let $=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const V in r)$+=" "+V+'="'+r[V]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+$+">"+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 $ in propsToAdd$1)r[t+$]=propsToAdd$1[$]}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 $=mergeCustomisations$1(defaultExtendedIconCustomisations$1,r),V={...svgDefaults$1},oe=r.mode||"svg",ie={},le=r.style,ue=typeof le=="object"&&!(le instanceof Array)?le:{};for(let Fe in r){const Ue=r[Fe];if(Ue!==void 0)switch(Fe){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":$[Fe]=Ue===!0||Ue==="true"||Ue===1;break;case"flip":typeof Ue=="string"&&flipFromString$1($,Ue);break;case"color":ie.color=Ue;break;case"rotate":typeof Ue=="string"?$[Fe]=rotateFromString$1(Ue):typeof Ue=="number"&&($[Fe]=Ue);break;case"ariaHidden":case"aria-hidden":Ue!==!0&&Ue!=="true"&&delete V["aria-hidden"];break;default:{const qe=customisationAliases$1[Fe];qe?(Ue===!0||Ue==="true"||Ue===1)&&($[qe]=!0):defaultExtendedIconCustomisations$1[Fe]===void 0&&(V[Fe]=Ue)}}}const de=iconToSVG$1(t,$),pe=de.attributes;if($.inline&&(ie.verticalAlign="-0.125em"),oe==="svg"){V.style={...ie,...ue},Object.assign(V,pe);let Fe=0,Ue=r.id;return typeof Ue=="string"&&(Ue=Ue.replace(/-/g,"_")),V.innerHTML=replaceIDs$1(de.body,Ue?()=>Ue+"ID"+Fe++:"iconifyVue"),h$2("svg",V)}const{body:he,width:_e,height:$e}=t,Ie=oe==="mask"||(oe==="bg"?!1:he.indexOf("currentColor")!==-1),Ve=iconToHTML$1(he,{...pe,width:_e+"",height:$e+""});return V.style={...ie,"--svg":svgToURL$1(Ve),width:fixSize$1(pe.width),height:fixSize$1(pe.height),...commonProps$1,...Ie?monotoneProps$1:coloredProps$1,...ue},h$2("span",V)},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,$=typeof r=="string"?storage$1[r]:typeof r=="object"?r:null;return $===null||typeof $!="object"||typeof $.body!="string"?this.$slots.default?this.$slots.default():null:render$1({...defaultIconProps$1,...$},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="")=>{const oe=t.split(":");if(t.slice(0,1)==="@"){if(oe.length<2||oe.length>3)return null;V=oe.shift().slice(1)}if(oe.length>3||!oe.length)return null;if(oe.length>1){const ue=oe.pop(),de=oe.pop(),pe={provider:oe.length>0?oe[0]:V,prefix:de,name:ue};return r&&!validateIconName(pe)?null:pe}const ie=oe[0],le=ie.split("-");if(le.length>1){const ue={provider:V,prefix:le.shift(),name:le.join("-")};return r&&!validateIconName(ue)?null:ue}if($&&V===""){const ue={provider:V,prefix:"",name:ie};return r&&!validateIconName(ue,$)?null:ue}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 $={};!t.hFlip!=!r.hFlip&&($.hFlip=!0),!t.vFlip!=!r.vFlip&&($.vFlip=!0);const V=((t.rotate||0)+(r.rotate||0))%4;return V&&($.rotate=V),$}function mergeIconData(t,r){const $=mergeIconTransformations(t,r);for(const V in defaultExtendedIconProps)V in defaultIconTransformations?V in t&&!(V in $)&&($[V]=defaultIconTransformations[V]):V in r?$[V]=r[V]:V in t&&($[V]=t[V]);return $}function getIconsTree(t,r){const $=t.icons,V=t.aliases||Object.create(null),oe=Object.create(null);function ie(le){if($[le])return oe[le]=[];if(!(le in oe)){oe[le]=null;const ue=V[le]&&V[le].parent,de=ue&&ie(ue);de&&(oe[le]=[ue].concat(de))}return oe[le]}return(r||Object.keys($).concat(Object.keys(V))).forEach(ie),oe}function internalGetIconData(t,r,$){const V=t.icons,oe=t.aliases||Object.create(null);let ie={};function le(ue){ie=mergeIconData(V[ue]||oe[ue],ie)}return le(r),$.forEach(le),mergeIconData(t,ie)}function parseIconSet(t,r){const $=[];if(typeof t!="object"||typeof t.icons!="object")return $;t.not_found instanceof Array&&t.not_found.forEach(oe=>{r(oe,null),$.push(oe)});const V=getIconsTree(t);for(const oe in V){const ie=V[oe];ie&&(r(oe,internalGetIconData(t,oe,ie)),$.push(oe))}return $}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(t,r){for(const $ in r)if($ in t&&typeof t[$]!=typeof r[$])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 $=r.icons;for(const oe in $){const ie=$[oe];if(!oe.match(matchIconName)||typeof ie.body!="string"||!checkOptionalProps(ie,defaultExtendedIconProps))return null}const V=r.aliases||Object.create(null);for(const oe in V){const ie=V[oe],le=ie.parent;if(!oe.match(matchIconName)||typeof le!="string"||!$[le]&&!V[le]||!checkOptionalProps(ie,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 $=dataStorage[t]||(dataStorage[t]=Object.create(null));return $[r]||($[r]=newStorage(t,r))}function addIconSet(t,r){return quicklyValidateIconSet(r)?parseIconSet(r,($,V)=>{V?t.icons[$]=V:t.missing.add($)}):[]}function addIconToStorage(t,r,$){try{if(typeof $.body=="string")return t.icons[r]={...$},!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 $=getStorage(r.provider,r.prefix),V=r.name;return $.icons[V]||($.missing.has(V)?null:void 0)}}function addIcon(t,r){const $=stringToIcon(t,!0,simpleNames);if(!$)return!1;const V=getStorage($.provider,$.prefix);return addIconToStorage(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 oe=!1;return quicklyValidateIconSet(t)&&(t.prefix="",parseIconSet(t,(ie,le)=>{le&&addIcon(ie,le)&&(oe=!0)})),oe}const $=t.prefix;if(!validateIconName({provider:r,prefix:$,name:"a"}))return!1;const V=getStorage(r,$);return!!addIconSet(V,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,$){if(r===1)return t;if($=$||100,typeof t=="number")return Math.ceil(t*r*$)/$;if(typeof t!="string")return t;const V=t.split(unitsSplit);if(V===null||!V.length)return t;const oe=[];let ie=V.shift(),le=unitsTest.test(ie);for(;;){if(le){const ue=parseFloat(ie);isNaN(ue)?oe.push(ie):oe.push(Math.ceil(ue*r*$)/$)}else oe.push(ie);if(ie=V.shift(),ie===void 0)return oe.join("");le=!le}}const isUnsetKeyword=t=>t==="unset"||t==="undefined"||t==="none";function iconToSVG(t,r){const $={...defaultIconProps,...t},V={...defaultIconCustomisations,...r},oe={left:$.left,top:$.top,width:$.width,height:$.height};let ie=$.body;[$,V].forEach(Ve=>{const Fe=[],Ue=Ve.hFlip,qe=Ve.vFlip;let Et=Ve.rotate;Ue?qe?Et+=2:(Fe.push("translate("+(oe.width+oe.left).toString()+" "+(0-oe.top).toString()+")"),Fe.push("scale(-1 1)"),oe.top=oe.left=0):qe&&(Fe.push("translate("+(0-oe.left).toString()+" "+(oe.height+oe.top).toString()+")"),Fe.push("scale(1 -1)"),oe.top=oe.left=0);let Lt;switch(Et<0&&(Et-=Math.floor(Et/4)*4),Et=Et%4,Et){case 1:Lt=oe.height/2+oe.top,Fe.unshift("rotate(90 "+Lt.toString()+" "+Lt.toString()+")");break;case 2:Fe.unshift("rotate(180 "+(oe.width/2+oe.left).toString()+" "+(oe.height/2+oe.top).toString()+")");break;case 3:Lt=oe.width/2+oe.left,Fe.unshift("rotate(-90 "+Lt.toString()+" "+Lt.toString()+")");break}Et%2===1&&(oe.left!==oe.top&&(Lt=oe.left,oe.left=oe.top,oe.top=Lt),oe.width!==oe.height&&(Lt=oe.width,oe.width=oe.height,oe.height=Lt)),Fe.length&&(ie='<g transform="'+Fe.join(" ")+'">'+ie+"</g>")});const le=V.width,ue=V.height,de=oe.width,pe=oe.height;let he,_e;le===null?(_e=ue===null?"1em":ue==="auto"?pe:ue,he=calculateSize(_e,de/pe)):(he=le==="auto"?de:le,_e=ue===null?calculateSize(he,pe/de):ue==="auto"?pe:ue);const $e={},Ie=(Ve,Fe)=>{isUnsetKeyword(Fe)||($e[Ve]=Fe.toString())};return Ie("width",he),Ie("height",_e),$e.viewBox=oe.left.toString()+" "+oe.top.toString()+" "+de.toString()+" "+pe.toString(),{attributes:$e,body:ie}}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 $=[];let V;for(;V=regex.exec(t);)$.push(V[1]);if(!$.length)return t;const oe="suffix"+(Math.random()*16777216|Date.now()).toString(16);return $.forEach(ie=>{const le=typeof r=="function"?r(ie):r+(counter++).toString(),ue=ie.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+ue+')([")]|\\.[a-z])',"g"),"$1"+le+oe+"$3")}),t=t.replace(new RegExp(oe,"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 $=createAPIConfig(r);return $===null?!1:(configStorage[t]=$,!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 $=getAPIConfig(t);if(!$)return 0;let V;if(!$.maxURL)V=0;else{let oe=0;$.resources.forEach(le=>{oe=Math.max(oe,le.length)});const ie=r+".json?icons=";V=$.maxURL-oe-$.path.length-ie.length}return V}function shouldAbort(t){return t===404}const prepare=(t,r,$)=>{const V=[],oe=calculateMaxLength(t,r),ie="icons";let le={type:ie,provider:t,prefix:r,icons:[]},ue=0;return $.forEach((de,pe)=>{ue+=de.length+1,ue>=oe&&pe>0&&(V.push(le),le={type:ie,provider:t,prefix:r,icons:[]},ue=de.length),le.icons.push(de)}),V.push(le),V};function getPath(t){if(typeof t=="string"){const r=getAPIConfig(t);if(r)return r.path}return"/"}const send=(t,r,$)=>{if(!fetchModule){$("abort",424);return}let V=getPath(r.provider);switch(r.type){case"icons":{const ie=r.prefix,ue=r.icons.join(","),de=new URLSearchParams({icons:ue});V+=ie+".json?"+de.toString();break}case"custom":{const ie=r.uri;V+=ie.slice(0,1)==="/"?ie.slice(1):ie;break}default:$("abort",400);return}let oe=503;fetchModule(t+V).then(ie=>{const le=ie.status;if(le!==200){setTimeout(()=>{$(shouldAbort(le)?"abort":"next",le)});return}return oe=501,ie.json()}).then(ie=>{if(typeof ie!="object"||ie===null){setTimeout(()=>{ie===404?$("abort",ie):$("next",oe)});return}setTimeout(()=>{$("success",ie)})}).catch(()=>{$("next",oe)})},fetchAPIModule={prepare,send};function sortIcons(t){const r={loaded:[],missing:[],pending:[]},$=Object.create(null);t.sort((oe,ie)=>oe.provider!==ie.provider?oe.provider.localeCompare(ie.provider):oe.prefix!==ie.prefix?oe.prefix.localeCompare(ie.prefix):oe.name.localeCompare(ie.name));let V={provider:"",prefix:"",name:""};return t.forEach(oe=>{if(V.name===oe.name&&V.prefix===oe.prefix&&V.provider===oe.provider)return;V=oe;const ie=oe.provider,le=oe.prefix,ue=oe.name,de=$[ie]||($[ie]=Object.create(null)),pe=de[le]||(de[le]=getStorage(ie,le));let he;ue in pe.icons?he=r.loaded:le===""||pe.missing.has(ue)?he=r.missing:he=r.pending;const _e={provider:ie,prefix:le,name:ue};he.push(_e)}),r}function removeCallback(t,r){t.forEach($=>{const V=$.loaderCallbacks;V&&($.loaderCallbacks=V.filter(oe=>oe.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 $=!1;const V=t.provider,oe=t.prefix;r.forEach(ie=>{const le=ie.icons,ue=le.pending.length;le.pending=le.pending.filter(de=>{if(de.prefix!==oe)return!0;const pe=de.name;if(t.icons[pe])le.loaded.push({provider:V,prefix:oe,name:pe});else if(t.missing.has(pe))le.missing.push({provider:V,prefix:oe,name:pe});else return $=!0,!0;return!1}),le.pending.length!==ue&&($||removeCallback([t],ie.id),ie.callback(le.loaded.slice(0),le.missing.slice(0),le.pending.slice(0),ie.abort))})}))}let idCounter=0;function storeCallback(t,r,$){const V=idCounter++,oe=removeCallback.bind(null,$,V);if(!r.pending.length)return oe;const ie={id:V,icons:r,callback:t,abort:oe};return $.forEach(le=>{(le.loaderCallbacks||(le.loaderCallbacks=[])).push(ie)}),oe}function listToIcons(t,r=!0,$=!1){const V=[];return t.forEach(oe=>{const ie=typeof oe=="string"?stringToIcon(oe,r,$):oe;ie&&V.push(ie)}),V}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(t,r,$,V){const oe=t.resources.length,ie=t.random?Math.floor(Math.random()*oe):t.index;let le;if(t.random){let bn=t.resources.slice(0);for(le=[];bn.length>1;){const Sn=Math.floor(Math.random()*bn.length);le.push(bn[Sn]),bn=bn.slice(0,Sn).concat(bn.slice(Sn+1))}le=le.concat(bn)}else le=t.resources.slice(ie).concat(t.resources.slice(0,ie));const ue=Date.now();let de="pending",pe=0,he,_e=null,$e=[],Ie=[];typeof V=="function"&&Ie.push(V);function Ve(){_e&&(clearTimeout(_e),_e=null)}function Fe(){de==="pending"&&(de="aborted"),Ve(),$e.forEach(bn=>{bn.status==="pending"&&(bn.status="aborted")}),$e=[]}function Ue(bn,Sn){Sn&&(Ie=[]),typeof bn=="function"&&Ie.push(bn)}function qe(){return{startTime:ue,payload:r,status:de,queriesSent:pe,queriesPending:$e.length,subscribe:Ue,abort:Fe}}function Et(){de="failed",Ie.forEach(bn=>{bn(void 0,he)})}function Lt(){$e.forEach(bn=>{bn.status==="pending"&&(bn.status="aborted")}),$e=[]}function hn(bn,Sn,En){const wn=Sn!=="success";switch($e=$e.filter($n=>$n!==bn),de){case"pending":break;case"failed":if(wn||!t.dataAfterTimeout)return;break;default:return}if(Sn==="abort"){he=En,Et();return}if(wn){he=En,$e.length||(le.length?Cn():Et());return}if(Ve(),Lt(),!t.random){const $n=t.resources.indexOf(bn.resource);$n!==-1&&$n!==t.index&&(t.index=$n)}de="completed",Ie.forEach($n=>{$n(En)})}function Cn(){if(de!=="pending")return;Ve();const bn=le.shift();if(bn===void 0){if($e.length){_e=setTimeout(()=>{Ve(),de==="pending"&&(Lt(),Et())},t.timeout);return}Et();return}const Sn={status:"pending",resource:bn,callback:(En,wn)=>{hn(Sn,En,wn)}};$e.push(Sn),pe++,_e=setTimeout(Cn,t.rotate),$(bn,r,Sn.callback)}return setTimeout(Cn),qe}function initRedundancy(t){const r={...defaultConfig,...t};let $=[];function V(){$=$.filter(ue=>ue().status==="pending")}function oe(ue,de,pe){const he=sendQuery(r,ue,de,(_e,$e)=>{V(),pe&&pe(_e,$e)});return $.push(he),he}function ie(ue){return $.find(de=>ue(de))||null}return{query:oe,find:ie,setIndex:ue=>{r.index=ue},getIndex:()=>r.index,cleanup:V}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(t){if(!redundancyCache[t]){const r=getAPIConfig(t);if(!r)return;const $=initRedundancy(r),V={config:r,redundancy:$};redundancyCache[t]=V}return redundancyCache[t]}function sendAPIQuery(t,r,$){let V,oe;if(typeof t=="string"){const ie=getAPIModule(t);if(!ie)return $(void 0,424),emptyCallback$1;oe=ie.send;const le=getRedundancyCache(t);le&&(V=le.redundancy)}else{const ie=createAPIConfig(t);if(ie){V=initRedundancy(ie);const le=t.resources?t.resources[0]:"",ue=getAPIModule(le);ue&&(oe=ue.send)}}return!V||!oe?($(void 0,424),emptyCallback$1):V.query(r,oe,$)().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,$){try{return t.setItem(r,$),!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 $=getBrowserStorage(t);if(!$)return;const V=getStoredItem($,browserCacheVersionKey);if(V!==browserCacheVersion){if(V){const ue=getBrowserStorageItemsCount($);for(let de=0;de<ue;de++)removeStoredItem($,browserCachePrefix+de.toString())}setStoredItem($,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount($,0);return}const oe=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,ie=ue=>{const de=browserCachePrefix+ue.toString(),pe=getStoredItem($,de);if(typeof pe=="string"){try{const he=JSON.parse(pe);if(typeof he=="object"&&typeof he.cached=="number"&&he.cached>oe&&typeof he.provider=="string"&&typeof he.data=="object"&&typeof he.data.prefix=="string"&&r(he,ue))return!0}catch{}removeStoredItem($,de)}};let le=getBrowserStorageItemsCount($);for(let ue=le-1;ue>=0;ue--)ie(ue)||(ue===le-1?(le--,setBrowserStorageItemsCount($,le)):browserStorageEmptyItems[t].add(ue))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const t in browserStorageConfig)iterateBrowserStorage(t,r=>{const $=r.data,V=r.provider,oe=$.prefix,ie=getStorage(V,oe);if(!addIconSet(ie,$).length)return!1;const le=$.lastModified||-1;return ie.lastModifiedCached=ie.lastModifiedCached?Math.min(ie.lastModifiedCached,le):le,!0})}}function updateLastModified(t,r){const $=t.lastModifiedCached;if($&&$>=r)return $===r;if(t.lastModifiedCached=r,$)for(const V in browserStorageConfig)iterateBrowserStorage(V,oe=>{const ie=oe.data;return oe.provider!==t.provider||ie.prefix!==t.prefix||ie.lastModified===r});return!0}function storeInBrowserStorage(t,r){browserStorageStatus||initBrowserStorage();function $(V){let oe;if(!browserStorageConfig[V]||!(oe=getBrowserStorage(V)))return;const ie=browserStorageEmptyItems[V];let le;if(ie.size)ie.delete(le=Array.from(ie).shift());else if(le=getBrowserStorageItemsCount(oe),!setBrowserStorageItemsCount(oe,le+1))return;const ue={cached:Math.floor(Date.now()/browserStorageHour),provider:t.provider,data:r};return setStoredItem(oe,browserCachePrefix+le.toString(),JSON.stringify(ue))}r.lastModified&&!updateLastModified(t,r.lastModified)||Object.keys(r.icons).length&&(r.not_found&&(r=Object.assign({},r),delete r.not_found),$("local")||$("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:$,prefix:V}=t,oe=t.iconsToLoad;delete t.iconsToLoad;let ie;if(!oe||!(ie=getAPIModule($)))return;ie.prepare($,V,oe).forEach(ue=>{sendAPIQuery($,ue,de=>{if(typeof de!="object")ue.icons.forEach(pe=>{t.missing.add(pe)});else try{const pe=addIconSet(t,de);if(!pe.length)return;const he=t.pendingIcons;he&&pe.forEach(_e=>{he.delete(_e)}),storeInBrowserStorage(t,de)}catch(pe){console.error(pe)}loadedNewIcons(t)})})}))}const loadIcons=(t,r)=>{const $=listToIcons(t,!0,allowSimpleNames()),V=sortIcons($);if(!V.pending.length){let de=!0;return r&&setTimeout(()=>{de&&r(V.loaded,V.missing,V.pending,emptyCallback)}),()=>{de=!1}}const oe=Object.create(null),ie=[];let le,ue;return V.pending.forEach(de=>{const{provider:pe,prefix:he}=de;if(he===ue&&pe===le)return;le=pe,ue=he,ie.push(getStorage(pe,he));const _e=oe[pe]||(oe[pe]=Object.create(null));_e[he]||(_e[he]=[])}),V.pending.forEach(de=>{const{provider:pe,prefix:he,name:_e}=de,$e=getStorage(pe,he),Ie=$e.pendingIcons||($e.pendingIcons=new Set);Ie.has(_e)||(Ie.add(_e),oe[pe][he].push(_e))}),ie.forEach(de=>{const{provider:pe,prefix:he}=de;oe[pe][he].length&&loadNewIcons(de,oe[pe][he])}),r?storeCallback(r,V,ie):emptyCallback};function mergeCustomisations(t,r){const $={...t};for(const V in r){const oe=r[V],ie=typeof oe;V in defaultIconSizeCustomisations?(oe===null||oe&&(ie==="string"||ie==="number"))&&($[V]=oe):ie===typeof $[V]&&($[V]=V==="rotate"?oe%4:oe)}return $}const separator=/[\s,]+/;function flipFromString(t,r){r.split(separator).forEach($=>{switch($.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function rotateFromString(t,r=0){const $=t.replace(/^-?[0-9.]*/,"");function V(oe){for(;oe<0;)oe+=4;return oe%4}if($===""){const oe=parseInt(t);return isNaN(oe)?0:V(oe)}else if($!==t){let oe=0;switch($){case"%":oe=25;break;case"deg":oe=90}if(oe){let ie=parseFloat(t.slice(0,t.length-$.length));return isNaN(ie)?0:(ie=ie/oe,ie%1===0?V(ie):0)}}return r}function iconToHTML(t,r){let $=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const V in r)$+=" "+V+'="'+r[V]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+$+">"+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 $ in propsToAdd)r[t+$]=propsToAdd[$]}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 $=mergeCustomisations(defaultExtendedIconCustomisations,r),V={...svgDefaults},oe=r.mode||"svg",ie={},le=r.style,ue=typeof le=="object"&&!(le instanceof Array)?le:{};for(let Fe in r){const Ue=r[Fe];if(Ue!==void 0)switch(Fe){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":$[Fe]=Ue===!0||Ue==="true"||Ue===1;break;case"flip":typeof Ue=="string"&&flipFromString($,Ue);break;case"color":ie.color=Ue;break;case"rotate":typeof Ue=="string"?$[Fe]=rotateFromString(Ue):typeof Ue=="number"&&($[Fe]=Ue);break;case"ariaHidden":case"aria-hidden":Ue!==!0&&Ue!=="true"&&delete V["aria-hidden"];break;default:{const qe=customisationAliases[Fe];qe?(Ue===!0||Ue==="true"||Ue===1)&&($[qe]=!0):defaultExtendedIconCustomisations[Fe]===void 0&&(V[Fe]=Ue)}}}const de=iconToSVG(t,$),pe=de.attributes;if($.inline&&(ie.verticalAlign="-0.125em"),oe==="svg"){V.style={...ie,...ue},Object.assign(V,pe);let Fe=0,Ue=r.id;return typeof Ue=="string"&&(Ue=Ue.replace(/-/g,"_")),V.innerHTML=replaceIDs(de.body,Ue?()=>Ue+"ID"+Fe++:"iconifyVue"),h$2("svg",V)}const{body:he,width:_e,height:$e}=t,Ie=oe==="mask"||(oe==="bg"?!1:he.indexOf("currentColor")!==-1),Ve=iconToHTML(he,{...pe,width:_e+"",height:$e+""});return V.style={...ie,"--svg":svgToURL(Ve),width:fixSize(pe.width),height:fixSize(pe.height),...commonProps,...Ie?monotoneProps:coloredProps,...ue},h$2("span",V)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const t=window;if(t.IconifyPreload!==void 0){const r=t.IconifyPreload,$="Invalid IconifyPreload syntax.";typeof r=="object"&&r!==null&&(r instanceof Array?r:[r]).forEach(V=>{try{(typeof V!="object"||V===null||V instanceof Array||typeof V.icons!="object"||typeof V.prefix!="string"||!addCollection(V))&&console.error($)}catch{console.error($)}})}if(t.IconifyProviders!==void 0){const r=t.IconifyProviders;if(typeof r=="object"&&r!==null)for(let $ in r){const V="IconifyProviders["+$+"] is invalid.";try{const oe=r[$];if(typeof oe!="object"||!oe||oe.resources===void 0)continue;addAPIProvider($,oe)||console.error(V)}catch{console.error(V)}}}}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 $;if(typeof t!="string"||($=stringToIcon(t,!1,!0))===null)return this.abortLoading(),null;const V=getIconData($);if(!V)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",V!==null&&(this._loadingIcon={name:t,abort:loadIcons([$],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,r&&r(t));const oe=["iconify"];return $.prefix!==""&&oe.push("iconify--"+$.prefix),$.provider!==""&&oe.push("iconify--"+$.provider),{data:V,classes:oe}}},render(){this.counter;const t=this.$attrs,r=this.iconMounted?this.getIcon(t.icon,t.onLoad):null;if(!r)return render(emptyIcon,t);let $=t;return r.classes&&($={...t,class:(typeof t.class=="string"?t.class+" ":"")+r.classes.join(" ")}),render({...defaultIconProps,...r.data},$)}}),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:()=>[]})}}),IconJson={"ep:":["add-location","aim","alarm-clock","apple","arrow-down","arrow-down-bold","arrow-left","arrow-left-bold","arrow-right","arrow-right-bold","arrow-up","arrow-up-bold","avatar","back","baseball","basketball","bell","bell-filled","bicycle","bottom","bottom-left","bottom-right","bowl","box","briefcase","brush","brush-filled","burger","calendar","camera","camera-filled","caret-bottom","caret-left","caret-right","caret-top","cellphone","chat-dot-round","chat-dot-square","chat-line-round","chat-line-square","chat-round","chat-square","check","checked","cherry","chicken","chrome-filled","circle-check","circle-check-filled","circle-close","circle-close-filled","circle-plus","circle-plus-filled","clock","close","close-bold","cloudy","coffee","coffee-cup","coin","cold-drink","collection","collection-tag","comment","compass","connection","coordinate","copy-document","cpu","credit-card","crop","d-arrow-left","d-arrow-right","d-caret","data-analysis","data-board","data-line","delete","delete-filled","delete-location","dessert","discount","dish","dish-dot","document","document-add","document-checked","document-copy","document-delete","document-remove","download","drizzling","edit","edit-pen","eleme","eleme-filled","element-plus","expand","failed","female","files","film","filter","finished","first-aid-kit","flag","fold","folder","folder-add","folder-checked","folder-delete","folder-opened","folder-remove","food","football","fork-spoon","fries","full-screen","goblet","goblet-full","goblet-square","goblet-square-full","gold-medal","goods","goods-filled","grape","grid","guide","handbag","headset","help","help-filled","hide","histogram","home-filled","hot-water","house","ice-cream","ice-cream-round","ice-cream-square","ice-drink","ice-tea","info-filled","iphone","key","knife-fork","lightning","link","list","loading","location","location-filled","location-information","lock","lollipop","magic-stick","magnet","male","management","map-location","medal","memo","menu","message","message-box","mic","microphone","milk-tea","minus","money","monitor","moon","moon-night","more","more-filled","mostly-cloudy","mouse","mug","mute","mute-notification","no-smoking","notebook","notification","odometer","office-building","open","operation","opportunity","orange","paperclip","partly-cloudy","pear","phone","phone-filled","picture","picture-filled","picture-rounded","pie-chart","place","platform","plus","pointer","position","postcard","pouring","present","price-tag","printer","promotion","quartz-watch","question-filled","rank","reading","reading-lamp","refresh","refresh-left","refresh-right","refrigerator","remove","remove-filled","right","scale-to-original","school","scissor","search","select","sell","semi-select","service","set-up","setting","share","ship","shop","shopping-bag","shopping-cart","shopping-cart-full","shopping-trolley","smoking","soccer","sold-out","sort","sort-down","sort-up","stamp","star","star-filled","stopwatch","success-filled","sugar","suitcase","suitcase-line","sunny","sunrise","sunset","switch","switch-button","switch-filled","takeaway-box","ticket","tickets","timer","toilet-paper","tools","top","top-left","top-right","trend-charts","trophy","trophy-base","turn-off","umbrella","unlock","upload","upload-filled","user","user-filled","van","video-camera","video-camera-filled","video-pause","video-play","view","wallet","wallet-filled","warn-triangle-filled","warning","warning-filled","watch","watermelon","wind-power","zoom-in","zoom-out"],"ri:":["24-hours-fill","24-hours-line","4k-fill","4k-line","a-b","account-box-fill","account-box-line","account-circle-fill","account-circle-line","account-pin-box-fill","account-pin-box-line","account-pin-circle-fill","account-pin-circle-line","add-box-fill","add-box-line","add-circle-fill","add-circle-line","add-fill","add-line","admin-fill","admin-line","advertisement-fill","advertisement-line","ai-generate","airplay-fill","airplay-line","alarm-fill","alarm-line","alarm-warning-fill","alarm-warning-line","album-fill","album-line","alert-fill","alert-line","aliens-fill","aliens-line","align-bottom","align-center","align-justify","align-left","align-right","align-top","align-vertically","alipay-fill","alipay-line","amazon-fill","amazon-line","anchor-fill","anchor-line","ancient-gate-fill","ancient-gate-line","ancient-pavilion-fill","ancient-pavilion-line","android-fill","android-line","angularjs-fill","angularjs-line","anticlockwise-2-fill","anticlockwise-2-line","anticlockwise-fill","anticlockwise-line","app-store-fill","app-store-line","apple-fill","apple-line","apps-2-fill","apps-2-line","apps-fill","apps-line","archive-2-fill","archive-2-line","archive-drawer-fill","archive-drawer-line","archive-fill","archive-line","arrow-down-circle-fill","arrow-down-circle-line","arrow-down-double-fill","arrow-down-double-line","arrow-down-fill","arrow-down-line","arrow-down-s-fill","arrow-down-s-line","arrow-drop-down-fill","arrow-drop-down-line","arrow-drop-left-fill","arrow-drop-left-line","arrow-drop-right-fill","arrow-drop-right-line","arrow-drop-up-fill","arrow-drop-up-line","arrow-go-back-fill","arrow-go-back-line","arrow-go-forward-fill","arrow-go-forward-line","arrow-left-circle-fill","arrow-left-circle-line","arrow-left-double-fill","arrow-left-double-line","arrow-left-down-fill","arrow-left-down-line","arrow-left-fill","arrow-left-line","arrow-left-right-fill","arrow-left-right-line","arrow-left-s-fill","arrow-left-s-line","arrow-left-up-fill","arrow-left-up-line","arrow-right-circle-fill","arrow-right-circle-line","arrow-right-double-fill","arrow-right-double-line","arrow-right-down-fill","arrow-right-down-line","arrow-right-fill","arrow-right-line","arrow-right-s-fill","arrow-right-s-line","arrow-right-up-fill","arrow-right-up-line","arrow-turn-back-fill","arrow-turn-back-line","arrow-turn-forward-fill","arrow-turn-forward-line","arrow-up-circle-fill","arrow-up-circle-line","arrow-up-double-fill","arrow-up-double-line","arrow-up-down-fill","arrow-up-down-line","arrow-up-fill","arrow-up-line","arrow-up-s-fill","arrow-up-s-line","artboard-2-fill","artboard-2-line","artboard-fill","artboard-line","article-fill","article-line","aspect-ratio-fill","aspect-ratio-line","asterisk","at-fill","at-line","attachment-2","attachment-fill","attachment-line","auction-fill","auction-line","award-fill","award-line","baidu-fill","baidu-line","ball-pen-fill","ball-pen-line","bank-card-2-fill","bank-card-2-line","bank-card-fill","bank-card-line","bank-fill","bank-line","bar-chart-2-fill","bar-chart-2-line","bar-chart-box-fill","bar-chart-box-line","bar-chart-fill","bar-chart-grouped-fill","bar-chart-grouped-line","bar-chart-horizontal-fill","bar-chart-horizontal-line","bar-chart-line","barcode-box-fill","barcode-box-line","barcode-fill","barcode-line","bard-fill","bard-line","barricade-fill","barricade-line","base-station-fill","base-station-line","basketball-fill","basketball-line","battery-2-charge-fill","battery-2-charge-line","battery-2-fill","battery-2-line","battery-charge-fill","battery-charge-line","battery-fill","battery-line","battery-low-fill","battery-low-line","battery-saver-fill","battery-saver-line","battery-share-fill","battery-share-line","bear-smile-fill","bear-smile-line","beer-fill","beer-line","behance-fill","behance-line","bell-fill","bell-line","bike-fill","bike-line","bilibili-fill","bilibili-line","bill-fill","bill-line","billiards-fill","billiards-line","bit-coin-fill","bit-coin-line","blaze-fill","blaze-line","blender-fill","blender-line","bluetooth-connect-fill","bluetooth-connect-line","bluetooth-fill","bluetooth-line","blur-off-fill","blur-off-line","body-scan-fill","body-scan-line","bold","book-2-fill","book-2-line","book-3-fill","book-3-line","book-fill","book-line","book-mark-fill","book-mark-line","book-open-fill","book-open-line","book-read-fill","book-read-line","booklet-fill","booklet-line","bookmark-2-fill","bookmark-2-line","bookmark-3-fill","bookmark-3-line","bookmark-fill","bookmark-line","bootstrap-fill","bootstrap-line","box-1-fill","box-1-line","box-2-fill","box-2-line","box-3-fill","box-3-line","boxing-fill","boxing-line","braces-fill","braces-line","brackets-fill","brackets-line","brain-fill","brain-line","briefcase-2-fill","briefcase-2-line","briefcase-3-fill","briefcase-3-line","briefcase-4-fill","briefcase-4-line","briefcase-5-fill","briefcase-5-line","briefcase-fill","briefcase-line","bring-forward","bring-to-front","broadcast-fill","broadcast-line","brush-2-fill","brush-2-line","brush-3-fill","brush-3-line","brush-4-fill","brush-4-line","brush-fill","brush-line","bubble-chart-fill","bubble-chart-line","bug-2-fill","bug-2-line","bug-fill","bug-line","building-2-fill","building-2-line","building-3-fill","building-3-line","building-4-fill","building-4-line","building-fill","building-line","bus-2-fill","bus-2-line","bus-fill","bus-line","bus-wifi-fill","bus-wifi-line","cactus-fill","cactus-line","cake-2-fill","cake-2-line","cake-3-fill","cake-3-line","cake-fill","cake-line","calculator-fill","calculator-line","calendar-2-fill","calendar-2-line","calendar-check-fill","calendar-check-line","calendar-close-fill","calendar-close-line","calendar-event-fill","calendar-event-line","calendar-fill","calendar-line","calendar-todo-fill","calendar-todo-line","camera-2-fill","camera-2-line","camera-3-fill","camera-3-line","camera-fill","camera-lens-fill","camera-lens-line","camera-line","camera-off-fill","camera-off-line","camera-switch-fill","camera-switch-line","candle-fill","candle-line","capsule-fill","capsule-line","car-fill","car-line","car-washing-fill","car-washing-line","caravan-fill","caravan-line","cash-fill","cash-line","cast-fill","cast-line","cellphone-fill","cellphone-line","celsius-fill","celsius-line","centos-fill","centos-line","character-recognition-fill","character-recognition-line","charging-pile-2-fill","charging-pile-2-line","charging-pile-fill","charging-pile-line","chat-1-fill","chat-1-line","chat-2-fill","chat-2-line","chat-3-fill","chat-3-line","chat-4-fill","chat-4-line","chat-check-fill","chat-check-line","chat-delete-fill","chat-delete-line","chat-download-fill","chat-download-line","chat-follow-up-fill","chat-follow-up-line","chat-forward-fill","chat-forward-line","chat-heart-fill","chat-heart-line","chat-history-fill","chat-history-line","chat-new-fill","chat-new-line","chat-off-fill","chat-off-line","chat-poll-fill","chat-poll-line","chat-private-fill","chat-private-line","chat-quote-fill","chat-quote-line","chat-settings-fill","chat-settings-line","chat-smile-2-fill","chat-smile-2-line","chat-smile-3-fill","chat-smile-3-line","chat-smile-fill","chat-smile-line","chat-upload-fill","chat-upload-line","chat-voice-fill","chat-voice-line","check-double-fill","check-double-line","check-fill","check-line","checkbox-blank-circle-fill","checkbox-blank-circle-line","checkbox-blank-fill","checkbox-blank-line","checkbox-circle-fill","checkbox-circle-line","checkbox-fill","checkbox-indeterminate-fill","checkbox-indeterminate-line","checkbox-line","checkbox-multiple-blank-fill","checkbox-multiple-blank-line","checkbox-multiple-fill","checkbox-multiple-line","china-railway-fill","china-railway-line","chrome-fill","chrome-line","circle-fill","circle-line","clapperboard-fill","clapperboard-line","clipboard-fill","clipboard-line","clockwise-2-fill","clockwise-2-line","clockwise-fill","clockwise-line","close-circle-fill","close-circle-line","close-fill","close-line","closed-captioning-fill","closed-captioning-line","cloud-fill","cloud-line","cloud-off-fill","cloud-off-line","cloud-windy-fill","cloud-windy-line","cloudy-2-fill","cloudy-2-line","cloudy-fill","cloudy-line","code-box-fill","code-box-line","code-fill","code-line","code-s-fill","code-s-line","code-s-slash-fill","code-s-slash-line","code-view","codepen-fill","codepen-line","coin-fill","coin-line","coins-fill","coins-line","collage-fill","collage-line","command-fill","command-line","community-fill","community-line","compass-2-fill","compass-2-line","compass-3-fill","compass-3-line","compass-4-fill","compass-4-line","compass-discover-fill","compass-discover-line","compass-fill","compass-line","compasses-2-fill","compasses-2-line","compasses-fill","compasses-line","computer-fill","computer-line","contacts-book-2-fill","contacts-book-2-line","contacts-book-fill","contacts-book-line","contacts-book-upload-fill","contacts-book-upload-line","contacts-fill","contacts-line","contract-left-fill","contract-left-line","contract-left-right-fill","contract-left-right-line","contract-right-fill","contract-right-line","contract-up-down-fill","contract-up-down-line","contrast-2-fill","contrast-2-line","contrast-drop-2-fill","contrast-drop-2-line","contrast-drop-fill","contrast-drop-line","contrast-fill","contrast-line","copilot-fill","copilot-line","copper-coin-fill","copper-coin-line","copper-diamond-fill","copper-diamond-line","copyleft-fill","copyleft-line","copyright-fill","copyright-line","coreos-fill","coreos-line","corner-down-left-fill","corner-down-left-line","corner-down-right-fill","corner-down-right-line","corner-left-down-fill","corner-left-down-line","corner-left-up-fill","corner-left-up-line","corner-right-down-fill","corner-right-down-line","corner-right-up-fill","corner-right-up-line","corner-up-left-double-fill","corner-up-left-double-line","corner-up-left-fill","corner-up-left-line","corner-up-right-double-fill","corner-up-right-double-line","corner-up-right-fill","corner-up-right-line","coupon-2-fill","coupon-2-line","coupon-3-fill","coupon-3-line","coupon-4-fill","coupon-4-line","coupon-5-fill","coupon-5-line","coupon-fill","coupon-line","cpu-fill","cpu-line","creative-commons-by-fill","creative-commons-by-line","creative-commons-fill","creative-commons-line","creative-commons-nc-fill","creative-commons-nc-line","creative-commons-nd-fill","creative-commons-nd-line","creative-commons-sa-fill","creative-commons-sa-line","creative-commons-zero-fill","creative-commons-zero-line","criminal-fill","criminal-line","crop-2-fill","crop-2-line","crop-fill","crop-line","cross-fill","cross-line","crosshair-2-fill","crosshair-2-line","crosshair-fill","crosshair-line","css3-fill","css3-line","cup-fill","cup-line","currency-fill","currency-line","cursor-fill","cursor-line","customer-service-2-fill","customer-service-2-line","customer-service-fill","customer-service-line","dashboard-2-fill","dashboard-2-line","dashboard-3-fill","dashboard-3-line","dashboard-fill","dashboard-line","database-2-fill","database-2-line","database-fill","database-line","delete-back-2-fill","delete-back-2-line","delete-back-fill","delete-back-line","delete-bin-2-fill","delete-bin-2-line","delete-bin-3-fill","delete-bin-3-line","delete-bin-4-fill","delete-bin-4-line","delete-bin-5-fill","delete-bin-5-line","delete-bin-6-fill","delete-bin-6-line","delete-bin-7-fill","delete-bin-7-line","delete-bin-fill","delete-bin-line","delete-column","delete-row","device-fill","device-line","device-recover-fill","device-recover-line","dingding-fill","dingding-line","direction-fill","direction-line","disc-fill","disc-line","discord-fill","discord-line","discuss-fill","discuss-line","dislike-fill","dislike-line","disqus-fill","disqus-line","divide-fill","divide-line","donut-chart-fill","donut-chart-line","door-closed-fill","door-closed-line","door-fill","door-line","door-lock-box-fill","door-lock-box-line","door-lock-fill","door-lock-line","door-open-fill","door-open-line","dossier-fill","dossier-line","douban-fill","douban-line","double-quotes-l","double-quotes-r","download-2-fill","download-2-line","download-cloud-2-fill","download-cloud-2-line","download-cloud-fill","download-cloud-line","download-fill","download-line","draft-fill","draft-line","drag-drop-fill","drag-drop-line","drag-move-2-fill","drag-move-2-line","drag-move-fill","drag-move-line","draggable","dribbble-fill","dribbble-line","drive-fill","drive-line","drizzle-fill","drizzle-line","drop-fill","drop-line","dropbox-fill","dropbox-line","dropdown-list","dual-sim-1-fill","dual-sim-1-line","dual-sim-2-fill","dual-sim-2-line","dv-fill","dv-line","dvd-fill","dvd-line","e-bike-2-fill","e-bike-2-line","e-bike-fill","e-bike-line","earth-fill","earth-line","earthquake-fill","earthquake-line","edge-fill","edge-line","edge-new-fill","edge-new-line","edit-2-fill","edit-2-line","edit-box-fill","edit-box-line","edit-circle-fill","edit-circle-line","edit-fill","edit-line","eject-fill","eject-line","emoji-sticker-fill","emoji-sticker-line","emotion-2-fill","emotion-2-line","emotion-fill","emotion-happy-fill","emotion-happy-line","emotion-laugh-fill","emotion-laugh-line","emotion-line","emotion-normal-fill","emotion-normal-line","emotion-sad-fill","emotion-sad-line","emotion-unhappy-fill","emotion-unhappy-line","empathize-fill","empathize-line","emphasis","emphasis-cn","english-input","equal-fill","equal-line","equalizer-fill","equalizer-line","eraser-fill","eraser-line","error-warning-fill","error-warning-line","evernote-fill","evernote-line","exchange-box-fill","exchange-box-line","exchange-cny-fill","exchange-cny-line","exchange-dollar-fill","exchange-dollar-line","exchange-fill","exchange-funds-fill","exchange-funds-line","exchange-line","expand-left-fill","expand-left-line","expand-left-right-fill","expand-left-right-line","expand-right-fill","expand-right-line","expand-up-down-fill","expand-up-down-line","external-link-fill","external-link-line","eye-2-fill","eye-2-line","eye-close-fill","eye-close-line","eye-fill","eye-line","eye-off-fill","eye-off-line","facebook-box-fill","facebook-box-line","facebook-circle-fill","facebook-circle-line","facebook-fill","facebook-line","fahrenheit-fill","fahrenheit-line","feedback-fill","feedback-line","file-2-fill","file-2-line","file-3-fill","file-3-line","file-4-fill","file-4-line","file-add-fill","file-add-line","file-chart-2-fill","file-chart-2-line","file-chart-fill","file-chart-line","file-close-fill","file-close-line","file-cloud-fill","file-cloud-line","file-code-fill","file-code-line","file-copy-2-fill","file-copy-2-line","file-copy-fill","file-copy-line","file-damage-fill","file-damage-line","file-download-fill","file-download-line","file-edit-fill","file-edit-line","file-excel-2-fill","file-excel-2-line","file-excel-fill","file-excel-line","file-fill","file-forbid-fill","file-forbid-line","file-gif-fill","file-gif-line","file-history-fill","file-history-line","file-hwp-fill","file-hwp-line","file-image-fill","file-image-line","file-info-fill","file-info-line","file-line","file-list-2-fill","file-list-2-line","file-list-3-fill","file-list-3-line","file-list-fill","file-list-line","file-lock-fill","file-lock-line","file-mark-fill","file-mark-line","file-music-fill","file-music-line","file-paper-2-fill","file-paper-2-line","file-paper-fill","file-paper-line","file-pdf-2-fill","file-pdf-2-line","file-pdf-fill","file-pdf-line","file-ppt-2-fill","file-ppt-2-line","file-ppt-fill","file-ppt-line","file-reduce-fill","file-reduce-line","file-search-fill","file-search-line","file-settings-fill","file-settings-line","file-shield-2-fill","file-shield-2-line","file-shield-fill","file-shield-line","file-shred-fill","file-shred-line","file-text-fill","file-text-line","file-transfer-fill","file-transfer-line","file-unknow-fill","file-unknow-line","file-upload-fill","file-upload-line","file-user-fill","file-user-line","file-video-fill","file-video-line","file-warning-fill","file-warning-line","file-word-2-fill","file-word-2-line","file-word-fill","file-word-line","file-zip-fill","file-zip-line","film-fill","film-line","filter-2-fill","filter-2-line","filter-3-fill","filter-3-line","filter-fill","filter-line","filter-off-fill","filter-off-line","find-replace-fill","find-replace-line","finder-fill","finder-line","fingerprint-2-fill","fingerprint-2-line","fingerprint-fill","fingerprint-line","fire-fill","fire-line","firefox-fill","firefox-line","first-aid-kit-fill","first-aid-kit-line","flag-2-fill","flag-2-line","flag-fill","flag-line","flashlight-fill","flashlight-line","flask-fill","flask-line","flickr-fill","flickr-line","flight-land-fill","flight-land-line","flight-takeoff-fill","flight-takeoff-line","flood-fill","flood-line","flow-chart","flutter-fill","flutter-line","focus-2-fill","focus-2-line","focus-3-fill","focus-3-line","focus-fill","focus-line","foggy-fill","foggy-line","folder-2-fill","folder-2-line","folder-3-fill","folder-3-line","folder-4-fill","folder-4-line","folder-5-fill","folder-5-line","folder-add-fill","folder-add-line","folder-chart-2-fill","folder-chart-2-line","folder-chart-fill","folder-chart-line","folder-download-fill","folder-download-line","folder-fill","folder-forbid-fill","folder-forbid-line","folder-history-fill","folder-history-line","folder-image-fill","folder-image-line","folder-info-fill","folder-info-line","folder-keyhole-fill","folder-keyhole-line","folder-line","folder-lock-fill","folder-lock-line","folder-music-fill","folder-music-line","folder-open-fill","folder-open-line","folder-received-fill","folder-received-line","folder-reduce-fill","folder-reduce-line","folder-settings-fill","folder-settings-line","folder-shared-fill","folder-shared-line","folder-shield-2-fill","folder-shield-2-line","folder-shield-fill","folder-shield-line","folder-transfer-fill","folder-transfer-line","folder-unknow-fill","folder-unknow-line","folder-upload-fill","folder-upload-line","folder-user-fill","folder-user-line","folder-video-fill","folder-video-line","folder-warning-fill","folder-warning-line","folder-zip-fill","folder-zip-line","folders-fill","folders-line","font-color","font-family","font-mono","font-sans","font-sans-serif","font-size","font-size-2","football-fill","football-line","footprint-fill","footprint-line","forbid-2-fill","forbid-2-line","forbid-fill","forbid-line","format-clear","forward-10-fill","forward-10-line","forward-15-fill","forward-15-line","forward-30-fill","forward-30-line","forward-5-fill","forward-5-line","fridge-fill","fridge-line","fullscreen-exit-fill","fullscreen-exit-line","fullscreen-fill","fullscreen-line","function-fill","function-line","functions","funds-box-fill","funds-box-line","funds-fill","funds-line","gallery-fill","gallery-line","gallery-upload-fill","gallery-upload-line","game-fill","game-line","gamepad-fill","gamepad-line","gas-station-fill","gas-station-line","gatsby-fill","gatsby-line","genderless-fill","genderless-line","ghost-2-fill","ghost-2-line","ghost-fill","ghost-line","ghost-smile-fill","ghost-smile-line","gift-2-fill","gift-2-line","gift-fill","gift-line","git-branch-fill","git-branch-line","git-close-pull-request-fill","git-close-pull-request-line","git-commit-fill","git-commit-line","git-merge-fill","git-merge-line","git-pull-request-fill","git-pull-request-line","git-repository-commits-fill","git-repository-commits-line","git-repository-fill","git-repository-line","git-repository-private-fill","git-repository-private-line","github-fill","github-line","gitlab-fill","gitlab-line","global-fill","global-line","globe-fill","globe-line","goblet-fill","goblet-line","google-fill","google-line","google-play-fill","google-play-line","government-fill","government-line","gps-fill","gps-line","gradienter-fill","gradienter-line","graduation-cap-fill","graduation-cap-line","grid-fill","grid-line","group-2-fill","group-2-line","group-fill","group-line","guide-fill","guide-line","h-1","h-2","h-3","h-4","h-5","h-6","hail-fill","hail-line","hammer-fill","hammer-line","hand-coin-fill","hand-coin-line","hand-heart-fill","hand-heart-line","hand-sanitizer-fill","hand-sanitizer-line","handbag-fill","handbag-line","hard-drive-2-fill","hard-drive-2-line","hard-drive-3-fill","hard-drive-3-line","hard-drive-fill","hard-drive-line","hashtag","haze-2-fill","haze-2-line","haze-fill","haze-line","hd-fill","hd-line","heading","headphone-fill","headphone-line","health-book-fill","health-book-line","heart-2-fill","heart-2-line","heart-3-fill","heart-3-line","heart-add-fill","heart-add-line","heart-fill","heart-line","heart-pulse-fill","heart-pulse-line","hearts-fill","hearts-line","heavy-showers-fill","heavy-showers-line","hexagon-fill","hexagon-line","history-fill","history-line","home-2-fill","home-2-line","home-3-fill","home-3-line","home-4-fill","home-4-line","home-5-fill","home-5-line","home-6-fill","home-6-line","home-7-fill","home-7-line","home-8-fill","home-8-line","home-fill","home-gear-fill","home-gear-line","home-heart-fill","home-heart-line","home-line","home-office-fill","home-office-line","home-smile-2-fill","home-smile-2-line","home-smile-fill","home-smile-line","home-wifi-fill","home-wifi-line","honor-of-kings-fill","honor-of-kings-line","honour-fill","honour-line","hospital-fill","hospital-line","hotel-bed-fill","hotel-bed-line","hotel-fill","hotel-line","hotspot-fill","hotspot-line","hourglass-2-fill","hourglass-2-line","hourglass-fill","hourglass-line","hq-fill","hq-line","html5-fill","html5-line","ie-fill","ie-line","image-2-fill","image-2-line","image-add-fill","image-add-line","image-edit-fill","image-edit-line","image-fill","image-line","inbox-2-fill","inbox-2-line","inbox-archive-fill","inbox-archive-line","inbox-fill","inbox-line","inbox-unarchive-fill","inbox-unarchive-line","increase-decrease-fill","increase-decrease-line","indent-decrease","indent-increase","indeterminate-circle-fill","indeterminate-circle-line","infinity-fill","infinity-line","information-fill","information-line","infrared-thermometer-fill","infrared-thermometer-line","ink-bottle-fill","ink-bottle-line","input-cursor-move","input-method-fill","input-method-line","insert-column-left","insert-column-right","insert-row-bottom","insert-row-top","instagram-fill","instagram-line","install-fill","install-line","instance-fill","instance-line","invision-fill","invision-line","italic","javascript-fill","javascript-line","kakao-talk-fill","kakao-talk-line","key-2-fill","key-2-line","key-fill","key-line","keyboard-box-fill","keyboard-box-line","keyboard-fill","keyboard-line","keynote-fill","keynote-line","kick-fill","kick-line","knife-blood-fill","knife-blood-line","knife-fill","knife-line","landscape-fill","landscape-line","layout-2-fill","layout-2-line","layout-3-fill","layout-3-line","layout-4-fill","layout-4-line","layout-5-fill","layout-5-line","layout-6-fill","layout-6-line","layout-bottom-2-fill","layout-bottom-2-line","layout-bottom-fill","layout-bottom-line","layout-column-fill","layout-column-line","layout-fill","layout-grid-fill","layout-grid-line","layout-left-2-fill","layout-left-2-line","layout-left-fill","layout-left-line","layout-line","layout-masonry-fill","layout-masonry-line","layout-right-2-fill","layout-right-2-line","layout-right-fill","layout-right-line","layout-row-fill","layout-row-line","layout-top-2-fill","layout-top-2-line","layout-top-fill","layout-top-line","leaf-fill","leaf-line","lifebuoy-fill","lifebuoy-line","lightbulb-fill","lightbulb-flash-fill","lightbulb-flash-line","lightbulb-line","line-chart-fill","line-chart-line","line-fill","line-height","line-line","link","link-m","link-unlink","link-unlink-m","linkedin-box-fill","linkedin-box-line","linkedin-fill","linkedin-line","links-fill","links-line","list-check","list-check-2","list-check-3","list-indefinite","list-ordered","list-ordered-2","list-radio","list-settings-fill","list-settings-line","list-unordered","live-fill","live-line","loader-2-fill","loader-2-line","loader-3-fill","loader-3-line","loader-4-fill","loader-4-line","loader-5-fill","loader-5-line","loader-fill","loader-line","lock-2-fill","lock-2-line","lock-fill","lock-line","lock-password-fill","lock-password-line","lock-unlock-fill","lock-unlock-line","login-box-fill","login-box-line","login-circle-fill","login-circle-line","logout-box-fill","logout-box-line","logout-box-r-fill","logout-box-r-line","logout-circle-fill","logout-circle-line","logout-circle-r-fill","logout-circle-r-line","loop-left-fill","loop-left-line","loop-right-fill","loop-right-line","luggage-cart-fill","luggage-cart-line","luggage-deposit-fill","luggage-deposit-line","lungs-fill","lungs-line","mac-fill","mac-line","macbook-fill","macbook-line","magic-fill","magic-line","mail-add-fill","mail-add-line","mail-check-fill","mail-check-line","mail-close-fill","mail-close-line","mail-download-fill","mail-download-line","mail-fill","mail-forbid-fill","mail-forbid-line","mail-line","mail-lock-fill","mail-lock-line","mail-open-fill","mail-open-line","mail-send-fill","mail-send-line","mail-settings-fill","mail-settings-line","mail-star-fill","mail-star-line","mail-unread-fill","mail-unread-line","mail-volume-fill","mail-volume-line","map-2-fill","map-2-line","map-fill","map-line","map-pin-2-fill","map-pin-2-line","map-pin-3-fill","map-pin-3-line","map-pin-4-fill","map-pin-4-line","map-pin-5-fill","map-pin-5-line","map-pin-add-fill","map-pin-add-line","map-pin-fill","map-pin-line","map-pin-range-fill","map-pin-range-line","map-pin-time-fill","map-pin-time-line","map-pin-user-fill","map-pin-user-line","mark-pen-fill","mark-pen-line","markdown-fill","markdown-line","markup-fill","markup-line","mastercard-fill","mastercard-line","mastodon-fill","mastodon-line","medal-2-fill","medal-2-line","medal-fill","medal-line","medicine-bottle-fill","medicine-bottle-line","medium-fill","medium-line","megaphone-fill","megaphone-line","memories-fill","memories-line","men-fill","men-line","mental-health-fill","mental-health-line","menu-2-fill","menu-2-line","menu-3-fill","menu-3-line","menu-4-fill","menu-4-line","menu-5-fill","menu-5-line","menu-add-fill","menu-add-line","menu-fill","menu-fold-fill","menu-fold-line","menu-line","menu-search-fill","menu-search-line","menu-unfold-fill","menu-unfold-line","merge-cells-horizontal","merge-cells-vertical","message-2-fill","message-2-line","message-3-fill","message-3-line","message-fill","message-line","messenger-fill","messenger-line","meta-fill","meta-line","meteor-fill","meteor-line","mic-2-fill","mic-2-line","mic-fill","mic-line","mic-off-fill","mic-off-line","mickey-fill","mickey-line","microscope-fill","microscope-line","microsoft-fill","microsoft-line","microsoft-loop-fill","microsoft-loop-line","mind-map","mini-program-fill","mini-program-line","mist-fill","mist-line","money-cny-box-fill","money-cny-box-line","money-cny-circle-fill","money-cny-circle-line","money-dollar-box-fill","money-dollar-box-line","money-dollar-circle-fill","money-dollar-circle-line","money-euro-box-fill","money-euro-box-line","money-euro-circle-fill","money-euro-circle-line","money-pound-box-fill","money-pound-box-line","money-pound-circle-fill","money-pound-circle-line","moon-clear-fill","moon-clear-line","moon-cloudy-fill","moon-cloudy-line","moon-fill","moon-foggy-fill","moon-foggy-line","moon-line","more-2-fill","more-2-line","more-fill","more-line","motorbike-fill","motorbike-line","mouse-fill","mouse-line","movie-2-fill","movie-2-line","movie-fill","movie-line","music-2-fill","music-2-line","music-fill","music-line","mv-fill","mv-line","navigation-fill","navigation-line","netease-cloud-music-fill","netease-cloud-music-line","netflix-fill","netflix-line","newspaper-fill","newspaper-line","nft-fill","nft-line","node-tree","notification-2-fill","notification-2-line","notification-3-fill","notification-3-line","notification-4-fill","notification-4-line","notification-badge-fill","notification-badge-line","notification-fill","notification-line","notification-off-fill","notification-off-line","notion-fill","notion-line","npmjs-fill","npmjs-line","number-0","number-1","number-2","number-3","number-4","number-5","number-6","number-7","number-8","number-9","numbers-fill","numbers-line","nurse-fill","nurse-line","octagon-fill","octagon-line","oil-fill","oil-line","omega","open-arm-fill","open-arm-line","open-source-fill","open-source-line","openai-fill","openai-line","openbase-fill","openbase-line","opera-fill","opera-line","order-play-fill","order-play-line","organization-chart","outlet-2-fill","outlet-2-line","outlet-fill","outlet-line","overline","p2p-fill","p2p-line","page-separator","pages-fill","pages-line","paint-brush-fill","paint-brush-line","paint-fill","paint-line","palette-fill","palette-line","pantone-fill","pantone-line","paragraph","parent-fill","parent-line","parentheses-fill","parentheses-line","parking-box-fill","parking-box-line","parking-fill","parking-line","pass-expired-fill","pass-expired-line","pass-pending-fill","pass-pending-line","pass-valid-fill","pass-valid-line","passport-fill","passport-line","patreon-fill","patreon-line","pause-circle-fill","pause-circle-line","pause-fill","pause-line","pause-mini-fill","pause-mini-line","paypal-fill","paypal-line","pen-nib-fill","pen-nib-line","pencil-fill","pencil-line","pencil-ruler-2-fill","pencil-ruler-2-line","pencil-ruler-fill","pencil-ruler-line","pentagon-fill","pentagon-line","percent-fill","percent-line","phone-camera-fill","phone-camera-line","phone-fill","phone-find-fill","phone-find-line","phone-line","phone-lock-fill","phone-lock-line","picture-in-picture-2-fill","picture-in-picture-2-line","picture-in-picture-exit-fill","picture-in-picture-exit-line","picture-in-picture-fill","picture-in-picture-line","pie-chart-2-fill","pie-chart-2-line","pie-chart-box-fill","pie-chart-box-line","pie-chart-fill","pie-chart-line","pin-distance-fill","pin-distance-line","ping-pong-fill","ping-pong-line","pinterest-fill","pinterest-line","pinyin-input","pixelfed-fill","pixelfed-line","plane-fill","plane-line","planet-fill","planet-line","plant-fill","plant-line","play-circle-fill","play-circle-line","play-fill","play-line","play-list-2-fill","play-list-2-line","play-list-add-fill","play-list-add-line","play-list-fill","play-list-line","play-mini-fill","play-mini-line","playstation-fill","playstation-line","plug-2-fill","plug-2-line","plug-fill","plug-line","polaroid-2-fill","polaroid-2-line","polaroid-fill","polaroid-line","police-car-fill","police-car-line","presentation-fill","presentation-line","price-tag-2-fill","price-tag-2-line","price-tag-3-fill","price-tag-3-line","price-tag-fill","price-tag-line","printer-cloud-fill","printer-cloud-line","printer-fill","printer-line","product-hunt-fill","product-hunt-line","profile-fill","profile-line","prohibited-fill","prohibited-line","projector-2-fill","projector-2-line","projector-fill","projector-line","psychotherapy-fill","psychotherapy-line","pulse-fill","pulse-line","pushpin-2-fill","pushpin-2-line","pushpin-fill","pushpin-line","qq-fill","qq-line","qr-code-fill","qr-code-line","qr-scan-2-fill","qr-scan-2-line","qr-scan-fill","qr-scan-line","question-answer-fill","question-answer-line","question-fill","question-line","question-mark","questionnaire-fill","questionnaire-line","quill-pen-fill","quill-pen-line","quote-text","radar-fill","radar-line","radio-2-fill","radio-2-line","radio-button-fill","radio-button-line","radio-fill","radio-line","rainbow-fill","rainbow-line","rainy-fill","rainy-line","reactjs-fill","reactjs-line","record-circle-fill","record-circle-line","record-mail-fill","record-mail-line","rectangle-fill","rectangle-line","recycle-fill","recycle-line","red-packet-fill","red-packet-line","reddit-fill","reddit-line","refresh-fill","refresh-line","refund-2-fill","refund-2-line","refund-fill","refund-line","registered-fill","registered-line","remixicon-fill","remixicon-line","remote-control-2-fill","remote-control-2-line","remote-control-fill","remote-control-line","repeat-2-fill","repeat-2-line","repeat-fill","repeat-line","repeat-one-fill","repeat-one-line","replay-10-fill","replay-10-line","replay-15-fill","replay-15-line","replay-30-fill","replay-30-line","replay-5-fill","replay-5-line","reply-all-fill","reply-all-line","reply-fill","reply-line","reserved-fill","reserved-line","rest-time-fill","rest-time-line","restart-fill","restart-line","restaurant-2-fill","restaurant-2-line","restaurant-fill","restaurant-line","rewind-fill","rewind-line","rewind-mini-fill","rewind-mini-line","rfid-fill","rfid-line","rhythm-fill","rhythm-line","riding-fill","riding-line","road-map-fill","road-map-line","roadster-fill","roadster-line","robot-2-fill","robot-2-line","robot-fill","robot-line","rocket-2-fill","rocket-2-line","rocket-fill","rocket-line","rotate-lock-fill","rotate-lock-line","rounded-corner","route-fill","route-line","router-fill","router-line","rss-fill","rss-line","ruler-2-fill","ruler-2-line","ruler-fill","ruler-line","run-fill","run-line","safari-fill","safari-line","safe-2-fill","safe-2-line","safe-fill","safe-line","sailboat-fill","sailboat-line","save-2-fill","save-2-line","save-3-fill","save-3-line","save-fill","save-line","scales-2-fill","scales-2-line","scales-3-fill","scales-3-line","scales-fill","scales-line","scan-2-fill","scan-2-line","scan-fill","scan-line","school-fill","school-line","scissors-2-fill","scissors-2-line","scissors-cut-fill","scissors-cut-line","scissors-fill","scissors-line","screenshot-2-fill","screenshot-2-line","screenshot-fill","screenshot-line","sd-card-fill","sd-card-line","sd-card-mini-fill","sd-card-mini-line","search-2-fill","search-2-line","search-eye-fill","search-eye-line","search-fill","search-line","secure-payment-fill","secure-payment-line","seedling-fill","seedling-line","send-backward","send-plane-2-fill","send-plane-2-line","send-plane-fill","send-plane-line","send-to-back","sensor-fill","sensor-line","seo-fill","seo-line","separator","server-fill","server-line","service-fill","service-line","settings-2-fill","settings-2-line","settings-3-fill","settings-3-line","settings-4-fill","settings-4-line","settings-5-fill","settings-5-line","settings-6-fill","settings-6-line","settings-fill","settings-line","shake-hands-fill","shake-hands-line","shape-2-fill","shape-2-line","shape-fill","shape-line","shapes-fill","shapes-line","share-box-fill","share-box-line","share-circle-fill","share-circle-line","share-fill","share-forward-2-fill","share-forward-2-line","share-forward-box-fill","share-forward-box-line","share-forward-fill","share-forward-line","share-line","shield-check-fill","shield-check-line","shield-cross-fill","shield-cross-line","shield-fill","shield-flash-fill","shield-flash-line","shield-keyhole-fill","shield-keyhole-line","shield-line","shield-star-fill","shield-star-line","shield-user-fill","shield-user-line","shining-2-fill","shining-2-line","shining-fill","shining-line","ship-2-fill","ship-2-line","ship-fill","ship-line","shirt-fill","shirt-line","shopping-bag-2-fill","shopping-bag-2-line","shopping-bag-3-fill","shopping-bag-3-line","shopping-bag-fill","shopping-bag-line","shopping-basket-2-fill","shopping-basket-2-line","shopping-basket-fill","shopping-basket-line","shopping-cart-2-fill","shopping-cart-2-line","shopping-cart-fill","shopping-cart-line","showers-fill","showers-line","shuffle-fill","shuffle-line","shut-down-fill","shut-down-line","side-bar-fill","side-bar-line","signal-tower-fill","signal-tower-line","signal-wifi-1-fill","signal-wifi-1-line","signal-wifi-2-fill","signal-wifi-2-line","signal-wifi-3-fill","signal-wifi-3-line","signal-wifi-error-fill","signal-wifi-error-line","signal-wifi-fill","signal-wifi-line","signal-wifi-off-fill","signal-wifi-off-line","sim-card-2-fill","sim-card-2-line","sim-card-fill","sim-card-line","single-quotes-l","single-quotes-r","sip-fill","sip-line","sketching","skip-back-fill","skip-back-line","skip-back-mini-fill","skip-back-mini-line","skip-down-fill","skip-down-line","skip-forward-fill","skip-forward-line","skip-forward-mini-fill","skip-forward-mini-line","skip-left-fill","skip-left-line","skip-right-fill","skip-right-line","skip-up-fill","skip-up-line","skull-2-fill","skull-2-line","skull-fill","skull-line","skype-fill","skype-line","slack-fill","slack-line","slash-commands","slash-commands-2","slice-fill","slice-line","slideshow-2-fill","slideshow-2-line","slideshow-3-fill","slideshow-3-line","slideshow-4-fill","slideshow-4-line","slideshow-fill","slideshow-line","slow-down-fill","slow-down-line","smartphone-fill","smartphone-line","snapchat-fill","snapchat-line","snowy-fill","snowy-line","sort-asc","sort-desc","sound-module-fill","sound-module-line","soundcloud-fill","soundcloud-line","space","space-ship-fill","space-ship-line","spam-2-fill","spam-2-line","spam-3-fill","spam-3-line","spam-fill","spam-line","sparkling-2-fill","sparkling-2-line","sparkling-fill","sparkling-line","speak-fill","speak-line","speaker-2-fill","speaker-2-line","speaker-3-fill","speaker-3-line","speaker-fill","speaker-line","spectrum-fill","spectrum-line","speed-fill","speed-line","speed-mini-fill","speed-mini-line","speed-up-fill","speed-up-line","split-cells-horizontal","split-cells-vertical","spotify-fill","spotify-line","spy-fill","spy-line","square-fill","square-line","stack-fill","stack-line","stack-overflow-fill","stack-overflow-line","stackshare-fill","stackshare-line","star-fill","star-half-fill","star-half-line","star-half-s-fill","star-half-s-line","star-line","star-s-fill","star-s-line","star-smile-fill","star-smile-line","steam-fill","steam-line","steering-2-fill","steering-2-line","steering-fill","steering-line","stethoscope-fill","stethoscope-line","sticky-note-2-fill","sticky-note-2-line","sticky-note-fill","sticky-note-line","stock-fill","stock-line","stop-circle-fill","stop-circle-line","stop-fill","stop-line","stop-mini-fill","stop-mini-line","store-2-fill","store-2-line","store-3-fill","store-3-line","store-fill","store-line","strikethrough","strikethrough-2","subscript","subscript-2","subtract-fill","subtract-line","subway-fill","subway-line","subway-wifi-fill","subway-wifi-line","suitcase-2-fill","suitcase-2-line","suitcase-3-fill","suitcase-3-line","suitcase-fill","suitcase-line","sun-cloudy-fill","sun-cloudy-line","sun-fill","sun-foggy-fill","sun-foggy-line","sun-line","supabase-fill","supabase-line","superscript","superscript-2","surgical-mask-fill","surgical-mask-line","surround-sound-fill","surround-sound-line","survey-fill","survey-line","swap-box-fill","swap-box-line","swap-fill","swap-line","switch-fill","switch-line","sword-fill","sword-line","syringe-fill","syringe-line","t-box-fill","t-box-line","t-shirt-2-fill","t-shirt-2-line","t-shirt-air-fill","t-shirt-air-line","t-shirt-fill","t-shirt-line","table-2","table-alt-fill","table-alt-line","table-fill","table-line","tablet-fill","tablet-line","takeaway-fill","takeaway-line","taobao-fill","taobao-line","tape-fill","tape-line","task-fill","task-line","taxi-fill","taxi-line","taxi-wifi-fill","taxi-wifi-line","team-fill","team-line","telegram-fill","telegram-line","temp-cold-fill","temp-cold-line","temp-hot-fill","temp-hot-line","tent-fill","tent-line","terminal-box-fill","terminal-box-line","terminal-fill","terminal-line","terminal-window-fill","terminal-window-line","test-tube-fill","test-tube-line","text","text-direction-l","text-direction-r","text-spacing","text-wrap","thermometer-fill","thermometer-line","threads-fill","threads-line","thumb-down-fill","thumb-down-line","thumb-up-fill","thumb-up-line","thunderstorms-fill","thunderstorms-line","ticket-2-fill","ticket-2-line","ticket-fill","ticket-line","tiktok-fill","tiktok-line","time-fill","time-line","timer-2-fill","timer-2-line","timer-fill","timer-flash-fill","timer-flash-line","timer-line","todo-fill","todo-line","toggle-fill","toggle-line","token-swap-fill","token-swap-line","tools-fill","tools-line","tornado-fill","tornado-line","trademark-fill","trademark-line","traffic-light-fill","traffic-light-line","train-fill","train-line","train-wifi-fill","train-wifi-line","translate","translate-2","travesti-fill","travesti-line","treasure-map-fill","treasure-map-line","tree-fill","tree-line","trello-fill","trello-line","triangle-fill","triangle-line","trophy-fill","trophy-line","truck-fill","truck-line","tumblr-fill","tumblr-line","tv-2-fill","tv-2-line","tv-fill","tv-line","twitch-fill","twitch-line","twitter-fill","twitter-line","twitter-x-fill","twitter-x-line","typhoon-fill","typhoon-line","u-disk-fill","u-disk-line","ubuntu-fill","ubuntu-line","umbrella-fill","umbrella-line","underline","uninstall-fill","uninstall-line","unpin-fill","unpin-line","unsplash-fill","unsplash-line","upload-2-fill","upload-2-line","upload-cloud-2-fill","upload-cloud-2-line","upload-cloud-fill","upload-cloud-line","upload-fill","upload-line","usb-fill","usb-line","user-2-fill","user-2-line","user-3-fill","user-3-line","user-4-fill","user-4-line","user-5-fill","user-5-line","user-6-fill","user-6-line","user-add-fill","user-add-line","user-fill","user-follow-fill","user-follow-line","user-forbid-fill","user-forbid-line","user-heart-fill","user-heart-line","user-line","user-location-fill","user-location-line","user-received-2-fill","user-received-2-line","user-received-fill","user-received-line","user-search-fill","user-search-line","user-settings-fill","user-settings-line","user-shared-2-fill","user-shared-2-line","user-shared-fill","user-shared-line","user-smile-fill","user-smile-line","user-star-fill","user-star-line","user-unfollow-fill","user-unfollow-line","user-voice-fill","user-voice-line","verified-badge-fill","verified-badge-line","video-add-fill","video-add-line","video-chat-fill","video-chat-line","video-download-fill","video-download-line","video-fill","video-line","video-upload-fill","video-upload-line","vidicon-2-fill","vidicon-2-line","vidicon-fill","vidicon-line","vimeo-fill","vimeo-line","vip-crown-2-fill","vip-crown-2-line","vip-crown-fill","vip-crown-line","vip-diamond-fill","vip-diamond-line","vip-fill","vip-line","virus-fill","virus-line","visa-fill","visa-line","voice-recognition-fill","voice-recognition-line","voiceprint-fill","voiceprint-line","volume-down-fill","volume-down-line","volume-mute-fill","volume-mute-line","volume-off-vibrate-fill","volume-off-vibrate-line","volume-up-fill","volume-up-line","volume-vibrate-fill","volume-vibrate-line","vuejs-fill","vuejs-line","walk-fill","walk-line","wallet-2-fill","wallet-2-line","wallet-3-fill","wallet-3-line","wallet-fill","wallet-line","water-flash-fill","water-flash-line","water-percent-fill","water-percent-line","webcam-fill","webcam-line","wechat-2-fill","wechat-2-line","wechat-channels-fill","wechat-channels-line","wechat-fill","wechat-line","wechat-pay-fill","wechat-pay-line","weibo-fill","weibo-line","whatsapp-fill","whatsapp-line","wheelchair-fill","wheelchair-line","wifi-fill","wifi-line","wifi-off-fill","wifi-off-line","window-2-fill","window-2-line","window-fill","window-line","windows-fill","windows-line","windy-fill","windy-line","wireless-charging-fill","wireless-charging-line","women-fill","women-line","wordpress-fill","wordpress-line","wubi-input","xbox-fill","xbox-line","xing-fill","xing-line","youtube-fill","youtube-line","yuque-fill","yuque-line","zcool-fill","zcool-line","zhihu-fill","zhihu-line","zoom-in-fill","zoom-in-line","zoom-out-fill","zoom-out-line","zzz-fill","zzz-line"],"fa-solid:":["abacus","ad","address-book","address-card","adjust","air-freshener","align-center","align-justify","align-left","align-right","allergies","ambulance","american-sign-language-interpreting","anchor","angle-double-down","angle-double-left","angle-double-right","angle-double-up","angle-down","angle-left","angle-right","angle-up","angry","ankh","apple-alt","archive","archway","arrow-alt-circle-down","arrow-alt-circle-left","arrow-alt-circle-right","arrow-alt-circle-up","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-down","arrow-left","arrow-right","arrow-up","arrows-alt","arrows-alt-h","arrows-alt-v","assistive-listening-systems","asterisk","at","atlas","atom","audio-description","award","baby","baby-carriage","backspace","backward","bacon","bacteria","bacterium","bahai","balance-scale","balance-scale-left","balance-scale-right","ban","band-aid","barcode","bars","baseball-ball","basketball-ball","bath","battery-empty","battery-full","battery-half","battery-quarter","battery-three-quarters","bed","beer","bell","bell-slash","bezier-curve","bible","bicycle","biking","binoculars","biohazard","birthday-cake","blender","blender-phone","blind","blog","bold","bolt","bomb","bone","bong","book","book-dead","book-medical","book-open","book-reader","bookmark","border-all","border-none","border-style","bowling-ball","box","box-open","box-tissue","boxes","braille","brain","bread-slice","briefcase","briefcase-medical","broadcast-tower","broom","brush","bug","building","bullhorn","bullseye","burn","bus","bus-alt","business-time","calculator","calculator-alt","calendar","calendar-alt","calendar-check","calendar-day","calendar-minus","calendar-plus","calendar-times","calendar-week","camera","camera-retro","campground","candy-cane","cannabis","capsules","car","car-alt","car-battery","car-crash","car-side","caravan","caret-down","caret-left","caret-right","caret-square-down","caret-square-left","caret-square-right","caret-square-up","caret-up","carrot","cart-arrow-down","cart-plus","cash-register","cat","certificate","chair","chalkboard","chalkboard-teacher","charging-station","chart-area","chart-bar","chart-line","chart-pie","check","check-circle","check-double","check-square","cheese","chess","chess-bishop","chess-board","chess-king","chess-knight","chess-pawn","chess-queen","chess-rook","chevron-circle-down","chevron-circle-left","chevron-circle-right","chevron-circle-up","chevron-down","chevron-left","chevron-right","chevron-up","child","church","circle","circle-notch","city","clinic-medical","clipboard","clipboard-check","clipboard-list","clock","clone","closed-captioning","cloud","cloud-download-alt","cloud-meatball","cloud-moon","cloud-moon-rain","cloud-rain","cloud-showers-heavy","cloud-sun","cloud-sun-rain","cloud-upload-alt","cocktail","code","code-branch","coffee","cog","cogs","coins","columns","comment","comment-alt","comment-dollar","comment-dots","comment-medical","comment-slash","comments","comments-dollar","compact-disc","compass","compress","compress-alt","compress-arrows-alt","concierge-bell","cookie","cookie-bite","copy","copyright","couch","credit-card","crop","crop-alt","cross","crosshairs","crow","crown","crutch","cube","cubes","cut","database","deaf","democrat","desktop","dharmachakra","diagnoses","dice","dice-d20","dice-d6","dice-five","dice-four","dice-one","dice-six","dice-three","dice-two","digital-tachograph","directions","disease","divide","dizzy","dna","dog","dollar-sign","dolly","dolly-flatbed","donate","door-closed","door-open","dot-circle","dove","download","drafting-compass","dragon","draw-polygon","drum","drum-steelpan","drumstick-bite","dumbbell","dumpster","dumpster-fire","dungeon","edit","egg","eject","ellipsis-h","ellipsis-v","empty-set","envelope","envelope-open","envelope-open-text","envelope-square","equals","eraser","ethernet","euro-sign","exchange-alt","exclamation","exclamation-circle","exclamation-triangle","expand","expand-alt","expand-arrows-alt","external-link-alt","external-link-square-alt","eye","eye-dropper","eye-slash","fan","fast-backward","fast-forward","faucet","fax","feather","feather-alt","female","fighter-jet","file","file-alt","file-archive","file-audio","file-code","file-contract","file-csv","file-download","file-excel","file-export","file-image","file-import","file-invoice","file-invoice-dollar","file-medical","file-medical-alt","file-pdf","file-powerpoint","file-prescription","file-signature","file-upload","file-video","file-word","fill","fill-drip","film","filter","fingerprint","fire","fire-alt","fire-extinguisher","first-aid","fish","fist-raised","flag","flag-checkered","flag-usa","flask","flushed","folder","folder-minus","folder-open","folder-plus","font","football-ball","forward","frog","frown","frown-open","function","funnel-dollar","futbol","gamepad","gas-pump","gavel","gem","genderless","ghost","gift","gifts","glass-cheers","glass-martini","glass-martini-alt","glass-whiskey","glasses","globe","globe-africa","globe-americas","globe-asia","globe-europe","golf-ball","gopuram","graduation-cap","greater-than","greater-than-equal","grimace","grin","grin-alt","grin-beam","grin-beam-sweat","grin-hearts","grin-squint","grin-squint-tears","grin-stars","grin-tears","grin-tongue","grin-tongue-squint","grin-tongue-wink","grin-wink","grip-horizontal","grip-lines","grip-lines-vertical","grip-vertical","guitar","h-square","hamburger","hammer","hamsa","hand-holding","hand-holding-heart","hand-holding-medical","hand-holding-usd","hand-holding-water","hand-lizard","hand-middle-finger","hand-paper","hand-peace","hand-point-down","hand-point-left","hand-point-right","hand-point-up","hand-pointer","hand-rock","hand-scissors","hand-sparkles","hand-spock","hands","hands-helping","hands-wash","handshake","handshake-alt-slash","handshake-slash","hanukiah","hard-hat","hashtag","hat-cowboy","hat-cowboy-side","hat-wizard","hdd","head-side-cough","head-side-cough-slash","head-side-mask","head-side-virus","heading","headphones","headphones-alt","headset","heart","heart-broken","heartbeat","helicopter","highlighter","hiking","hippo","history","hockey-puck","holly-berry","home","horse","horse-head","hospital","hospital-alt","hospital-symbol","hospital-user","hot-tub","hotdog","hotel","hourglass","hourglass-end","hourglass-half","hourglass-start","house-damage","house-user","hryvnia","i-cursor","ice-cream","icicles","icons","id-badge","id-card","id-card-alt","igloo","image","images","inbox","indent","industry","infinity","info","info-circle","integral","intersection","italic","jedi","joint","journal-whills","kaaba","key","keyboard","khanda","kiss","kiss-beam","kiss-wink-heart","kiwi-bird","lambda","landmark","language","laptop","laptop-code","laptop-house","laptop-medical","laugh","laugh-beam","laugh-squint","laugh-wink","layer-group","leaf","lemon","less-than","less-than-equal","level-down-alt","level-up-alt","life-ring","lightbulb","link","lira-sign","list","list-alt","list-ol","list-ul","location-arrow","lock","lock-open","long-arrow-alt-down","long-arrow-alt-left","long-arrow-alt-right","long-arrow-alt-up","low-vision","luggage-cart","lungs","lungs-virus","magic","magnet","mail-bulk","male","map","map-marked","map-marked-alt","map-marker","map-marker-alt","map-pin","map-signs","marker","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","mask","medal","medkit","meh","meh-blank","meh-rolling-eyes","memory","menorah","mercury","meteor","microchip","microphone","microphone-alt","microphone-alt-slash","microphone-slash","microscope","minus","minus-circle","minus-square","mitten","mobile","mobile-alt","money-bill","money-bill-alt","money-bill-wave","money-bill-wave-alt","money-check","money-check-alt","monument","moon","mortar-pestle","mosque","motorcycle","mountain","mouse","mouse-pointer","mug-hot","music","network-wired","neuter","newspaper","not-equal","notes-medical","object-group","object-ungroup","oil-can","om","omega","otter","outdent","pager","paint-brush","paint-roller","palette","pallet","paper-plane","paperclip","parachute-box","paragraph","parking","passport","pastafarianism","paste","pause","pause-circle","paw","peace","pen","pen-alt","pen-fancy","pen-nib","pen-square","pencil-alt","pencil-ruler","people-arrows","people-carry","pepper-hot","percent","percentage","person-booth","phone","phone-alt","phone-slash","phone-square","phone-square-alt","phone-volume","photo-video","pi","piggy-bank","pills","pizza-slice","place-of-worship","plane","plane-arrival","plane-departure","plane-slash","play","play-circle","plug","plus","plus-circle","plus-square","podcast","poll","poll-h","poo","poo-storm","poop","portrait","pound-sign","power-off","pray","praying-hands","prescription","prescription-bottle","prescription-bottle-alt","print","procedures","project-diagram","pump-medical","pump-soap","puzzle-piece","qrcode","question","question-circle","quidditch","quote-left","quote-right","quran","radiation","radiation-alt","rainbow","random","receipt","record-vinyl","recycle","redo","redo-alt","registered","remove-format","reply","reply-all","republican","restroom","retweet","ribbon","ring","road","robot","rocket","route","rss","rss-square","ruble-sign","ruler","ruler-combined","ruler-horizontal","ruler-vertical","running","rupee-sign","sad-cry","sad-tear","satellite","satellite-dish","save","school","screwdriver","scroll","sd-card","search","search-dollar","search-location","search-minus","search-plus","seedling","server","shapes","share","share-alt","share-alt-square","share-square","shekel-sign","shield-alt","shield-virus","ship","shipping-fast","shoe-prints","shopping-bag","shopping-basket","shopping-cart","shower","shuttle-van","sigma","sign","sign-in-alt","sign-language","sign-out-alt","signal","signal-alt","signal-alt-slash","signal-slash","signature","sim-card","sink","sitemap","skating","skiing","skiing-nordic","skull","skull-crossbones","slash","sleigh","sliders-h","smile","smile-beam","smile-wink","smog","smoking","smoking-ban","sms","snowboarding","snowflake","snowman","snowplow","soap","socks","solar-panel","sort","sort-alpha-down","sort-alpha-down-alt","sort-alpha-up","sort-alpha-up-alt","sort-amount-down","sort-amount-down-alt","sort-amount-up","sort-amount-up-alt","sort-down","sort-numeric-down","sort-numeric-down-alt","sort-numeric-up","sort-numeric-up-alt","sort-up","spa","space-shuttle","spell-check","spider","spinner","splotch","spray-can","square","square-full","square-root","square-root-alt","stamp","star","star-and-crescent","star-half","star-half-alt","star-of-david","star-of-life","step-backward","step-forward","stethoscope","sticky-note","stop","stop-circle","stopwatch","stopwatch-20","store","store-alt","store-alt-slash","store-slash","stream","street-view","strikethrough","stroopwafel","subscript","subway","suitcase","suitcase-rolling","sun","superscript","surprise","swatchbook","swimmer","swimming-pool","synagogue","sync","sync-alt","syringe","table","table-tennis","tablet","tablet-alt","tablets","tachometer-alt","tag","tags","tally","tape","tasks","taxi","teeth","teeth-open","temperature-high","temperature-low","tenge","terminal","text-height","text-width","th","th-large","th-list","theater-masks","thermometer","thermometer-empty","thermometer-full","thermometer-half","thermometer-quarter","thermometer-three-quarters","theta","thumbs-down","thumbs-up","thumbtack","ticket-alt","tilde","times","times-circle","tint","tint-slash","tired","toggle-off","toggle-on","toilet","toilet-paper","toilet-paper-slash","toolbox","tools","tooth","torah","torii-gate","tractor","trademark","traffic-light","trailer","train","tram","transgender","transgender-alt","trash","trash-alt","trash-restore","trash-restore-alt","tree","trophy","truck","truck-loading","truck-monster","truck-moving","truck-pickup","tshirt","tty","tv","umbrella","umbrella-beach","underline","undo","undo-alt","union","universal-access","university","unlink","unlock","unlock-alt","upload","user","user-alt","user-alt-slash","user-astronaut","user-check","user-circle","user-clock","user-cog","user-edit","user-friends","user-graduate","user-injured","user-lock","user-md","user-minus","user-ninja","user-nurse","user-plus","user-secret","user-shield","user-slash","user-tag","user-tie","user-times","users","users-cog","users-slash","utensil-spoon","utensils","value-absolute","vector-square","venus","venus-double","venus-mars","vest","vest-patches","vial","vials","video","video-slash","vihara","virus","virus-slash","viruses","voicemail","volleyball-ball","volume","volume-down","volume-mute","volume-off","volume-slash","volume-up","vote-yea","vr-cardboard","walking","wallet","warehouse","water","wave-square","weight","weight-hanging","wheelchair","wifi","wifi-slash","wind","window-close","window-maximize","window-minimize","window-restore","wine-bottle","wine-glass","wine-glass-alt","won-sign","wrench","x-ray","yen-sign","yin-yang"]},data={width:24,height:24,body:'<path fill="currentColor" d="m18.031 16.617l4.283 4.282l-1.415 1.415l-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9s9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617Zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.867-3.133-7-7-7s-7 3.133-7 7s3.133 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15Zm-3.847-8.699a2 2 0 1 0 2.646 2.646a4 4 0 1 1-2.646-2.646Z"/>'},_hoisted_1={class:"selector w-[350px]"},_hoisted_2={class:"w-[40px] h-[32px] cursor-pointer flex justify-center items-center"},_hoisted_3={class:"flex flex-wrap px-2 ml-2"},_hoisted_4=["title","onClick"],_hoisted_5={class:"w-full h-9 flex items-center overflow-auto border-t border-[#e5e7eb]"},_sfc_main=defineComponent({name:"IconSelect",__name:"Select",props:{modelValue:{require:!1,type:String}},emits:["update:modelValue"],setup(t,{emit:r}){const $=t,V=toRef($,"modelValue"),oe=ref(IconJson),ie=ref(),le=ref("ep:"),ue=nn(oe.value),de=ref(0),pe=ref(35),he=ref(1),_e=ref(""),$e=[{label:"Element Plus",name:"ep:"},{label:"Remix Icon",name:"ri:"},{label:"Font Awesome 5 Solid",name:"fa-solid:"}],Ie=computed(()=>ue[le.value].filter(bn=>bn.includes(_e.value)).slice((he.value-1)*pe.value,he.value*pe.value)),Ve=computed(()=>bn=>{if(V.value===le.value+bn)return{borderColor:"var(--el-color-primary)",color:"var(--el-color-primary)"}});function Fe(){le.value=$.modelValue.substring(0,$.modelValue.indexOf(":")+1),ie.value=$.modelValue.substring($.modelValue.indexOf(":")+1)}function Ue(){if(k(ie.value))return;Fe();const bn=ue[le.value].findIndex(Sn=>Sn===ie.value);he.value=Math.ceil((bn+1)/pe.value)}function qe(){_e.value=""}function Et({props:bn}){he.value=1,le.value=bn.name}function Lt(bn){ie.value=bn,r("update:modelValue",le.value+bn)}function hn(bn){he.value=bn}function Cn(){ie.value="",r("update:modelValue","")}return watch(()=>Ie.value,()=>de.value=ue[le.value].filter(bn=>bn.includes(_e.value)).length,{immediate:!0}),watch(()=>$.modelValue,bn=>bn&&Fe(),{immediate:!0}),watch(()=>_e.value,()=>he.value=1),(bn,Sn)=>{const En=resolveComponent("IconifyIconOffline"),wn=resolveComponent("IconifyIconOnline"),$n=resolveComponent("el-input"),Tn=resolveComponent("el-scrollbar"),xn=resolveComponent("el-tab-pane"),An=resolveComponent("el-tabs"),Mn=resolveComponent("el-pagination"),Vn=resolveComponent("el-button"),Bn=resolveComponent("el-popover");return openBlock(),createElementBlock("div",_hoisted_1,[createVNode($n,{modelValue:V.value,"onUpdate:modelValue":Sn[2]||(Sn[2]=Dn=>V.value=Dn),disabled:""},{append:withCtx(()=>[createVNode(Bn,{width:350,trigger:"click","popper-class":"pure-popper","popper-options":{placement:"auto"},onBeforeEnter:Ue,onAfterLeave:qe},{reference:withCtx(()=>[createBaseVNode("div",_hoisted_2,[ie.value?(openBlock(),createBlock(wn,{key:1,icon:V.value},null,8,["icon"])):(openBlock(),createBlock(En,{key:0,icon:unref(data)},null,8,["icon"]))])]),default:withCtx(()=>[createVNode($n,{class:"px-2 pt-2",modelValue:_e.value,"onUpdate:modelValue":Sn[0]||(Sn[0]=Dn=>_e.value=Dn),placeholder:"搜索图标",clearable:""},null,8,["modelValue"]),createVNode(An,{modelValue:le.value,"onUpdate:modelValue":Sn[1]||(Sn[1]=Dn=>le.value=Dn),onTabClick:Et},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList($e,(Dn,Ln)=>createVNode(xn,{key:Ln,label:Dn.label,name:Dn.name},{default:withCtx(()=>[createVNode(Tn,{height:"220px"},{default:withCtx(()=>[createBaseVNode("ul",_hoisted_3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.value,(Pn,Fn)=>(openBlock(),createElementBlock("li",{key:Fn,title:Pn,class:"icon-item p-2 cursor-pointer mr-2 mt-1 flex justify-center items-center border border-[#e5e7eb]",style:normalizeStyle$1(Ve.value(Pn)),onClick:Un=>Lt(Pn)},[createVNode(wn,{icon:le.value+Pn,width:"20px",height:"20px"},null,8,["icon"])],12,_hoisted_4))),128))])]),_:1})]),_:2},1032,["label","name"])),64))]),_:1},8,["modelValue"]),createBaseVNode("div",_hoisted_5,[createVNode(Mn,{class:"flex-auto ml-2",total:de.value,"current-page":he.value,"page-size":pe.value,"pager-count":5,layout:"pager",background:"",small:"",onCurrentChange:hn},null,8,["total","current-page","page-size"]),createVNode(Vn,{class:"justify-end mr-2 ml-2",type:"danger",size:"small",text:"",bg:"",onClick:Cn},{default:withCtx(()=>[createTextVNode(" 清空 ")]),_:1})])]),_:1})]),_:1},8,["modelValue"])])}}}),Select_vue_vue_type_style_index_0_scoped_43f9970c_lang="",iconSelect=_export_sfc(_sfc_main,[["__scopeId","data-v-43f9970c"]]),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,IconSelect=iconSelect,FontIcon=fontIcon,auth=defineComponent({name:"Auth",props:{value:{type:void 0,default:[]}},setup(t,{slots:r}){return()=>{var $;return r&&hasAuth(t.value)?createVNode(Fragment,null,[($=r.default)==null?void 0:$.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:"/get-async-routes",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:"/get-card-list",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/platform-config.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:"2030/10/30 00:00:00"}}:{success:!0,data:{username:"common",roles:["common"],accessToken:"eyJhbGciOiJIUzUxMiJ9.common",refreshToken:"eyJhbGciOiJIUzUxMiJ9.commonRefresh",expires:"2030/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:"/get-map-info",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:"/refresh-token",method:"post",response:({body:t})=>t.refreshToken?{success:!0,data:{accessToken:"eyJhbGciOiJIUzUxMiJ9.newAdmin",refreshToken:"eyJhbGciOiJIUzUxMiJ9.newAdminRefresh",expires:"2030/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($=>$.username.includes(t==null?void 0:t.username)),r=r.filter($=>String($.status).includes(String(t==null?void 0:t.status))),t.phone&&(r=r.filter($=>$.phone===t.phone)),t.deptId&&(r=r.filter($=>$.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($=>$.name.includes(t==null?void 0:t.name)),r=r.filter($=>String($.status).includes(String(t==null?void 0:t.status))),t.code&&(r=r.filter($=>$.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,$){module.exports=$()})(commonjsGlobal,function(){return function(t){var r={};function $(V){if(r[V])return r[V].exports;var oe=r[V]={exports:{},id:V,loaded:!1};return t[V].call(oe.exports,oe,oe.exports,$),oe.loaded=!0,oe.exports}return $.m=t,$.c=r,$.p="",$(0)}([function(t,r,$){var V=$(1),oe=$(3),ie=$(5),le=$(20),ue=$(23),de=$(25),pe;typeof window<"u"&&(pe=$(27));/*!
|
||
Mock - 模拟请求 & 模拟数据
|
||
https://github.com/nuysoft/Mock
|
||
墨智 mozhi.gyy@taobao.com nuysoft@gmail.com
|
||
*/var he={Handler:V,Random:ie,Util:oe,XHR:pe,RE:le,toJSONSchema:ue,valid:de,heredoc:oe.heredoc,setup:function(_e){return pe.setup(_e)},_mocked:{}};he.version="1.0.1-beta3",pe&&(pe.Mock=he),he.mock=function(_e,$e,Ie){return arguments.length===1?V.gen(_e):(arguments.length===2&&(Ie=$e,$e=void 0),pe&&(window.XMLHttpRequest=pe),he._mocked[_e+($e||"")]={rurl:_e,rtype:$e,template:Ie},he)},t.exports=he},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,$){r=r==null?"":r+"",$=$||{},$={path:$.path||[Constant.GUID],templatePath:$.templatePath||[Constant.GUID++],currentContext:$.currentContext,templateCurrentContext:$.templateCurrentContext||t,root:$.root||$.currentContext,templateRoot:$.templateRoot||$.templateCurrentContext||t};var V=Parser.parse(r),oe=Util.type(t),ie;return Handler[oe]?(ie=Handler[oe]({type:oe,template:t,name:r,parsedName:r&&r.replace(Constant.RE_KEY,"$1"),rule:V,context:$}),$.root||($.root=ie),ie):t},Handler.extend({array:function(t){var r=[],$,V;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($=0;$<t.rule.count;$++)for(V=0;V<t.template.length;V++)t.context.path.push(r.length),t.context.templatePath.push(V),r.push(Handler.gen(t.template[V],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($=0;$<t.template.length;$++)t.context.path.push($),t.context.templatePath.push($),r.push(Handler.gen(t.template[$],$,{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;if(t.rule.min!=null)for($=Util.keys(t.template),$=Random.shuffle($),$=$.slice(0,t.rule.count),ue=0;ue<$.length;ue++)oe=$[ue],ie=oe.replace(Constant.RE_KEY,"$1"),t.context.path.push(ie),t.context.templatePath.push(oe),r[ie]=Handler.gen(t.template[oe],oe,{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=[];for(oe in t.template)(typeof t.template[oe]=="function"?V:$).push(oe);for($=$.concat(V),ue=0;ue<$.length;ue++)oe=$[ue],ie=oe.replace(Constant.RE_KEY,"$1"),t.context.path.push(ie),t.context.templatePath.push(oe),r[ie]=Handler.gen(t.template[oe],oe,{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(),le=oe.match(Constant.RE_KEY),le&&le[2]&&Util.type(t.template[oe])==="number"&&(t.template[oe]+=parseInt(le[2],10))}return r},number:function(t){var r,$;if(t.rule.decimal){for(t.template+="",$=t.template.split("."),$[0]=t.rule.range?t.rule.count:$[0],$[1]=($[1]||"").slice(0,t.rule.dcount);$[1].length<t.rule.dcount;)$[1]+=$[1].length<t.rule.dcount-1?Random.character("number"):Random.character("123456789");r=parseFloat($.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;if(t.template.length){for(t.rule.count==null&&(r+=t.template),$=0;$<t.rule.count;$++)r+=t.template;for(V=r.match(Constant.RE_PLACEHOLDER)||[],$=0;$<V.length;$++){if(oe=V[$],/^\\/.test(oe)){V.splice($--,1);continue}if(ie=Handler.placeholder(oe,t.context.currentContext,t.context.templateCurrentContext,t),V.length===1&&oe===r&&typeof ie!=typeof r){r=ie;break}r=r.replace(oe,ie)}}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 $=0;$<t.rule.count;$++)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 $=t,V=this.splitPathToArray(t),oe=[];t.charAt(0)==="/"?oe=[r.context.path[0]].concat(this.normalizePath(V)):V.length>1&&(oe=r.context.path.slice(0),oe.pop(),oe=this.normalizePath(oe.concat(V)));try{t=V[V.length-1];for(var ie=r.context.root,le=r.context.templateRoot,ue=1;ue<oe.length-1;ue++)ie=ie[oe[ue]],le=le[oe[ue]];if(ie&&t in ie)return ie[t];if(le&&typeof le=="object"&&t in le&&$!==le[t])return le[t]=Handler.gen(le[t],t,{currentContext:ie,templateCurrentContext:le}),le[t]}catch{}return"@"+V.join("/")},normalizePath:function(t){for(var r=[],$=0;$<t.length;$++)switch(t[$]){case"..":r.pop();break;case".":break;default:r.push(t[$])}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 $={};$.extend=function(){var oe=arguments[0]||{},ie=1,le=arguments.length,ue,de,pe,he,_e;for(le===1&&(oe=this,ie=0);ie<le;ie++)if(ue=arguments[ie],!!ue)for(de in ue)pe=oe[de],he=ue[de],oe!==he&&he!==void 0&&($.isArray(he)||$.isObject(he)?($.isArray(he)&&(_e=pe&&$.isArray(pe)?pe:[]),$.isObject(he)&&(_e=pe&&$.isObject(pe)?pe:{}),oe[de]=$.extend(_e,he)):oe[de]=he);return oe},$.each=function(oe,ie,le){var ue,de;if(this.type(oe)==="number")for(ue=0;ue<oe;ue++)ie(ue,ue);else if(oe.length===+oe.length)for(ue=0;ue<oe.length&&ie.call(le,oe[ue],ue,oe)!==!1;ue++);else for(de in oe)if(ie.call(le,oe[de],de,oe)===!1)break},$.type=function(oe){return oe==null?String(oe):Object.prototype.toString.call(oe).match(/\[object (\w+)\]/)[1].toLowerCase()},$.each("String Object Array RegExp Function".split(" "),function(V){$["is"+V]=function(oe){return $.type(oe)===V.toLowerCase()}}),$.isObjectOrArray=function(V){return $.isObject(V)||$.isArray(V)},$.isNumeric=function(V){return!isNaN(parseFloat(V))&&isFinite(V)},$.keys=function(V){var oe=[];for(var ie in V)V.hasOwnProperty(ie)&&oe.push(ie);return oe},$.values=function(V){var oe=[];for(var ie in V)V.hasOwnProperty(ie)&&oe.push(V[ie]);return oe},$.heredoc=function(oe){return oe.toString().replace(/^[^\/]+\/\*!?/,"").replace(/\*\/[^\/]+$/,"").replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")},$.noop=function(){},t.exports=$},function(t,r,$){var V=$(2),oe=$(5);t.exports={parse:function(ie){ie=ie==null?"":ie+"";var le=(ie||"").match(V.RE_KEY),ue=le&&le[3]&&le[3].match(V.RE_RANGE),de=ue&&ue[1]&&parseInt(ue[1],10),pe=ue&&ue[2]&&parseInt(ue[2],10),he=ue?ue[2]?oe.integer(de,pe):parseInt(ue[1],10):void 0,_e=le&&le[4]&&le[4].match(V.RE_RANGE),$e=_e&&_e[1]&&parseInt(_e[1],10),Ie=_e&&_e[2]&&parseInt(_e[2],10),Ve=_e?!_e[2]&&parseInt(_e[1],10)||oe.integer($e,Ie):void 0,Fe={parameters:le,range:ue,min:de,max:pe,count:he,decimal:_e,dmin:$e,dmax:Ie,dcount:Ve};for(var Ue in Fe)if(Fe[Ue]!=null)return Fe;return{}}}},function(t,r,$){var V=$(3),oe={extend:V.extend};oe.extend($(6)),oe.extend($(7)),oe.extend($(8)),oe.extend($(10)),oe.extend($(13)),oe.extend($(15)),oe.extend($(16)),oe.extend($(17)),oe.extend($(14)),oe.extend($(19)),t.exports=oe},function(t,r){t.exports={boolean:function($,V,oe){return oe!==void 0?($=typeof $<"u"&&!isNaN($)?parseInt($,10):1,V=typeof V<"u"&&!isNaN(V)?parseInt(V,10):1,Math.random()>1/($+V)*$?!oe:oe):Math.random()>=.5},bool:function($,V,oe){return this.boolean($,V,oe)},natural:function($,V){return $=typeof $<"u"?parseInt($,10):0,V=typeof V<"u"?parseInt(V,10):9007199254740992,Math.round(Math.random()*(V-$))+$},integer:function($,V){return $=typeof $<"u"?parseInt($,10):-9007199254740992,V=typeof V<"u"?parseInt(V,10):9007199254740992,Math.round(Math.random()*(V-$))+$},int:function($,V){return this.integer($,V)},float:function($,V,oe,ie){oe=oe===void 0?0:oe,oe=Math.max(Math.min(oe,17),0),ie=ie===void 0?17:ie,ie=Math.max(Math.min(ie,17),0);for(var le=this.integer($,V)+".",ue=0,de=this.natural(oe,ie);ue<de;ue++)le+=ue<de-1?this.character("number"):this.character("123456789");return parseFloat(le,10)},character:function($){var V={lower:"abcdefghijklmnopqrstuvwxyz",upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",number:"0123456789",symbol:"!@#$%^&*()[]"};return V.alpha=V.lower+V.upper,V.undefined=V.lower+V.upper+V.number+V.symbol,$=V[(""+$).toLowerCase()]||$,$.charAt(this.natural(0,$.length-1))},char:function($){return this.character($)},string:function($,V,oe){var ie;switch(arguments.length){case 0:ie=this.natural(3,7);break;case 1:ie=$,$=void 0;break;case 2:typeof arguments[0]=="string"?ie=V:(ie=this.natural($,V),$=void 0);break;case 3:ie=this.natural(V,oe);break}for(var le="",ue=0;ue<ie;ue++)le+=this.character($);return le},str:function(){return this.string.apply(this,arguments)},range:function($,V,oe){arguments.length<=1&&(V=$||0,$=0),oe=arguments[2]||1,$=+$,V=+V,oe=+oe;for(var ie=Math.max(Math.ceil((V-$)/oe),0),le=0,ue=new Array(ie);le<ie;)ue[le++]=$,$+=oe;return ue}}},function(t,r){var $={yyyy:"getFullYear",yy:function(V){return(""+V.getFullYear()).slice(2)},y:"yy",MM:function(V){var oe=V.getMonth()+1;return oe<10?"0"+oe:oe},M:function(V){return V.getMonth()+1},dd:function(V){var oe=V.getDate();return oe<10?"0"+oe:oe},d:"getDate",HH:function(V){var oe=V.getHours();return oe<10?"0"+oe:oe},H:"getHours",hh:function(V){var oe=V.getHours()%12;return oe<10?"0"+oe:oe},h:function(V){return V.getHours()%12},mm:function(V){var oe=V.getMinutes();return oe<10?"0"+oe:oe},m:"getMinutes",ss:function(V){var oe=V.getSeconds();return oe<10?"0"+oe:oe},s:"getSeconds",SS:function(V){var oe=V.getMilliseconds();return oe<10&&"00"+oe||oe<100&&"0"+oe||oe},S:"getMilliseconds",A:function(V){return V.getHours()<12?"AM":"PM"},a:function(V){return V.getHours()<12?"am":"pm"},T:"getTime"};t.exports={_patternLetters:$,_rformat:new RegExp(function(){var V=[];for(var oe in $)V.push(oe);return"("+V.join("|")+")"}(),"g"),_formatDate:function(V,oe){return oe.replace(this._rformat,function ie(le,ue){return typeof $[ue]=="function"?$[ue](V):$[ue]in $?ie(le,$[ue]):V[$[ue]]()})},_randomDate:function(V,oe){return V=V===void 0?new Date(0):V,oe=oe===void 0?new Date:oe,new Date(Math.random()*(oe.getTime()-V.getTime()))},date:function(V){return V=V||"yyyy-MM-dd",this._formatDate(this._randomDate(),V)},time:function(V){return V=V||"HH:mm:ss",this._formatDate(this._randomDate(),V)},datetime:function(V){return V=V||"yyyy-MM-dd HH:mm:ss",this._formatDate(this._randomDate(),V)},now:function(V,oe){arguments.length===1&&(/year|month|day|hour|minute|second|week/.test(V)||(oe=V,V="")),V=(V||"").toLowerCase(),oe=oe||"yyyy-MM-dd HH:mm:ss";var ie=new Date;switch(V){case"year":ie.setMonth(0);case"month":ie.setDate(1);case"week":case"day":ie.setHours(0);case"hour":ie.setMinutes(0);case"minute":ie.setSeconds(0);case"second":ie.setMilliseconds(0)}switch(V){case"week":ie.setDate(ie.getDate()-ie.getDay())}return this._formatDate(ie,oe)}}},function(t,r,$){(function(V){V.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(oe,ie,le,ue,de){return arguments.length===4&&(de=ue,ue=void 0),arguments.length===3&&(de=le,le=void 0),oe||(oe=this.pick(this._adSize)),ie&&~ie.indexOf("#")&&(ie=ie.slice(1)),le&&~le.indexOf("#")&&(le=le.slice(1)),"http://dummyimage.com/"+oe+(ie?"/"+ie:"")+(le?"/"+le:"")+(ue?"."+ue:"")+(de?"&text="+de:"")},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 oe=[];for(var ie in this._brandColors)oe.push(ie);return oe},dataImage:function(oe,ie){var le;if(typeof document<"u")le=document.createElement("canvas");else{var ue=V.require("canvas");le=new ue}var de=le&&le.getContext&&le.getContext("2d");if(!le||!de)return"";oe||(oe=this.pick(this._adSize)),ie=ie!==void 0?ie:oe,oe=oe.split("x");var pe=parseInt(oe[0],10),he=parseInt(oe[1],10),_e=this._brandColors[this.pick(this._brandNames())],$e="#FFF",Ie=14,Ve="sans-serif";return le.width=pe,le.height=he,de.textAlign="center",de.textBaseline="middle",de.fillStyle=_e,de.fillRect(0,0,pe,he),de.fillStyle=$e,de.font="bold "+Ie+"px "+Ve,de.fillText(ie,pe/2,he/2,pe),le.toDataURL("image/png")}}}).call(r,$(9)(t))},function(t,r){t.exports=function($){return $.webpackPolyfill||($.deprecate=function(){},$.paths=[],$.children=[],$.webpackPolyfill=1),$}},function(t,r,$){var V=$(11),oe=$(12);t.exports={color:function(ie){return ie||oe[ie]?oe[ie].nicer:this.hex()},hex:function(){var ie=this._goldenRatioColor(),le=V.hsv2rgb(ie),ue=V.rgb2hex(le[0],le[1],le[2]);return ue},rgb:function(){var ie=this._goldenRatioColor(),le=V.hsv2rgb(ie);return"rgb("+parseInt(le[0],10)+", "+parseInt(le[1],10)+", "+parseInt(le[2],10)+")"},rgba:function(){var ie=this._goldenRatioColor(),le=V.hsv2rgb(ie);return"rgba("+parseInt(le[0],10)+", "+parseInt(le[1],10)+", "+parseInt(le[2],10)+", "+Math.random().toFixed(2)+")"},hsl:function(){var ie=this._goldenRatioColor(),le=V.hsv2hsl(ie);return"hsl("+parseInt(le[0],10)+", "+parseInt(le[1],10)+", "+parseInt(le[2],10)+")"},_goldenRatioColor:function(ie,le){return this._goldenRatio=.618033988749895,this._hue=this._hue||Math.random(),this._hue+=this._goldenRatio,this._hue%=1,typeof ie!="number"&&(ie=.5),typeof le!="number"&&(le=.95),[this._hue*360,ie*100,le*100]}}},function(t,r){t.exports={rgb2hsl:function(V){var oe=V[0]/255,ie=V[1]/255,le=V[2]/255,ue=Math.min(oe,ie,le),de=Math.max(oe,ie,le),pe=de-ue,he,_e,$e;return de==ue?he=0:oe==de?he=(ie-le)/pe:ie==de?he=2+(le-oe)/pe:le==de&&(he=4+(oe-ie)/pe),he=Math.min(he*60,360),he<0&&(he+=360),$e=(ue+de)/2,de==ue?_e=0:$e<=.5?_e=pe/(de+ue):_e=pe/(2-de-ue),[he,_e*100,$e*100]},rgb2hsv:function(V){var oe=V[0],ie=V[1],le=V[2],ue=Math.min(oe,ie,le),de=Math.max(oe,ie,le),pe=de-ue,he,_e,$e;return de===0?_e=0:_e=pe/de*1e3/10,de==ue?he=0:oe==de?he=(ie-le)/pe:ie==de?he=2+(le-oe)/pe:le==de&&(he=4+(oe-ie)/pe),he=Math.min(he*60,360),he<0&&(he+=360),$e=de/255*1e3/10,[he,_e,$e]},hsl2rgb:function(V){var oe=V[0]/360,ie=V[1]/100,le=V[2]/100,ue,de,pe,he,_e;if(ie===0)return _e=le*255,[_e,_e,_e];le<.5?de=le*(1+ie):de=le+ie-le*ie,ue=2*le-de,he=[0,0,0];for(var $e=0;$e<3;$e++)pe=oe+1/3*-($e-1),pe<0&&pe++,pe>1&&pe--,6*pe<1?_e=ue+(de-ue)*6*pe:2*pe<1?_e=de:3*pe<2?_e=ue+(de-ue)*(2/3-pe)*6:_e=ue,he[$e]=_e*255;return he},hsl2hsv:function(V){var oe=V[0],ie=V[1]/100,le=V[2]/100,ue,de;return le*=2,ie*=le<=1?le:2-le,de=(le+ie)/2,ue=2*ie/(le+ie),[oe,ue*100,de*100]},hsv2rgb:function(V){var oe=V[0]/60,ie=V[1]/100,le=V[2]/100,ue=Math.floor(oe)%6,de=oe-Math.floor(oe),pe=255*le*(1-ie),he=255*le*(1-ie*de),_e=255*le*(1-ie*(1-de));switch(le=255*le,ue){case 0:return[le,_e,pe];case 1:return[he,le,pe];case 2:return[pe,le,_e];case 3:return[pe,he,le];case 4:return[_e,pe,le];case 5:return[le,pe,he]}},hsv2hsl:function(V){var oe=V[0],ie=V[1]/100,le=V[2]/100,ue,de;return de=(2-ie)*le,ue=ie*le,ue/=de<=1?de:2-de,de/=2,[oe,ue*100,de*100]},rgb2hex:function($,V,oe){return"#"+((256+$<<8|V)<<8|oe).toString(16).slice(1)},hex2rgb:function($){return $="0x"+$.slice(1).replace($.length>4?$:/./g,"$&$&")|0,[$>>16,$>>8&255,$&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,$){var V=$(6),oe=$(14);function ie(le,ue,de,pe){return de===void 0?V.natural(le,ue):pe===void 0?de:V.natural(parseInt(de,10),parseInt(pe,10))}t.exports={paragraph:function(le,ue){for(var de=ie(3,7,le,ue),pe=[],he=0;he<de;he++)pe.push(this.sentence());return pe.join(" ")},cparagraph:function(le,ue){for(var de=ie(3,7,le,ue),pe=[],he=0;he<de;he++)pe.push(this.csentence());return pe.join("")},sentence:function(le,ue){for(var de=ie(12,18,le,ue),pe=[],he=0;he<de;he++)pe.push(this.word());return oe.capitalize(pe.join(" "))+"."},csentence:function(le,ue){for(var de=ie(12,18,le,ue),pe=[],he=0;he<de;he++)pe.push(this.cword());return pe.join("")+"。"},word:function(le,ue){for(var de=ie(3,10,le,ue),pe="",he=0;he<de;he++)pe+=V.character("lower");return pe},cword:function(le,ue,de){var pe="的一是在不了有和人这中大为上个国我以要他时来用们生到作地于出就分对成会可主发年动同工也能下过子说产种面而方后多定行学法所民得经十三之进着等部度家电力里如水化高自二理起小物现实加量都两体制机当使点从业本去把性好应开它合还因由其些然前外天政四日那社义事平形相全表间样与关各重新线内数正心反你明看原又么利比或但质气第向道命此变条只没结解问意建月公无系军很情者最立代想已通并提直题党程展五果料象员革位入常文总次品式活设及管特件长求老头基资边流路级少图山统接知较将组见计别她手角期根论运农指几九区强放决西被干做必战先回则任取据处队南给色光门即保治北造百规热领七海口东导器压志世金增争济阶油思术极交受联什认六共权收证改清己美再采转更单风切打白教速花带安场身车例真务具万每目至达走积示议声报斗完类八离华名确才科张信马节话米整空元况今集温传土许步群广石记需段研界拉林律叫且究观越织装影算低持音众书布复容儿须际商非验连断深难近矿千周委素技备半办青省列习响约支般史感劳便团往酸历市克何除消构府称太准精值号率族维划选标写存候毛亲快效斯院查江型眼王按格养易置派层片始却专状育厂京识适属圆包火住调满县局照参红细引听该铁价严龙飞",he;switch(arguments.length){case 0:le=pe,he=1;break;case 1:typeof arguments[0]=="string"?he=1:(he=le,le=pe);break;case 2:typeof arguments[0]=="string"?he=ue:(he=this.natural(le,ue),le=pe);break;case 3:he=this.natural(ue,de);break}for(var _e="",$e=0;$e<he;$e++)_e+=le.charAt(this.natural(0,le.length-1));return _e},title:function(le,ue){for(var de=ie(3,7,le,ue),pe=[],he=0;he<de;he++)pe.push(this.capitalize(this.word()));return pe.join(" ")},ctitle:function(le,ue){for(var de=ie(3,7,le,ue),pe=[],he=0;he<de;he++)pe.push(this.cword());return pe.join("")}}},function(t,r,$){var V=$(3);t.exports={capitalize:function(oe){return(oe+"").charAt(0).toUpperCase()+(oe+"").substr(1)},upper:function(oe){return(oe+"").toUpperCase()},lower:function(oe){return(oe+"").toLowerCase()},pick:function(ie,le,ue){return V.isArray(ie)?(le===void 0&&(le=1),ue===void 0&&(ue=le)):(ie=[].slice.call(arguments),le=1,ue=1),le===1&&ue===1?ie[this.natural(0,ie.length-1)]:this.shuffle(ie,le,ue)},shuffle:function(ie,le,ue){ie=ie||[];for(var de=ie.slice(0),pe=[],he=0,_e=de.length,$e=0;$e<_e;$e++)he=this.natural(0,de.length-1),pe.push(de[he]),de.splice(he,1);switch(arguments.length){case 0:case 1:return pe;case 2:ue=le;case 3:return le=parseInt(le,10),ue=parseInt(ue,10),pe.slice(0,this.natural(le,ue))}},order:function oe(ie){oe.cache=oe.cache||{},arguments.length>1&&(ie=[].slice.call(arguments,0));var le=oe.options,ue=le.context.templatePath.join("."),de=oe.cache[ue]=oe.cache[ue]||{index:0,array:ie};return de.array[de.index++%de.array.length]}}},function(t,r){t.exports={first:function(){var $=["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($)},last:function(){var $=["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($)},name:function($){return this.first()+" "+($?this.first()+" ":"")+this.last()},cfirst:function(){var $="王 李 张 刘 陈 杨 赵 黄 周 吴 徐 孙 胡 朱 高 林 何 郭 马 罗 梁 宋 郑 谢 韩 唐 冯 于 董 萧 程 曹 袁 邓 许 傅 沈 曾 彭 吕 苏 卢 蒋 蔡 贾 丁 魏 薛 叶 阎 余 潘 杜 戴 夏 锺 汪 田 任 姜 范 方 石 姚 谭 廖 邹 熊 金 陆 郝 孔 白 崔 康 毛 邱 秦 江 史 顾 侯 邵 孟 龙 万 段 雷 钱 汤 尹 黎 易 常 武 乔 贺 赖 龚 文".split(" ");return this.pick($)},clast:function(){var $="伟 芳 娜 秀英 敏 静 丽 强 磊 军 洋 勇 艳 杰 娟 涛 明 超 秀兰 霞 平 刚 桂英".split(" ");return this.pick($)},cname:function(){return this.cfirst()+this.clast()}}},function(t,r){t.exports={url:function($,V){return($||this.protocol())+"://"+(V||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($){return this.word()+"."+($||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($){return this.character("lower")+"."+this.word()+"@"+($||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,$){var V=$(18),oe=["东北","华北","华东","华中","华南","西南","西北"];t.exports={region:function(){return this.pick(oe)},province:function(){return this.pick(V).name},city:function(ie){var le=this.pick(V),ue=this.pick(le.children);return ie?[le.name,ue.name].join(" "):ue.name},county:function(ie){var le=this.pick(V),ue=this.pick(le.children),de=this.pick(ue.children)||{name:"-"};return ie?[le.name,ue.name,de.name].join(" "):de.name},zip:function(ie){for(var le="",ue=0;ue<(ie||6);ue++)le+=this.natural(0,9);return le}}},function(t,r){var $={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 V(ie){for(var le={},ue=0,de;ue<ie.length;ue++)de=ie[ue],!(!de||!de.id)&&(le[de.id]=de);for(var pe=[],he=0;he<ie.length;he++)if(de=ie[he],!!de){if(de.pid==null&&de.parentId==null){pe.push(de);continue}var _e=le[de.pid]||le[de.parentId];_e&&(_e.children||(_e.children=[]),_e.children.push(de))}return pe}var oe=function(){var ie=[];for(var le in $){var ue=le.slice(2,6)==="0000"?void 0:le.slice(4,6)=="00"?le.slice(0,2)+"0000":le.slice(0,4)+"00";ie.push({id:le,pid:ue,name:$[le]})}return V(ie)}();t.exports=oe},function(t,r,$){var 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 oe="abcdefABCDEF1234567890",ie=this.string(oe,8)+"-"+this.string(oe,4)+"-"+this.string(oe,4)+"-"+this.string(oe,4)+"-"+this.string(oe,12);return ie},uuid:function(){return this.guid()},id:function(){var oe,ie=0,le=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],ue=["1","0","X","9","8","7","6","5","4","3","2"];oe=this.pick(V).id+this.date("yyyyMMdd")+this.string("number",3);for(var de=0;de<oe.length;de++)ie+=oe[de]*le[de];return oe+=ue[ie%11],oe},increment:function(){var oe=0;return function(ie){return oe+=+ie||1}}(),inc:function(oe){return this.increment(oe)}}},function(t,r,$){var V=$(21),oe=$(22);t.exports={Parser:V,Handler:oe}},function(t,r){function $(hn){this.type=hn,this.offset=$.offset(),this.text=$.text()}function V(hn,Cn){$.call(this,"alternate"),this.left=hn,this.right=Cn}function oe(hn){$.call(this,"match"),this.body=hn.filter(Boolean)}function ie(hn,Cn){$.call(this,hn),this.body=Cn}function le(hn){ie.call(this,"capture-group"),this.index=Lt[this.offset]||(Lt[this.offset]=Et++),this.body=hn}function ue(hn,Cn){$.call(this,"quantified"),this.body=hn,this.quantifier=Cn}function de(hn,Cn){$.call(this,"quantifier"),this.min=hn,this.max=Cn,this.greedy=!0}function pe(hn,Cn){$.call(this,"charset"),this.invert=hn,this.body=Cn}function he(hn,Cn){$.call(this,"range"),this.start=hn,this.end=Cn}function _e(hn){$.call(this,"literal"),this.body=hn,this.escaped=this.body!=this.text}function $e(hn){$.call(this,"unicode"),this.code=hn.toUpperCase()}function Ie(hn){$.call(this,"hex"),this.code=hn.toUpperCase()}function Ve(hn){$.call(this,"octal"),this.code=hn.toUpperCase()}function Fe(hn){$.call(this,"back-reference"),this.code=hn.toUpperCase()}function Ue(hn){$.call(this,"control-character"),this.code=hn.toUpperCase()}var qe=function(){function hn(Sn,En){function wn(){this.constructor=Sn}wn.prototype=En.prototype,Sn.prototype=new wn}function Cn(Sn,En,wn,$n,Tn){function xn(An,Mn){function Vn(Ln){function Pn(Fn){return Fn.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(Fn){return"\\x0"+Pn(Fn)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(Fn){return"\\x"+Pn(Fn)}).replace(/[\u0180-\u0FFF]/g,function(Fn){return"\\u0"+Pn(Fn)}).replace(/[\u1080-\uFFFF]/g,function(Fn){return"\\u"+Pn(Fn)})}var Bn,Dn;switch(An.length){case 0:Bn="end of input";break;case 1:Bn=An[0];break;default:Bn=An.slice(0,-1).join(", ")+" or "+An[An.length-1]}return Dn=Mn?'"'+Vn(Mn)+'"':"end of input","Expected "+Bn+" but "+Dn+" found."}this.expected=Sn,this.found=En,this.offset=wn,this.line=$n,this.column=Tn,this.name="SyntaxError",this.message=xn(Sn,En)}function bn(Sn){function En(){return Sn.substring(Ur,Xn)}function wn(){return Ur}function $n(Rn){function jn(Or,Fr,jr){var ro,so;for(ro=Fr;jr>ro;ro++)so=Sn.charAt(ro),so===`
|
||
`?(Or.seenCR||Or.line++,Or.column=1,Or.seenCR=!1):so==="\r"||so==="\u2028"||so==="\u2029"?(Or.line++,Or.column=1,Or.seenCR=!0):(Or.column++,Or.seenCR=!1)}return io!==Rn&&(io>Rn&&(io=0,bo={line:1,column:1,seenCR:!1}),jn(bo,io,Rn),io=Rn),bo}function Tn(Rn){po>Xn||(Xn>po&&(po=Xn,ho=[]),ho.push(Rn))}function xn(Rn){var jn=0;for(Rn.sort();jn<Rn.length;)Rn[jn-1]===Rn[jn]?Rn.splice(jn,1):jn++}function An(){var Rn,jn,Or,Fr,jr;return Rn=Xn,jn=Mn(),jn!==null?(Or=Xn,Sn.charCodeAt(Xn)===124?(Fr=Yr,Xn++):(Fr=null,Br===0&&Tn(Jr)),Fr!==null?(jr=An(),jr!==null?(Fr=[Fr,jr],Or=Fr):(Xn=Or,Or=Ir)):(Xn=Or,Or=Ir),Or===null&&(Or=Wr),Or!==null?(Ur=Rn,jn=Qr(jn,Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}function Mn(){var Rn,jn,Or,Fr,jr;if(Rn=Xn,jn=Bn(),jn===null&&(jn=Wr),jn!==null)if(Or=Xn,Br++,Fr=Pn(),Br--,Fr===null?Or=Wr:(Xn=Or,Or=Ir),Or!==null){for(Fr=[],jr=Ln(),jr===null&&(jr=Vn());jr!==null;)Fr.push(jr),jr=Ln(),jr===null&&(jr=Vn());Fr!==null?(jr=Dn(),jr===null&&(jr=Wr),jr!==null?(Ur=Rn,jn=no(jn,Fr,jr),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir)}else Xn=Rn,Rn=Ir;else Xn=Rn,Rn=Ir;return Rn}function Vn(){var Rn;return Rn=er(),Rn===null&&(Rn=Jn(),Rn===null&&(Rn=Cr())),Rn}function Bn(){var Rn,jn;return Rn=Xn,Sn.charCodeAt(Xn)===94?(jn=So,Xn++):(jn=null,Br===0&&Tn(Eo)),jn!==null&&(Ur=Rn,jn=ra()),jn===null&&(Xn=Rn),Rn=jn,Rn}function Dn(){var Rn,jn;return Rn=Xn,Sn.charCodeAt(Xn)===36?(jn=oa,Xn++):(jn=null,Br===0&&Tn(aa)),jn!==null&&(Ur=Rn,jn=ia()),jn===null&&(Xn=Rn),Rn=jn,Rn}function Ln(){var Rn,jn,Or;return Rn=Xn,jn=Vn(),jn!==null?(Or=Pn(),Or!==null?(Ur=Rn,jn=sa(jn,Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}function Pn(){var Rn,jn,Or;return Br++,Rn=Xn,jn=Fn(),jn!==null?(Or=Gn(),Or===null&&(Or=Wr),Or!==null?(Ur=Rn,jn=ua(jn,Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Br--,Rn===null&&(jn=null,Br===0&&Tn(la)),Rn}function Fn(){var Rn;return Rn=Un(),Rn===null&&(Rn=Wn(),Rn===null&&(Rn=Zn(),Rn===null&&(Rn=or(),Rn===null&&(Rn=br(),Rn===null&&(Rn=Qn()))))),Rn}function Un(){var Rn,jn,Or,Fr,jr,ro;return Rn=Xn,Sn.charCodeAt(Xn)===123?(jn=vo,Xn++):(jn=null,Br===0&&Tn(yo)),jn!==null?(Or=Yn(),Or!==null?(Sn.charCodeAt(Xn)===44?(Fr=da,Xn++):(Fr=null,Br===0&&Tn(fa)),Fr!==null?(jr=Yn(),jr!==null?(Sn.charCodeAt(Xn)===125?(ro=wo,Xn++):(ro=null,Br===0&&Tn(To)),ro!==null?(Ur=Rn,jn=pa(Or,jr),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}function Wn(){var Rn,jn,Or,Fr;return Rn=Xn,Sn.charCodeAt(Xn)===123?(jn=vo,Xn++):(jn=null,Br===0&&Tn(yo)),jn!==null?(Or=Yn(),Or!==null?(Sn.substr(Xn,2)===$o?(Fr=$o,Xn+=2):(Fr=null,Br===0&&Tn(ha)),Fr!==null?(Ur=Rn,jn=ma(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}function Zn(){var Rn,jn,Or,Fr;return Rn=Xn,Sn.charCodeAt(Xn)===123?(jn=vo,Xn++):(jn=null,Br===0&&Tn(yo)),jn!==null?(Or=Yn(),Or!==null?(Sn.charCodeAt(Xn)===125?(Fr=wo,Xn++):(Fr=null,Br===0&&Tn(To)),Fr!==null?(Ur=Rn,jn=va(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}function or(){var Rn,jn;return Rn=Xn,Sn.charCodeAt(Xn)===43?(jn=ga,Xn++):(jn=null,Br===0&&Tn(ya)),jn!==null&&(Ur=Rn,jn=ba()),jn===null&&(Xn=Rn),Rn=jn,Rn}function br(){var Rn,jn;return Rn=Xn,Sn.charCodeAt(Xn)===42?(jn=Ca,Xn++):(jn=null,Br===0&&Tn(Sa)),jn!==null&&(Ur=Rn,jn=Ea()),jn===null&&(Xn=Rn),Rn=jn,Rn}function Qn(){var Rn,jn;return Rn=Xn,Sn.charCodeAt(Xn)===63?(jn=xo,Xn++):(jn=null,Br===0&&Tn(ko)),jn!==null&&(Ur=Rn,jn=wa()),jn===null&&(Xn=Rn),Rn=jn,Rn}function Gn(){var Rn;return Sn.charCodeAt(Xn)===63?(Rn=xo,Xn++):(Rn=null,Br===0&&Tn(ko)),Rn}function Yn(){var Rn,jn,Or;if(Rn=Xn,jn=[],Po.test(Sn.charAt(Xn))?(Or=Sn.charAt(Xn),Xn++):(Or=null,Br===0&&Tn(Ao)),Or!==null)for(;Or!==null;)jn.push(Or),Po.test(Sn.charAt(Xn))?(Or=Sn.charAt(Xn),Xn++):(Or=null,Br===0&&Tn(Ao));else jn=Ir;return jn!==null&&(Ur=Rn,jn=Ta(jn)),jn===null&&(Xn=Rn),Rn=jn,Rn}function er(){var Rn,jn,Or,Fr;return Rn=Xn,Sn.charCodeAt(Xn)===40?(jn=$a,Xn++):(jn=null,Br===0&&Tn(xa)),jn!==null?(Or=zn(),Or===null&&(Or=Kn(),Or===null&&(Or=sr(),Or===null&&(Or=lr()))),Or!==null?(Sn.charCodeAt(Xn)===41?(Fr=ka,Xn++):(Fr=null,Br===0&&Tn(Pa)),Fr!==null?(Ur=Rn,jn=Aa(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}function lr(){var Rn,jn;return Rn=Xn,jn=An(),jn!==null&&(Ur=Rn,jn=Oa(jn)),jn===null&&(Xn=Rn),Rn=jn,Rn}function sr(){var Rn,jn,Or;return Rn=Xn,Sn.substr(Xn,2)===Oo?(jn=Oo,Xn+=2):(jn=null,Br===0&&Tn(Ia)),jn!==null?(Or=An(),Or!==null?(Ur=Rn,jn=Na(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}function zn(){var Rn,jn,Or;return Rn=Xn,Sn.substr(Xn,2)===Io?(jn=Io,Xn+=2):(jn=null,Br===0&&Tn(Ma)),jn!==null?(Or=An(),Or!==null?(Ur=Rn,jn=Ra(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}function Kn(){var Rn,jn,Or;return Rn=Xn,Sn.substr(Xn,2)===No?(jn=No,Xn+=2):(jn=null,Br===0&&Tn(Da)),jn!==null?(Or=An(),Or!==null?(Ur=Rn,jn=La(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}function Jn(){var Rn,jn,Or,Fr,jr;if(Br++,Rn=Xn,Sn.charCodeAt(Xn)===91?(jn=Va,Xn++):(jn=null,Br===0&&Tn(Fa)),jn!==null)if(Sn.charCodeAt(Xn)===94?(Or=So,Xn++):(Or=null,Br===0&&Tn(Eo)),Or===null&&(Or=Wr),Or!==null){for(Fr=[],jr=cr(),jr===null&&(jr=_r());jr!==null;)Fr.push(jr),jr=cr(),jr===null&&(jr=_r());Fr!==null?(Sn.charCodeAt(Xn)===93?(jr=za,Xn++):(jr=null,Br===0&&Tn(Ha)),jr!==null?(Ur=Rn,jn=Ua(Or,Fr),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir)}else Xn=Rn,Rn=Ir;else Xn=Rn,Rn=Ir;return Br--,Rn===null&&(jn=null,Br===0&&Tn(Ba)),Rn}function cr(){var Rn,jn,Or,Fr;return Br++,Rn=Xn,jn=_r(),jn!==null?(Sn.charCodeAt(Xn)===45?(Or=Wa,Xn++):(Or=null,Br===0&&Tn(Ga)),Or!==null?(Fr=_r(),Fr!==null?(Ur=Rn,jn=Ka(jn,Fr),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Br--,Rn===null&&(jn=null,Br===0&&Tn(ja)),Rn}function _r(){var Rn;return Br++,Rn=wr(),Rn===null&&(Rn=ur()),Br--,Rn===null&&Br===0&&Tn(Ya),Rn}function ur(){var Rn,jn;return Rn=Xn,qa.test(Sn.charAt(Xn))?(jn=Sn.charAt(Xn),Xn++):(jn=null,Br===0&&Tn(Za)),jn!==null&&(Ur=Rn,jn=_o(jn)),jn===null&&(Xn=Rn),Rn=jn,Rn}function wr(){var Rn;return Rn=nr(),Rn===null&&(Rn=Dr(),Rn===null&&(Rn=$r(),Rn===null&&(Rn=Rr(),Rn===null&&(Rn=Lr(),Rn===null&&(Rn=Vr(),Rn===null&&(Rn=Nr(),Rn===null&&(Rn=dr(),Rn===null&&(Rn=ar(),Rn===null&&(Rn=tr(),Rn===null&&(Rn=Sr(),Rn===null&&(Rn=qn(),Rn===null&&(Rn=kr(),Rn===null&&(Rn=Gr(),Rn===null&&(Rn=Kr(),Rn===null&&(Rn=to(),Rn===null&&(Rn=Zr(),Rn===null&&(Rn=hr()))))))))))))))))),Rn}function Cr(){var Rn;return Rn=mr(),Rn===null&&(Rn=Tr(),Rn===null&&(Rn=Er())),Rn}function mr(){var Rn,jn;return Rn=Xn,Sn.charCodeAt(Xn)===46?(jn=Xa,Xn++):(jn=null,Br===0&&Tn(Ja)),jn!==null&&(Ur=Rn,jn=Qa()),jn===null&&(Xn=Rn),Rn=jn,Rn}function Er(){var Rn,jn;return Br++,Rn=Xn,ti.test(Sn.charAt(Xn))?(jn=Sn.charAt(Xn),Xn++):(jn=null,Br===0&&Tn(ni)),jn!==null&&(Ur=Rn,jn=_o(jn)),jn===null&&(Xn=Rn),Rn=jn,Br--,Rn===null&&(jn=null,Br===0&&Tn(ei)),Rn}function Tr(){var Rn;return Rn=pr(),Rn===null&&(Rn=gr(),Rn===null&&(Rn=Dr(),Rn===null&&(Rn=$r(),Rn===null&&(Rn=Rr(),Rn===null&&(Rn=Lr(),Rn===null&&(Rn=Vr(),Rn===null&&(Rn=Nr(),Rn===null&&(Rn=dr(),Rn===null&&(Rn=ar(),Rn===null&&(Rn=tr(),Rn===null&&(Rn=Sr(),Rn===null&&(Rn=qn(),Rn===null&&(Rn=kr(),Rn===null&&(Rn=Hr(),Rn===null&&(Rn=Gr(),Rn===null&&(Rn=Kr(),Rn===null&&(Rn=to(),Rn===null&&(Rn=Zr(),Rn===null&&(Rn=hr()))))))))))))))))))),Rn}function nr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===lo?(jn=lo,Xn+=2):(jn=null,Br===0&&Tn(Mo)),jn!==null&&(Ur=Rn,jn=ri()),jn===null&&(Xn=Rn),Rn=jn,Rn}function pr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===lo?(jn=lo,Xn+=2):(jn=null,Br===0&&Tn(Mo)),jn!==null&&(Ur=Rn,jn=oi()),jn===null&&(Xn=Rn),Rn=jn,Rn}function gr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===Ro?(jn=Ro,Xn+=2):(jn=null,Br===0&&Tn(ai)),jn!==null&&(Ur=Rn,jn=ii()),jn===null&&(Xn=Rn),Rn=jn,Rn}function $r(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===Do?(jn=Do,Xn+=2):(jn=null,Br===0&&Tn(si)),jn!==null&&(Ur=Rn,jn=li()),jn===null&&(Xn=Rn),Rn=jn,Rn}function Rr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===Lo?(jn=Lo,Xn+=2):(jn=null,Br===0&&Tn(ui)),jn!==null&&(Ur=Rn,jn=ci()),jn===null&&(Xn=Rn),Rn=jn,Rn}function Lr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===Bo?(jn=Bo,Xn+=2):(jn=null,Br===0&&Tn(di)),jn!==null&&(Ur=Rn,jn=fi()),jn===null&&(Xn=Rn),Rn=jn,Rn}function Vr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===Vo?(jn=Vo,Xn+=2):(jn=null,Br===0&&Tn(pi)),jn!==null&&(Ur=Rn,jn=hi()),jn===null&&(Xn=Rn),Rn=jn,Rn}function Nr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===Fo?(jn=Fo,Xn+=2):(jn=null,Br===0&&Tn(mi)),jn!==null&&(Ur=Rn,jn=vi()),jn===null&&(Xn=Rn),Rn=jn,Rn}function dr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===zo?(jn=zo,Xn+=2):(jn=null,Br===0&&Tn(gi)),jn!==null&&(Ur=Rn,jn=yi()),jn===null&&(Xn=Rn),Rn=jn,Rn}function ar(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===Ho?(jn=Ho,Xn+=2):(jn=null,Br===0&&Tn(_i)),jn!==null&&(Ur=Rn,jn=bi()),jn===null&&(Xn=Rn),Rn=jn,Rn}function tr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===Uo?(jn=Uo,Xn+=2):(jn=null,Br===0&&Tn(Ci)),jn!==null&&(Ur=Rn,jn=Si()),jn===null&&(Xn=Rn),Rn=jn,Rn}function Sr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===jo?(jn=jo,Xn+=2):(jn=null,Br===0&&Tn(Ei)),jn!==null&&(Ur=Rn,jn=wi()),jn===null&&(Xn=Rn),Rn=jn,Rn}function qn(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===Wo?(jn=Wo,Xn+=2):(jn=null,Br===0&&Tn(Ti)),jn!==null&&(Ur=Rn,jn=$i()),jn===null&&(Xn=Rn),Rn=jn,Rn}function kr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===Go?(jn=Go,Xn+=2):(jn=null,Br===0&&Tn(xi)),jn!==null&&(Ur=Rn,jn=ki()),jn===null&&(Xn=Rn),Rn=jn,Rn}function Dr(){var Rn,jn,Or;return Rn=Xn,Sn.substr(Xn,2)===Ko?(jn=Ko,Xn+=2):(jn=null,Br===0&&Tn(Pi)),jn!==null?(Sn.length>Xn?(Or=Sn.charAt(Xn),Xn++):(Or=null,Br===0&&Tn(Yo)),Or!==null?(Ur=Rn,jn=Ai(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}function Hr(){var Rn,jn,Or;return Rn=Xn,Sn.charCodeAt(Xn)===92?(jn=qo,Xn++):(jn=null,Br===0&&Tn(Zo)),jn!==null?(Oi.test(Sn.charAt(Xn))?(Or=Sn.charAt(Xn),Xn++):(Or=null,Br===0&&Tn(Ii)),Or!==null?(Ur=Rn,jn=Ni(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}function Gr(){var Rn,jn,Or,Fr;if(Rn=Xn,Sn.substr(Xn,2)===uo?(jn=uo,Xn+=2):(jn=null,Br===0&&Tn(Xo)),jn!==null){if(Or=[],Jo.test(Sn.charAt(Xn))?(Fr=Sn.charAt(Xn),Xn++):(Fr=null,Br===0&&Tn(Qo)),Fr!==null)for(;Fr!==null;)Or.push(Fr),Jo.test(Sn.charAt(Xn))?(Fr=Sn.charAt(Xn),Xn++):(Fr=null,Br===0&&Tn(Qo));else Or=Ir;Or!==null?(Ur=Rn,jn=Mi(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)}else Xn=Rn,Rn=Ir;return Rn}function Kr(){var Rn,jn,Or,Fr;if(Rn=Xn,Sn.substr(Xn,2)===ea?(jn=ea,Xn+=2):(jn=null,Br===0&&Tn(Ri)),jn!==null){if(Or=[],co.test(Sn.charAt(Xn))?(Fr=Sn.charAt(Xn),Xn++):(Fr=null,Br===0&&Tn(fo)),Fr!==null)for(;Fr!==null;)Or.push(Fr),co.test(Sn.charAt(Xn))?(Fr=Sn.charAt(Xn),Xn++):(Fr=null,Br===0&&Tn(fo));else Or=Ir;Or!==null?(Ur=Rn,jn=Di(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)}else Xn=Rn,Rn=Ir;return Rn}function to(){var Rn,jn,Or,Fr;if(Rn=Xn,Sn.substr(Xn,2)===ta?(jn=ta,Xn+=2):(jn=null,Br===0&&Tn(Li)),jn!==null){if(Or=[],co.test(Sn.charAt(Xn))?(Fr=Sn.charAt(Xn),Xn++):(Fr=null,Br===0&&Tn(fo)),Fr!==null)for(;Fr!==null;)Or.push(Fr),co.test(Sn.charAt(Xn))?(Fr=Sn.charAt(Xn),Xn++):(Fr=null,Br===0&&Tn(fo));else Or=Ir;Or!==null?(Ur=Rn,jn=Bi(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)}else Xn=Rn,Rn=Ir;return Rn}function Zr(){var Rn,jn;return Rn=Xn,Sn.substr(Xn,2)===uo?(jn=uo,Xn+=2):(jn=null,Br===0&&Tn(Xo)),jn!==null&&(Ur=Rn,jn=Vi()),jn===null&&(Xn=Rn),Rn=jn,Rn}function hr(){var Rn,jn,Or;return Rn=Xn,Sn.charCodeAt(Xn)===92?(jn=qo,Xn++):(jn=null,Br===0&&Tn(Zo)),jn!==null?(Sn.length>Xn?(Or=Sn.charAt(Xn),Xn++):(Or=null,Br===0&&Tn(Yo)),Or!==null?(Ur=Rn,jn=_o(Or),jn===null&&(Xn=Rn),Rn=jn):(Xn=Rn,Rn=Ir)):(Xn=Rn,Rn=Ir),Rn}var xr,ir=arguments.length>1?arguments[1]:{},Pr={regexp:An},zr=An,Ir=null,Wr="",Yr="|",Jr='"|"',Qr=function(Rn,jn){return jn?new V(Rn,jn[1]):Rn},no=function(Rn,jn,Or){return new oe([Rn].concat(jn).concat([Or]))},So="^",Eo='"^"',ra=function(){return new $("start")},oa="$",aa='"$"',ia=function(){return new $("end")},sa=function(Rn,jn){return new ue(Rn,jn)},la="Quantifier",ua=function(Rn,jn){return jn&&(Rn.greedy=!1),Rn},vo="{",yo='"{"',da=",",fa='","',wo="}",To='"}"',pa=function(Rn,jn){return new de(Rn,jn)},$o=",}",ha='",}"',ma=function(Rn){return new de(Rn,1/0)},va=function(Rn){return new de(Rn,Rn)},ga="+",ya='"+"',ba=function(){return new de(1,1/0)},Ca="*",Sa='"*"',Ea=function(){return new de(0,1/0)},xo="?",ko='"?"',wa=function(){return new de(0,1)},Po=/^[0-9]/,Ao="[0-9]",Ta=function(Rn){return+Rn.join("")},$a="(",xa='"("',ka=")",Pa='")"',Aa=function(Rn){return Rn},Oa=function(Rn){return new le(Rn)},Oo="?:",Ia='"?:"',Na=function(Rn){return new ie("non-capture-group",Rn)},Io="?=",Ma='"?="',Ra=function(Rn){return new ie("positive-lookahead",Rn)},No="?!",Da='"?!"',La=function(Rn){return new ie("negative-lookahead",Rn)},Ba="CharacterSet",Va="[",Fa='"["',za="]",Ha='"]"',Ua=function(Rn,jn){return new pe(!!Rn,jn)},ja="CharacterRange",Wa="-",Ga='"-"',Ka=function(Rn,jn){return new he(Rn,jn)},Ya="Character",qa=/^[^\\\]]/,Za="[^\\\\\\]]",_o=function(Rn){return new _e(Rn)},Xa=".",Ja='"."',Qa=function(){return new $("any-character")},ei="Literal",ti=/^[^|\\\/.[()?+*$\^]/,ni="[^|\\\\\\/.[()?+*$\\^]",lo="\\b",Mo='"\\\\b"',ri=function(){return new $("backspace")},oi=function(){return new $("word-boundary")},Ro="\\B",ai='"\\\\B"',ii=function(){return new $("non-word-boundary")},Do="\\d",si='"\\\\d"',li=function(){return new $("digit")},Lo="\\D",ui='"\\\\D"',ci=function(){return new $("non-digit")},Bo="\\f",di='"\\\\f"',fi=function(){return new $("form-feed")},Vo="\\n",pi='"\\\\n"',hi=function(){return new $("line-feed")},Fo="\\r",mi='"\\\\r"',vi=function(){return new $("carriage-return")},zo="\\s",gi='"\\\\s"',yi=function(){return new $("white-space")},Ho="\\S",_i='"\\\\S"',bi=function(){return new $("non-white-space")},Uo="\\t",Ci='"\\\\t"',Si=function(){return new $("tab")},jo="\\v",Ei='"\\\\v"',wi=function(){return new $("vertical-tab")},Wo="\\w",Ti='"\\\\w"',$i=function(){return new $("word")},Go="\\W",xi='"\\\\W"',ki=function(){return new $("non-word")},Ko="\\c",Pi='"\\\\c"',Yo="any character",Ai=function(Rn){return new Ue(Rn)},qo="\\",Zo='"\\\\"',Oi=/^[1-9]/,Ii="[1-9]",Ni=function(Rn){return new Fe(Rn)},uo="\\0",Xo='"\\\\0"',Jo=/^[0-7]/,Qo="[0-7]",Mi=function(Rn){return new Ve(Rn.join(""))},ea="\\x",Ri='"\\\\x"',co=/^[0-9a-fA-F]/,fo="[0-9a-fA-F]",Di=function(Rn){return new Ie(Rn.join(""))},ta="\\u",Li='"\\\\u"',Bi=function(Rn){return new $e(Rn.join(""))},Vi=function(){return new $("null-character")},Xn=0,Ur=0,io=0,bo={line:1,column:1,seenCR:!1},po=0,ho=[],Br=0;if("startRule"in ir){if(!(ir.startRule in Pr))throw new Error(`Can't start parsing from rule "`+ir.startRule+'".');zr=Pr[ir.startRule]}if($.offset=wn,$.text=En,xr=zr(),xr!==null&&Xn===Sn.length)return xr;throw xn(ho),Ur=Math.max(Xn,po),new Cn(ho,Ur<Sn.length?Sn.charAt(Ur):null,Ur,$n(Ur).line,$n(Ur).column)}return hn(Cn,Error),{SyntaxError:Cn,parse:bn}}(),Et=1,Lt={};t.exports=qe},function(t,r,$){var V=$(3),oe=$(5),ie={extend:V.extend},le=Ie(97,122),ue=Ie(65,90),de=Ie(48,57),pe=Ie(32,47)+Ie(58,64)+Ie(91,96)+Ie(123,126),he=Ie(32,126),_e=` \f
|
||
\r \v \u2028\u2029`,$e={"\\w":le+ue+de+"_","\\W":pe.replace("_",""),"\\s":_e,"\\S":function(){for(var Ve=he,Fe=0;Fe<_e.length;Fe++)Ve=Ve.replace(_e[Fe],"");return Ve}(),"\\d":de,"\\D":le+ue+pe};function Ie(Ve,Fe){for(var Ue="",qe=Ve;qe<=Fe;qe++)Ue+=String.fromCharCode(qe);return Ue}ie.gen=function(Ve,Fe,Ue){return Ue=Ue||{guid:1},ie[Ve.type]?ie[Ve.type](Ve,Fe,Ue):ie.token(Ve,Fe,Ue)},ie.extend({token:function(Ve,Fe,Ue){switch(Ve.type){case"start":case"end":return"";case"any-character":return oe.character();case"backspace":return"";case"word-boundary":return"";case"non-word-boundary":break;case"digit":return oe.pick(de.split(""));case"non-digit":return oe.pick((le+ue+pe).split(""));case"form-feed":break;case"line-feed":return Ve.body||Ve.text;case"carriage-return":break;case"white-space":return oe.pick(_e.split(""));case"non-white-space":return oe.pick((le+ue+de).split(""));case"tab":break;case"vertical-tab":break;case"word":return oe.pick((le+ue+de).split(""));case"non-word":return oe.pick(pe.replace("_","").split(""))}return Ve.body||Ve.text},alternate:function(Ve,Fe,Ue){return this.gen(oe.boolean()?Ve.left:Ve.right,Fe,Ue)},match:function(Ve,Fe,Ue){Fe="";for(var qe=0;qe<Ve.body.length;qe++)Fe+=this.gen(Ve.body[qe],Fe,Ue);return Fe},"capture-group":function(Ve,Fe,Ue){return Fe=this.gen(Ve.body,Fe,Ue),Ue[Ue.guid++]=Fe,Fe},"non-capture-group":function(Ve,Fe,Ue){return this.gen(Ve.body,Fe,Ue)},"positive-lookahead":function(Ve,Fe,Ue){return this.gen(Ve.body,Fe,Ue)},"negative-lookahead":function(Ve,Fe,Ue){return""},quantified:function(Ve,Fe,Ue){Fe="";for(var qe=this.quantifier(Ve.quantifier),Et=0;Et<qe;Et++)Fe+=this.gen(Ve.body,Fe,Ue);return Fe},quantifier:function(Ve,Fe,Ue){var qe=Math.max(Ve.min,0),Et=isFinite(Ve.max)?Ve.max:qe+oe.integer(3,7);return oe.integer(qe,Et)},charset:function(Ve,Fe,Ue){if(Ve.invert)return this["invert-charset"](Ve,Fe,Ue);var qe=oe.pick(Ve.body);return this.gen(qe,Fe,Ue)},"invert-charset":function(Ve,Fe,Ue){for(var qe=he,Et=0,Lt;Et<Ve.body.length;Et++)switch(Lt=Ve.body[Et],Lt.type){case"literal":qe=qe.replace(Lt.body,"");break;case"range":for(var hn=this.gen(Lt.start,Fe,Ue).charCodeAt(),Cn=this.gen(Lt.end,Fe,Ue).charCodeAt(),bn=hn;bn<=Cn;bn++)qe=qe.replace(String.fromCharCode(bn),"");default:var Sn=$e[Lt.text];if(Sn)for(var En=0;En<=Sn.length;En++)qe=qe.replace(Sn[En],"")}return oe.pick(qe.split(""))},range:function(Ve,Fe,Ue){var qe=this.gen(Ve.start,Fe,Ue).charCodeAt(),Et=this.gen(Ve.end,Fe,Ue).charCodeAt();return String.fromCharCode(oe.integer(qe,Et))},literal:function(Ve,Fe,Ue){return Ve.escaped?Ve.body:Ve.text},unicode:function(Ve,Fe,Ue){return String.fromCharCode(parseInt(Ve.code,16))},hex:function(Ve,Fe,Ue){return String.fromCharCode(parseInt(Ve.code,16))},octal:function(Ve,Fe,Ue){return String.fromCharCode(parseInt(Ve.code,8))},"back-reference":function(Ve,Fe,Ue){return Ue[Ve.code]||""},CONTROL_CHARACTER_MAP:function(){for(var Ve="@ 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(" "),Fe=`\0 \x07 \b
|
||
\v \f \r \x1B `.split(" "),Ue={},qe=0;qe<Ve.length;qe++)Ue[Ve[qe]]=Fe[qe];return Ue}(),"control-character":function(Ve,Fe,Ue){return this.CONTROL_CHARACTER_MAP[Ve.code]}}),t.exports=ie},function(t,r,$){t.exports=$(24)},function(t,r,$){var V=$(2),oe=$(3),ie=$(4);function le(ue,de,pe){pe=pe||[];var he={name:typeof de=="string"?de.replace(V.RE_KEY,"$1"):de,template:ue,type:oe.type(ue),rule:ie.parse(de)};switch(he.path=pe.slice(0),he.path.push(de===void 0?"ROOT":he.name),he.type){case"array":he.items=[],oe.each(ue,function(_e,$e){he.items.push(le(_e,$e,he.path))});break;case"object":he.properties=[],oe.each(ue,function(_e,$e){he.properties.push(le(_e,$e,he.path))});break}return he}t.exports=le},function(t,r,$){t.exports=$(26)},function(t,r,$){var V=$(2),oe=$(3),ie=$(23);function le(pe,he){for(var _e=ie(pe),$e=ue.diff(_e,he),Ie=0;Ie<$e.length;Ie++);return $e}var ue={diff:function(he,_e,$e){var Ie=[];return this.name(he,_e,$e,Ie)&&this.type(he,_e,$e,Ie)&&(this.value(he,_e,$e,Ie),this.properties(he,_e,$e,Ie),this.items(he,_e,$e,Ie)),Ie},name:function(pe,he,_e,$e){var Ie=$e.length;return de.equal("name",pe.path,_e+"",pe.name+"",$e),$e.length===Ie},type:function(pe,he,_e,$e){var Ie=$e.length;switch(pe.type){case"string":if(pe.template.match(V.RE_PLACEHOLDER))return!0;break;case"array":if(pe.rule.parameters&&(pe.rule.min!==void 0&&pe.rule.max===void 0&&pe.rule.count===1||pe.rule.parameters[2]))return!0;break;case"function":return!0}return de.equal("type",pe.path,oe.type(he),pe.type,$e),$e.length===Ie},value:function(pe,he,_e,$e){var Ie=$e.length,Ve=pe.rule,Fe=pe.type;if(Fe==="object"||Fe==="array"||Fe==="function")return!0;if(!Ve.parameters){switch(Fe){case"regexp":return de.match("value",pe.path,he,pe.template,$e),$e.length===Ie;case"string":if(pe.template.match(V.RE_PLACEHOLDER))return $e.length===Ie;break}return de.equal("value",pe.path,he,pe.template,$e),$e.length===Ie}var Ue;switch(Fe){case"number":var qe=(he+"").split(".");qe[0]=+qe[0],Ve.min!==void 0&&Ve.max!==void 0&&(de.greaterThanOrEqualTo("value",pe.path,qe[0],Math.min(Ve.min,Ve.max),$e),de.lessThanOrEqualTo("value",pe.path,qe[0],Math.max(Ve.min,Ve.max),$e)),Ve.min!==void 0&&Ve.max===void 0&&de.equal("value",pe.path,qe[0],Ve.min,$e,"[value] "+_e),Ve.decimal&&(Ve.dmin!==void 0&&Ve.dmax!==void 0&&(de.greaterThanOrEqualTo("value",pe.path,qe[1].length,Ve.dmin,$e),de.lessThanOrEqualTo("value",pe.path,qe[1].length,Ve.dmax,$e)),Ve.dmin!==void 0&&Ve.dmax===void 0&&de.equal("value",pe.path,qe[1].length,Ve.dmin,$e));break;case"boolean":break;case"string":Ue=he.match(new RegExp(pe.template,"g")),Ue=Ue?Ue.length:0,Ve.min!==void 0&&Ve.max!==void 0&&(de.greaterThanOrEqualTo("repeat count",pe.path,Ue,Ve.min,$e),de.lessThanOrEqualTo("repeat count",pe.path,Ue,Ve.max,$e)),Ve.min!==void 0&&Ve.max===void 0&&de.equal("repeat count",pe.path,Ue,Ve.min,$e);break;case"regexp":Ue=he.match(new RegExp(pe.template.source.replace(/^\^|\$$/g,""),"g")),Ue=Ue?Ue.length:0,Ve.min!==void 0&&Ve.max!==void 0&&(de.greaterThanOrEqualTo("repeat count",pe.path,Ue,Ve.min,$e),de.lessThanOrEqualTo("repeat count",pe.path,Ue,Ve.max,$e)),Ve.min!==void 0&&Ve.max===void 0&&de.equal("repeat count",pe.path,Ue,Ve.min,$e);break}return $e.length===Ie},properties:function(pe,he,_e,$e){var Ie=$e.length,Ve=pe.rule,Fe=oe.keys(he);if(pe.properties){if(pe.rule.parameters?(Ve.min!==void 0&&Ve.max!==void 0&&(de.greaterThanOrEqualTo("properties length",pe.path,Fe.length,Math.min(Ve.min,Ve.max),$e),de.lessThanOrEqualTo("properties length",pe.path,Fe.length,Math.max(Ve.min,Ve.max),$e)),Ve.min!==void 0&&Ve.max===void 0&&Ve.count!==1&&de.equal("properties length",pe.path,Fe.length,Ve.min,$e)):de.equal("properties length",pe.path,Fe.length,pe.properties.length,$e),$e.length!==Ie)return!1;for(var Ue=0;Ue<Fe.length;Ue++)$e.push.apply($e,this.diff(function(){var qe;return oe.each(pe.properties,function(Et){Et.name===Fe[Ue]&&(qe=Et)}),qe||pe.properties[Ue]}(),he[Fe[Ue]],Fe[Ue]));return $e.length===Ie}},items:function(pe,he,_e,$e){var Ie=$e.length;if(pe.items){var Ve=pe.rule;if(!pe.rule.parameters)de.equal("items length",pe.path,he.length,pe.items.length,$e);else{if(Ve.min!==void 0&&Ve.max!==void 0&&(de.greaterThanOrEqualTo("items",pe.path,he.length,Math.min(Ve.min,Ve.max)*pe.items.length,$e,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),de.lessThanOrEqualTo("items",pe.path,he.length,Math.max(Ve.min,Ve.max)*pe.items.length,$e,"[{utype}] array is too long: {path} must have at most {expected} elements but instance has {actual} elements")),Ve.min!==void 0&&Ve.max===void 0){if(Ve.count===1)return $e.length===Ie;de.equal("items length",pe.path,he.length,Ve.min*pe.items.length,$e)}if(Ve.parameters[2])return $e.length===Ie}if($e.length!==Ie)return!1;for(var Fe=0;Fe<he.length;Fe++)$e.push.apply($e,this.diff(pe.items[Fe%pe.items.length],he[Fe],Fe%pe.items.length));return $e.length===Ie}}},de={message:function(pe){return(pe.message||"[{utype}] Expect {path}'{ltype} {action} {expected}, but is {actual}").replace("{utype}",pe.type.toUpperCase()).replace("{ltype}",pe.type.toLowerCase()).replace("{path}",oe.isArray(pe.path)&&pe.path.join(".")||pe.path).replace("{action}",pe.action).replace("{expected}",pe.expected).replace("{actual}",pe.actual)},equal:function(pe,he,_e,$e,Ie,Ve){if(_e===$e)return!0;switch(pe){case"type":if($e==="regexp"&&_e==="string")return!0;break}var Fe={path:he,type:pe,actual:_e,expected:$e,action:"is equal to",message:Ve};return Fe.message=de.message(Fe),Ie.push(Fe),!1},match:function(pe,he,_e,$e,Ie,Ve){if($e.test(_e))return!0;var Fe={path:he,type:pe,actual:_e,expected:$e,action:"matches",message:Ve};return Fe.message=de.message(Fe),Ie.push(Fe),!1},notEqual:function(pe,he,_e,$e,Ie,Ve){if(_e!==$e)return!0;var Fe={path:he,type:pe,actual:_e,expected:$e,action:"is not equal to",message:Ve};return Fe.message=de.message(Fe),Ie.push(Fe),!1},greaterThan:function(pe,he,_e,$e,Ie,Ve){if(_e>$e)return!0;var Fe={path:he,type:pe,actual:_e,expected:$e,action:"is greater than",message:Ve};return Fe.message=de.message(Fe),Ie.push(Fe),!1},lessThan:function(pe,he,_e,$e,Ie,Ve){if(_e<$e)return!0;var Fe={path:he,type:pe,actual:_e,expected:$e,action:"is less to",message:Ve};return Fe.message=de.message(Fe),Ie.push(Fe),!1},greaterThanOrEqualTo:function(pe,he,_e,$e,Ie,Ve){if(_e>=$e)return!0;var Fe={path:he,type:pe,actual:_e,expected:$e,action:"is greater than or equal to",message:Ve};return Fe.message=de.message(Fe),Ie.push(Fe),!1},lessThanOrEqualTo:function(pe,he,_e,$e,Ie,Ve){if(_e<=$e)return!0;var Fe={path:he,type:pe,actual:_e,expected:$e,action:"is less than or equal to",message:Ve};return Fe.message=de.message(Fe),Ie.push(Fe),!1}};le.Diff=ue,le.Assert=de,t.exports=le},function(t,r,$){t.exports=$(28)},function(t,r,$){var V=$(3);window._XMLHttpRequest=window.XMLHttpRequest,window._ActiveXObject=window.ActiveXObject;try{new window.Event("custom")}catch{window.Event=function(Ve,Fe,Ue,qe){var Et=document.createEvent("CustomEvent");return Et.initCustomEvent(Ve,Fe,Ue,qe),Et}}var oe={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ie="readystatechange loadstart progress abort error load timeout loadend".split(" "),le="timeout withCredentials".split(" "),ue="readyState responseURL status statusText responseType response responseText responseXML".split(" "),de={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 pe(){this.custom={events:{},requestHeaders:{},responseHeaders:{}}}pe._settings={timeout:"10-100"},pe.setup=function(Ie){return V.extend(pe._settings,Ie),pe._settings},V.extend(pe,oe),V.extend(pe.prototype,oe),pe.prototype.mock=!0,pe.prototype.match=!1,V.extend(pe.prototype,{open:function(Ie,Ve,Fe,Ue,qe){var Et=this;V.extend(this.custom,{method:Ie,url:Ve,async:typeof Fe=="boolean"?Fe:!0,username:Ue,password:qe,options:{url:Ve,type:Ie}}),this.custom.timeout=function(En){if(typeof En=="number")return En;if(typeof En=="string"&&!~En.indexOf("-"))return parseInt(En,10);if(typeof En=="string"&&~En.indexOf("-")){var wn=En.split("-"),$n=parseInt(wn[0],10),Tn=parseInt(wn[1],10);return Math.round(Math.random()*(Tn-$n))+$n}}(pe._settings.timeout);var Lt=_e(this.custom.options);function hn(En){for(var wn=0;wn<ue.length;wn++)try{Et[ue[wn]]=Cn[ue[wn]]}catch{}Et.dispatchEvent(new Event(En.type))}if(!Lt){var Cn=he();this.custom.xhr=Cn;for(var bn=0;bn<ie.length;bn++)Cn.addEventListener(ie[bn],hn);Ue?Cn.open(Ie,Ve,Fe,Ue,qe):Cn.open(Ie,Ve,Fe);for(var Sn=0;Sn<le.length;Sn++)try{Cn[le[Sn]]=Et[le[Sn]]}catch{}return}this.match=!0,this.custom.template=Lt,this.readyState=pe.OPENED,this.dispatchEvent(new Event("readystatechange"))},setRequestHeader:function(Ie,Ve){if(!this.match){this.custom.xhr.setRequestHeader(Ie,Ve);return}var Fe=this.custom.requestHeaders;Fe[Ie]?Fe[Ie]+=","+Ve:Fe[Ie]=Ve},timeout:0,withCredentials:!1,upload:{},send:function(Ve){var Fe=this;if(this.custom.options.body=Ve,!this.match){this.custom.xhr.send(Ve);return}this.setRequestHeader("X-Requested-With","MockXMLHttpRequest"),this.dispatchEvent(new Event("loadstart")),this.custom.async?setTimeout(Ue,this.custom.timeout):Ue();function Ue(){Fe.readyState=pe.HEADERS_RECEIVED,Fe.dispatchEvent(new Event("readystatechange")),Fe.readyState=pe.LOADING,Fe.dispatchEvent(new Event("readystatechange")),Fe.status=200,Fe.statusText=de[200],Fe.response=Fe.responseText=JSON.stringify($e(Fe.custom.template,Fe.custom.options),null,4),Fe.readyState=pe.DONE,Fe.dispatchEvent(new Event("readystatechange")),Fe.dispatchEvent(new Event("load")),Fe.dispatchEvent(new Event("loadend"))}},abort:function(){if(!this.match){this.custom.xhr.abort();return}this.readyState=pe.UNSENT,this.dispatchEvent(new Event("abort",!1,!1,this)),this.dispatchEvent(new Event("error",!1,!1,this))}}),V.extend(pe.prototype,{responseURL:"",status:pe.UNSENT,statusText:"",getResponseHeader:function(Ie){return this.match?this.custom.responseHeaders[Ie.toLowerCase()]:this.custom.xhr.getResponseHeader(Ie)},getAllResponseHeaders:function(){if(!this.match)return this.custom.xhr.getAllResponseHeaders();var Ie=this.custom.responseHeaders,Ve="";for(var Fe in Ie)Ie.hasOwnProperty(Fe)&&(Ve+=Fe+": "+Ie[Fe]+`\r
|
||
`);return Ve},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),V.extend(pe.prototype,{addEventListener:function(Ve,Fe){var Ue=this.custom.events;Ue[Ve]||(Ue[Ve]=[]),Ue[Ve].push(Fe)},removeEventListener:function(Ve,Fe){for(var Ue=this.custom.events[Ve]||[],qe=0;qe<Ue.length;qe++)Ue[qe]===Fe&&Ue.splice(qe--,1)},dispatchEvent:function(Ve){for(var Fe=this.custom.events[Ve.type]||[],Ue=0;Ue<Fe.length;Ue++)Fe[Ue].call(this,Ve);var qe="on"+Ve.type;this[qe]&&this[qe](Ve)}});function he(){var Ie=function(){var Ue=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qe=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Et=location.href,Lt=qe.exec(Et.toLowerCase())||[];return Ue.test(Lt[1])}();return window.ActiveXObject?!Ie&&Ve()||Fe():Ve();function Ve(){try{return new window._XMLHttpRequest}catch{}}function Fe(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch{}}}function _e(Ie){for(var Ve in pe.Mock._mocked){var Fe=pe.Mock._mocked[Ve];if((!Fe.rurl||Ue(Fe.rurl,Ie.url))&&(!Fe.rtype||Ue(Fe.rtype,Ie.type.toLowerCase())))return Fe}function Ue(qe,Et){if(V.type(qe)==="string")return qe===Et;if(V.type(qe)==="regexp")return qe.test(Et)}}function $e(Ie,Ve){return V.isFunction(Ie.template)?Ie.template(Ve):pe.Mock.mock(Ie.template)}t.exports=pe}])})})(mock);var mockExports=mock.exports;const mockJs=getDefaultExportFromCjs(mockExports);function lexer(t){for(var r=[],$=0;$<t.length;){var V=t[$];if(V==="*"||V==="+"||V==="?"){r.push({type:"MODIFIER",index:$,value:t[$++]});continue}if(V==="\\"){r.push({type:"ESCAPED_CHAR",index:$++,value:t[$++]});continue}if(V==="{"){r.push({type:"OPEN",index:$,value:t[$++]});continue}if(V==="}"){r.push({type:"CLOSE",index:$,value:t[$++]});continue}if(V===":"){for(var oe="",ie=$+1;ie<t.length;){var le=t.charCodeAt(ie);if(le>=48&&le<=57||le>=65&&le<=90||le>=97&&le<=122||le===95){oe+=t[ie++];continue}break}if(!oe)throw new TypeError("Missing parameter name at ".concat($));r.push({type:"NAME",index:$,value:oe}),$=ie;continue}if(V==="("){var ue=1,de="",ie=$+1;if(t[ie]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(ie));for(;ie<t.length;){if(t[ie]==="\\"){de+=t[ie++]+t[ie++];continue}if(t[ie]===")"){if(ue--,ue===0){ie++;break}}else if(t[ie]==="("&&(ue++,t[ie+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(ie));de+=t[ie++]}if(ue)throw new TypeError("Unbalanced pattern at ".concat($));if(!de)throw new TypeError("Missing pattern at ".concat($));r.push({type:"PATTERN",index:$,value:de}),$=ie;continue}r.push({type:"CHAR",index:$,value:t[$++]})}return r.push({type:"END",index:$,value:""}),r}function parse(t,r){r===void 0&&(r={});for(var $=lexer(t),V=r.prefixes,oe=V===void 0?"./":V,ie="[^".concat(escapeString(r.delimiter||"/#?"),"]+?"),le=[],ue=0,de=0,pe="",he=function(bn){if(de<$.length&&$[de].type===bn)return $[de++].value},_e=function(bn){var Sn=he(bn);if(Sn!==void 0)return Sn;var En=$[de],wn=En.type,$n=En.index;throw new TypeError("Unexpected ".concat(wn," at ").concat($n,", expected ").concat(bn))},$e=function(){for(var bn="",Sn;Sn=he("CHAR")||he("ESCAPED_CHAR");)bn+=Sn;return bn};de<$.length;){var Ie=he("CHAR"),Ve=he("NAME"),Fe=he("PATTERN");if(Ve||Fe){var Ue=Ie||"";oe.indexOf(Ue)===-1&&(pe+=Ue,Ue=""),pe&&(le.push(pe),pe=""),le.push({name:Ve||ue++,prefix:Ue,suffix:"",pattern:Fe||ie,modifier:he("MODIFIER")||""});continue}var qe=Ie||he("ESCAPED_CHAR");if(qe){pe+=qe;continue}pe&&(le.push(pe),pe="");var Et=he("OPEN");if(Et){var Ue=$e(),Lt=he("NAME")||"",hn=he("PATTERN")||"",Cn=$e();_e("CLOSE"),le.push({name:Lt||(hn?ue++:""),pattern:Lt&&!hn?ie:hn,prefix:Ue,suffix:Cn,modifier:he("MODIFIER")||""});continue}_e("END")}return le}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 $=/\((?:\?<(.*?)>)?(?!\?)/g,V=0,oe=$.exec(t.source);oe;)r.push({name:oe[1]||V++,prefix:"",suffix:"",modifier:"",pattern:""}),oe=$.exec(t.source);return t}function arrayToRegexp(t,r,$){var V=t.map(function(oe){return pathToRegexp(oe,r,$).source});return new RegExp("(?:".concat(V.join("|"),")"),flags($))}function stringToRegexp(t,r,$){return tokensToRegexp(parse(t,$),r,$)}function tokensToRegexp(t,r,$){$===void 0&&($={});for(var V=$.strict,oe=V===void 0?!1:V,ie=$.start,le=ie===void 0?!0:ie,ue=$.end,de=ue===void 0?!0:ue,pe=$.encode,he=pe===void 0?function($n){return $n}:pe,_e=$.delimiter,$e=_e===void 0?"/#?":_e,Ie=$.endsWith,Ve=Ie===void 0?"":Ie,Fe="[".concat(escapeString(Ve),"]|$"),Ue="[".concat(escapeString($e),"]"),qe=le?"^":"",Et=0,Lt=t;Et<Lt.length;Et++){var hn=Lt[Et];if(typeof hn=="string")qe+=escapeString(he(hn));else{var Cn=escapeString(he(hn.prefix)),bn=escapeString(he(hn.suffix));if(hn.pattern)if(r&&r.push(hn),Cn||bn)if(hn.modifier==="+"||hn.modifier==="*"){var Sn=hn.modifier==="*"?"?":"";qe+="(?:".concat(Cn,"((?:").concat(hn.pattern,")(?:").concat(bn).concat(Cn,"(?:").concat(hn.pattern,"))*)").concat(bn,")").concat(Sn)}else qe+="(?:".concat(Cn,"(").concat(hn.pattern,")").concat(bn,")").concat(hn.modifier);else hn.modifier==="+"||hn.modifier==="*"?qe+="((?:".concat(hn.pattern,")").concat(hn.modifier,")"):qe+="(".concat(hn.pattern,")").concat(hn.modifier);else qe+="(?:".concat(Cn).concat(bn,")").concat(hn.modifier)}}if(de)oe||(qe+="".concat(Ue,"?")),qe+=$.endsWith?"(?=".concat(Fe,")"):"$";else{var En=t[t.length-1],wn=typeof En=="string"?Ue.indexOf(En[En.length-1])>-1:En===void 0;oe||(qe+="(?:".concat(Ue,"(?=").concat(Fe,"))?")),wn||(qe+="(?=".concat(Ue,"|").concat(Fe,")"))}return new RegExp(qe,flags($))}function pathToRegexp(t,r,$){return t instanceof RegExp?regexpToRegexp(t,r):Array.isArray(t)?arrayToRegexp(t,r,$):stringToRegexp(t,r,$)}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 $ in this.custom.requestHeaders)r[$.toString().toLowerCase()]=this.custom.requestHeaders[$];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:$,response:V,timeout:oe}of t)__setupMock__(oe),Mock.mock(pathToRegexp(r,void 0,{end:!1}),$||"get",__XHR2ExpressReqWrapper__(V))}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 $=null;if(typeof t=="function"){const{body:V,type:oe,url:ie,headers:le}=r;let ue=V;try{ue=JSON.parse(V)}catch{}$=t({method:oe,body:ue,query:__param2Obj__(ie),headers:le})}else $=t;return Mock.mock($)}}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);getPlatformConfig(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{normalizeProps as $,axios$1 as A,_t as B,markRaw as C,en as D,usePermissionStoreHook as E,Fragment as F,computed as G,Hn as H,IconSelect as I,extractPathList as J,transformI18n as K,deleteChildren as L,h$2 as M,Nn as N,On as O,kn as P,getDefaultExportFromCjs as Q,resolveDynamicComponent as R,_n as S,Tt as T,nn as U,onUpdated as V,provide as W,watch as X,Y,onBeforeUpdate as Z,_export_sfc as _,onMounted as a,Qe as a$,guardReactiveProps as a0,useI18n$1 as a1,commonjsGlobal as a2,ElInfiniteScroll as a3,useRouter as a4,addDialog as a5,updateDialog as a6,closeDialog as a7,closeAllDialog as a8,hot as a9,createApp as aA,eo as aB,useIntervalFn as aC,P$1 as aD,defineStore as aE,rr as aF,responsiveStorageNameSpace as aG,getConfig as aH,store as aI,FontIcon as aJ,IconifyIconOffline as aK,IconifyIconOnline as aL,A as aM,withScopeId as aN,shallowReactive as aO,toHandlers as aP,getAugmentedNamespace as aQ,vue_runtime_esmBundler as aR,useVModel as aS,vn as aT,createStaticVNode as aU,useResizeObserver as aV,I$1 as aW,longpress as aX,ElUpload as aY,Je as aZ,Ge as a_,closeAllMessage as aa,qr as ab,F as ac,toRef as ad,getCurrentInstance as ae,toRefs as af,onUnmounted as ag,renderSlot as ah,useCssVars as ai,getCurrentScope as aj,onScopeDispose as ak,normalizeStyle$1 as al,inject as am,reactive as an,ElLoading as ao,withModifiers as ap,mergeProps as aq,In as ar,http as as,onBeforeMount as at,TransitionGroup as au,normalizeClass as av,shallowRef as aw,isRef as ax,isReactive as ay,isVNode$1 as az,onBeforeUnmount as b,baseFindIndex as b$,templateRef as b0,tryOnMounted as b1,tryOnUnmounted as b2,useDebounceFn as b3,Teleport as b4,withKeys as b5,watchEffect as b6,toRaw as b7,ElCol as b8,isSymbol$1 as b9,baseGetTag as bA,isPlainObject$3 as bB,baseRest as bC,toKey as bD,baseAssignValue as bE,toString$2 as bF,toNumber as bG,isIterateeCall as bH,baseClone as bI,arrayPush as bJ,baseFlatten as bK,arrayMap as bL,baseIteratee as bM,baseEach$1 as bN,baseAssign as bO,eq as bP,baseMerge as bQ,baseUnary as bR,SetCache as bS,arrayIncludesWith as bT,cacheHas as bU,isArrayLikeObject as bV,createBaseFor as bW,createBaseEach as bX,getTag$1 as bY,mapToArray as bZ,arrayFilter as b_,baseToString as ba,toInteger as bb,WeakMap$4 as bc,identity$1 as bd,baseCreate$1 as be,isObject$9 as bf,root$1 as bg,noop$5 as bh,copyArray as bi,isObjectLike as bj,isArray$b as bk,shortOut as bl,arrayEach as bm,arrayIncludes as bn,setToString$1 as bo,isIndex as bp,apply$1 as bq,createAssigner as br,isPrototype as bs,isArrayLike$1 as bt,copyObject as bu,keys$1 as bv,assignValue as bw,keysIn as bx,get$1 as by,flatRest as bz,resolveComponent as c,stubArray as c$,baseForOwn as c0,findLastIndex as c1,map$3 as c2,baseFor$1 as c3,isFunction$3 as c4,hasPath as c5,toFinite as c6,baseIndexOf as c7,constant as c8,baseGet as c9,baseTrim as cA,trimmedEndIndex as cB,baseUniq as cC,flatten as cD,flattenDeep as cE,fromPairs as cF,union$1 as cG,flatMap as cH,now$1 as cI,debounce as cJ,memoize as cK,throttle$1 as cL,castArray$1 as cM,clone$4 as cN,cloneDeep as cO,isEqual$1 as cP,isLength as cQ,isMap$2 as cR,isNil as cS,isSet$2 as cT,isUndefined$2 as cU,toPlainObject as cV,hasIn as cW,merge$4 as cX,pick$1 as cY,set$2 as cZ,property as c_,castPath as ca,nodeUtil$1 as cb,isBuffer$3 as cc,isTypedArray$3 as cd,isArguments$1 as ce,baseKeys as cf,baseIsEqual as cg,baseIsMatch as ch,getMatchData as ci,coreJsData$1 as cj,stubFalse as ck,baseIsNative as cl,baseIsNaN as cm,baseMatches as cn,baseMatchesProperty as co,Symbol$3 as cp,setToArray as cq,getAllKeysIn as cr,basePickBy as cs,baseMap as ct,arraySome as cu,baseProperty as cv,baseSet as cw,baseTimes as cx,stringToPath$2 as cy,getPrototype$1 as cz,defineComponent as d,useRoute as d0,addIcon$1 as d1,onKeyStroke as d2,k as d3,getParentPaths as d4,findRouteByPath as d5,useMultiTagsStoreHook as d6,Xt as d7,$t as d8,data$2 as d9,render$4 as dA,vModelSelect as dB,initRouter as dC,Le as dD,getAuths as dE,hasAuth as dF,Oe$1 as dG,handleTree as dH,Ar as dI,fr as dJ,ElForm as dK,ElFormItem as dL,ElInput as dM,ElProgress as dN,appendFieldByUniqueId as dO,getNodeByUniqueId as dP,Ut as dQ,xe$1 as da,z as db,getTopMenu as dc,useFullscreen as dd,onClickOutside as de,Transition as df,handleAliveRoute as dg,data$1 as dh,routerArrays as di,At as dj,KeepAlive as dk,removeToken as dl,resetRouter as dm,useMultiTagsStore as dn,storeToRefs as dp,useUserStoreHook as dq,router as dr,remainingPaths as ds,cloneVNode as dt,useWindowSize as du,dayjs as dv,on as dw,LinearGradient$1 as dx,ElMessageBox as dy,toHandlerKey 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,oo as o,pushScopeId as p,message as q,ref as r,go as s,toDisplayString$1 as t,unref as u,vShow as v,withCtx as w,nextTick as x,renderList as y,zt as z};
|