From 581d6b136031c0b4296cddf28b7c685a9f640d62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=BE=90=E5=9D=A4=E6=89=93=E7=AF=AE=E7=90=83?= <88469720+Cxk-1233@users.noreply.github.com> Date: Sat, 5 Aug 2023 20:52:27 +0800 Subject: [PATCH] Add files via upload --- assets/403-fd1ed4ee.js | 1 + assets/404-bc434d1a.js | 1 + assets/500-26ca68df.js | 1 + assets/ButtonTest-e9de4650.js | 1 + assets/Login-8de84574.js | 1 + assets/TabsTest-25f7af75.js | 1 + assets/TabsTest1-2df8e853.js | 1 + assets/TabsTest2-782b7acf.js | 1 + assets/TabsTest3-25b5a137.js | 1 + assets/TabsTest4-84eeb4de.js | 1 + assets/TabsTest5-a017a213.js | 1 + assets/Test1-0cc0913a.js | 1 + assets/Test2-b72f62fe.js | 1 + assets/UploadImage-17e40657.js | 15 ++++ assets/baseClone-28c0d56d.js | 1 + assets/el-form-item-78a2dea6.js | 12 +++ assets/el-input-45fc351a.js | 9 +++ assets/el-input-number-42c1fd8b.js | 1 + assets/index-370164d4.css | 1 + assets/index-9406a8c2.js | 122 +++++++++++++++++++++++++++++ index.html | 4 +- 21 files changed, 176 insertions(+), 2 deletions(-) create mode 100644 assets/403-fd1ed4ee.js create mode 100644 assets/404-bc434d1a.js create mode 100644 assets/500-26ca68df.js create mode 100644 assets/ButtonTest-e9de4650.js create mode 100644 assets/Login-8de84574.js create mode 100644 assets/TabsTest-25f7af75.js create mode 100644 assets/TabsTest1-2df8e853.js create mode 100644 assets/TabsTest2-782b7acf.js create mode 100644 assets/TabsTest3-25b5a137.js create mode 100644 assets/TabsTest4-84eeb4de.js create mode 100644 assets/TabsTest5-a017a213.js create mode 100644 assets/Test1-0cc0913a.js create mode 100644 assets/Test2-b72f62fe.js create mode 100644 assets/UploadImage-17e40657.js create mode 100644 assets/baseClone-28c0d56d.js create mode 100644 assets/el-form-item-78a2dea6.js create mode 100644 assets/el-input-45fc351a.js create mode 100644 assets/el-input-number-42c1fd8b.js create mode 100644 assets/index-370164d4.css create mode 100644 assets/index-9406a8c2.js diff --git a/assets/403-fd1ed4ee.js b/assets/403-fd1ed4ee.js new file mode 100644 index 0000000..64504c7 --- /dev/null +++ b/assets/403-fd1ed4ee.js @@ -0,0 +1 @@ +import{_ as e,o as t,c as o,f as s,l as c}from"./index-9406a8c2.js";const a={name:"403"},n={class:"home"},r=c("input",null,null,-1);function _(l,d,p,i,f,u){return t(),o("div",n,[s(" 403 "),r])}const h=e(a,[["render",_]]);export{h as default}; diff --git a/assets/404-bc434d1a.js b/assets/404-bc434d1a.js new file mode 100644 index 0000000..0c35919 --- /dev/null +++ b/assets/404-bc434d1a.js @@ -0,0 +1 @@ +import{_ as e,o as t,c as o,f as n,l as s}from"./index-9406a8c2.js";const a={name:"404"},c=s("input",null,null,-1);function r(_,l,p,d,u,f){return t(),o("div",null,[n(" 404 "),c])}const m=e(a,[["render",r]]);export{m as default}; diff --git a/assets/500-26ca68df.js b/assets/500-26ca68df.js new file mode 100644 index 0000000..f85a6d5 --- /dev/null +++ b/assets/500-26ca68df.js @@ -0,0 +1 @@ +import{_ as e,o as t,c as o,f as n,l as s}from"./index-9406a8c2.js";const a={name:"500"},c=s("input",null,null,-1);function r(_,l,p,d,u,f){return t(),o("div",null,[n(" 500 "),c])}const m=e(a,[["render",r]]);export{m as default}; diff --git a/assets/ButtonTest-e9de4650.js b/assets/ButtonTest-e9de4650.js new file mode 100644 index 0000000..fe3f6a0 --- /dev/null +++ b/assets/ButtonTest-e9de4650.js @@ -0,0 +1 @@ +import{m as ze,n as fe,q as Re,x as be,y as te,z as Se,A as Le,B as ve,C as We,r as H,D as Ae,F as Fe,G as ie,H as V,I as $e,J as Xe,K as Ye,L as oe,M as Ke,N as Ue,O as we,P as ne,Q as ye,R as Pe,S as ge,o as M,c as X,d as se,e as ke,l as Z,T as Oe,b as n,U as K,V as _e,W as Q,X as Ie,Y as xe,Z as je,$ as He,a0 as Ge,a1 as qe,a2 as Je,a3 as ue,a4 as ae,a5 as re,a6 as de,a7 as Qe,a8 as Ze,i as Ee,a9 as De}from"./index-9406a8c2.js";import{E as et}from"./el-input-number-42c1fd8b.js";import"./el-input-45fc351a.js";import{U as le,I as Ve,C as Me}from"./event-9519ab40.js";var tt=/\s/;function nt(e){for(var t=e.length;t--&&tt.test(e.charAt(t)););return t}var lt=/^\s+/;function at(e){return e&&e.slice(0,nt(e)+1).replace(lt,"")}var Be=0/0,rt=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,it=/^0o[0-7]+$/i,st=parseInt;function Te(e){if(typeof e=="number")return e;if(ze(e))return Be;if(fe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=fe(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=at(e);var a=ot.test(e);return a||it.test(e)?st(e.slice(2),a?2:8):rt.test(e)?Be:+e}var ut=function(){return Re.Date.now()};const me=ut;var dt="Expected a function",mt=Math.max,ct=Math.min;function Ce(e,t,a){var l,i,m,r,f,g,d=0,b=!1,o=!1,w=!0;if(typeof e!="function")throw new TypeError(dt);t=Te(t)||0,fe(a)&&(b=!!a.leading,o="maxWait"in a,m=o?mt(Te(a.maxWait)||0,t):m,w="trailing"in a?!!a.trailing:w);function x(s){var T=l,z=i;return l=i=void 0,d=s,r=e.apply(z,T),r}function P(s){return d=s,f=setTimeout(B,t),b?x(s):r}function I(s){var T=s-g,z=s-d,W=t-T;return o?ct(W,m-z):W}function C(s){var T=s-g,z=s-d;return g===void 0||T>=t||T<0||o&&z>=m}function B(){var s=me();if(C(s))return k(s);f=setTimeout(B,I(s))}function k(s){return f=void 0,w&&l?x(s):(l=i=void 0,r)}function p(){f!==void 0&&clearTimeout(f),d=0,l=g=i=f=void 0}function E(){return f===void 0?r:k(me())}function y(){var s=me(),T=C(s);if(l=arguments,i=this,g=s,T){if(f===void 0)return P(g);if(o)return clearTimeout(f),f=setTimeout(B,t),x(g)}return f===void 0&&(f=setTimeout(B,t)),r}return y.cancel=p,y.flush=E,y}const pe=Symbol("sliderContextKey"),ft=be({modelValue:{type:te([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:Se,inputSize:Se,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:te(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:te(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Le,default:"top"},marks:{type:te(Object)},validateEvent:{type:Boolean,default:!0}}),ce=e=>ve(e)||We(e)&&e.every(ve),vt={[le]:ce,[Ve]:ce,[Me]:ce},gt=(e,t,a)=>{const l=H();return Ae(async()=>{e.range?(Array.isArray(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(typeof e.modelValue!="number"||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),Fe(window,"resize",a),await ie(),a()}),{sliderWrapper:l}},bt=e=>V(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((a,l)=>a-l).filter(a=>a<=e.max&&a>=e.min).map(a=>({point:a,position:(a-e.min)*100/(e.max-e.min),mark:e.marks[a]})):[]),yt=(e,t,a)=>{const{form:l,formItem:i}=$e(),m=Xe(),r=H(),f=H(),g={firstButton:r,secondButton:f},d=V(()=>e.disabled||(l==null?void 0:l.disabled)||!1),b=V(()=>Math.min(t.firstValue,t.secondValue)),o=V(()=>Math.max(t.firstValue,t.secondValue)),w=V(()=>e.range?`${100*(o.value-b.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),x=V(()=>e.range?`${100*(b.value-e.min)/(e.max-e.min)}%`:"0%"),P=V(()=>e.vertical?{height:e.height}:{}),I=V(()=>e.vertical?{height:w.value,bottom:x.value}:{width:w.value,left:x.value}),C=()=>{m.value&&(t.sliderSize=m.value[`client${e.vertical?"Height":"Width"}`])},B=v=>{const S=e.min+v*(e.max-e.min)/100;if(!e.range)return r;let N;return Math.abs(b.value-S)t.secondValue?"firstButton":"secondButton",g[N]},k=v=>{const S=B(v);return S.value.setPosition(v),S},p=v=>{t.firstValue=v,y(e.range?[b.value,o.value]:v)},E=v=>{t.secondValue=v,e.range&&y([b.value,o.value])},y=v=>{a(le,v),a(Ve,v)},s=async()=>{await ie(),a(Me,e.range?[b.value,o.value]:e.modelValue)},T=v=>{var S,N,G,q,J,j;if(d.value||t.dragging)return;C();let Y=0;if(e.vertical){const R=(G=(N=(S=v.touches)==null?void 0:S.item(0))==null?void 0:N.clientY)!=null?G:v.clientY;Y=(m.value.getBoundingClientRect().bottom-R)/t.sliderSize*100}else{const R=(j=(J=(q=v.touches)==null?void 0:q.item(0))==null?void 0:J.clientX)!=null?j:v.clientX,A=m.value.getBoundingClientRect().left;Y=(R-A)/t.sliderSize*100}if(!(Y<0||Y>100))return k(Y)};return{elFormItem:i,slider:m,firstButton:r,secondButton:f,sliderDisabled:d,minValue:b,maxValue:o,runwayStyle:P,barStyle:I,resetSize:C,setPosition:k,emitChange:s,onSliderWrapperPrevent:v=>{var S,N;((S=g.firstButton.value)!=null&&S.dragging||(N=g.secondButton.value)!=null&&N.dragging)&&v.preventDefault()},onSliderClick:v=>{T(v)&&s()},onSliderDown:async v=>{const S=T(v);S&&(await ie(),S.value.onButtonDown(v))},setFirstValue:p,setSecondValue:E}},{left:Vt,down:ht,right:St,up:wt,home:kt,end:xt,pageUp:Et,pageDown:Bt}=Ke,Tt=(e,t,a)=>{const l=H(),i=H(!1),m=V(()=>t.value instanceof Function),r=V(()=>m.value&&t.value(e.modelValue)||e.modelValue),f=Ce(()=>{a.value&&(i.value=!0)},50),g=Ce(()=>{a.value&&(i.value=!1)},50);return{tooltip:l,tooltipVisible:i,formatValue:r,displayTooltip:f,hideTooltip:g}},Ct=(e,t,a)=>{const{disabled:l,min:i,max:m,step:r,showTooltip:f,precision:g,sliderSize:d,formatTooltip:b,emitChange:o,resetSize:w,updateDragging:x}=Ye(pe),{tooltip:P,tooltipVisible:I,formatValue:C,displayTooltip:B,hideTooltip:k}=Tt(e,b,f),p=H(),E=V(()=>`${(e.modelValue-i.value)/(m.value-i.value)*100}%`),y=V(()=>e.vertical?{bottom:E.value}:{left:E.value}),s=()=>{t.hovering=!0,B()},T=()=>{t.hovering=!1,t.dragging||k()},z=u=>{l.value||(u.preventDefault(),Y(u),window.addEventListener("mousemove",R),window.addEventListener("touchmove",R),window.addEventListener("mouseup",A),window.addEventListener("touchend",A),window.addEventListener("contextmenu",A),p.value.focus())},W=u=>{l.value||(t.newPosition=Number.parseFloat(E.value)+u/(m.value-i.value)*100,U(t.newPosition),o())},_=()=>{W(-r.value)},v=()=>{W(r.value)},S=()=>{W(-r.value*4)},N=()=>{W(r.value*4)},G=()=>{l.value||(U(0),o())},q=()=>{l.value||(U(100),o())},J=u=>{let h=!0;[Vt,ht].includes(u.key)?_():[St,wt].includes(u.key)?v():u.key===kt?G():u.key===xt?q():u.key===Bt?S():u.key===Et?N():h=!1,h&&u.preventDefault()},j=u=>{let h,F;return u.type.startsWith("touch")?(F=u.touches[0].clientY,h=u.touches[0].clientX):(F=u.clientY,h=u.clientX),{clientX:h,clientY:F}},Y=u=>{t.dragging=!0,t.isClick=!0;const{clientX:h,clientY:F}=j(u);e.vertical?t.startY=F:t.startX=h,t.startPosition=Number.parseFloat(E.value),t.newPosition=t.startPosition},R=u=>{if(t.dragging){t.isClick=!1,B(),w();let h;const{clientX:F,clientY:O}=j(u);e.vertical?(t.currentY=O,h=(t.startY-t.currentY)/d.value*100):(t.currentX=F,h=(t.currentX-t.startX)/d.value*100),t.newPosition=t.startPosition+h,U(t.newPosition)}},A=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||k(),t.isClick||U(t.newPosition),o()},0),window.removeEventListener("mousemove",R),window.removeEventListener("touchmove",R),window.removeEventListener("mouseup",A),window.removeEventListener("touchend",A),window.removeEventListener("contextmenu",A))},U=async u=>{if(u===null||Number.isNaN(+u))return;u<0?u=0:u>100&&(u=100);const h=100/((m.value-i.value)/r.value);let O=Math.round(u/h)*h*(m.value-i.value)*.01+i.value;O=Number.parseFloat(O.toFixed(g.value)),O!==e.modelValue&&a(le,O),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await ie(),t.dragging&&B(),P.value.updatePopper()};return oe(()=>t.dragging,u=>{x(u)}),{disabled:l,button:p,tooltip:P,tooltipVisible:I,showTooltip:f,wrapperStyle:y,formatValue:C,handleMouseEnter:s,handleMouseLeave:T,onButtonDown:z,onKeyDown:J,setPosition:U}},Nt=(e,t,a,l)=>({stops:V(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const r=(e.max-e.min)/e.step,f=100*e.step/(e.max-e.min),g=Array.from({length:r-1}).map((d,b)=>(b+1)*f);return e.range?g.filter(d=>d<100*(a.value-e.min)/(e.max-e.min)||d>100*(l.value-e.min)/(e.max-e.min)):g.filter(d=>d>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:r=>e.vertical?{bottom:`${r}%`}:{left:`${r}%`}}),Lt=(e,t,a,l,i,m)=>{const r=d=>{i(le,d),i(Ve,d)},f=()=>e.range?![a.value,l.value].every((d,b)=>d===t.oldValue[b]):e.modelValue!==t.oldValue,g=()=>{var d,b;e.min>e.max&&Ue("Slider","min should not be greater than max.");const o=e.modelValue;e.range&&Array.isArray(o)?o[1]e.max?r([e.max,e.max]):o[0]e.max?r([o[0],e.max]):(t.firstValue=o[0],t.secondValue=o[1],f()&&(e.validateEvent&&((d=m==null?void 0:m.validate)==null||d.call(m,"change").catch(w=>we())),t.oldValue=o.slice())):!e.range&&typeof o=="number"&&!Number.isNaN(o)&&(oe.max?r(e.max):(t.firstValue=o,f()&&(e.validateEvent&&((b=m==null?void 0:m.validate)==null||b.call(m,"change").catch(w=>we())),t.oldValue=o)))};g(),oe(()=>t.dragging,d=>{d||g()}),oe(()=>e.modelValue,(d,b)=>{t.dragging||Array.isArray(d)&&Array.isArray(b)&&d.every((o,w)=>o===b[w])&&t.firstValue===d[0]&&t.secondValue===d[1]||g()},{deep:!0}),oe(()=>[e.min,e.max],()=>{g()})},Pt=be({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Le,default:"top"}}),It={[le]:e=>ve(e)},Mt=["tabindex"],pt=ne({name:"ElSliderButton"}),zt=ne({...pt,props:Pt,emits:It,setup(e,{expose:t,emit:a}){const l=e,i=ye("slider"),m=Pe({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:l.modelValue}),{disabled:r,button:f,tooltip:g,showTooltip:d,tooltipVisible:b,wrapperStyle:o,formatValue:w,handleMouseEnter:x,handleMouseLeave:P,onButtonDown:I,onKeyDown:C,setPosition:B}=Ct(l,m,a),{hovering:k,dragging:p}=ge(m);return t({onButtonDown:I,onKeyDown:C,setPosition:B,hovering:k,dragging:p}),(E,y)=>(M(),X("div",{ref_key:"button",ref:f,class:K([n(i).e("button-wrapper"),{hover:n(k),dragging:n(p)}]),style:Q(n(o)),tabindex:n(r)?-1:0,onMouseenter:y[0]||(y[0]=(...s)=>n(x)&&n(x)(...s)),onMouseleave:y[1]||(y[1]=(...s)=>n(P)&&n(P)(...s)),onMousedown:y[2]||(y[2]=(...s)=>n(I)&&n(I)(...s)),onTouchstart:y[3]||(y[3]=(...s)=>n(I)&&n(I)(...s)),onFocus:y[4]||(y[4]=(...s)=>n(x)&&n(x)(...s)),onBlur:y[5]||(y[5]=(...s)=>n(P)&&n(P)(...s)),onKeydown:y[6]||(y[6]=(...s)=>n(C)&&n(C)(...s))},[se(n(_e),{ref_key:"tooltip",ref:g,visible:n(b),placement:E.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":E.tooltipClass,disabled:!n(d),persistent:""},{content:ke(()=>[Z("span",null,Oe(n(w)),1)]),default:ke(()=>[Z("div",{class:K([n(i).e("button"),{hover:n(k),dragging:n(p)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,Mt))}});var Ne=Ie(zt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);const Rt=be({mark:{type:te([String,Object]),default:void 0}});var Wt=ne({name:"ElSliderMarker",props:Rt,setup(e){const t=ye("slider"),a=V(()=>xe(e.mark)?e.mark:e.mark.label),l=V(()=>xe(e.mark)?void 0:e.mark.style);return()=>je("div",{class:t.e("marks-text"),style:l.value},a.value)}});const At=["id","role","aria-label","aria-labelledby"],Ft={key:1},$t=ne({name:"ElSlider"}),Xt=ne({...$t,props:ft,emits:vt,setup(e,{expose:t,emit:a}){const l=e,i=ye("slider"),{t:m}=He(),r=Pe({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:f,slider:g,firstButton:d,secondButton:b,sliderDisabled:o,minValue:w,maxValue:x,runwayStyle:P,barStyle:I,resetSize:C,emitChange:B,onSliderWrapperPrevent:k,onSliderClick:p,onSliderDown:E,setFirstValue:y,setSecondValue:s}=yt(l,r,a),{stops:T,getStopStyle:z}=Nt(l,r,w,x),{inputId:W,isLabeledByFormItem:_}=Ge(l,{formItemContext:f}),v=qe(),S=V(()=>l.inputSize||v.value),N=V(()=>l.label||m("el.slider.defaultLabel",{min:l.min,max:l.max})),G=V(()=>l.range?l.rangeStartLabel||m("el.slider.defaultRangeStartLabel"):N.value),q=V(()=>l.formatValueText?l.formatValueText(u.value):`${u.value}`),J=V(()=>l.rangeEndLabel||m("el.slider.defaultRangeEndLabel")),j=V(()=>l.formatValueText?l.formatValueText(h.value):`${h.value}`),Y=V(()=>[i.b(),i.m(v.value),i.is("vertical",l.vertical),{[i.m("with-input")]:l.showInput}]),R=bt(l);Lt(l,r,w,x,a,f);const A=V(()=>{const c=[l.min,l.max,l.step].map($=>{const D=`${$}`.split(".")[1];return D?D.length:0});return Math.max.apply(null,c)}),{sliderWrapper:U}=gt(l,r,C),{firstValue:u,secondValue:h,sliderSize:F}=ge(r),O=c=>{r.dragging=c};return Je(pe,{...ge(l),sliderSize:F,disabled:o,precision:A,emitChange:B,resetSize:C,updateDragging:O}),t({onSliderClick:p}),(c,$)=>{var D,he;return M(),X("div",{id:c.range?n(W):void 0,ref_key:"sliderWrapper",ref:U,class:K(n(Y)),role:c.range?"group":void 0,"aria-label":c.range&&!n(_)?n(N):void 0,"aria-labelledby":c.range&&n(_)?(D=n(f))==null?void 0:D.labelId:void 0,onTouchstart:$[2]||($[2]=(...L)=>n(k)&&n(k)(...L)),onTouchmove:$[3]||($[3]=(...L)=>n(k)&&n(k)(...L))},[Z("div",{ref_key:"slider",ref:g,class:K([n(i).e("runway"),{"show-input":c.showInput&&!c.range},n(i).is("disabled",n(o))]),style:Q(n(P)),onMousedown:$[0]||($[0]=(...L)=>n(E)&&n(E)(...L)),onTouchstart:$[1]||($[1]=(...L)=>n(E)&&n(E)(...L))},[Z("div",{class:K(n(i).e("bar")),style:Q(n(I))},null,6),se(Ne,{id:c.range?void 0:n(W),ref_key:"firstButton",ref:d,"model-value":n(u),vertical:c.vertical,"tooltip-class":c.tooltipClass,placement:c.placement,role:"slider","aria-label":c.range||!n(_)?n(G):void 0,"aria-labelledby":!c.range&&n(_)?(he=n(f))==null?void 0:he.labelId:void 0,"aria-valuemin":c.min,"aria-valuemax":c.range?n(h):c.max,"aria-valuenow":n(u),"aria-valuetext":n(q),"aria-orientation":c.vertical?"vertical":"horizontal","aria-disabled":n(o),"onUpdate:modelValue":n(y)},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"]),c.range?(M(),ue(Ne,{key:0,ref_key:"secondButton",ref:b,"model-value":n(h),vertical:c.vertical,"tooltip-class":c.tooltipClass,placement:c.placement,role:"slider","aria-label":n(J),"aria-valuemin":n(u),"aria-valuemax":c.max,"aria-valuenow":n(h),"aria-valuetext":n(j),"aria-orientation":c.vertical?"vertical":"horizontal","aria-disabled":n(o),"onUpdate:modelValue":n(s)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):ae("v-if",!0),c.showStops?(M(),X("div",Ft,[(M(!0),X(re,null,de(n(T),(L,ee)=>(M(),X("div",{key:ee,class:K(n(i).e("stop")),style:Q(n(z)(L))},null,6))),128))])):ae("v-if",!0),n(R).length>0?(M(),X(re,{key:2},[Z("div",null,[(M(!0),X(re,null,de(n(R),(L,ee)=>(M(),X("div",{key:ee,style:Q(n(z)(L.position)),class:K([n(i).e("stop"),n(i).e("marks-stop")])},null,6))),128))]),Z("div",{class:K(n(i).e("marks"))},[(M(!0),X(re,null,de(n(R),(L,ee)=>(M(),ue(n(Wt),{key:ee,mark:L.mark,style:Q(n(z)(L.position))},null,8,["mark","style"]))),128))],2)],64)):ae("v-if",!0)],38),c.showInput&&!c.range?(M(),ue(n(et),{key:0,ref:"input","model-value":n(u),class:K(n(i).e("input")),step:c.step,disabled:n(o),controls:c.showInputControls,min:c.min,max:c.max,debounce:c.debounce,size:n(S),"onUpdate:modelValue":n(y),onChange:n(B)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):ae("v-if",!0)],42,At)}}});var Yt=Ie(Xt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/slider.vue"]]);const Kt=Qe(Yt);const Ut={class:"home"},Gt={__name:"ButtonTest",setup(e){let t=H(180),a=Ze();return(l,i)=>{const m=Kt;return M(),X("div",Ut,[se(De,{size:n(t),modelValue:n(a),"onUpdate:modelValue":i[0]||(i[0]=r=>Ee(a)?a.value=r:a=r)},null,8,["size","modelValue"]),se(m,{modelValue:n(t),"onUpdate:modelValue":i[1]||(i[1]=r=>Ee(t)?t.value=r:t=r),min:30,max:1e3},null,8,["modelValue"])])}}};export{Gt as default}; diff --git a/assets/Login-8de84574.js b/assets/Login-8de84574.js new file mode 100644 index 0000000..cbe4a6f --- /dev/null +++ b/assets/Login-8de84574.js @@ -0,0 +1 @@ +import{_ as h,o as _,c as f,a as k,h as b,u as I,s as D,t as F,r as u,w as G,b as n,d as a,e as l,E as S,v as B,i,f as C,g as L,j as M,p as N,k as T,l as g}from"./index-9406a8c2.js";import{E as U,a as Z}from"./el-form-item-78a2dea6.js";import{E as R}from"./el-input-45fc351a.js";import"./baseClone-28c0d56d.js";import"./event-9519ab40.js";const j={},z={class:"home"},q=k('',1),A=[q];function H(d, r){return _(),f("div",z,A)}const J=h(j,[["render",H],["__scopeId","data-v-ec766a44"]]),K=()=>b.get("/menu");const O= d=>(N("data-v-b853301f"),d=d(),T(),d),P={class:"home"},Q={style:{"z-index":"1"}},W=O(()=>g("div",{class:"card-header"},[g("span",null,"Login")],-1)),X={__name:"Login",setup(d){let{loginInfo:r}=I(),{menuData:y}=D(F()),c=u(!1),t=u("admin"),o=u("123456");async function w(){c.value=!0,setTimeout(async()=>{y.value=(await K()).data,r.time=new Date().getTime(),r.token="123",await L.push("/"),c.value=!1},1e3)}return(Y, s)=>{const m=R,p=U,v=M,x=Z,V=S,E=B;return _(),f("div",P,[G((_(),f("div",Q,[a(V,{class:"login-card"},{header:l(()=>[W]),default:l(()=>[a(x,{ref:"ruleForm",class:"demo-ruleForm","label-width":"100px","status-icon":""},{default:l(()=>[a(p,{modelValue:n(t),"onUpdate:modelValue":s[1]||(s[1]= e=>i(t)?t.value=e:t=e),label:"账号",prop:"username"},{default:l(()=>[a(m,{modelValue:n(t),"onUpdate:modelValue":s[0]||(s[0]= e=>i(t)?t.value=e:t=e),autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["modelValue"]),a(p,{modelValue:n(o),"onUpdate:modelValue":s[3]||(s[3]= e=>i(o)?o.value=e:o=e),label:"密码",prop:"passwd"},{default:l(()=>[a(m,{modelValue:n(o),"onUpdate:modelValue":s[2]||(s[2]= e=>i(o)?o.value=e:o=e),autocomplete:"off",type:"password"},null,8,["modelValue"])]),_:1},8,["modelValue"]),a(p,null,{default:l(()=>[a(v,{type:"primary",onClick:w},{default:l(()=>[C("登入")]),_:1}),a(v,null,{default:l(()=>[C("重置")]),_:1})]),_:1})]),_:1},512)]),_:1})])),[[E,n(c)]]),a(J)])}}},s1=h(X,[["__scopeId","data-v-b853301f"]]);export{s1 as default}; diff --git a/assets/TabsTest-25f7af75.js b/assets/TabsTest-25f7af75.js new file mode 100644 index 0000000..628f9e6 --- /dev/null +++ b/assets/TabsTest-25f7af75.js @@ -0,0 +1 @@ +import{s as l,t as r,R as n,o as d,c,l as i,d as u,b as o,i as m,aa as p}from"./index-9406a8c2.js";const _={style:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"center","align-content":"center"}},f={style:{width:"500px",height:"30px","background-color":"var(--el-border-color)"}},g={__name:"TabsTest",setup(h){let{menuData:s}=l(r()),e=n([]);return(x,t)=>(d(),c("div",_,[i("div",f,[u(p,{modelValue:o(e),"onUpdate:modelValue":t[0]||(t[0]=a=>m(e)?e.value=a:e=a),data:o(s)},null,8,["modelValue","data"])])]))}};export{g as default}; diff --git a/assets/TabsTest1-2df8e853.js b/assets/TabsTest1-2df8e853.js new file mode 100644 index 0000000..e32546c --- /dev/null +++ b/assets/TabsTest1-2df8e853.js @@ -0,0 +1 @@ +import{r as a,o as d,c,d as n,e as m,b as r,i as s}from"./index-9406a8c2.js";import{a as f,E}from"./el-form-item-78a2dea6.js";import{E as V}from"./el-input-number-42c1fd8b.js";import{E as b}from"./el-input-45fc351a.js";import"./baseClone-28c0d56d.js";import"./event-9519ab40.js";const x={style:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"center","align-content":"center"}},F={__name:"TabsTest1",setup(w){let t=a("只需要为你的路由添加name属性,即可拥有缓存,无需任何额外配置"),o=a(0);return(y, l)=>{const u=b,i=V,p=E,_=f;return d(),c("div",x,[n(_,{"label-position":"top"},{default:m(()=>[n(p,{label:"请输入数据,这些数据在当前页面标签关闭之前,会被缓存"},{default:m(()=>[n(u,{modelValue:r(t),"onUpdate:modelValue":l[0]||(l[0]= e=>s(t)?t.value=e:t=e),autosize:{minRows:10},type:"textarea"},null,8,["modelValue"]),n(i,{modelValue:r(o),"onUpdate:modelValue":l[1]||(l[1]= e=>s(o)?o.value=e:o=e)},null,8,["modelValue"])]),_:1})]),_:1})])}}};export{F as default}; diff --git a/assets/TabsTest2-782b7acf.js b/assets/TabsTest2-782b7acf.js new file mode 100644 index 0000000..1fe5f67 --- /dev/null +++ b/assets/TabsTest2-782b7acf.js @@ -0,0 +1 @@ +import{r as a,o as d,c,d as n,e as m,b as r,i as s}from"./index-9406a8c2.js";import{a as f,E}from"./el-form-item-78a2dea6.js";import{E as V}from"./el-input-number-42c1fd8b.js";import{E as b}from"./el-input-45fc351a.js";import"./baseClone-28c0d56d.js";import"./event-9519ab40.js";const x={style:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"center","align-content":"center"}},F={__name:"TabsTest2",setup(w){let t=a("只需要为你的路由添加name属性,即可拥有缓存,无需任何额外配置"),o=a(0);return(y, l)=>{const u=b,i=V,p=E,_=f;return d(),c("div",x,[n(_,{"label-position":"top"},{default:m(()=>[n(p,{label:"请输入数据,这些数据在当前页面标签关闭之前,会被缓存"},{default:m(()=>[n(u,{modelValue:r(t),"onUpdate:modelValue":l[0]||(l[0]= e=>s(t)?t.value=e:t=e),autosize:{minRows:10},type:"textarea"},null,8,["modelValue"]),n(i,{modelValue:r(o),"onUpdate:modelValue":l[1]||(l[1]= e=>s(o)?o.value=e:o=e)},null,8,["modelValue"])]),_:1})]),_:1})])}}};export{F as default}; diff --git a/assets/TabsTest3-25b5a137.js b/assets/TabsTest3-25b5a137.js new file mode 100644 index 0000000..6cc6e09 --- /dev/null +++ b/assets/TabsTest3-25b5a137.js @@ -0,0 +1 @@ +import{r as a,o as d,c,d as n,e as m,b as r,i as s}from"./index-9406a8c2.js";import{a as f,E}from"./el-form-item-78a2dea6.js";import{E as V}from"./el-input-number-42c1fd8b.js";import{E as b}from"./el-input-45fc351a.js";import"./baseClone-28c0d56d.js";import"./event-9519ab40.js";const x={style:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"center","align-content":"center"}},F={__name:"TabsTest3",setup(w){let t=a("只需要为你的路由添加name属性,即可拥有缓存,无需任何额外配置"),o=a(0);return(y, l)=>{const u=b,i=V,p=E,_=f;return d(),c("div",x,[n(_,{"label-position":"top"},{default:m(()=>[n(p,{label:"请输入数据,这些数据在当前页面标签关闭之前,会被缓存"},{default:m(()=>[n(u,{modelValue:r(t),"onUpdate:modelValue":l[0]||(l[0]= e=>s(t)?t.value=e:t=e),autosize:{minRows:10},type:"textarea"},null,8,["modelValue"]),n(i,{modelValue:r(o),"onUpdate:modelValue":l[1]||(l[1]= e=>s(o)?o.value=e:o=e)},null,8,["modelValue"])]),_:1})]),_:1})])}}};export{F as default}; diff --git a/assets/TabsTest4-84eeb4de.js b/assets/TabsTest4-84eeb4de.js new file mode 100644 index 0000000..2b1d7ec --- /dev/null +++ b/assets/TabsTest4-84eeb4de.js @@ -0,0 +1 @@ +import{r as a,o as d,c,d as n,e as m,b as r,i as s}from"./index-9406a8c2.js";import{a as f,E}from"./el-form-item-78a2dea6.js";import{E as V}from"./el-input-number-42c1fd8b.js";import{E as b}from"./el-input-45fc351a.js";import"./baseClone-28c0d56d.js";import"./event-9519ab40.js";const x={style:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"center","align-content":"center"}},F={__name:"TabsTest4",setup(w){let t=a("只需要为你的路由添加name属性,即可拥有缓存,无需任何额外配置"),o=a(0);return(y, l)=>{const u=b,i=V,p=E,_=f;return d(),c("div",x,[n(_,{"label-position":"top"},{default:m(()=>[n(p,{label:"请输入数据,这些数据在当前页面标签关闭之前,会被缓存"},{default:m(()=>[n(u,{modelValue:r(t),"onUpdate:modelValue":l[0]||(l[0]= e=>s(t)?t.value=e:t=e),autosize:{minRows:10},type:"textarea"},null,8,["modelValue"]),n(i,{modelValue:r(o),"onUpdate:modelValue":l[1]||(l[1]= e=>s(o)?o.value=e:o=e)},null,8,["modelValue"])]),_:1})]),_:1})])}}};export{F as default}; diff --git a/assets/TabsTest5-a017a213.js b/assets/TabsTest5-a017a213.js new file mode 100644 index 0000000..e368270 --- /dev/null +++ b/assets/TabsTest5-a017a213.js @@ -0,0 +1 @@ +import{r as a,o as d,c,d as n,e as m,b as r,i as s}from"./index-9406a8c2.js";import{a as f,E}from"./el-form-item-78a2dea6.js";import{E as V}from"./el-input-number-42c1fd8b.js";import{E as b}from"./el-input-45fc351a.js";import"./baseClone-28c0d56d.js";import"./event-9519ab40.js";const x={style:{width:"100%",height:"100%",display:"flex","flex-direction":"row","justify-content":"center","align-content":"center"}},F={__name:"TabsTest5",setup(w){let t=a("只需要为你的路由添加name属性,即可拥有缓存,无需任何额外配置"),o=a(0);return(y, l)=>{const u=b,i=V,p=E,_=f;return d(),c("div",x,[n(_,{"label-position":"top"},{default:m(()=>[n(p,{label:"请输入数据,这些数据在当前页面标签关闭之前,会被缓存"},{default:m(()=>[n(u,{modelValue:r(t),"onUpdate:modelValue":l[0]||(l[0]= e=>s(t)?t.value=e:t=e),autosize:{minRows:10},type:"textarea"},null,8,["modelValue"]),n(i,{modelValue:r(o),"onUpdate:modelValue":l[1]||(l[1]= e=>s(o)?o.value=e:o=e)},null,8,["modelValue"])]),_:1})]),_:1})])}}};export{F as default}; diff --git a/assets/Test1-0cc0913a.js b/assets/Test1-0cc0913a.js new file mode 100644 index 0000000..2bc33ca --- /dev/null +++ b/assets/Test1-0cc0913a.js @@ -0,0 +1 @@ +import{_ as e,o as t,c}from"./index-9406a8c2.js";const n={};function o(r,s){return t(),c("div",null," test1 ")}const a=e(n,[["render",o]]);export{a as default}; diff --git a/assets/Test2-b72f62fe.js b/assets/Test2-b72f62fe.js new file mode 100644 index 0000000..920de68 --- /dev/null +++ b/assets/Test2-b72f62fe.js @@ -0,0 +1 @@ +import{_ as e,o as t,c}from"./index-9406a8c2.js";const n={};function o(r,s){return t(),c("div",null," test2 ")}const a=e(n,[["render",o]]);export{a as default}; diff --git a/assets/UploadImage-17e40657.js b/assets/UploadImage-17e40657.js new file mode 100644 index 0000000..3225e88 --- /dev/null +++ b/assets/UploadImage-17e40657.js @@ -0,0 +1,15 @@ +import{ab as ei,ac as xt,ad as ti,ae as St,af as Mt,ag as vt,D as da,ah as ha,ai as fa,aj as Ze,i as pa,N as Ye,Q as ie,ak as ai,al as _t,L as Ae,am as ii,an as ni,ao as si,ap as ri,aq as X,x as ne,y as A,P as V,d as N,ar as ae,as as k,Z as va,at as oi,$ as ga,K as Qe,au as li,H as L,o as M,c as H,l as K,U as x,b as f,T as Te,e as R,a3 as Z,av as ma,aw as oe,a4 as P,W as le,X as ge,ax as ci,ay as ui,az as di,aA as hi,aB as fi,aC as Ot,r as G,aD as pi,aE as vi,G as gi,aF as At,aG as ya,aH as Rt,a2 as ba,w as mi,aI as yi,aJ as Je,aK as et,aL as bi,aM as wi,aN as Ei,a7 as He,aO as Ci,aP as wa,aQ as Di,aR as Ea,aS as Ca,aT as Ti,Y as tt,C as we,B as Be,aU as Da,aV as xi,f as Ta,aW as kt,aX as Si,aY as xa,aZ as at,a_ as We,a5 as Mi,a6 as _i,a$ as Sa,b0 as Ee,b1 as Oi,b2 as Ai,b3 as Ri,b4 as ki,J as it,b5 as Lt,b6 as Li,b7 as Ni,O as $i,b8 as Pi,_ as Ii,j as Bi,p as Ui,k as zi,b9 as Yi}from"./index-9406a8c2.js";import{U as Ma}from"./event-9519ab40.js";import{b as Hi,U as Nt,g as $t,a as Pt,i as It,S as Ge,c as Wi}from "./baseClone-28c0d56d.js";var Fi=1,Xi=4;function Bt(i){return Hi(i,Fi|Xi)}var ji="__lodash_hash_undefined__";function Gi(i){return this.__data__.set(i,ji),this}function Vi(i){return this.__data__.has(i)}function Ue(i){var e=-1,a=i==null?0:i.length;for(this.__data__=new ei; ++eo))return!1;var u=n.get(i),d=n.get(e);if(u&&d)return u==e&&d==i;var c=-1,l=!0,v=a&Qi?new Ue:void 0;for(n.set(i,e),n.set(e,i); ++c{var e;if(!vt)return 0;if($e!==void 0)return $e;const a=document.createElement("div");a.className=`${i}-scrollbar__wrap`,a.style.visibility="hidden",a.style.width="100px",a.style.position="absolute",a.style.top="-9999px",document.body.appendChild(a);const t=a.offsetWidth;a.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",a.appendChild(s);const n=s.offsetWidth;return(e=a.parentNode)==null||e.removeChild(a),$e=t-n,$e},xn=(i, e, a)=>{let t={offsetX:0,offsetY:0};const s= o=>{const h=o.clientX,u=o.clientY,{offsetX:d,offsetY:c}=t,l=i.value.getBoundingClientRect(),v=l.left,p=l.top,y=l.width,w=l.height,b=document.documentElement.clientWidth,C=document.documentElement.clientHeight,m=-v+d,_=-p+c,T=b-v-y+d,g=C-p-w+c,E= B=>{const D=Math.min(Math.max(d+B.clientX-h,m),T),U=Math.min(Math.max(c+B.clientY-u,_),g);t={offsetX:D,offsetY:U},i.value.style.transform=`translate(${Ze(D)}, ${Ze(U)})`},O=()=>{document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",O)};document.addEventListener("mousemove",E),document.addEventListener("mouseup",O)},n=()=>{e.value&&i.value&&e.value.addEventListener("mousedown",s)},r=()=>{e.value&&i.value&&e.value.removeEventListener("mousedown",s)};da(()=>{ha(()=>{a.value?n():r()})}),fa(()=>{r()})},Sn=(i, e={})=>{pa(i)||Ye("[useLockscreen]","You need to pass a ref param to this function");const a=e.ns||ie("popup"),t=ai(()=>a.bm("parent","hidden"));if(!vt||_t(document.body,t.value))return;let s=0,n=!1,r="0";const o=()=>{setTimeout(()=>{ri(document==null?void 0:document.body,t.value),n&&document&&(document.body.style.width=r)},200)};Ae(i, h=>{if(!h){o();return}n=!_t(document.body,t.value),n&&(r=document.body.style.width),s=Tn(a.namespace.value);const u=document.documentElement.clientHeight0&&(u||d==="scroll")&&n&&(document.body.style.width=`calc(100% - ${s}px)`),ni(document.body,t.value)}),si(()=>o())},Aa= i=>{if(!i)return{onClick:X,onMousedown:X,onMouseup:X};let e=!1,a=!1;return{onClick: r=>{e&&a&&i(r),e=a=!1},onMousedown: r=>{e=r.target===r.currentTarget},onMouseup: r=>{a=r.target===r.currentTarget}}},Mn=ne({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:A([String,Array,Object])},zIndex:{type:A([String,Number])}}),_n={click: i=>i instanceof MouseEvent},On="overlay";var An=V({name:"ElOverlay",props:Mn,emits:_n,setup(i, {slots:e,emit:a}){const t=ie(On),s= h=>{a("click",h)},{onClick:n,onMousedown:r,onMouseup:o}=Aa(i.customMaskEvent?void 0:s);return()=>i.mask?N("div",{class:[t.b(),i.overlayClass],style:{zIndex:i.zIndex},onClick:n,onMousedown:r,onMouseup:o},[k(e,"default")],ae.STYLE|ae.CLASS|ae.PROPS,["onClick","onMouseup","onMousedown"]):va("div",{class:i.overlayClass,style:{zIndex:i.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[k(e,"default")])}});const Rn=An,Ra=Symbol("dialogInjectionKey"),ka=ne({center:{type:Boolean,default:!1},alignCenter:{type:Boolean,default:!1},closeIcon:{type:oi},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}),kn={close:()=>!0},Ln=["aria-label"],Nn=["id"],$n=V({name:"ElDialogContent"}),Pn=V({...$n,props:ka,emits:kn,setup(i){const e=i,{t:a}=ga(),{Close:t}=ci,{dialogRef:s,headerRef:n,bodyId:r,ns:o,style:h}=Qe(Ra),{focusTrapRef:u}=Qe(li),d=ui(u,s),c=L(()=>e.draggable);return xn(s,n,c),(l, v)=>(M(),H("div",{ref:f(d),class:x([f(o).b(),f(o).is("fullscreen",l.fullscreen),f(o).is("draggable",f(c)),f(o).is("align-center",l.alignCenter),{[f(o).m("center")]:l.center},l.customClass]),style:le(f(h)),tabindex:"-1"},[K("header",{ref_key:"headerRef",ref:n,class:x(f(o).e("header"))},[k(l.$slots,"header",{},()=>[K("span",{role:"heading",class:x(f(o).e("title"))},Te(l.title),3)]),l.showClose?(M(),H("button",{key:0,"aria-label":f(a)("el.dialog.close"),class:x(f(o).e("headerbtn")),type:"button",onClick:v[0]||(v[0]= p=>l.$emit("close"))},[N(f(oe),{class:x(f(o).e("close"))},{default:R(()=>[(M(),Z(ma(l.closeIcon||f(t))))]),_:1},8,["class"])],10,Ln)):P("v-if",!0)],2),K("div",{id:f(r),class:x(f(o).e("body"))},[k(l.$slots,"default")],10,Nn),l.$slots.footer?(M(),H("footer",{key:0,class:x(f(o).e("footer"))},[k(l.$slots,"footer")],2)):P("v-if",!0)],6))}});var In=ge(Pn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const Bn=ne({...ka,appendToBody:{type:Boolean,default:!1},beforeClose:{type:A(Function)},destroyOnClose:{type:Boolean,default:!1},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:{type:Boolean,default:!1},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}}),Un={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[Ma]: i=>di(i),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},zn=(i, e)=>{const t=hi().emit,{nextZIndex:s}=fi();let n="";const r=Ot(),o=Ot(),h=G(!1),u=G(!1),d=G(!1),c=G(i.zIndex||s());let l,v;const p=pi("namespace",vi),y=L(()=>{const z={},Y=`--${p.value}-dialog`;return i.fullscreen||(i.top&&(z[`${Y}-margin-top`]=i.top),i.width&&(z[`${Y}-width`]=Ze(i.width))),z}),w=L(()=>i.alignCenter?{display:"flex"}:{});function b(){t("opened")}function C(){t("closed"),t(Ma,!1),i.destroyOnClose&&(d.value=!1)}function m(){t("close")}function _(){v==null||v(),l==null||l(),i.openDelay&&i.openDelay>0?{stop:l}=At(()=>O(),i.openDelay):O()}function T(){l==null||l(),v==null||v(),i.closeDelay&&i.closeDelay>0?{stop:v}=At(()=>B(),i.closeDelay):B()}function g(){function z(Y){Y||(u.value=!0,h.value=!1)}i.beforeClose?i.beforeClose(z):T()}function E(){i.closeOnClickModal&&g()}function O(){vt&&(h.value=!0)}function B(){h.value=!1}function D(){t("openAutoFocus")}function U(){t("closeAutoFocus")}function F(z){var Y;((Y=z.detail)==null?void 0:Y.focusReason)==="pointer"&&z.preventDefault()}i.lockScroll&&Sn(h);function q(){i.closeOnPressEscape&&g()}return Ae(()=>i.modelValue, z=>{z?(u.value=!1,_(),d.value=!0,c.value=i.zIndex?c.value++:s(),gi(()=>{t("open"),e.value&&(e.value.scrollTop=0)})):h.value&&T()}),Ae(()=>i.fullscreen, z=>{e.value&&(z?(n=e.value.style.transform,e.value.style.transform=""):e.value.style.transform=n)}),da(()=>{i.modelValue&&(h.value=!0,d.value=!0,_())}),{afterEnter:b,afterLeave:C,beforeLeave:m,handleClose:g,onModalClick:E,close:T,doClose:B,onOpenAutoFocus:D,onCloseAutoFocus:U,onCloseRequested:q,onFocusoutPrevented:F,titleId:r,bodyId:o,closed:u,style:y,overlayDialogStyle:w,rendered:d,visible:h,zIndex:c}},Yn=["aria-label","aria-labelledby","aria-describedby"],Hn=V({name:"ElDialog",inheritAttrs:!1}),Wn=V({...Hn,props:Bn,emits:Un,setup(i, {expose:e}){const a=i,t=ya();Rt({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"},L(()=>!!t.title)),Rt({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"},L(()=>!!a.customClass));const s=ie("dialog"),n=G(),r=G(),o=G(),{visible:h,titleId:u,bodyId:d,style:c,overlayDialogStyle:l,rendered:v,zIndex:p,afterEnter:y,afterLeave:w,beforeLeave:b,handleClose:C,onModalClick:m,onOpenAutoFocus:_,onCloseAutoFocus:T,onCloseRequested:g,onFocusoutPrevented:E}=zn(a,n);ba(Ra,{dialogRef:n,headerRef:r,bodyId:d,ns:s,rendered:v,style:c});const O=Aa(m),B=L(()=>a.draggable&&!a.fullscreen);return e({visible:h,dialogContentRef:o}),(D, U)=>(M(),Z(Ei,{to:"body",disabled:!D.appendToBody},[N(wi,{name:"dialog-fade",onAfterEnter:f(y),onAfterLeave:f(w),onBeforeLeave:f(b),persisted:""},{default:R(()=>[mi(N(f(Rn),{"custom-mask-event":"",mask:D.modal,"overlay-class":D.modalClass,"z-index":f(p)},{default:R(()=>[K("div",{role:"dialog","aria-modal":"true","aria-label":D.title||void 0,"aria-labelledby":D.title?void 0:f(u),"aria-describedby":f(d),class:x(`${f(s).namespace.value}-overlay-dialog`),style:le(f(l)),onClick:U[0]||(U[0]=(...F)=>f(O).onClick&&f(O).onClick(...F)),onMousedown:U[1]||(U[1]=(...F)=>f(O).onMousedown&&f(O).onMousedown(...F)),onMouseup:U[2]||(U[2]=(...F)=>f(O).onMouseup&&f(O).onMouseup(...F))},[N(f(yi),{loop:"",trapped:f(h),"focus-start-el":"container",onFocusAfterTrapped:f(_),onFocusAfterReleased:f(T),onFocusoutPrevented:f(E),onReleaseRequested:f(g)},{default:R(()=>[f(v)?(M(),Z(In,Je({key:0,ref_key:"dialogContentRef",ref:o},D.$attrs,{"custom-class":D.customClass,center:D.center,"align-center":D.alignCenter,"close-icon":D.closeIcon,draggable:f(B),fullscreen:D.fullscreen,"show-close":D.showClose,title:D.title,onClose:f(C)}),et({header:R(()=>[D.$slots.title?k(D.$slots,"title",{key:1}):k(D.$slots,"header",{key:0,close:f(C),titleId:f(u),titleClass:f(s).e("title")})]),default:R(()=>[k(D.$slots,"default")]),_:2},[D.$slots.footer?{name:"footer",fn:R(()=>[k(D.$slots,"footer")])}:void 0]),1040,["custom-class","center","align-center","close-icon","draggable","fullscreen","show-close","title","onClose"])):P("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,Yn)]),_:3},8,["mask","overlay-class","z-index"]),[[bi,f(h)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Fn=ge(Wn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const Xn=He(Fn),jn=ne({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator: i=>i>=0&&i<=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:A(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:A([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:A(Function),default: i=>`${i}%`}}),Gn=["aria-valuenow"],Vn={viewBox:"0 0 100 100"},qn=["d","stroke","stroke-width"],Kn=["d","stroke","opacity","stroke-linecap","stroke-width"],Zn={key:0},Qn=V({name:"ElProgress"}),Jn=V({...Qn,props:jn,setup(i){const e=i,a={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},t=ie("progress"),s=L(()=>({width:`${e.percentage}%`,animationDuration:`${e.duration}s`,backgroundColor:C(e.percentage)})),n=L(()=>(e.strokeWidth/e.width*100).toFixed(1)),r=L(()=>["circle","dashboard"].includes(e.type)?Number.parseInt(`${50-Number.parseFloat(n.value)/2}`,10):0),o=L(()=>{const m=r.value,_=e.type==="dashboard";return` + M 50 50 + m 0 ${_?"":"-"}${m} + a ${m} ${m} 0 1 1 0 ${_?"-":""}${m*2} + a ${m} ${m} 0 1 1 0 ${_?"":"-"}${m*2} + `}),h=L(()=>2*Math.PI*r.value),u=L(()=>e.type==="dashboard"?.75:1),d=L(()=>`${-1*h.value*(1-u.value)/2}px`),c=L(()=>({strokeDasharray:`${h.value*u.value}px, ${h.value}px`,strokeDashoffset:d.value})),l=L(()=>({strokeDasharray:`${h.value*u.value*(e.percentage/100)}px, ${h.value}px`,strokeDashoffset:d.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),v=L(()=>{let m;return e.color?m=C(e.percentage):m=a[e.status]||a.default,m}),p=L(()=>e.status==="warning"?Ci:e.type==="line"?e.status==="success"?wa:Di:e.status==="success"?Ea:Ca),y=L(()=>e.type==="line"?12+e.strokeWidth*.4:e.width*.111111+2),w=L(()=>e.format(e.percentage));function b(m){const _=100/m.length;return m.map((g,E)=>tt(g)?{color:g,percentage:(E+1)*_}:g).sort((g,E)=>g.percentage-E.percentage)}const C=m=>{var _;const{color:T}=e;if(Ti(T))return T(m);if(tt(T))return T;{const g=b(T);for(const E of g)if(E.percentage>m)return E.color;return(_=g[g.length-1])==null?void 0:_.color}};return(m,_)=>(M(),H("div",{class:x([f(t).b(),f(t).m(m.type),f(t).is(m.status),{[f(t).m("without-text")]:!m.showText,[f(t).m("text-inside")]:m.textInside}]),role:"progressbar","aria-valuenow":m.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[m.type==="line"?(M(),H("div",{key:0,class:x(f(t).b("bar"))},[K("div",{class:x(f(t).be("bar","outer")),style:le({height:`${m.strokeWidth}px`})},[K("div",{class:x([f(t).be("bar","inner"),{[f(t).bem("bar","inner","indeterminate")]:m.indeterminate},{[f(t).bem("bar","inner","striped")]:m.striped},{[f(t).bem("bar","inner","striped-flow")]:m.stripedFlow}]),style:le(f(s))},[(m.showText||m.$slots.default)&&m.textInside?(M(),H("div",{key:0,class:x(f(t).be("bar","innerText"))},[k(m.$slots,"default",{percentage:m.percentage},()=>[K("span",null,Te(f(w)),1)])],2)):P("v-if",!0)],6)],6)],2)):(M(),H("div",{key:1,class:x(f(t).b("circle")),style:le({height:`${m.width}px`,width:`${m.width}px`})},[(M(),H("svg",Vn,[K("path",{class:x(f(t).be("circle","track")),d:f(o),stroke:`var(${f(t).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-width":f(n),fill:"none",style:le(f(c))},null,14,qn),K("path",{class:x(f(t).be("circle","path")),d:f(o),stroke:f(v),fill:"none",opacity:m.percentage?1:0,"stroke-linecap":m.strokeLinecap,"stroke-width":f(n),style:le(f(l))},null,14,Kn)]))],6)),(m.showText||m.$slots.default)&&!m.textInside?(M(),H("div",{key:2,class:x(f(t).e("text")),style:le({fontSize:`${f(y)}px`})},[k(m.$slots,"default",{percentage:m.percentage},()=>[m.status?(M(),Z(f(oe),{key:1},{default:R(()=>[(M(),Z(ma(f(p))))]),_:1})):(M(),H("span",Zn,Te(f(w)),1))])],6)):P("v-if",!0)],10,Gn))}});var es=ge(Jn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const ts=He(es),as=ne({prefixCls:{type:String}}),Wt=V({name:"ElSpaceItem",props:as,setup(i,{slots:e}){const a=ie("space"),t=L(()=>`${i.prefixCls||a.b()}__item`);return()=>va("div",{class:t.value},k(e,"default"))}}),Ft={small:8,default:12,large:16};function is(i){const e=ie("space"),a=L(()=>[e.b(),e.m(i.direction),i.class]),t=G(0),s=G(0),n=L(()=>{const o=i.wrap||i.fill?{flexWrap:"wrap",marginBottom:`-${s.value}px`}:{},h={alignItems:i.alignment};return[o,h,i.style]}),r=L(()=>{const o={paddingBottom:`${s.value}px`,marginRight:`${t.value}px`},h=i.fill?{flexGrow:1,minWidth:`${i.fillRatio}%`}:{};return[o,h]});return ha(()=>{const{size:o="small",wrap:h,direction:u,fill:d}=i;if(we(o)){const[c=0,l=0]=o;t.value=c,s.value=l}else{let c;Be(o)?c=o:c=Ft[o||"small"]||Ft.small,(h||d)&&u==="horizontal"?t.value=s.value=c:u==="horizontal"?(t.value=c,s.value=0):(s.value=c,t.value=0)}}),{classes:a,containerStyle:n,itemStyle:r}}const ns=ne({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:A([String,Object,Array]),default:""},style:{type:A([String,Array,Object]),default:""},alignment:{type:A(String),default:"center"},prefixCls:{type:String},spacer:{type:A([Object,String,Number,Array]),default:null,validator:i=>Da(i)||Be(i)||tt(i)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:xi,validator:i=>Be(i)||we(i)&&i.length===2&&i.every(Be)}}),ss=V({name:"ElSpace",props:ns,setup(i,{slots:e}){const{classes:a,containerStyle:t,itemStyle:s}=is(i);function n(r,o="",h=[]){const{prefixCls:u}=i;return r.forEach((d,c)=>{kt(d)?we(d.children)&&d.children.forEach((l,v)=>{kt(l)&&we(l.children)?n(l.children,`${o+v}-`,h):h.push(N(Wt,{style:s.value,prefixCls:u,key:`nested-${o+v}`},{default:()=>[l]},ae.PROPS|ae.STYLE,["style","prefixCls"]))}):Si(d)&&h.push(N(Wt,{style:s.value,prefixCls:u,key:`LoopKey${o+c}`},{default:()=>[d]},ae.PROPS|ae.STYLE,["style","prefixCls"]))}),h}return()=>{var r;const{spacer:o,direction:h}=i,u=k(e,"default",{key:0},()=>[]);if(((r=u.children)!=null?r:[]).length===0)return null;if(we(u.children)){let d=n(u.children);if(o){const c=d.length-1;d=d.reduce((l,v,p)=>{const y=[...l,v];return p!==c&&y.push(N("span",{style:[s.value,h==="vertical"?"width: 100%":null],key:p},[Da(o)?o:Ta(o,ae.TEXT)],ae.STYLE)),y},[])}return N("div",{class:a.value,style:t.value},d,ae.STYLE|ae.CLASS)}return u.children}}}),rs=He(ss),La=Symbol("uploadContextKey"),os="ElUpload";class ls extends Error{constructor(e,a,t,s){super(e),this.name="UploadAjaxError",this.status=a,this.method=t,this.url=s}}function Xt(i,e,a){let t;return a.response?t=`${a.response.error||a.response}`:a.responseText?t=`${a.responseText}`:t=`fail to ${e.method} ${i} ${a.status}`,new ls(t,a.status,e.method,i)}function cs(i){const e=i.responseText||i.response;if(!e)return e;try{return JSON.parse(e)}catch{return e}}const us=i=>{typeof XMLHttpRequest>"u"&&Ye(os,"XMLHttpRequest is undefined");const e=new XMLHttpRequest,a=i.action;e.upload&&e.upload.addEventListener("progress",n=>{const r=n;r.percent=n.total>0?n.loaded/n.total*100:0,i.onProgress(r)});const t=new FormData;if(i.data)for(const[n,r]of Object.entries(i.data))Array.isArray(r)?t.append(n,...r):t.append(n,r);t.append(i.filename,i.file,i.file.name),e.addEventListener("error",()=>{i.onError(Xt(a,i,e))}),e.addEventListener("load",()=>{if(e.status<200||e.status>=300)return i.onError(Xt(a,i,e));i.onSuccess(cs(e))}),e.open(i.method,a,!0),i.withCredentials&&"withCredentials"in e&&(e.withCredentials=!0);const s=i.headers||{};if(s instanceof Headers)s.forEach((n,r)=>e.setRequestHeader(r,n));else for(const[n,r]of Object.entries(s))xa(r)||e.setRequestHeader(n,String(r));return e.send(t),e},Na=["text","picture","picture-card"];let ds=1;const nt=()=>Date.now()+ds++,$a=ne({action:{type:String,default:"#"},headers:{type:A(Object)},method:{type:String,default:"post"},data:{type:Object,default:()=>at({})},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:A(Array),default:()=>at([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:Na,default:"text"},httpRequest:{type:A(Function),default:us},disabled:Boolean,limit:Number}),hs=ne({...$a,beforeUpload:{type:A(Function),default:X},beforeRemove:{type:A(Function)},onRemove:{type:A(Function),default:X},onChange:{type:A(Function),default:X},onPreview:{type:A(Function),default:X},onSuccess:{type:A(Function),default:X},onProgress:{type:A(Function),default:X},onError:{type:A(Function),default:X},onExceed:{type:A(Function),default:X}}),fs=ne({files:{type:A(Array),default:()=>at([])},disabled:{type:Boolean,default:!1},handlePreview:{type:A(Function),default:X},listType:{type:String,values:Na,default:"text"}}),ps={remove:i=>!!i},vs=["onKeydown"],gs=["src"],ms=["onClick"],ys=["title"],bs=["onClick"],ws=["onClick"],Es=V({name:"ElUploadList"}),Cs=V({...Es,props:fs,emits:ps,setup(i,{emit:e}){const{t:a}=ga(),t=ie("upload"),s=ie("icon"),n=ie("list"),r=We(),o=G(!1),h=u=>{e("remove",u)};return(u,d)=>(M(),Z(ki,{tag:"ul",class:x([f(t).b("list"),f(t).bm("list",u.listType),f(t).is("disabled",f(r))]),name:f(n).b()},{default:R(()=>[(M(!0),H(Mi,null,_i(u.files,c=>(M(),H("li",{key:c.uid||c.name,class:x([f(t).be("list","item"),f(t).is(c.status),{focusing:o.value}]),tabindex:"0",onKeydown:Sa(l=>!f(r)&&h(c),["delete"]),onFocus:d[0]||(d[0]=l=>o.value=!0),onBlur:d[1]||(d[1]=l=>o.value=!1),onClick:d[2]||(d[2]=l=>o.value=!1)},[k(u.$slots,"default",{file:c},()=>[u.listType==="picture"||c.status!=="uploading"&&u.listType==="picture-card"?(M(),H("img",{key:0,class:x(f(t).be("list","item-thumbnail")),src:c.url,alt:""},null,10,gs)):P("v-if",!0),c.status==="uploading"||u.listType!=="picture-card"?(M(),H("div",{key:1,class:x(f(t).be("list","item-info"))},[K("a",{class:x(f(t).be("list","item-name")),onClick:Ee(l=>u.handlePreview(c),["prevent"])},[N(f(oe),{class:x(f(s).m("document"))},{default:R(()=>[N(f(Oi))]),_:1},8,["class"]),K("span",{class:x(f(t).be("list","item-file-name")),title:c.name},Te(c.name),11,ys)],10,ms),c.status==="uploading"?(M(),Z(f(ts),{key:0,type:u.listType==="picture-card"?"circle":"line","stroke-width":u.listType==="picture-card"?6:2,percentage:Number(c.percentage),style:le(u.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):P("v-if",!0)],2)):P("v-if",!0),K("label",{class:x(f(t).be("list","item-status-label"))},[u.listType==="text"?(M(),Z(f(oe),{key:0,class:x([f(s).m("upload-success"),f(s).m("circle-check")])},{default:R(()=>[N(f(wa))]),_:1},8,["class"])):["picture-card","picture"].includes(u.listType)?(M(),Z(f(oe),{key:1,class:x([f(s).m("upload-success"),f(s).m("check")])},{default:R(()=>[N(f(Ea))]),_:1},8,["class"])):P("v-if",!0)],2),f(r)?P("v-if",!0):(M(),Z(f(oe),{key:2,class:x(f(s).m("close")),onClick:l=>h(c)},{default:R(()=>[N(f(Ca))]),_:2},1032,["class","onClick"])),P(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),P(" This is a bug which needs to be fixed "),P(" TODO: Fix the incorrect navigation interaction "),f(r)?P("v-if",!0):(M(),H("i",{key:3,class:x(f(s).m("close-tip"))},Te(f(a)("el.upload.deleteTip")),3)),u.listType==="picture-card"?(M(),H("span",{key:4,class:x(f(t).be("list","item-actions"))},[K("span",{class:x(f(t).be("list","item-preview")),onClick:l=>u.handlePreview(c)},[N(f(oe),{class:x(f(s).m("zoom-in"))},{default:R(()=>[N(f(Ai))]),_:1},8,["class"])],10,bs),f(r)?P("v-if",!0):(M(),H("span",{key:0,class:x(f(t).be("list","item-delete")),onClick:l=>h(c)},[N(f(oe),{class:x(f(s).m("delete"))},{default:R(()=>[N(f(Ri))]),_:1},8,["class"])],10,ws))],2)):P("v-if",!0)])],42,vs))),128)),k(u.$slots,"append")]),_:3},8,["class","name"]))}});var jt=ge(Cs,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const Ds=ne({disabled:{type:Boolean,default:!1}}),Ts={file:i=>we(i)},xs=["onDrop","onDragover"],Pa="ElUploadDrag",Ss=V({name:Pa}),Ms=V({...Ss,props:Ds,emits:Ts,setup(i,{emit:e}){const a=Qe(La);a||Ye(Pa,"usage: ");const t=ie("upload"),s=G(!1),n=We(),r=h=>{if(n.value)return;s.value=!1,h.stopPropagation();const u=Array.from(h.dataTransfer.files),d=a.accept.value;if(!d){e("file",u);return}const c=u.filter(l=>{const{type:v,name:p}=l,y=p.includes(".")?`.${p.split(".").pop()}`:"",w=v.replace(/\/.*$/,"");return d.split(",").map(b=>b.trim()).filter(b=>b).some(b=>b.startsWith(".")?y===b:/\/\*$/.test(b)?w===b.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(b)?v===b:!1)});e("file",c)},o=()=>{n.value||(s.value=!0)};return(h,u)=>(M(),H("div",{class:x([f(t).b("dragger"),f(t).is("dragover",s.value)]),onDrop:Ee(r,["prevent"]),onDragover:Ee(o,["prevent"]),onDragleave:u[0]||(u[0]=Ee(d=>s.value=!1,["prevent"]))},[k(h.$slots,"default")],42,xs))}});var _s=ge(Ms,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue"]]);const Os=ne({...$a,beforeUpload:{type:A(Function),default:X},onRemove:{type:A(Function),default:X},onStart:{type:A(Function),default:X},onSuccess:{type:A(Function),default:X},onProgress:{type:A(Function),default:X},onError:{type:A(Function),default:X},onExceed:{type:A(Function),default:X}}),As=["onKeydown"],Rs=["name","multiple","accept"],ks=V({name:"ElUploadContent",inheritAttrs:!1}),Ls=V({...ks,props:Os,setup(i,{expose:e}){const a=i,t=ie("upload"),s=We(),n=it({}),r=it(),o=p=>{if(p.length===0)return;const{autoUpload:y,limit:w,fileList:b,multiple:C,onStart:m,onExceed:_}=a;if(w&&b.length+p.length>w){_(p,b);return}C||(p=p.slice(0,1));for(const T of p){const g=T;g.uid=nt(),m(g),y&&h(g)}},h=async p=>{if(r.value.value="",!a.beforeUpload)return u(p);let y,w={};try{const C=a.data,m=a.beforeUpload(p);w=Lt(a.data)?Bt(a.data):a.data,y=await m,Lt(a.data)&&Dn(C,w)&&(w=Bt(a.data))}catch{y=!1}if(y===!1){a.onRemove(p);return}let b=p;y instanceof Blob&&(y instanceof File?b=y:b=new File([y],p.name,{type:p.type})),u(Object.assign(b,{uid:p.uid}),w)},u=(p,y)=>{const{headers:w,data:b,method:C,withCredentials:m,name:_,action:T,onProgress:g,onSuccess:E,onError:O,httpRequest:B}=a,{uid:D}=p,U={headers:w||{},withCredentials:m,file:p,data:y??b,method:C,filename:_,action:T,onProgress:q=>{g(q,p)},onSuccess:q=>{E(q,p),delete n.value[D]},onError:q=>{O(q,p),delete n.value[D]}},F=B(U);n.value[D]=F,F instanceof Promise&&F.then(U.onSuccess,U.onError)},d=p=>{const y=p.target.files;y&&o(Array.from(y))},c=()=>{s.value||(r.value.value="",r.value.click())},l=()=>{c()};return e({abort:p=>{Li(n.value).filter(p?([w])=>String(p.uid)===w:()=>!0).forEach(([w,b])=>{b instanceof XMLHttpRequest&&b.abort(),delete n.value[w]})},upload:h}),(p,y)=>(M(),H("div",{class:x([f(t).b(),f(t).m(p.listType),f(t).is("drag",p.drag)]),tabindex:"0",onClick:c,onKeydown:Sa(Ee(l,["self"]),["enter","space"])},[p.drag?(M(),Z(_s,{key:0,disabled:f(s),onFile:o},{default:R(()=>[k(p.$slots,"default")]),_:3},8,["disabled"])):k(p.$slots,"default",{key:1}),K("input",{ref_key:"inputRef",ref:r,class:x(f(t).e("input")),name:p.name,multiple:p.multiple,accept:p.accept,type:"file",onChange:d,onClick:y[0]||(y[0]=Ee(()=>{},["stop"]))},null,42,Rs)],42,As))}});var Gt=ge(Ls,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const Vt="ElUpload",Ns=i=>{var e;(e=i.url)!=null&&e.startsWith("blob:")&&URL.revokeObjectURL(i.url)},$s=(i,e)=>{const a=Ni(i,"fileList",void 0,{passive:!0}),t=l=>a.value.find(v=>v.uid===l.uid);function s(l){var v;(v=e.value)==null||v.abort(l)}function n(l=["ready","uploading","success","fail"]){a.value=a.value.filter(v=>!l.includes(v.status))}const r=(l,v)=>{const p=t(v);p&&(console.error(l),p.status="fail",a.value.splice(a.value.indexOf(p),1),i.onError(l,p,a.value),i.onChange(p,a.value))},o=(l,v)=>{const p=t(v);p&&(i.onProgress(l,p,a.value),p.status="uploading",p.percentage=Math.round(l.percent))},h=(l,v)=>{const p=t(v);p&&(p.status="success",p.response=l,i.onSuccess(l,p,a.value),i.onChange(p,a.value))},u=l=>{xa(l.uid)&&(l.uid=nt());const v={name:l.name,percentage:0,status:"ready",size:l.size,raw:l,uid:l.uid};if(i.listType==="picture-card"||i.listType==="picture")try{v.url=URL.createObjectURL(l)}catch(p){$i(Vt,p.message),i.onError(p,v,a.value)}a.value=[...a.value,v],i.onChange(v,a.value)},d=async l=>{const v=l instanceof File?t(l):l;v||Ye(Vt,"file to be removed not found");const p=y=>{s(y);const w=a.value;w.splice(w.indexOf(y),1),i.onRemove(y,w),Ns(y)};i.beforeRemove?await i.beforeRemove(v,a.value)!==!1&&p(v):p(v)};function c(){a.value.filter(({status:l})=>l==="ready").forEach(({raw:l})=>{var v;return l&&((v=e.value)==null?void 0:v.upload(l))})}return Ae(()=>i.listType,l=>{l!=="picture-card"&&l!=="picture"||(a.value=a.value.map(v=>{const{raw:p,url:y}=v;if(!y&&p)try{v.url=URL.createObjectURL(p)}catch(w){i.onError(w,v,a.value)}return v}))}),Ae(a,l=>{for(const v of l)v.uid||(v.uid=nt()),v.status||(v.status="success")},{immediate:!0,deep:!0}),{uploadFiles:a,abort:s,clearFiles:n,handleError:r,handleProgress:o,handleStart:u,handleSuccess:h,handleRemove:d,submit:c}},Ps=V({name:"ElUpload"}),Is=V({...Ps,props:hs,setup(i,{expose:e}){const a=i,t=ya(),s=We(),n=it(),{abort:r,submit:o,clearFiles:h,uploadFiles:u,handleStart:d,handleError:c,handleRemove:l,handleSuccess:v,handleProgress:p}=$s(a,n),y=L(()=>a.listType==="picture-card"),w=L(()=>({...a,fileList:u.value,onStart:d,onProgress:p,onSuccess:v,onError:c,onRemove:l}));return fa(()=>{u.value.forEach(({url:b})=>{b!=null&&b.startsWith("blob:")&&URL.revokeObjectURL(b)})}),ba(La,{accept:Pi(a,"accept")}),e({abort:r,submit:o,clearFiles:h,handleStart:d,handleRemove:l}),(b,C)=>(M(),H("div",null,[f(y)&&b.showFileList?(M(),Z(jt,{key:0,disabled:f(s),"list-type":b.listType,files:f(u),"handle-preview":b.onPreview,onRemove:f(l)},et({append:R(()=>[N(Gt,Je({ref_key:"uploadRef",ref:n},f(w)),{default:R(()=>[f(t).trigger?k(b.$slots,"trigger",{key:0}):P("v-if",!0),!f(t).trigger&&f(t).default?k(b.$slots,"default",{key:1}):P("v-if",!0)]),_:3},16)]),_:2},[b.$slots.file?{name:"default",fn:R(({file:m})=>[k(b.$slots,"file",{file:m})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):P("v-if",!0),!f(y)||f(y)&&!b.showFileList?(M(),Z(Gt,Je({key:1,ref_key:"uploadRef",ref:n},f(w)),{default:R(()=>[f(t).trigger?k(b.$slots,"trigger",{key:0}):P("v-if",!0),!f(t).trigger&&f(t).default?k(b.$slots,"default",{key:1}):P("v-if",!0)]),_:3},16)):P("v-if",!0),b.$slots.trigger?k(b.$slots,"default",{key:2}):P("v-if",!0),k(b.$slots,"tip"),!f(y)&&b.showFileList?(M(),Z(jt,{key:3,disabled:f(s),"list-type":b.listType,files:f(u),"handle-preview":b.onPreview,onRemove:f(l)},et({_:2},[b.$slots.file?{name:"default",fn:R(({file:m})=>[k(b.$slots,"file",{file:m})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):P("v-if",!0)]))}});var Bs=ge(Is,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const Us=He(Bs);/*! + * Cropper.js v1.5.13 + * https://fengyuanchen.github.io/cropperjs + * + * Copyright 2015-present Chen Fengyuan + * Released under the MIT license + * + * Date: 2022-11-20T05:30:46.114Z + */function qt(i,e){var a=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable})),a.push.apply(a,t)}return a}function Ia(i){for(var e=1;ei.length)&&(e=i.length);for(var a=0,t=new Array(e);a
',ar=Number.isNaN||re.isNaN;function S(i){return typeof i=="number"&&!ar(i)}var la=function(e){return e>0&&e<1/0};function qe(i){return typeof i>"u"}function ve(i){return st(i)==="object"&&i!==null}var ir=Object.prototype.hasOwnProperty;function ye(i){if(!ve(i))return!1;try{var e=i.constructor,a=e.prototype;return e&&a&&ir.call(a,"isPrototypeOf")}catch{return!1}}function Q(i){return typeof i=="function"}var nr=Array.prototype.slice;function ja(i){return Array.from?Array.from(i):nr.call(i)}function W(i,e){return i&&Q(e)&&(Array.isArray(i)||S(i.length)?ja(i).forEach(function(a,t){e.call(i,a,t,i)}):ve(i)&&Object.keys(i).forEach(function(a){e.call(i,i[a],a,i)})),i}var I=Object.assign||function(e){for(var a=arguments.length,t=new Array(a>1?a-1:0),s=1;s0&&t.forEach(function(n){ve(n)&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e},sr=/\.\d*(?:0|9){12}\d*$/;function Ce(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return sr.test(i)?Math.round(i*e)/e:i}var rr=/^width|height|left|top|marginLeft|marginTop$/;function ue(i,e){var a=i.style;W(e,function(t,s){rr.test(s)&&S(t)&&(t="".concat(t,"px")),a[s]=t})}function or(i,e){return i.classList?i.classList.contains(e):i.className.indexOf(e)>-1}function j(i,e){if(e){if(S(i.length)){W(i,function(t){j(t,e)});return}if(i.classList){i.classList.add(e);return}var a=i.className.trim();a?a.indexOf(e)<0&&(i.className="".concat(a," ").concat(e)):i.className=e}}function se(i,e){if(e){if(S(i.length)){W(i,function(a){se(a,e)});return}if(i.classList){i.classList.remove(e);return}i.className.indexOf(e)>=0&&(i.className=i.className.replace(e,""))}}function be(i,e,a){if(e){if(S(i.length)){W(i,function(t){be(t,e,a)});return}a?j(i,e):se(i,e)}}var lr=/([a-z\d])([A-Z])/g;function wt(i){return i.replace(lr,"$1-$2").toLowerCase()}function pt(i,e){return ve(i[e])?i[e]:i.dataset?i.dataset[e]:i.getAttribute("data-".concat(wt(e)))}function ke(i,e,a){ve(a)?i[e]=a:i.dataset?i.dataset[e]=a:i.setAttribute("data-".concat(wt(e)),a)}function cr(i,e){if(ve(i[e]))try{delete i[e]}catch{i[e]=void 0}else if(i.dataset)try{delete i.dataset[e]}catch{i.dataset[e]=void 0}else i.removeAttribute("data-".concat(wt(e)))}var Ga=/\s\s*/,Va=function(){var i=!1;if(Fe){var e=!1,a=function(){},t=Object.defineProperty({},"once",{get:function(){return i=!0,e},set:function(n){e=n}});re.addEventListener("test",a,t),re.removeEventListener("test",a,t)}return i}();function te(i,e,a){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=a;e.trim().split(Ga).forEach(function(n){if(!Va){var r=i.listeners;r&&r[n]&&r[n][a]&&(s=r[n][a],delete r[n][a],Object.keys(r[n]).length===0&&delete r[n],Object.keys(r).length===0&&delete i.listeners)}i.removeEventListener(n,s,t)})}function ee(i,e,a){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=a;e.trim().split(Ga).forEach(function(n){if(t.once&&!Va){var r=i.listeners,o=r===void 0?{}:r;s=function(){delete o[n][a],i.removeEventListener(n,s,t);for(var u=arguments.length,d=new Array(u),c=0;cMath.abs(a)&&(a=l)})}),a}function Ie(i,e){var a=i.pageX,t=i.pageY,s={endX:a,endY:t};return e?s:Ia({startX:a,startY:t},s)}function hr(i){var e=0,a=0,t=0;return W(i,function(s){var n=s.startX,r=s.startY;e+=n,a+=r,t+=1}),e/=t,a/=t,{pageX:e,pageY:a}}function de(i){var e=i.aspectRatio,a=i.height,t=i.width,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",n=la(t),r=la(a);if(n&&r){var o=a*e;s==="contain"&&o>t||s==="cover"&&o90?{width:h,height:o}:{width:o,height:h}}function pr(i,e,a,t){var s=e.aspectRatio,n=e.naturalWidth,r=e.naturalHeight,o=e.rotate,h=o===void 0?0:o,u=e.scaleX,d=u===void 0?1:u,c=e.scaleY,l=c===void 0?1:c,v=a.aspectRatio,p=a.naturalWidth,y=a.naturalHeight,w=t.fillColor,b=w===void 0?"transparent":w,C=t.imageSmoothingEnabled,m=C===void 0?!0:C,_=t.imageSmoothingQuality,T=_===void 0?"low":_,g=t.maxWidth,E=g===void 0?1/0:g,O=t.maxHeight,B=O===void 0?1/0:O,D=t.minWidth,U=D===void 0?0:D,F=t.minHeight,q=F===void 0?0:F,z=document.createElement("canvas"),Y=z.getContext("2d"),he=de({aspectRatio:v,width:E,height:B}),Le=de({aspectRatio:v,width:U,height:q},"cover"),Xe=Math.min(he.width,Math.max(Le.width,p)),je=Math.min(he.height,Math.max(Le.height,y)),Et=de({aspectRatio:s,width:E,height:B}),Ct=de({aspectRatio:s,width:U,height:q},"cover"),Dt=Math.min(Et.width,Math.max(Ct.width,n)),Tt=Math.min(Et.height,Math.max(Ct.height,r)),Qa=[-Dt/2,-Tt/2,Dt,Tt];return z.width=Ce(Xe),z.height=Ce(je),Y.fillStyle=b,Y.fillRect(0,0,Xe,je),Y.save(),Y.translate(Xe/2,je/2),Y.rotate(h*Math.PI/180),Y.scale(d,l),Y.imageSmoothingEnabled=m,Y.imageSmoothingQuality=T,Y.drawImage.apply(Y,[i].concat(Ba(Qa.map(function(Ja){return Math.floor(Ce(Ja))})))),Y.restore(),z}var Ka=String.fromCharCode;function vr(i,e,a){var t="";a+=e;for(var s=e;s0;)a.push(Ka.apply(null,ja(s.subarray(0,t)))),s=s.subarray(t);return"data:".concat(e,";base64,").concat(btoa(a.join("")))}function br(i){var e=new DataView(i),a;try{var t,s,n;if(e.getUint8(0)===255&&e.getUint8(1)===216)for(var r=e.byteLength,o=2;o+1=8&&(n=u+c)}}}if(n){var l=e.getUint16(n,t),v,p;for(p=0;p=0?n:Fa),height:Math.max(t.offsetHeight,r>=0?r:Xa)};this.containerData=o,ue(s,{width:o.width,height:o.height}),j(e,J),se(s,J)},initCanvas:function(){var e=this.containerData,a=this.imageData,t=this.options.viewMode,s=Math.abs(a.rotate)%180===90,n=s?a.naturalHeight:a.naturalWidth,r=s?a.naturalWidth:a.naturalHeight,o=n/r,h=e.width,u=e.height;e.height*o>e.width?t===3?h=e.height*o:u=e.width/o:t===3?u=e.width/o:h=e.height*o;var d={aspectRatio:o,naturalWidth:n,naturalHeight:r,width:h,height:u};this.canvasData=d,this.limited=t===1||t===2,this.limitCanvas(!0,!0),d.width=Math.min(Math.max(d.width,d.minWidth),d.maxWidth),d.height=Math.min(Math.max(d.height,d.minHeight),d.maxHeight),d.left=(e.width-d.width)/2,d.top=(e.height-d.height)/2,d.oldLeft=d.left,d.oldTop=d.top,this.initialCanvasData=I({},d)},limitCanvas:function(e,a){var t=this.options,s=this.containerData,n=this.canvasData,r=this.cropBoxData,o=t.viewMode,h=n.aspectRatio,u=this.cropped&&r;if(e){var d=Number(t.minCanvasWidth)||0,c=Number(t.minCanvasHeight)||0;o>1?(d=Math.max(d,s.width),c=Math.max(c,s.height),o===3&&(c*h>d?d=c*h:c=d/h)):o>0&&(d?d=Math.max(d,u?r.width:0):c?c=Math.max(c,u?r.height:0):u&&(d=r.width,c=r.height,c*h>d?d=c*h:c=d/h));var l=de({aspectRatio:h,width:d,height:c});d=l.width,c=l.height,n.minWidth=d,n.minHeight=c,n.maxWidth=1/0,n.maxHeight=1/0}if(a)if(o>(u?0:1)){var v=s.width-n.width,p=s.height-n.height;n.minLeft=Math.min(0,v),n.minTop=Math.min(0,p),n.maxLeft=Math.max(0,v),n.maxTop=Math.max(0,p),u&&this.limited&&(n.minLeft=Math.min(r.left,r.left+(r.width-n.width)),n.minTop=Math.min(r.top,r.top+(r.height-n.height)),n.maxLeft=r.left,n.maxTop=r.top,o===2&&(n.width>=s.width&&(n.minLeft=Math.min(0,v),n.maxLeft=Math.max(0,v)),n.height>=s.height&&(n.minTop=Math.min(0,p),n.maxTop=Math.max(0,p))))}else n.minLeft=-n.width,n.minTop=-n.height,n.maxLeft=s.width,n.maxTop=s.height},renderCanvas:function(e,a){var t=this.canvasData,s=this.imageData;if(a){var n=fr({width:s.naturalWidth*Math.abs(s.scaleX||1),height:s.naturalHeight*Math.abs(s.scaleY||1),degree:s.rotate||0}),r=n.width,o=n.height,h=t.width*(r/t.naturalWidth),u=t.height*(o/t.naturalHeight);t.left-=(h-t.width)/2,t.top-=(u-t.height)/2,t.width=h,t.height=u,t.aspectRatio=r/o,t.naturalWidth=r,t.naturalHeight=o,this.limitCanvas(!0,!1)}(t.width>t.maxWidth||t.widtht.maxHeight||t.heighta.width?n.height=n.width/t:n.width=n.height*t),this.cropBoxData=n,this.limitCropBox(!0,!0),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),n.width=Math.max(n.minWidth,n.width*s),n.height=Math.max(n.minHeight,n.height*s),n.left=a.left+(a.width-n.width)/2,n.top=a.top+(a.height-n.height)/2,n.oldLeft=n.left,n.oldTop=n.top,this.initialCropBoxData=I({},n)},limitCropBox:function(e,a){var t=this.options,s=this.containerData,n=this.canvasData,r=this.cropBoxData,o=this.limited,h=t.aspectRatio;if(e){var u=Number(t.minCropBoxWidth)||0,d=Number(t.minCropBoxHeight)||0,c=o?Math.min(s.width,n.width,n.width+n.left,s.width-n.left):s.width,l=o?Math.min(s.height,n.height,n.height+n.top,s.height-n.top):s.height;u=Math.min(u,s.width),d=Math.min(d,s.height),h&&(u&&d?d*h>u?d=u/h:u=d*h:u?d=u/h:d&&(u=d*h),l*h>c?l=c/h:c=l*h),r.minWidth=Math.min(u,c),r.minHeight=Math.min(d,l),r.maxWidth=c,r.maxHeight=l}a&&(o?(r.minLeft=Math.max(0,n.left),r.minTop=Math.max(0,n.top),r.maxLeft=Math.min(s.width,n.left+n.width)-r.width,r.maxTop=Math.min(s.height,n.top+n.height)-r.height):(r.minLeft=0,r.minTop=0,r.maxLeft=s.width-r.width,r.maxTop=s.height-r.height))},renderCropBox:function(){var e=this.options,a=this.containerData,t=this.cropBoxData;(t.width>t.maxWidth||t.widtht.maxHeight||t.height=a.width&&t.height>=a.height?za:yt),ue(this.cropBox,I({width:t.width,height:t.height},Oe({translateX:t.left,translateY:t.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),De(this.element,ct,this.getData())}},Cr={initPreview:function(){var e=this.element,a=this.crossOrigin,t=this.options.preview,s=a?this.crossOriginUrl:this.url,n=e.alt||"The image to preview",r=document.createElement("img");if(a&&(r.crossOrigin=a),r.src=s,r.alt=n,this.viewBox.appendChild(r),this.viewBoxImage=r,!!t){var o=t;typeof t=="string"?o=e.ownerDocument.querySelectorAll(t):t.querySelector&&(o=[t]),this.previews=o,W(o,function(h){var u=document.createElement("img");ke(h,Pe,{width:h.offsetWidth,height:h.offsetHeight,html:h.innerHTML}),a&&(u.crossOrigin=a),u.src=s,u.alt=n,u.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',h.innerHTML="",h.appendChild(u)})}},resetPreview:function(){W(this.previews,function(e){var a=pt(e,Pe);ue(e,{width:a.width,height:a.height}),e.innerHTML=a.html,cr(e,Pe)})},preview:function(){var e=this.imageData,a=this.canvasData,t=this.cropBoxData,s=t.width,n=t.height,r=e.width,o=e.height,h=t.left-a.left-e.left,u=t.top-a.top-e.top;!this.cropped||this.disabled||(ue(this.viewBoxImage,I({width:r,height:o},Oe(I({translateX:-h,translateY:-u},e)))),W(this.previews,function(d){var c=pt(d,Pe),l=c.width,v=c.height,p=l,y=v,w=1;s&&(w=l/s,y=n*w),n&&y>v&&(w=v/n,p=s*w,y=v),ue(d,{width:p,height:y}),ue(d.getElementsByTagName("img")[0],I({width:r*w,height:o*w},Oe(I({translateX:-h*w,translateY:-u*w},e))))}))}},Dr={bind:function(){var e=this.element,a=this.options,t=this.cropper;Q(a.cropstart)&&ee(e,ht,a.cropstart),Q(a.cropmove)&&ee(e,dt,a.cropmove),Q(a.cropend)&&ee(e,ut,a.cropend),Q(a.crop)&&ee(e,ct,a.crop),Q(a.zoom)&&ee(e,ft,a.zoom),ee(t,ea,this.onCropStart=this.cropStart.bind(this)),a.zoomable&&a.zoomOnWheel&&ee(t,sa,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),a.toggleDragModeOnDblclick&&ee(t,Jt,this.onDblclick=this.dblclick.bind(this)),ee(e.ownerDocument,ta,this.onCropMove=this.cropMove.bind(this)),ee(e.ownerDocument,aa,this.onCropEnd=this.cropEnd.bind(this)),a.responsive&&ee(window,na,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,a=this.options,t=this.cropper;Q(a.cropstart)&&te(e,ht,a.cropstart),Q(a.cropmove)&&te(e,dt,a.cropmove),Q(a.cropend)&&te(e,ut,a.cropend),Q(a.crop)&&te(e,ct,a.crop),Q(a.zoom)&&te(e,ft,a.zoom),te(t,ea,this.onCropStart),a.zoomable&&a.zoomOnWheel&&te(t,sa,this.onWheel,{passive:!1,capture:!0}),a.toggleDragModeOnDblclick&&te(t,Jt,this.onDblclick),te(e.ownerDocument,ta,this.onCropMove),te(e.ownerDocument,aa,this.onCropEnd),a.responsive&&te(window,na,this.onResize)}},Tr={resize:function(){if(!this.disabled){var e=this.options,a=this.container,t=this.containerData,s=a.offsetWidth/t.width,n=a.offsetHeight/t.height,r=Math.abs(s-1)>Math.abs(n-1)?s:n;if(r!==1){var o,h;e.restore&&(o=this.getCanvasData(),h=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(W(o,function(u,d){o[d]=u*r})),this.setCropBoxData(W(h,function(u,d){h[d]=u*r})))}}},dblclick:function(){this.disabled||this.options.dragMode===Wa||this.setDragMode(or(this.dragBox,ot)?Ha:bt)},wheel:function(e){var a=this,t=Number(this.options.wheelZoomRatio)||.1,s=1;this.disabled||(e.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){a.wheeling=!1},50),e.deltaY?s=e.deltaY>0?1:-1:e.wheelDelta?s=-e.wheelDelta/120:e.detail&&(s=e.detail>0?1:-1),this.zoom(-s*t,e)))},cropStart:function(e){var a=e.buttons,t=e.button;if(!(this.disabled||(e.type==="mousedown"||e.type==="pointerdown"&&e.pointerType==="mouse")&&(S(a)&&a!==1||S(t)&&t!==0||e.ctrlKey))){var s=this.options,n=this.pointers,r;e.changedTouches?W(e.changedTouches,function(o){n[o.identifier]=Ie(o)}):n[e.pointerId||0]=Ie(e),Object.keys(n).length>1&&s.zoomable&&s.zoomOnTouch?r=Ya:r=pt(e.target,Re),Zs.test(r)&&De(this.element,ht,{originalEvent:e,action:r})!==!1&&(e.preventDefault(),this.action=r,this.cropping=!1,r===Ua&&(this.cropping=!0,j(this.dragBox,ze)))}},cropMove:function(e){var a=this.action;if(!(this.disabled||!a)){var t=this.pointers;e.preventDefault(),De(this.element,dt,{originalEvent:e,action:a})!==!1&&(e.changedTouches?W(e.changedTouches,function(s){I(t[s.identifier]||{},Ie(s,!0))}):I(t[e.pointerId||0]||{},Ie(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var a=this.action,t=this.pointers;e.changedTouches?W(e.changedTouches,function(s){delete t[s.identifier]}):delete t[e.pointerId||0],a&&(e.preventDefault(),Object.keys(t).length||(this.action=""),this.cropping&&(this.cropping=!1,be(this.dragBox,ze,this.cropped&&this.options.modal)),De(this.element,ut,{originalEvent:e,action:a}))}}},xr={change:function(e){var a=this.options,t=this.canvasData,s=this.containerData,n=this.cropBoxData,r=this.pointers,o=this.action,h=a.aspectRatio,u=n.left,d=n.top,c=n.width,l=n.height,v=u+c,p=d+l,y=0,w=0,b=s.width,C=s.height,m=!0,_;!h&&e.shiftKey&&(h=c&&l?c/l:1),this.limited&&(y=n.minLeft,w=n.minTop,b=y+Math.min(s.width,t.width,t.left+t.width),C=w+Math.min(s.height,t.height,t.top+t.height));var T=r[Object.keys(r)[0]],g={x:T.endX-T.startX,y:T.endY-T.startY},E=function(B){switch(B){case fe:v+g.x>b&&(g.x=b-v);break;case pe:u+g.xC&&(g.y=C-p);break}};switch(o){case yt:u+=g.x,d+=g.y;break;case fe:if(g.x>=0&&(v>=b||h&&(d<=w||p>=C))){m=!1;break}E(fe),c+=g.x,c<0&&(o=pe,c=-c,u-=c),h&&(l=c/h,d+=(n.height-l)/2);break;case ce:if(g.y<=0&&(d<=w||h&&(u<=y||v>=b))){m=!1;break}E(ce),l-=g.y,d+=g.y,l<0&&(o=me,l=-l,d-=l),h&&(c=l*h,u+=(n.width-c)/2);break;case pe:if(g.x<=0&&(u<=y||h&&(d<=w||p>=C))){m=!1;break}E(pe),c-=g.x,u+=g.x,c<0&&(o=fe,c=-c,u-=c),h&&(l=c/h,d+=(n.height-l)/2);break;case me:if(g.y>=0&&(p>=C||h&&(u<=y||v>=b))){m=!1;break}E(me),l+=g.y,l<0&&(o=ce,l=-l,d-=l),h&&(c=l*h,u+=(n.width-c)/2);break;case xe:if(h){if(g.y<=0&&(d<=w||v>=b)){m=!1;break}E(ce),l-=g.y,d+=g.y,c=l*h}else E(ce),E(fe),g.x>=0?vw&&(l-=g.y,d+=g.y):(l-=g.y,d+=g.y);c<0&&l<0?(o=_e,l=-l,c=-c,d-=l,u-=c):c<0?(o=Se,c=-c,u-=c):l<0&&(o=Me,l=-l,d-=l);break;case Se:if(h){if(g.y<=0&&(d<=w||u<=y)){m=!1;break}E(ce),l-=g.y,d+=g.y,c=l*h,u+=n.width-c}else E(ce),E(pe),g.x<=0?u>y?(c-=g.x,u+=g.x):g.y<=0&&d<=w&&(m=!1):(c-=g.x,u+=g.x),g.y<=0?d>w&&(l-=g.y,d+=g.y):(l-=g.y,d+=g.y);c<0&&l<0?(o=Me,l=-l,c=-c,d-=l,u-=c):c<0?(o=xe,c=-c,u-=c):l<0&&(o=_e,l=-l,d-=l);break;case _e:if(h){if(g.x<=0&&(u<=y||p>=C)){m=!1;break}E(pe),c-=g.x,u+=g.x,l=c/h}else E(me),E(pe),g.x<=0?u>y?(c-=g.x,u+=g.x):g.y>=0&&p>=C&&(m=!1):(c-=g.x,u+=g.x),g.y>=0?p=0&&(v>=b||p>=C)){m=!1;break}E(fe),c+=g.x,l=c/h}else E(me),E(fe),g.x>=0?v=0&&p>=C&&(m=!1):c+=g.x,g.y>=0?p0?o=g.y>0?Me:xe:g.x<0&&(u-=c,o=g.y>0?_e:Se),g.y<0&&(d-=l),this.cropped||(se(this.cropBox,J),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}m&&(n.width=c,n.height=l,n.left=u,n.top=d,this.action=o,this.renderCropBox()),W(r,function(O){O.startX=O.endX,O.startY=O.endY})}},Sr={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&j(this.dragBox,ze),se(this.cropBox,J),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=I({},this.initialImageData),this.canvasData=I({},this.initialCanvasData),this.cropBoxData=I({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(I(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),se(this.dragBox,ze),j(this.cropBox,J)),this},replace:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&e&&(this.isImg&&(this.element.src=e),a?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,W(this.previews,function(t){t.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,se(this.cropper,Zt)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,j(this.cropper,Zt)),this},destroy:function(){var e=this.element;return e[$]?(e[$]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=this.canvasData,s=t.left,n=t.top;return this.moveTo(qe(e)?e:s+Number(e),qe(a)?a:n+Number(a))},moveTo:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=this.canvasData,s=!1;return e=Number(e),a=Number(a),this.ready&&!this.disabled&&this.options.movable&&(S(e)&&(t.left=e,s=!0),S(a)&&(t.top=a,s=!0),s&&this.renderCanvas(!0)),this},zoom:function(e,a){var t=this.canvasData;return e=Number(e),e<0?e=1/(1-e):e=1+e,this.zoomTo(t.width*e/t.naturalWidth,null,a)},zoomTo:function(e,a,t){var s=this.options,n=this.canvasData,r=n.width,o=n.height,h=n.naturalWidth,u=n.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&s.zoomable){var d=h*e,c=u*e;if(De(this.element,ft,{ratio:e,oldRatio:r/h,originalEvent:t})===!1)return this;if(t){var l=this.pointers,v=qa(this.cropper),p=l&&Object.keys(l).length?hr(l):{pageX:t.pageX,pageY:t.pageY};n.left-=(d-r)*((p.pageX-v.left-n.left)/r),n.top-=(c-o)*((p.pageY-v.top-n.top)/o)}else ye(a)&&S(a.x)&&S(a.y)?(n.left-=(d-r)*((a.x-n.left)/r),n.top-=(c-o)*((a.y-n.top)/o)):(n.left-=(d-r)/2,n.top-=(c-o)/2);n.width=d,n.height=c,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),S(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var a=this.imageData.scaleY;return this.scale(e,S(a)?a:1)},scaleY:function(e){var a=this.imageData.scaleX;return this.scale(S(a)?a:1,e)},scale:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=this.imageData,s=!1;return e=Number(e),a=Number(a),this.ready&&!this.disabled&&this.options.scalable&&(S(e)&&(t.scaleX=e,s=!0),S(a)&&(t.scaleY=a,s=!0),s&&this.renderCanvas(!0,!0)),this},getData:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=this.options,t=this.imageData,s=this.canvasData,n=this.cropBoxData,r;if(this.ready&&this.cropped){r={x:n.left-s.left,y:n.top-s.top,width:n.width,height:n.height};var o=t.width/t.naturalWidth;if(W(r,function(d,c){r[c]=d/o}),e){var h=Math.round(r.y+r.height),u=Math.round(r.x+r.width);r.x=Math.round(r.x),r.y=Math.round(r.y),r.width=u-r.x,r.height=h-r.y}}else r={x:0,y:0,width:0,height:0};return a.rotatable&&(r.rotate=t.rotate||0),a.scalable&&(r.scaleX=t.scaleX||1,r.scaleY=t.scaleY||1),r},setData:function(e){var a=this.options,t=this.imageData,s=this.canvasData,n={};if(this.ready&&!this.disabled&&ye(e)){var r=!1;a.rotatable&&S(e.rotate)&&e.rotate!==t.rotate&&(t.rotate=e.rotate,r=!0),a.scalable&&(S(e.scaleX)&&e.scaleX!==t.scaleX&&(t.scaleX=e.scaleX,r=!0),S(e.scaleY)&&e.scaleY!==t.scaleY&&(t.scaleY=e.scaleY,r=!0)),r&&this.renderCanvas(!0,!0);var o=t.width/t.naturalWidth;S(e.x)&&(n.left=e.x*o+s.left),S(e.y)&&(n.top=e.y*o+s.top),S(e.width)&&(n.width=e.width*o),S(e.height)&&(n.height=e.height*o),this.setCropBoxData(n)}return this},getContainerData:function(){return this.ready?I({},this.containerData):{}},getImageData:function(){return this.sized?I({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,a={};return this.ready&&W(["left","top","width","height","naturalWidth","naturalHeight"],function(t){a[t]=e[t]}),a},setCanvasData:function(e){var a=this.canvasData,t=a.aspectRatio;return this.ready&&!this.disabled&&ye(e)&&(S(e.left)&&(a.left=e.left),S(e.top)&&(a.top=e.top),S(e.width)?(a.width=e.width,a.height=e.width/t):S(e.height)&&(a.height=e.height,a.width=e.height*t),this.renderCanvas(!0)),this},getCropBoxData:function(){var e=this.cropBoxData,a;return this.ready&&this.cropped&&(a={left:e.left,top:e.top,width:e.width,height:e.height}),a||{}},setCropBoxData:function(e){var a=this.cropBoxData,t=this.options.aspectRatio,s,n;return this.ready&&this.cropped&&!this.disabled&&ye(e)&&(S(e.left)&&(a.left=e.left),S(e.top)&&(a.top=e.top),S(e.width)&&e.width!==a.width&&(s=!0,a.width=e.width),S(e.height)&&e.height!==a.height&&(n=!0,a.height=e.height),t&&(s?a.height=a.width/t:n&&(a.width=a.height*t)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var a=this.canvasData,t=pr(this.image,this.imageData,a,e);if(!this.cropped)return t;var s=this.getData(),n=s.x,r=s.y,o=s.width,h=s.height,u=t.width/Math.floor(a.naturalWidth);u!==1&&(n*=u,r*=u,o*=u,h*=u);var d=o/h,c=de({aspectRatio:d,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),l=de({aspectRatio:d,width:e.minWidth||0,height:e.minHeight||0},"cover"),v=de({aspectRatio:d,width:e.width||(u!==1?t.width:o),height:e.height||(u!==1?t.height:h)}),p=v.width,y=v.height;p=Math.min(c.width,Math.max(l.width,p)),y=Math.min(c.height,Math.max(l.height,y));var w=document.createElement("canvas"),b=w.getContext("2d");w.width=Ce(p),w.height=Ce(y),b.fillStyle=e.fillColor||"transparent",b.fillRect(0,0,p,y);var C=e.imageSmoothingEnabled,m=C===void 0?!0:C,_=e.imageSmoothingQuality;b.imageSmoothingEnabled=m,_&&(b.imageSmoothingQuality=_);var T=t.width,g=t.height,E=n,O=r,B,D,U,F,q,z;E<=-o||E>T?(E=0,B=0,U=0,q=0):E<=0?(U=-E,E=0,B=Math.min(T,o+E),q=B):E<=T&&(U=0,B=Math.min(o,T-E),q=B),B<=0||O<=-h||O>g?(O=0,D=0,F=0,z=0):O<=0?(F=-O,O=0,D=Math.min(g,h+O),z=D):O<=g&&(F=0,D=Math.min(h,g-O),z=D);var Y=[E,O,B,D];if(q>0&&z>0){var he=p/o;Y.push(U*he,F*he,q*he,z*he)}return b.drawImage.apply(b,[t].concat(Ba(Y.map(function(Le){return Math.floor(Ce(Le))})))),w},setAspectRatio:function(e){var a=this.options;return!this.disabled&&!qe(e)&&(a.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var a=this.options,t=this.dragBox,s=this.face;if(this.ready&&!this.disabled){var n=e===bt,r=a.movable&&e===Ha;e=n||r?e:Wa,a.dragMode=e,ke(t,Re,e),be(t,ot,n),be(t,lt,r),a.cropBoxMovable||(ke(s,Re,e),be(s,ot,n),be(s,lt,r))}return this}},Mr=re.Cropper,Za=function(){function i(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(zs(this,i),!e||!er.test(e.tagName))throw new Error("The first argument is required and must be an or element.");this.element=e,this.options=I({},oa,ye(a)&&a),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return Ys(i,[{key:"init",value:function(){var a=this.element,t=a.tagName.toLowerCase(),s;if(!a[$]){if(a[$]=this,t==="img"){if(this.isImg=!0,s=a.getAttribute("src")||"",this.originalUrl=s,!s)return;s=a.src}else t==="canvas"&&window.HTMLCanvasElement&&(s=a.toDataURL());this.load(s)}}},{key:"load",value:function(a){var t=this;if(a){this.url=a,this.imageData={};var s=this.element,n=this.options;if(!n.rotatable&&!n.scalable&&(n.checkOrientation=!1),!n.checkOrientation||!window.ArrayBuffer){this.clone();return}if(Qs.test(a)){Js.test(a)?this.read(mr(a)):this.clone();return}var r=new XMLHttpRequest,o=this.clone.bind(this);this.reloading=!0,this.xhr=r,r.onabort=o,r.onerror=o,r.ontimeout=o,r.onprogress=function(){r.getResponseHeader("content-type")!==ra&&r.abort()},r.onload=function(){t.read(r.response)},r.onloadend=function(){t.reloading=!1,t.xhr=null},n.checkCrossOrigin&&ca(a)&&s.crossOrigin&&(a=ua(a)),r.open("GET",a,!0),r.responseType="arraybuffer",r.withCredentials=s.crossOrigin==="use-credentials",r.send()}}},{key:"read",value:function(a){var t=this.options,s=this.imageData,n=br(a),r=0,o=1,h=1;if(n>1){this.url=yr(a,ra);var u=wr(n);r=u.rotate,o=u.scaleX,h=u.scaleY}t.rotatable&&(s.rotate=r),t.scalable&&(s.scaleX=o,s.scaleY=h),this.clone()}},{key:"clone",value:function(){var a=this.element,t=this.url,s=a.crossOrigin,n=t;this.options.checkCrossOrigin&&ca(t)&&(s||(s="anonymous"),n=ua(t)),this.crossOrigin=s,this.crossOriginUrl=n;var r=document.createElement("img");s&&(r.crossOrigin=s),r.src=n||t,r.alt=a.alt||"The image to crop",this.image=r,r.onload=this.start.bind(this),r.onerror=this.stop.bind(this),j(r,Qt),a.parentNode.insertBefore(r,a.nextSibling)}},{key:"start",value:function(){var a=this,t=this.image;t.onload=null,t.onerror=null,this.sizing=!0;var s=re.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(re.navigator.userAgent),n=function(u,d){I(a.imageData,{naturalWidth:u,naturalHeight:d,aspectRatio:u/d}),a.initialImageData=I({},a.imageData),a.sizing=!1,a.sized=!0,a.build()};if(t.naturalWidth&&!s){n(t.naturalWidth,t.naturalHeight);return}var r=document.createElement("img"),o=document.body||document.documentElement;this.sizingImage=r,r.onload=function(){n(r.width,r.height),s||o.removeChild(r)},r.src=t.src,s||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(r))}},{key:"stop",value:function(){var a=this.image;a.onload=null,a.onerror=null,a.parentNode.removeChild(a),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var a=this.element,t=this.options,s=this.image,n=a.parentNode,r=document.createElement("div");r.innerHTML=tr;var o=r.querySelector(".".concat($,"-container")),h=o.querySelector(".".concat($,"-canvas")),u=o.querySelector(".".concat($,"-drag-box")),d=o.querySelector(".".concat($,"-crop-box")),c=d.querySelector(".".concat($,"-face"));this.container=n,this.cropper=o,this.canvas=h,this.dragBox=u,this.cropBox=d,this.viewBox=o.querySelector(".".concat($,"-view-box")),this.face=c,h.appendChild(s),j(a,J),n.insertBefore(o,a.nextSibling),se(s,Qt),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,j(d,J),t.guides||j(d.getElementsByClassName("".concat($,"-dashed")),J),t.center||j(d.getElementsByClassName("".concat($,"-center")),J),t.background&&j(o,"".concat($,"-bg")),t.highlight||j(c,Gs),t.cropBoxMovable&&(j(c,lt),ke(c,Re,yt)),t.cropBoxResizable||(j(d.getElementsByClassName("".concat($,"-line")),J),j(d.getElementsByClassName("".concat($,"-point")),J)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),Q(t.ready)&&ee(a,ia,t.ready,{once:!0}),De(a,ia)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var a=this.cropper.parentNode;a&&a.removeChild(this.cropper),se(this.element,J)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=Mr,i}},{key:"setDefaults",value:function(a){I(oa,ye(a)&&a)}}]),i}();I(Za.prototype,Er,Cr,Dr,Tr,xr,Sr);const _r=i=>(Ui("data-v-0343c251"),i=i(),zi(),i),Or=["src"],Ar=_r(()=>K("div",{class:"preview"},null,-1)),Rr={__name:"PictureCropping",setup(i,{expose:e}){const a=G();let t=G(""),s=G(!1),n;function r(){n&&n.destroy(),n=new Za(a.value,{viewMode:1,dragMode:"none",initialAspectRatio:1,aspectRatio:1,preview:".preview",background:!1,autoCropArea:.6,zoomOnWheel:!1,zoomable:!0})}let o=G(()=>{});return e({slice:async u=>new Promise(d=>{t.value=u,s.value=!0,o.value=()=>{s.value=!1,d(n)}})}),(u,d)=>{const c=rs,l=Bi,v=Xn;return M(),Z(v,{onOpen:r,modelValue:f(s),"onUpdate:modelValue":d[0]||(d[0]=p=>pa(s)?s.value=p:s=p),center:"",title:u.$t("图片裁剪"),width:"30%"},{default:R(()=>[N(c,{wrap:!0},{default:R(()=>[K("img",{class:"image",ref_key:"image",ref:a,alt:"",src:f(t)},null,8,Or),Ar]),_:1})]),footer:R(()=>[N(l,{type:"success",onClick:f(o)},{default:R(()=>[Ta(Te(u.$t("提交")),1)]),_:1},8,["onClick"])]),_:1},8,["modelValue","title"])}}},kr=Ii(Rr,[["__scopeId","data-v-0343c251"]]),Pr={__name:"UploadImage",setup(i){const e=G([]),a=G();async function t(n){let r=await s(n.file);r=(await a.value.slice(r)).getCroppedCanvas({imageSmoothingQuality:"high"}).toDataURL("image/gif"),e.value.length=e.value.length-1,e.value.push({url:r})}const s=async n=>new Promise(r=>{let o=new FileReader;o.readAsDataURL(n),o.onload=h=>{r(o.result)}});return(n,r)=>{const o=oe,h=Us;return M(),H("div",null,[N(kr,{ref_key:"cropper",ref:a},null,512),N(h,{"file-list":e.value,"onUpdate:fileList":r[0]||(r[0]=u=>e.value=u),"list-type":"picture-card","auto-upload":!0,"http-request":t},{default:R(()=>[N(o,null,{default:R(()=>[N(f(Yi))]),_:1})]),_:1},8,["file-list"])])}}};export{Pr as default}; diff --git a/assets/baseClone-28c0d56d.js b/assets/baseClone-28c0d56d.js new file mode 100644 index 0000000..b2d587c --- /dev/null +++ b/assets/baseClone-28c0d56d.js @@ -0,0 +1 @@ +import{bq as m,q as y,n as C,br as Et,bs as pt,bt as Ct,af as A,bu as w,bv as Mt,ae as M,bw as Bt,bx as B,by as v,ab as Ut,bz as $,ac as z}from"./index-9406a8c2.js";var Ft=m(y,"WeakMap");const _=Ft;var Y=Object.create,Lt=function(){function t(){}return function(e){if(!C(e))return{};if(Y)return Y(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();const Dt=Lt;function Gt(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r-1&&t%1==0&&t<=Nt}function lt(t){return t!=null&&bt(t.length)&&!Ct(t)}var Rt=Object.prototype;function U(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||Rt;return t===r}function Vt(t,e){for(var r=-1,n=Array(t);++r(at(i)||de(i))&&Be(e)&&de(t)};function Et(){const i=$([]),e=A(()=>{if(!i.value.length)return"0";const s=Math.max(...i.value);return s?`${s}px`:""});function t(s){const a=i.value.indexOf(s);return a===-1&&e.value,a}function n(s, a){if(s&&a){const o=t(a);i.value.splice(o,1,s)}else s&&i.value.push(s)}function r(s){const a=t(s);a>-1&&i.value.splice(a,1)}return{autoLabelWidth:e,registerLabelWidth:n,deregisterLabelWidth:r}}const H=(i, e)=>{const t=ve(e);return t.length>0?i.filter(n=>n.prop&&t.includes(n.prop)):i},_t="ElForm",At=Z({name:_t}),Pt=Z({...At,props:xt,emits:Ot,setup(i, {expose:e,emit:t}){const n=i,r=[],s=Te(),a=Fe("form"),o=A(()=>{const{labelPosition:v,inline:f}=n;return[a.b(),a.m(s.value||"default"),{[a.m(`label-${v}`)]:v,[a.m("inline")]:f}]}),u= v=>{r.push(v)},b= v=>{v.prop&&r.splice(r.indexOf(v),1)},p=(v=[])=>{n.model&&H(r,v).forEach(f=>f.resetField())},h=(v=[])=>{H(r,v).forEach(f=>f.clearValidate())},w=A(()=>!!n.model),E= v=>{if(r.length===0)return[];const f=H(r,v);return f.length?f:[]},_=async v=>y(void 0,v),d=async(v=[])=>{if(!w.value)return!1;const f=E(v);if(f.length===0)return!0;let g={};for(const q of f)try{await q.validate("")}catch(x){g={...g,...x}}return Object.keys(g).length===0?!0:Promise.reject(g)},y=async(v=[], f)=>{const g=!Ke(f);try{const q=await d(v);return q===!0&&(f==null||f(q)),q}catch(q){if(q instanceof Error)throw q;const x=q;return n.scrollToError&&l(Object.keys(x)[0]),f==null||f(!1,x),g&&Promise.reject(x)}},l= v=>{var f;const g=H(r,v)[0];g&&((f=g.$el)==null||f.scrollIntoView(n.scrollIntoViewOptions))};return te(()=>n.rules,()=>{n.validateOnRuleChange&&_().catch(v=>st())},{deep:!0}),Ce(qe,De({...ze(n),emit:t,resetFields:p,clearValidate:h,validateField:y,addField:u,removeField:b,...Et()})),e({validate:_,validateField:y,resetFields:p,clearValidate:h,scrollToField:l}),(v, f)=>(ce(),Ue("form",{class:G(O(o))},[X(v.$slots,"default")],2))}});var St=Ge(Pt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function B(){return B=Object.assign?Object.assign.bind():function(i){for(var e=1; e"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 ee(i, e, t){return Rt()?ee=Reflect.construct.bind():ee=function(r, s, a){var o=[null];o.push.apply(o,s);var u=Function.bind.apply(r,o),b=new u;return a&&J(b,a.prototype),b},ee.apply(null,arguments)}function Nt(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function ge(i){var e=typeof Map=="function"?new Map:void 0;return ge=function(n){if(n===null||!Nt(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,r)}function r(){return ee(n,arguments,me(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),J(r,n)},ge(i)}var Vt=/%[sdj%]/g,Wt=function(){};typeof process<"u"&&process.env;function he(i){if(!i||!i.length)return null;var e={};return i.forEach(function(t){var n=t.field;e[n]=e[n]||[],e[n].push(t)}),e}function N(i){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1; n=s)return o;switch(o){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch{return"[Circular]"}break;default:return o}});return a}return i}function Mt(i){return i==="string"||i==="url"||i==="hex"||i==="email"||i==="date"||i==="pattern"}function P(i, e){return!!(i==null||e==="array"&&Array.isArray(i)&&!i.length||Mt(e)&&typeof i=="string"&&!i)}function Lt(i, e, t){var n=[],r=0,s=i.length;function a(o){n.push.apply(n,o||[]),r++,r===s&&t(n)}i.forEach(function(o){e(o,a)})}function Ne(i, e, t){var n=0,r=i.length;function s(a){if(a&&a.length){t(a);return}var o=n;n=n+1,o()\[\]\\.,;:\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},K={integer:function(e){return K.number(e)&&parseInt(e,10)===e},float:function(e){return K.number(e)&&!K.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!K.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(Le.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(Dt())},hex:function(e){return typeof e=="string"&&!!e.match(Le.hex)}},zt=function(e,t,n,r,s){if(e.required&&t===void 0){ke(e,t,n,r,s);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=e.type;a.indexOf(o)>-1?K[o](t)||r.push(N(s.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&r.push(N(s.messages.types[o],e.fullField,e.type))},Ut=function(e,t,n,r,s){var a=typeof e.len=="number",o=typeof e.min=="number",u=typeof e.max=="number",b=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p=t,h=null,w=typeof t=="number",E=typeof t=="string",_=Array.isArray(t);if(w?h="number":E?h="string":_&&(h="array"),!h)return!1;_&&(p=t.length),E&&(p=t.replace(b,"_").length),a?p!==e.len&&r.push(N(s.messages[h].len,e.fullField,e.len)):o&&!u&&pe.max?r.push(N(s.messages[h].max,e.fullField,e.max)):o&&u&&(pe.max)&&r.push(N(s.messages[h].range,e.fullField,e.min,e.max))},z="enum",Gt=function(e,t,n,r,s){e[z]=Array.isArray(e[z])?e[z]:[],e[z].indexOf(t)===-1&&r.push(N(s.messages[z],e.fullField,e[z].join(", ")))},Kt=function(e,t,n,r,s){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(N(s.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var a=new RegExp(e.pattern);a.test(t)||r.push(N(s.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},m={required:ke,whitespace:Ct,type:zt,range:Ut,enum:Gt,pattern:Kt},Yt=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(P(t,"string")&&!e.required)return n();m.required(e,t,r,a,s,"string"),P(t,"string")||(m.type(e,t,r,a,s),m.range(e,t,r,a,s),m.pattern(e,t,r,a,s),e.whitespace===!0&&m.whitespace(e,t,r,a,s))}n(a)},Jt=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&m.type(e,t,r,a,s)}n(a)},Zt=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(t===""&&(t=void 0),P(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&(m.type(e,t,r,a,s),m.range(e,t,r,a,s))}n(a)},kt=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&m.type(e,t,r,a,s)}n(a)},Ht=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return n();m.required(e,t,r,a,s),P(t)||m.type(e,t,r,a,s)}n(a)},Qt=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&(m.type(e,t,r,a,s),m.range(e,t,r,a,s))}n(a)},Xt=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&(m.type(e,t,r,a,s),m.range(e,t,r,a,s))}n(a)},er=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(t==null&&!e.required)return n();m.required(e,t,r,a,s,"array"),t!=null&&(m.type(e,t,r,a,s),m.range(e,t,r,a,s))}n(a)},tr=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&m.type(e,t,r,a,s)}n(a)},rr="enum",nr=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&m[rr](e,t,r,a,s)}n(a)},ir=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(P(t,"string")&&!e.required)return n();m.required(e,t,r,a,s),P(t,"string")||m.pattern(e,t,r,a,s)}n(a)},ar=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(P(t,"date")&&!e.required)return n();if(m.required(e,t,r,a,s),!P(t,"date")){var u;t instanceof Date?u=t:u=new Date(t),m.type(e,u,r,a,s),u&&m.range(e,u.getTime(),r,a,s)}}n(a)},sr=function(e,t,n,r,s){var a=[],o=Array.isArray(t)?"array":typeof t;m.required(e,t,r,a,s,o),n(a)},le=function(e,t,n,r,s){var a=e.type,o=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(P(t,a)&&!e.required)return n();m.required(e,t,r,o,s,a),P(t,a)||m.type(e,t,r,o,s)}n(o)},or=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return n();m.required(e,t,r,a,s)}n(a)},Y={string:Yt,method:Jt,number:Zt,boolean:kt,regexp:Ht,integer:Qt,float:Xt,array:er,object:tr,enum:nr,pattern:ir,date:ar,url:le,hex:le,email:le,required:sr,any:or};function ye(){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 e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var be=ye(),k=function(){function i(t){this.rules=null,this._messages=be,this.define(t)}var e=i.prototype;return e.define=function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(typeof n!="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(s){var a=n[s];r.rules[s]=Array.isArray(a)?a:[a]})},e.messages=function(n){return n&&(this._messages=Me(ye(),n)),this._messages},e.validate=function(n,r,s){var a=this;r===void 0&&(r={}),s===void 0&&(s=function(){});var o=n,u=r,b=s;if(typeof u=="function"&&(b=u,u={}),!this.rules||Object.keys(this.rules).length===0)return b&&b(null,o),Promise.resolve(o);function p(d){var y=[],l={};function v(g){if(Array.isArray(g)){var q;y=(q=y).concat.apply(q,g)}else y.push(g)}for(var f=0;f");const r=Fe("form"),s=$(),a=$(0),o=()=>{var p;if((p=s.value)!=null&&p.firstElementChild){const h=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(h))}else return 0},u=(p="update")=>{Ze(()=>{e.default&&i.isAutoWidth&&(p==="update"?a.value=o():p==="remove"&&(t==null||t.deregisterLabelWidth(a.value)))})},b=()=>u("update");return Ye(()=>{b()}),Je(()=>{u("remove")}),ft(()=>b()),te(a,(p,h)=>{i.updateAll&&(t==null||t.registerLabelWidth(p,h))}),lt(A(()=>{var p,h;return(h=(p=s.value)==null?void 0:p.firstElementChild)!=null?h:null}),b),()=>{var p,h;if(!e)return null;const{isAutoWidth:w}=i;if(w){const E=t==null?void 0:t.autoLabelWidth,_=n==null?void 0:n.hasLabel,d={};if(_&&E&&E!=="auto"){const y=Math.max(0,Number.parseInt(E,10)-a.value),l=t.labelPosition==="left"?"marginRight":"marginLeft";y&&(d[l]=`${y}px`)}return ne("div",{ref:s,class:[r.be("item","label-wrap")],style:d},[(p=e.default)==null?void 0:p.call(e)])}else return ne(ut,{ref:s},[(h=e.default)==null?void 0:h.call(e)])}}});const dr=["role","aria-labelledby"],cr=Z({name:"ElFormItem"}),pr=Z({...cr,props:lr,setup(i,{expose:e}){const t=i,n=dt(),r=re(qe,void 0),s=re(pe,void 0),a=Te(void 0,{formItem:!1}),o=Fe("form-item"),u=ct().value,b=$([]),p=$(""),h=pt(p,100),w=$(""),E=$();let _,d=!1;const y=A(()=>{if((r==null?void 0:r.labelPosition)==="top")return{};const c=_e(t.labelWidth||(r==null?void 0:r.labelWidth)||"");return c?{width:c}:{}}),l=A(()=>{if((r==null?void 0:r.labelPosition)==="top"||r!=null&&r.inline)return{};if(!t.label&&!t.labelWidth&&I)return{};const c=_e(t.labelWidth||(r==null?void 0:r.labelWidth)||"");return!t.label&&!n.label?{marginLeft:c}:{}}),v=A(()=>[o.b(),o.m(a.value),o.is("error",p.value==="error"),o.is("validating",p.value==="validating"),o.is("success",p.value==="success"),o.is("required",ie.value||t.required),o.is("no-asterisk",r==null?void 0:r.hideRequiredAsterisk),(r==null?void 0:r.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[o.m("feedback")]:r==null?void 0:r.statusIcon}]),f=A(()=>Be(t.inlineMessage)?t.inlineMessage:(r==null?void 0:r.inlineMessage)||!1),g=A(()=>[o.e("error"),{[o.em("error","inline")]:f.value}]),q=A(()=>t.prop?de(t.prop)?t.prop:t.prop.join("."):""),x=A(()=>!!(t.label||n.label)),W=A(()=>t.for||b.value.length===1?b.value[0]:void 0),R=A(()=>!W.value&&x.value),I=!!s,U=A(()=>{const c=r==null?void 0:r.model;if(!(!c||!t.prop))return oe(c,t.prop).value}),T=A(()=>{const{required:c}=t,F=[];t.rules&&F.push(...ve(t.rules));const j=r==null?void 0:r.rules;if(j&&t.prop){const S=oe(j,t.prop).value;S&&F.push(...ve(S))}if(c!==void 0){const S=F.map((L,D)=>[L,D]).filter(([L])=>Object.keys(L).includes("required"));if(S.length>0)for(const[L,D]of S)L.required!==c&&(F[D]={...L,required:c});else F.push({required:c})}return F}),M=A(()=>T.value.length>0),V=c=>T.value.filter(j=>!j.trigger||!c?!0:Array.isArray(j.trigger)?j.trigger.includes(c):j.trigger===c).map(({trigger:j,...S})=>S),ie=A(()=>T.value.some(c=>c.required)),Qe=A(()=>{var c;return h.value==="error"&&t.showMessage&&((c=r==null?void 0:r.showMessage)!=null?c:!0)}),xe=A(()=>`${t.label||""}${(r==null?void 0:r.labelSuffix)||""}`),C=c=>{p.value=c},Xe=c=>{var F,j;const{errors:S,fields:L}=c;(!S||!L)&&console.error(c),C("error"),w.value=S?(j=(F=S==null?void 0:S[0])==null?void 0:F.message)!=null?j:`${t.prop} is required`:"",r==null||r.emit("validate",t.prop,!1,w.value)},et=()=>{C("success"),r==null||r.emit("validate",t.prop,!0,"")},tt=async c=>{const F=q.value;return new k({[F]:c}).validate({[F]:U.value},{firstFields:!0}).then(()=>(et(),!0)).catch(S=>(Xe(S),Promise.reject(S)))},Oe=async(c,F)=>{if(d||!t.prop)return!1;const j=Ke(F);if(!M.value)return F==null||F(!1),!1;const S=V(c);return S.length===0?(F==null||F(!0),!0):(C("validating"),tt(S).then(()=>(F==null||F(!0),!0)).catch(L=>{const{fields:D}=L;return F==null||F(!1,D),j?!1:Promise.reject(D)}))},ae=()=>{C(""),w.value="",d=!1},Ee=async()=>{const c=r==null?void 0:r.model;if(!c||!t.prop)return;const F=oe(c,t.prop);d=!0,F.value=Re(_),await Ze(),ae(),d=!1},rt=c=>{b.value.includes(c)||b.value.push(c)},nt=c=>{b.value=b.value.filter(F=>F!==c)};te(()=>t.error,c=>{w.value=c||"",C(c?"error":"")},{immediate:!0}),te(()=>t.validateStatus,c=>C(c||""));const se=De({...ze(t),$el:E,size:a,validateState:p,labelId:u,inputIds:b,isGroup:R,hasLabel:x,addInputId:rt,removeInputId:nt,resetField:Ee,clearValidate:ae,validate:Oe});return Ce(pe,se),Ye(()=>{t.prop&&(r==null||r.addField(se),_=Re(U.value))}),Je(()=>{r==null||r.removeField(se)}),e({size:a,validateMessage:w,validateState:p,validate:Oe,clearValidate:ae,resetField:Ee}),(c,F)=>{var j;return ce(),Ue("div",{ref_key:"formItemRef",ref:E,class:G(O(v)),role:O(R)?"group":void 0,"aria-labelledby":O(R)?O(u):void 0},[ne(O(ur),{"is-auto-width":O(y).width==="auto","update-all":((j=O(r))==null?void 0:j.labelWidth)==="auto"},{default:fe(()=>[O(x)?(ce(),vt(mt(O(W)?"label":"div"),{key:0,id:O(u),for:O(W),class:G(O(o).e("label")),style:Ae(O(y))},{default:fe(()=>[X(c.$slots,"label",{label:O(xe)},()=>[gt(Pe(O(xe)),1)])]),_:3},8,["id","for","class","style"])):Se("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),je("div",{class:G(O(o).e("content")),style:Ae(O(l))},[X(c.$slots,"default"),ne(ht,{name:`${O(o).namespace.value}-zoom-in-top`},{default:fe(()=>[O(Qe)?X(c.$slots,"error",{key:0,error:w.value},()=>[je("div",{class:G(O(g))},Pe(w.value),3)]):Se("v-if",!0)]),_:3},8,["name"])],6)],10,dr)}}});var He=Ge(pr,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const gr=yt(St,{FormItem:He}),hr=bt(He);export{hr as E,gr as a}; diff --git a/assets/el-input-45fc351a.js b/assets/el-input-45fc351a.js new file mode 100644 index 0000000..5bdd25a --- /dev/null +++ b/assets/el-input-45fc351a.js @@ -0,0 +1,9 @@ +import{ag as ze,H as c,aA as He,bl as De,r as F,B as xe,x as Ke,z as je,y as Z,at as we,aZ as We,Y as q,P as ke,bm as Ue,aG as Ye,I as Xe,a0 as Ge,a1 as Je,a_ as Qe,Q as Se,J as ee,bn as Ze,bo as qe,bp as et,aY as tt,bd as at,L as te,G as P,O as Ce,D as ot,b8 as nt,w as st,aL as lt,o as p,c as x,a4 as v,a5 as ae,U as h,b as t,as as W,l as V,a3 as C,e as R,av as U,aw as A,aJ as oe,d as rt,aQ as it,b0 as ut,aq as ct,T as Y,W as dt,X as pt,b5 as Ie,a7 as ft}from"./index-9406a8c2.js";import{U as ne}from"./event-9519ab40.js";const vt=()=>ze&&/firefox/i.test(window.navigator.userAgent),mt=o=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(o),ht=["class","style"],yt=/^on[A-Z]/,bt=(o={})=>{const{excludeListeners:m=!1,excludeKeys:l}=o,a=c(()=>((l==null?void 0:l.value)||[]).concat(ht)),r=He();return r?c(()=>{var i;return De(Object.entries((i=r.proxy)==null?void 0:i.$attrs).filter(([u])=>!a.value.includes(u)&&!(m&&yt.test(u))))}):c(()=>({}))};function gt(o){const m=F();function l(){if(o.value==null)return;const{selectionStart:r,selectionEnd:i,value:u}=o.value;if(r==null||i==null)return;const w=u.slice(0,Math.max(0,r)),d=u.slice(Math.max(0,i));m.value={selectionStart:r,selectionEnd:i,value:u,beforeTxt:w,afterTxt:d}}function a(){if(o.value==null||m.value==null)return;const{value:r}=o.value,{beforeTxt:i,afterTxt:u,selectionStart:w}=m.value;if(i==null||u==null||w==null)return;let d=r.length;if(r.endsWith(u))d=r.length-u.length;else if(r.startsWith(i))d=i.length;else{const y=i[w-1],I=r.indexOf(y,w-1);I!==-1&&(d=I+1)}o.value.setSelectionRange(d,d)}return[l,a]}let b;const xt=` + height:0 !important; + visibility:hidden !important; + ${vt()?"":"overflow:hidden !important;"} + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; +`,wt=["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 St(o){const m=window.getComputedStyle(o),l=m.getPropertyValue("box-sizing"),a=Number.parseFloat(m.getPropertyValue("padding-bottom"))+Number.parseFloat(m.getPropertyValue("padding-top")),r=Number.parseFloat(m.getPropertyValue("border-bottom-width"))+Number.parseFloat(m.getPropertyValue("border-top-width"));return{contextStyle:wt.map(u=>`${u}:${m.getPropertyValue(u)}`).join(";"),paddingSize:a,borderSize:r,boxSizing:l}}function Ee(o,m=1,l){var a;b||(b=document.createElement("textarea"),document.body.appendChild(b));const{paddingSize:r,borderSize:i,boxSizing:u,contextStyle:w}=St(o);b.setAttribute("style",`${w};${xt}`),b.value=o.value||o.placeholder||"";let d=b.scrollHeight;const y={};u==="border-box"?d=d+i:u==="content-box"&&(d=d-r),b.value="";const I=b.scrollHeight-r;if(xe(m)){let f=I*m;u==="border-box"&&(f=f+r+i),d=Math.max(f,d),y.minHeight=`${f}px`}if(xe(l)){let f=I*l;u==="border-box"&&(f=f+r+i),d=Math.min(f,d)}return y.height=`${d}px`,(a=b.parentNode)==null||a.removeChild(b),b=void 0,y}const Ct=Ke({id:{type:String,default:void 0},size:je,disabled:Boolean,modelValue:{type:Z([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Z([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:we},prefixIcon:{type:we},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:Z([Object,Array,String]),default:()=>We({})}}),It={[ne]:o=>q(o),input:o=>q(o),change:o=>q(o),focus:o=>o instanceof FocusEvent,blur:o=>o instanceof FocusEvent,clear:()=>!0,mouseleave:o=>o instanceof MouseEvent,mouseenter:o=>o instanceof MouseEvent,keydown:o=>o instanceof Event,compositionstart:o=>o instanceof CompositionEvent,compositionupdate:o=>o instanceof CompositionEvent,compositionend:o=>o instanceof CompositionEvent},Et=["role"],zt=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],kt=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],Pt=ke({name:"ElInput",inheritAttrs:!1}),Vt=ke({...Pt,props:Ct,emits:It,setup(o,{expose:m,emit:l}){const a=o,r=Ue(),i=Ye(),u=c(()=>{const e={};return a.containerRole==="combobox"&&(e["aria-haspopup"]=r["aria-haspopup"],e["aria-owns"]=r["aria-owns"],e["aria-expanded"]=r["aria-expanded"]),e}),w=c(()=>[a.type==="textarea"?le.b():n.b(),n.m(Pe.value),n.is("disabled",z.value),n.is("exceed",Ne.value),{[n.b("group")]:i.prepend||i.append,[n.bm("group","append")]:i.append,[n.bm("group","prepend")]:i.prepend,[n.m("prefix")]:i.prefix||a.prefixIcon,[n.m("suffix")]:i.suffix||a.suffixIcon||a.clearable||a.showPassword,[n.bm("suffix","password-clear")]:D.value&&G.value},r.class]),d=c(()=>[n.e("wrapper"),n.is("focus",N.value)]),y=bt({excludeKeys:c(()=>Object.keys(u.value))}),{form:I,formItem:f}=Xe(),{inputId:se}=Ge(a,{formItemContext:f}),Pe=Je(),z=Qe(),n=Se("input"),le=Se("textarea"),L=ee(),S=ee(),N=F(!1),X=F(!1),T=F(!1),O=F(!1),re=F(),H=ee(a.inputStyle),_=c(()=>L.value||S.value),ie=c(()=>{var e;return(e=I==null?void 0:I.statusIcon)!=null?e:!1}),$=c(()=>(f==null?void 0:f.validateState)||""),ue=c(()=>$.value&&Ze[$.value]),Ve=c(()=>O.value?qe:et),Fe=c(()=>[r.style,a.inputStyle]),ce=c(()=>[a.inputStyle,H.value,{resize:a.resize}]),E=c(()=>tt(a.modelValue)?"":String(a.modelValue)),D=c(()=>a.clearable&&!z.value&&!a.readonly&&!!E.value&&(N.value||X.value)),G=c(()=>a.showPassword&&!z.value&&!a.readonly&&!!E.value&&(!!E.value||N.value)),k=c(()=>a.showWordLimit&&!!y.value.maxlength&&(a.type==="text"||a.type==="textarea")&&!z.value&&!a.readonly&&!a.showPassword),J=c(()=>E.value.length),Ne=c(()=>!!k.value&&J.value>Number(y.value.maxlength)),Te=c(()=>!!i.suffix||!!a.suffixIcon||D.value||a.showPassword||k.value||!!$.value&&ie.value),[_e,$e]=gt(L);at(S,e=>{if(Be(),!k.value||a.resize!=="both")return;const s=e[0],{width:g}=s.contentRect;re.value={right:`calc(100% - ${g+15+6}px)`}});const B=()=>{const{type:e,autosize:s}=a;if(!(!ze||e!=="textarea"||!S.value))if(s){const g=Ie(s)?s.minRows:void 0,j=Ie(s)?s.maxRows:void 0,ge=Ee(S.value,g,j);H.value={overflowY:"hidden",...ge},P(()=>{S.value.offsetHeight,H.value=ge})}else H.value={minHeight:Ee(S.value).minHeight}},Be=(e=>{let s=!1;return()=>{var g;if(s||!a.autosize)return;((g=S.value)==null?void 0:g.offsetParent)===null||(e(),s=!0)}})(B),M=()=>{const e=_.value,s=a.formatter?a.formatter(E.value):E.value;!e||e.value===s||(e.value=s)},Q=async e=>{_e();let{value:s}=e.target;if(a.formatter&&(s=a.parser?a.parser(s):s),!T.value){if(s===E.value){M();return}l(ne,s),l("input",s),await P(),M(),$e()}},de=e=>{l("change",e.target.value)},pe=e=>{l("compositionstart",e),T.value=!0},fe=e=>{var s;l("compositionupdate",e);const g=(s=e.target)==null?void 0:s.value,j=g[g.length-1]||"";T.value=!mt(j)},ve=e=>{l("compositionend",e),T.value&&(T.value=!1,Q(e))},Me=()=>{O.value=!O.value,K()},K=async()=>{var e;await P(),(e=_.value)==null||e.focus()},Re=()=>{var e;return(e=_.value)==null?void 0:e.blur()},me=e=>{N.value=!0,l("focus",e)},he=e=>{var s;N.value=!1,l("blur",e),a.validateEvent&&((s=f==null?void 0:f.validate)==null||s.call(f,"blur").catch(g=>Ce()))},Ae=e=>{X.value=!1,l("mouseleave",e)},Le=e=>{X.value=!0,l("mouseenter",e)},ye=e=>{l("keydown",e)},Oe=()=>{var e;(e=_.value)==null||e.select()},be=()=>{l(ne,""),l("change",""),l("clear"),l("input","")};return te(()=>a.modelValue,()=>{var e;P(()=>B()),a.validateEvent&&((e=f==null?void 0:f.validate)==null||e.call(f,"change").catch(s=>Ce()))}),te(E,()=>M()),te(()=>a.type,async()=>{await P(),M(),B()}),ot(()=>{!a.formatter&&a.parser,M(),P(B)}),m({input:L,textarea:S,ref:_,textareaStyle:ce,autosize:nt(a,"autosize"),focus:K,blur:Re,select:Oe,clear:be,resizeTextarea:B}),(e,s)=>st((p(),x("div",oe(t(u),{class:t(w),style:t(Fe),role:e.containerRole,onMouseenter:Le,onMouseleave:Ae}),[v(" input "),e.type!=="textarea"?(p(),x(ae,{key:0},[v(" prepend slot "),e.$slots.prepend?(p(),x("div",{key:0,class:h(t(n).be("group","prepend"))},[W(e.$slots,"prepend")],2)):v("v-if",!0),V("div",{class:h(t(d))},[v(" prefix slot "),e.$slots.prefix||e.prefixIcon?(p(),x("span",{key:0,class:h(t(n).e("prefix"))},[V("span",{class:h(t(n).e("prefix-inner")),onClick:K},[W(e.$slots,"prefix"),e.prefixIcon?(p(),C(t(A),{key:0,class:h(t(n).e("icon"))},{default:R(()=>[(p(),C(U(e.prefixIcon)))]),_:1},8,["class"])):v("v-if",!0)],2)],2)):v("v-if",!0),V("input",oe({id:t(se),ref_key:"input",ref:L,class:t(n).e("inner")},t(y),{type:e.showPassword?O.value?"text":"password":e.type,disabled:t(z),formatter:e.formatter,parser:e.parser,readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.label,placeholder:e.placeholder,style:e.inputStyle,form:a.form,onCompositionstart:pe,onCompositionupdate:fe,onCompositionend:ve,onInput:Q,onFocus:me,onBlur:he,onChange:de,onKeydown:ye}),null,16,zt),v(" suffix slot "),t(Te)?(p(),x("span",{key:1,class:h(t(n).e("suffix"))},[V("span",{class:h(t(n).e("suffix-inner")),onClick:K},[!t(D)||!t(G)||!t(k)?(p(),x(ae,{key:0},[W(e.$slots,"suffix"),e.suffixIcon?(p(),C(t(A),{key:0,class:h(t(n).e("icon"))},{default:R(()=>[(p(),C(U(e.suffixIcon)))]),_:1},8,["class"])):v("v-if",!0)],64)):v("v-if",!0),t(D)?(p(),C(t(A),{key:1,class:h([t(n).e("icon"),t(n).e("clear")]),onMousedown:ut(t(ct),["prevent"]),onClick:be},{default:R(()=>[rt(t(it))]),_:1},8,["class","onMousedown"])):v("v-if",!0),t(G)?(p(),C(t(A),{key:2,class:h([t(n).e("icon"),t(n).e("password")]),onClick:Me},{default:R(()=>[(p(),C(U(t(Ve))))]),_:1},8,["class"])):v("v-if",!0),t(k)?(p(),x("span",{key:3,class:h(t(n).e("count"))},[V("span",{class:h(t(n).e("count-inner"))},Y(t(J))+" / "+Y(t(y).maxlength),3)],2)):v("v-if",!0),t($)&&t(ue)&&t(ie)?(p(),C(t(A),{key:4,class:h([t(n).e("icon"),t(n).e("validateIcon"),t(n).is("loading",t($)==="validating")])},{default:R(()=>[(p(),C(U(t(ue))))]),_:1},8,["class"])):v("v-if",!0)],2)],2)):v("v-if",!0)],2),v(" append slot "),e.$slots.append?(p(),x("div",{key:1,class:h(t(n).be("group","append"))},[W(e.$slots,"append")],2)):v("v-if",!0)],64)):(p(),x(ae,{key:1},[v(" textarea "),V("textarea",oe({id:t(se),ref_key:"textarea",ref:S,class:t(le).e("inner")},t(y),{tabindex:e.tabindex,disabled:t(z),readonly:e.readonly,autocomplete:e.autocomplete,style:t(ce),"aria-label":e.label,placeholder:e.placeholder,form:a.form,onCompositionstart:pe,onCompositionupdate:fe,onCompositionend:ve,onInput:Q,onFocus:me,onBlur:he,onChange:de,onKeydown:ye}),null,16,kt),t(k)?(p(),x("span",{key:0,style:dt(re.value),class:h(t(n).e("count"))},Y(t(J))+" / "+Y(t(y).maxlength),7)):v("v-if",!0)],64))],16,Et)),[[lt,e.type!=="hidden"]])}});var Ft=pt(Vt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const $t=ft(Ft);export{$t as E}; diff --git a/assets/el-input-number-42c1fd8b.js b/assets/el-input-number-42c1fd8b.js new file mode 100644 index 0000000..ccc3056 --- /dev/null +++ b/assets/el-input-number-42c1fd8b.js @@ -0,0 +1 @@ +import{aT as G,x as se,z as oe,B as p,aY as y,P as J,$ as ie,Q as ce,r as de,R as me,I as pe,H as h,bh as P,a1 as be,a_ as fe,L as ve,D as Ne,bc as Ie,o as v,c as K,w as H,b as t,U as L,a$ as A,d as O,e as W,a3 as F,bi as he,bj as Ve,aw as j,a4 as Q,bk as ye,b9 as Ee,b0 as T,X as we,N as ge,Y as _e,O as X,a7 as Se}from"./index-9406a8c2.js";import{E as Pe}from"./el-input-45fc351a.js";import{C as Z,I as k,U as V}from"./event-9519ab40.js";const Ae=100,Fe=600,q={beforeMount(l,N){const i=N.value,{interval:r=Ae,delay:E=Fe}=G(i)?{}:i;let c,m;const u=()=>G(i)?i():i.handler(),b=()=>{m&&(clearTimeout(m),m=void 0),c&&(clearInterval(c),c=void 0)};l.addEventListener("mousedown",w=>{w.button===0&&(b(),u(),document.addEventListener("mouseup",()=>b(),{once:!0}),m=setTimeout(()=>{c=setInterval(()=>{u()},r)},E))})}},Te=se({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:oe,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:l=>l===null||p(l)||["min","max"].includes(l),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:l=>l>=0&&l===Number.parseInt(`${l}`,10)},validateEvent:{type:Boolean,default:!0}}),ke={[Z]:(l,N)=>N!==l,blur:l=>l instanceof FocusEvent,focus:l=>l instanceof FocusEvent,[k]:l=>p(l)||y(l),[V]:l=>p(l)||y(l)},xe=["aria-label","onKeydown"],Ce=["aria-label","onKeydown"],Be=J({name:"ElInputNumber"}),De=J({...Be,props:Te,emits:ke,setup(l,{expose:N,emit:i}){const r=l,{t:E}=ie(),c=ce("input-number"),m=de(),u=me({currentValue:r.modelValue,userInput:null}),{formItem:b}=pe(),w=h(()=>p(r.modelValue)&&r.modelValue<=r.min),R=h(()=>p(r.modelValue)&&r.modelValue>=r.max),ee=h(()=>{const e=Y(r.step);return P(r.precision)?Math.max(Y(r.modelValue),e):(e>r.precision,r.precision)}),x=h(()=>r.controls&&r.controlsPosition==="right"),U=be(),I=fe(),C=h(()=>{if(u.userInput!==null)return u.userInput;let e=u.currentValue;if(y(e))return"";if(p(e)){if(Number.isNaN(e))return"";P(r.precision)||(e=e.toFixed(r.precision))}return e}),B=(e,n)=>{if(P(n)&&(n=ee.value),n===0)return Math.round(e);let a=String(e);const s=a.indexOf(".");if(s===-1||!a.replace(".","").split("")[s+n])return e;const _=a.length;return a.charAt(_-1)==="5"&&(a=`${a.slice(0,Math.max(0,_-1))}6`),Number.parseFloat(Number(a).toFixed(n))},Y=e=>{if(y(e))return 0;const n=e.toString(),a=n.indexOf(".");let s=0;return a!==-1&&(s=n.length-a-1),s},$=(e,n=1)=>p(e)?B(e+r.step*n):u.currentValue,D=()=>{if(r.readonly||I.value||R.value)return;const e=Number(C.value)||0,n=$(e);g(n),i(k,u.currentValue)},z=()=>{if(r.readonly||I.value||w.value)return;const e=Number(C.value)||0,n=$(e,-1);g(n),i(k,u.currentValue)},M=(e,n)=>{const{max:a,min:s,step:o,precision:f,stepStrictly:_,valueOnClear:S}=r;aa||da?a:s,n&&i(V,d)),d},g=(e,n=!0)=>{var a;const s=u.currentValue,o=M(e);if(!n){i(V,o);return}s!==o&&(u.userInput=null,i(V,o),i(Z,o,s),r.validateEvent&&((a=b==null?void 0:b.validate)==null||a.call(b,"change").catch(f=>X())),u.currentValue=o)},ne=e=>{u.userInput=e;const n=e===""?null:Number(e);i(k,n),g(n,!1)},te=e=>{const n=e!==""?Number(e):"";(p(n)&&!Number.isNaN(n)||e==="")&&g(n),u.userInput=null},re=()=>{var e,n;(n=(e=m.value)==null?void 0:e.focus)==null||n.call(e)},ae=()=>{var e,n;(n=(e=m.value)==null?void 0:e.blur)==null||n.call(e)},le=e=>{i("focus",e)},ue=e=>{var n;i("blur",e),r.validateEvent&&((n=b==null?void 0:b.validate)==null||n.call(b,"blur").catch(a=>X()))};return ve(()=>r.modelValue,e=>{const n=M(u.userInput),a=M(e,!0);!p(n)&&(!n||n!==a)&&(u.currentValue=a,u.userInput=null)},{immediate:!0}),Ne(()=>{var e;const{min:n,max:a,modelValue:s}=r,o=(e=m.value)==null?void 0:e.input;if(o.setAttribute("role","spinbutton"),Number.isFinite(a)?o.setAttribute("aria-valuemax",String(a)):o.removeAttribute("aria-valuemax"),Number.isFinite(n)?o.setAttribute("aria-valuemin",String(n)):o.removeAttribute("aria-valuemin"),o.setAttribute("aria-valuenow",String(u.currentValue)),o.setAttribute("aria-disabled",String(I.value)),!p(s)&&s!=null){let f=Number(s);Number.isNaN(f)&&(f=null),i(V,f)}}),Ie(()=>{var e;const n=(e=m.value)==null?void 0:e.input;n==null||n.setAttribute("aria-valuenow",`${u.currentValue}`)}),N({focus:re,blur:ae}),(e,n)=>(v(),K("div",{class:L([t(c).b(),t(c).m(t(U)),t(c).is("disabled",t(I)),t(c).is("without-controls",!e.controls),t(c).is("controls-right",t(x))]),onDragstart:n[1]||(n[1]=T(()=>{},["prevent"]))},[e.controls?H((v(),K("span",{key:0,role:"button","aria-label":t(E)("el.inputNumber.decrease"),class:L([t(c).e("decrease"),t(c).is("disabled",t(w))]),onKeydown:A(z,["enter"])},[O(t(j),null,{default:W(()=>[t(x)?(v(),F(t(he),{key:0})):(v(),F(t(Ve),{key:1}))]),_:1})],42,xe)),[[t(q),z]]):Q("v-if",!0),e.controls?H((v(),K("span",{key:1,role:"button","aria-label":t(E)("el.inputNumber.increase"),class:L([t(c).e("increase"),t(c).is("disabled",t(R))]),onKeydown:A(D,["enter"])},[O(t(j),null,{default:W(()=>[t(x)?(v(),F(t(ye),{key:0})):(v(),F(t(Ee),{key:1}))]),_:1})],42,Ce)),[[t(q),D]]):Q("v-if",!0),O(t(Pe),{id:e.id,ref_key:"input",ref:m,type:"number",step:e.step,"model-value":t(C),placeholder:e.placeholder,readonly:e.readonly,disabled:t(I),size:t(U),max:e.max,min:e.min,name:e.name,label:e.label,"validate-event":!1,onWheel:n[0]||(n[0]=T(()=>{},["prevent"])),onKeydown:[A(T(D,["prevent"]),["up"]),A(T(z,["prevent"]),["down"])],onBlur:ue,onFocus:le,onInput:ne,onChange:te},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","label","onKeydown"])],34))}});var ze=we(De,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const Oe=Se(ze);export{Oe as E}; diff --git a/assets/index-370164d4.css b/assets/index-370164d4.css new file mode 100644 index 0000000..3f8c4d4 --- /dev/null +++ b/assets/index-370164d4.css @@ -0,0 +1 @@ +@charset "UTF-8";html,body,#app{width:100%;height:100%;margin:0;padding:0}html.dark{color-scheme:dark;--el-color-primary:#409eff;--el-color-primary-light-3:#3375b9;--el-color-primary-light-5:#2a598a;--el-color-primary-light-7:#213d5b;--el-color-primary-light-8:#1d3043;--el-color-primary-light-9:#18222c;--el-color-primary-dark-2:#66b1ff;--el-color-success:#67c23a;--el-color-success-light-3:#4e8e2f;--el-color-success-light-5:#3e6b27;--el-color-success-light-7:#2d481f;--el-color-success-light-8:#25371c;--el-color-success-light-9:#1c2518;--el-color-success-dark-2:#85ce61;--el-color-warning:#e6a23c;--el-color-warning-light-3:#a77730;--el-color-warning-light-5:#7d5b28;--el-color-warning-light-7:#533f20;--el-color-warning-light-8:#3e301c;--el-color-warning-light-9:#292218;--el-color-warning-dark-2:#ebb563;--el-color-danger:#f56c6c;--el-color-danger-light-3:#b25252;--el-color-danger-light-5:#854040;--el-color-danger-light-7:#582e2e;--el-color-danger-light-8:#412626;--el-color-danger-light-9:#2b1d1d;--el-color-danger-dark-2:#f78989;--el-color-error:#f56c6c;--el-color-error-light-3:#b25252;--el-color-error-light-5:#854040;--el-color-error-light-7:#582e2e;--el-color-error-light-8:#412626;--el-color-error-light-9:#2b1d1d;--el-color-error-dark-2:#f78989;--el-color-info:#909399;--el-color-info-light-3:#6b6d71;--el-color-info-light-5:#525457;--el-color-info-light-7:#393a3c;--el-color-info-light-8:#2d2d2f;--el-color-info-light-9:#202121;--el-color-info-dark-2:#a6a9ad;--el-box-shadow:0px 12px 32px 4px rgba(0, 0, 0, .36),0px 8px 20px rgba(0, 0, 0, .72);--el-box-shadow-light:0px 0px 12px rgba(0, 0, 0, .72);--el-box-shadow-lighter:0px 0px 6px rgba(0, 0, 0, .72);--el-box-shadow-dark:0px 16px 48px 16px rgba(0, 0, 0, .72),0px 12px 32px #000000,0px 8px 16px -8px #000000;--el-bg-color-page:#0a0a0a;--el-bg-color:#141414;--el-bg-color-overlay:#1d1e1f;--el-text-color-primary:#E5EAF3;--el-text-color-regular:#CFD3DC;--el-text-color-secondary:#A3A6AD;--el-text-color-placeholder:#8D9095;--el-text-color-disabled:#6C6E72;--el-border-color-darker:#636466;--el-border-color-dark:#58585B;--el-border-color:#4C4D4F;--el-border-color-light:#414243;--el-border-color-lighter:#363637;--el-border-color-extra-light:#2B2B2C;--el-fill-color-darker:#424243;--el-fill-color-dark:#39393A;--el-fill-color:#303030;--el-fill-color-light:#262727;--el-fill-color-lighter:#1D1D1D;--el-fill-color-extra-light:#191919;--el-fill-color-blank:transparent;--el-mask-color:rgba(0, 0, 0, .8);--el-mask-color-extra-light:rgba(0, 0, 0, .3)}html.dark .el-button{--el-button-disabled-text-color:rgba(255, 255, 255, .5)}html.dark .el-card{--el-card-bg-color:var(--el-bg-color-overlay)}html.dark .el-empty{--el-empty-fill-color-0:var(--el-color-black);--el-empty-fill-color-1:#4b4b52;--el-empty-fill-color-2:#36383d;--el-empty-fill-color-3:#1e1e20;--el-empty-fill-color-4:#262629;--el-empty-fill-color-5:#202124;--el-empty-fill-color-6:#212224;--el-empty-fill-color-7:#1b1c1f;--el-empty-fill-color-8:#1c1d1f;--el-empty-fill-color-9:#18181a}.el-affix--fixed{position:fixed}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:13px;--el-alert-description-font-size:12px;--el-alert-close-font-size:12px;--el-alert-close-customed-font-size:13px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;width:100%;padding:var(--el-alert-padding);margin:0;box-sizing:border-box;border-radius:var(--el-alert-border-radius-base);position:relative;background-color:var(--el-color-white);overflow:hidden;opacity:1;display:flex;align-items:center;transition:opacity var(--el-transition-duration-fast)}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-success)}.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-info)}.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-warning)}.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-error)}.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:table-cell;padding:0 8px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:18px;vertical-align:text-top}.el-alert__title.is-bold{font-weight:700}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:5px 0 0}.el-alert .el-alert__close-btn{font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;top:12px;right:15px;cursor:pointer}.el-alert .el-alert__close-btn.is-customed{font-style:normal;font-size:var(--el-alert-close-customed-font-size);top:9px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);list-style:none;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li:hover,.el-autocomplete-suggestion li.highlighted{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid var(--el-color-black)}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:var(--el-text-color-secondary)}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);position:fixed;background-color:var(--el-backtop-bg-color);width:40px;height:40px;border-radius:50%;color:var(--el-backtop-text-color);display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:var(--el-box-shadow-lighter);cursor:pointer;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;position:relative;vertical-align:middle;display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.el-badge__content{background-color:var(--el-badge-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;justify-content:center;align-items:center;font-size:var(--el-badge-font-size);height:var(--el-badge-size);padding:0 var(--el-badge-padding);white-space:nowrap;border:1px solid var(--el-bg-color)}.el-badge__content.is-fixed{position:absolute;top:0;right:calc(1px + var(--el-badge-size)/ 2);transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{height:8px;width:8px;padding:0;right:0;border-radius:50%}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-calendar{--el-calendar-border:var(--el-table-border, 1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom:var(--el-calendar-border);--el-calendar-selected-bg-color:var(--el-color-primary-light-9);--el-calendar-cell-width:85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{display:flex;justify-content:space-between;padding:12px 20px;border-bottom:var(--el-calendar-header-border-bottom)}.el-calendar__title{color:var(--el-text-color);align-self:center}.el-calendar__body{padding:12px 20px 35px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{padding:12px 0;color:var(--el-text-color-regular);font-weight:400}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);vertical-align:top;transition:background-color var(--el-transition-duration-fast) ease}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;padding:8px;height:var(--el-calendar-cell-width)}.el-calendar-table .el-calendar-day:hover{cursor:pointer;background-color:var(--el-calendar-selected-bg-color)}.el-carousel__item{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;overflow:hidden;z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%;transition:transform .4s ease-in-out}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__item--card-vertical{width:100%;height:50%}.el-carousel__mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:var(--el-color-white);opacity:.24;transition:var(--el-transition-duration-fast)}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:rgba(31, 45, 61, .11);--el-carousel-arrow-hover-background:rgba(31, 45, 61, .23);--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal,.el-carousel--vertical{overflow:hidden}.el-carousel__container{position:relative;height:300px}.el-carousel__arrow{border:none;outline:0;padding:0;margin:0;height:var(--el-carousel-arrow-size);width:var(--el-carousel-arrow-size);cursor:pointer;transition:var(--el-transition-duration);border-radius:50%;background-color:var(--el-carousel-arrow-background);color:#fff;position:absolute;top:50%;z-index:10;transform:translateY(-50%);text-align:center;font-size:var(--el-carousel-arrow-font-size);display:inline-flex;justify-content:center;align-items:center}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{position:absolute;list-style:none;margin:0;padding:0;z-index:calc(var(--el-index-normal) + 1)}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translate(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:calc(var(--el-carousel-indicator-height) + var(--el-carousel-indicator-padding-vertical) * 2);text-align:center;position:static;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--right{right:0}.el-carousel__indicators--labels{left:0;right:0;transform:none;text-align:center}.el-carousel__indicators--labels .el-carousel__button{height:auto;width:auto;padding:2px 18px;font-size:12px;color:#000}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal)}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{width:var(--el-carousel-indicator-height);height:calc(var(--el-carousel-indicator-width)/ 2)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{display:block;opacity:.48;width:var(--el-carousel-indicator-width);height:var(--el-carousel-indicator-height);background-color:#fff;border:none;outline:0;padding:0;margin:0;cursor:pointer;transition:var(--el-transition-duration)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{transform:translateY(-50%) translate(-10px);opacity:0}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{transform:translateY(-50%) translate(10px);opacity:0}.el-cascader-panel{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color)}.el-cascader-panel{display:flex;border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{min-width:180px;box-sizing:border-box;color:var(--el-cascader-menu-text-color);border-right:var(--el-cascader-menu-border)}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{position:relative;min-height:100%;margin:0;padding:6px 0;list-style:none;box-sizing:border-box}.el-cascader-menu__hover-zone{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.el-cascader-menu__empty-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;color:var(--el-cascader-color-empty)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{position:relative;display:flex;align-items:center;padding:0 30px 0 20px;height:34px;line-height:34px;outline:0}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;text-align:left;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-cascader-node>.el-checkbox{margin-right:0}.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);display:inline-block;vertical-align:middle;position:relative;font-size:var(--el-font-size-base);line-height:32px;outline:0}.el-cascader:not(.is-disabled):hover .el-input__wrapper{cursor:pointer;box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-cascader .el-input{display:flex;cursor:pointer}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis;cursor:pointer}.el-cascader .el-input .el-input__suffix-inner .el-icon{height:calc(100% - 2px)}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{transition:transform var(--el-transition-duration);font-size:14px}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color,var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader.is-disabled .el-cascader__label{z-index:calc(var(--el-index-normal) + 1);color:var(--el-disabled-text-color)}.el-cascader__dropdown{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color)}.el-cascader__dropdown{font-size:var(--el-cascader-menu-font-size);border-radius:var(--el-cascader-menu-radius)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill);border:var(--el-cascader-menu-border);box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__tags{position:absolute;left:0;right:30px;top:50%;transform:translateY(-50%);display:flex;flex-wrap:wrap;line-height:normal;text-align:left;box-sizing:border-box}.el-cascader__tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:var(--el-cascader-tag-background)}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{flex:none;background-color:var(--el-text-color-placeholder);color:var(--el-color-white)}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:var(--el-fill-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__collapse-tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{flex:none;background-color:var(--el-text-color-placeholder);color:var(--el-color-white)}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{max-height:204px;margin:0;padding:6px 0;font-size:var(--el-font-size-base);color:var(--el-cascader-menu-text-color);text-align:center}.el-cascader__suggestion-item{display:flex;justify-content:space-between;align-items:center;height:34px;padding:0 15px;text-align:left;outline:0;cursor:pointer}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{margin:10px 0;color:var(--el-cascader-color-empty)}.el-cascader__search-input{flex:1;height:24px;min-width:60px;margin:2px 0 2px 11px;padding:0;color:var(--el-cascader-menu-text-color);border:none;outline:0;box-sizing:border-box;background:0 0}.el-cascader__search-input::-moz-placeholder{color:transparent}.el-cascader__search-input:-ms-input-placeholder{color:transparent}.el-cascader__search-input::placeholder{color:transparent}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);line-height:var(--el-font-size-base);padding:7px 15px;transition:var(--el-transition-all);font-weight:700}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary)}.el-checkbox-button{position:relative;display:inline-block}.el-checkbox-button__inner{display:inline-block;line-height:1;font-weight:var(--el-checkbox-font-weight);white-space:nowrap;vertical-align:middle;cursor:pointer;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);border-left-color:transparent;color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;position:relative;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:0}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{opacity:0;outline:0;position:absolute;margin:0;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{color:var(--el-checkbox-button-checked-text-color);background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button:first-child .el-checkbox-button__inner{border-left:var(--el-border);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{padding:12px 19px;font-size:var(--el-font-size-base);border-radius:0}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{padding:5px 11px;font-size:12px;border-radius:0}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary)}.el-checkbox{color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-right:30px;height:32px}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:0 11px 0 7px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px;border-radius:var(--el-checkbox-border-radius)}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:var(--el-checkbox-checked-icon-color);height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid var(--el-checkbox-checked-icon-color);border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in 50ms;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:8px;line-height:1;font-size:var(--el-checkbox-font-size)}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-top:1px solid var(--el-collapse-border-color);border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{display:flex;align-items:center;height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);background-color:var(--el-collapse-header-bg-color);color:var(--el-collapse-header-text-color);cursor:pointer;border-bottom:1px solid var(--el-collapse-border-color);font-size:var(--el-collapse-header-font-size);font-weight:500;transition:border-bottom-color var(--el-transition-duration);outline:0}.el-collapse-item__arrow{margin:0 8px 0 auto;transition:transform var(--el-transition-duration);font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{will-change:height;background-color:var(--el-collapse-content-bg-color);overflow:hidden;box-sizing:border-box;border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item__content{padding-bottom:25px;font-size:var(--el-collapse-content-font-size);color:var(--el-collapse-content-text-color);line-height:1.7692307692}.el-collapse-item:last-child{margin-bottom:-1px}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap}.el-color-predefine__color-selector{margin:0 0 8px 8px;width:20px;height:20px;border-radius:4px;cursor:pointer}.el-color-predefine__color-selector:nth-child(10n+1){margin-left:0}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector>div{display:flex;height:100%;border-radius:3px}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background-color:red;padding:0 2px;float:right}.el-color-hue-slider__bar{position:relative;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);height:100%}.el-color-hue-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid var(--el-border-color-lighter);box-shadow:0 0 2px #0009;z-index:1}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(to bottom,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-svpanel{position:relative;width:280px;height:180px}.el-color-svpanel__black,.el-color-svpanel__white{position:absolute;top:0;left:0;right:0;bottom:0}.el-color-svpanel__white{background:linear-gradient(to right,#fff,rgba(255,255,255,0))}.el-color-svpanel__black{background:linear-gradient(to top,#000,rgba(0,0,0,0))}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{cursor:head;width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;transform:translate(-2px,-2px)}.el-color-alpha-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-size:12px 12px;background-position:0 0,6px 0,6px -6px,0 6px}.el-color-alpha-slider__bar{position:relative;background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%}.el-color-alpha-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid var(--el-border-color-lighter);box-shadow:0 0 2px #0009;z-index:1}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(to bottom,rgba(255,255,255,0) 0,#fff 100%)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{content:"";display:table;clear:both}.el-color-dropdown__btns{margin-top:12px;text-align:right}.el-color-dropdown__value{float:left;line-height:26px;font-size:12px;color:#000;width:160px}.el-color-picker{display:inline-block;position:relative;line-height:normal;outline:0}.el-color-picker:hover:not(.is-disabled) .el-color-picker__trigger{border:1px solid var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed}.el-color-picker--large{height:40px}.el-color-picker--large .el-color-picker__trigger{height:40px;width:40px}.el-color-picker--large .el-color-picker__mask{height:38px;width:38px}.el-color-picker--small{height:24px}.el-color-picker--small .el-color-picker__trigger{height:24px;width:24px}.el-color-picker--small .el-color-picker__mask{height:22px;width:22px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:scale(.8)}.el-color-picker__mask{height:30px;width:30px;border-radius:4px;position:absolute;top:1px;left:1px;z-index:1;cursor:not-allowed;background-color:#ffffffb3}.el-color-picker__trigger{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;height:32px;width:32px;padding:4px;border:1px solid var(--el-border-color);border-radius:4px;font-size:0;position:relative;cursor:pointer}.el-color-picker__color{position:relative;display:block;box-sizing:border-box;border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);width:100%;height:100%;text-align:center}.el-color-picker__color.is-alpha{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-size:12px 12px;background-position:0 0,6px 0,6px -6px,0 6px}.el-color-picker__color-inner{display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.el-color-picker .el-color-picker__empty{font-size:12px;color:var(--el-text-color-secondary)}.el-color-picker .el-color-picker__icon{display:inline-flex;justify-content:center;align-items:center;color:#fff;font-size:12px}.el-color-picker__panel{position:absolute;z-index:10;padding:6px;box-sizing:content-box;background-color:#fff;border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light)}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a:#333333}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{width:32px;height:30px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td .el-date-table-cell{height:30px;padding:3px 0;box-sizing:border-box}.el-date-table td .el-date-table-cell .el-date-table-cell__text{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;transform:translate(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{margin-left:5px;margin-right:5px;background-color:var(--el-datepicker-inrange-bg-color);border-radius:15px}.el-date-table td.selected .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:var(--el-datepicker-header-text-color)}.el-date-table td:focus{outline:0}.el-date-table th{padding:5px;color:var(--el-datepicker-header-text-color);font-weight:400;border-bottom:solid 1px var(--el-border-color-lighter)}.el-month-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;box-sizing:border-box}.el-month-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range div{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range div:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-month-table td:focus-visible{outline:0}.el-month-table td:focus-visible .cell{outline:2px solid var(--el-datepicker-active-color)}.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-year-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-year-table td .cell{width:48px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto}.el-year-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-year-table td:focus-visible{outline:0}.el-year-table td:focus-visible .cell{outline:2px solid var(--el-datepicker-active-color)}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:192px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{font-size:12px;color:var(--el-text-color-secondary);position:absolute;left:0;width:100%;z-index:var(--el-index-normal);text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{padding:0;text-align:center}.el-time-spinner__list{padding:0;margin:0;list-style:none;text-align:center}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:var(--el-text-color-regular)}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;position:relative;text-align:left}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{width:var(--el-date-editor-width);height:var(--el-input-height,var(--el-component-size))}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__icon{height:inherit;font-size:14px;color:var(--el-text-color-placeholder);float:left}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:0;display:inline-block;height:30px;line-height:30px;margin:0;padding:0;width:39%;text-align:center;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:transparent}.el-date-editor .el-range-input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input:-ms-input-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{flex:1;display:inline-flex;justify-content:center;align-items:center;height:100%;padding:0 5px;margin:0;font-size:14px;word-break:keep-all;color:var(--el-text-color-primary)}.el-date-editor .el-range__close-icon{font-size:14px;color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer}.el-date-editor .el-range__close-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{display:inline-flex;align-items:center;padding:0 10px}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{line-height:40px;font-size:14px}.el-range-editor--large .el-range-input{height:38px;line-height:38px;font-size:14px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{line-height:24px;font-size:12px}.el-range-editor--small .el-range-input{height:22px;line-height:22px;font-size:12px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input:-ms-input-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);line-height:30px}.el-picker-panel .el-time-panel{margin:5px 0;border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);padding:4px 12px;text-align:right;background-color:var(--el-bg-color-overlay);position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:var(--el-datepicker-text-color);padding-left:12px;text-align:left;outline:0;cursor:pointer}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:var(--el-datepicker-icon-color);border:0;background:0 0;cursor:pointer;outline:0;margin-top:8px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;padding-top:6px;background-color:var(--el-bg-color-overlay);overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-picker{width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:solid 1px var(--el-border-color-lighter)}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:var(--el-text-color-regular)}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{outline:0;color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-range-picker{width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:var(--el-datepicker-icon-color)}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid var(--el-datepicker-border-color)}.el-time-panel{border-radius:2px;position:relative;width:180px;left:0;z-index:var(--el-index-top);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-16px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%;border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light)}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:0;font-size:12px;color:var(--el-text-color-primary)}.el-time-panel__btn.confirm{font-weight:800;color:var(--el-timepicker-active-color,var(--el-color-primary))}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;font-size:var(--el-font-size-base);color:var(--el-text-color-primary)}.el-descriptions__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;text-align:left;font-weight:400;line-height:23px;font-size:14px}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{font-weight:700;color:var(--el-text-color-regular);background:var(--el-descriptions-item-bordered-label-background)}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{-webkit-animation:v-modal-in var(--el-transition-duration-fast) ease;animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{-webkit-animation:v-modal-out var(--el-transition-duration-fast) ease forwards;animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@-webkit-keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-in{0%{opacity:0}}@-webkit-keyframes v-modal-out{to{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:var(--el-popup-modal-opacity);background:var(--el-popup-modal-bg-color)}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:20px;--el-dialog-border-radius:var(--el-border-radius-small);position:relative;margin:var(--el-dialog-margin-top,15vh) auto 50px;background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:0!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-dialog__header{padding:var(--el-dialog-padding-primary);padding-bottom:10px;margin-right:16px}.el-dialog__headerbtn{position:absolute;top:6px;right:0;padding:0;width:54px;height:54px;background:0 0;border:none;outline:0;cursor:pointer;font-size:var(--el-message-close-size,16px)}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{line-height:var(--el-dialog-font-line-height);font-size:var(--el-dialog-title-font-size);color:var(--el-text-color-primary)}.el-dialog__body{padding:calc(var(--el-dialog-padding-primary) + 10px) var(--el-dialog-padding-primary);color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{padding:var(--el-dialog-padding-primary);padding-top:10px;text-align:right;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial;padding:25px calc(var(--el-dialog-padding-primary) + 5px) 30px}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-overlay-dialog{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.dialog-fade-enter-active{-webkit-animation:modal-fade-in var(--el-transition-duration);animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{-webkit-animation:dialog-fade-in var(--el-transition-duration);animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{-webkit-animation:modal-fade-out var(--el-transition-duration);animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{-webkit-animation:dialog-fade-out var(--el-transition-duration);animation:dialog-fade-out var(--el-transition-duration)}@-webkit-keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@-webkit-keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@-webkit-keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-divider{position:relative}.el-divider--horizontal{display:block;height:1px;width:100%;margin:24px 0;border-top:1px var(--el-border-color) var(--el-border-style)}.el-divider--vertical{display:inline-block;width:1px;height:1em;margin:0 8px;vertical-align:middle;position:relative;border-left:1px var(--el-border-color) var(--el-border-style)}.el-divider__text{position:absolute;background-color:var(--el-bg-color);padding:0 20px;font-weight:500;color:var(--el-text-color-primary);font-size:14px}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color, var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary, 20px)}.el-drawer{position:absolute;box-sizing:border-box;background-color:var(--el-drawer-bg-color);display:flex;flex-direction:column;box-shadow:var(--el-box-shadow-dark);overflow:hidden;transition:all var(--el-transition-duration)}.el-drawer .rtl,.el-drawer .ltr,.el-drawer .ttb,.el-drawer .btt{transform:translate(0)}.el-drawer__sr-focus:focus{outline:0!important}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:1rem}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{display:inline-flex;border:none;cursor:pointer;font-size:var(--el-font-size-extra-large);color:inherit;background-color:transparent;outline:0}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;padding:var(--el-drawer-padding-primary);overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.btt,.el-drawer.ttb{width:100%;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{opacity:0}.el-drawer-fade-enter-to,.el-drawer-fade-leave-from{opacity:1}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:var(--el-empty-padding)}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%;height:100%;vertical-align:top;-o-object-fit:contain;object-fit:contain}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:100%;height:100%;vertical-align:top}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-secondary)}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.el-form--label-left .el-form-item__label{justify-content:flex-start}.el-form--label-top .el-form-item{display:block}.el-form--label-top .el-form-item .el-form-item__label{display:block;height:auto;text-align:left;margin-bottom:8px;line-height:22px}.el-form--inline .el-form-item{display:inline-flex;vertical-align:middle;margin-right:32px}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-form--inline .el-input{--el-input-width:var(--el-form-inline-content-width)}.el-form--large.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:12px;line-height:22px}.el-form--default.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:8px;line-height:22px}.el-form--small.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:4px;line-height:20px}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item__label-wrap{display:flex}.el-form-item__label{display:inline-flex;justify-content:flex-end;align-items:flex-start;flex:0 0 auto;font-size:var(--el-form-label-font-size);color:var(--el-text-color-regular);height:32px;line-height:32px;padding:0 12px 0 0;box-sizing:border-box}.el-form-item__content{display:flex;flex-wrap:wrap;align-items:center;flex:1;line-height:32px;position:relative;font-size:var(--font-size);min-width:0}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;line-height:1;padding-top:2px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after{content:"*";color:var(--el-color-danger);margin-left:4px}.el-form-item.is-error .el-select-v2__wrapper.is-focused{border-color:transparent}.el-form-item.is-error .el-select-v2__wrapper,.el-form-item.is-error .el-select-v2__wrapper:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-input-group__prepend .el-input__wrapper{box-shadow:0 0 0 1px transparent inset}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-image-viewer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.el-image-viewer__btn{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;border-radius:50%;opacity:.8;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-image-viewer__btn .el-icon{font-size:inherit;cursor:pointer}.el-image-viewer__close{top:40px;right:40px;width:40px;height:40px;font-size:40px}.el-image-viewer__canvas{position:static;width:100%;height:100%;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-image-viewer__actions{left:50%;bottom:30px;transform:translate(-50%);width:282px;height:44px;padding:0 23px;background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px}.el-image-viewer__actions__inner{width:100%;height:100%;text-align:justify;cursor:default;font-size:23px;color:#fff;display:flex;align-items:center;justify-content:space-around}.el-image-viewer__prev{top:50%;transform:translateY(-50%);left:40px;width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__next{top:50%;transform:translateY(-50%);right:40px;text-indent:2px;width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__close{width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__mask{position:absolute;width:100%;height:100%;top:0;left:0;opacity:.5;background:#000}.viewer-fade-enter-active{-webkit-animation:viewer-fade-in var(--el-transition-duration);animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{-webkit-animation:viewer-fade-out var(--el-transition-duration);animation:viewer-fade-out var(--el-transition-duration)}@-webkit-keyframes viewer-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes viewer-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@-webkit-keyframes viewer-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes viewer-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-image__error,.el-image__inner,.el-image__placeholder,.el-image__wrapper{width:100%;height:100%}.el-image{position:relative;display:inline-block;overflow:hidden}.el-image__inner{vertical-align:top;opacity:1}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{position:absolute;top:0;left:0}.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{display:flex;justify-content:center;align-items:center;font-size:14px;background:var(--el-fill-color-light);color:var(--el-text-color-placeholder);vertical-align:middle}.el-image__preview{cursor:pointer}.el-input-number{position:relative;display:inline-flex;width:150px;line-height:30px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;text-align:center;line-height:1}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.el-input-number__decrease,.el-input-number__increase{display:flex;justify-content:center;align-items:center;height:auto;position:absolute;z-index:1;top:1px;bottom:1px;width:32px;background:var(--el-fill-color-light);color:var(--el-text-color-regular);cursor:pointer;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;border-left:var(--el-border)}.el-input-number__decrease{left:1px;border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border)}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{width:180px;line-height:38px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{width:40px;font-size:14px}.el-input-number--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{width:120px;line-height:22px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{width:24px;font-size:12px}.el-input-number--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{bottom:auto;left:auto;border-radius:0 var(--el-border-radius-base) 0 0;border-bottom:var(--el-border)}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;top:auto;left:auto;border-right:none;border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:var(--el-font-size-base)}.el-textarea__inner{position:relative;display:block;resize:vertical;padding:5px 11px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;color:var(--el-input-text-color,var(--el-text-color-regular));background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;-webkit-appearance:none;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));transition:var(--el-transition-box-shadow);border:none}.el-textarea__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:-ms-input-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-textarea .el-input__count{color:var(--el-color-info);background:var(--el-fill-color-blank);position:absolute;font-size:12px;line-height:14px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%}.el-input{--el-input-height:var(--el-component-size);position:relative;font-size:var(--el-font-size-base);display:inline-flex;width:var(--el-input-width);line-height:var(--el-input-height);box-sizing:border-box;vertical-align:middle}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--el-text-color-disabled)}.el-input::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);font-size:14px;cursor:pointer}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:var(--el-color-info);font-size:12px}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);line-height:initial;display:inline-block;padding-left:8px}.el-input__wrapper{display:inline-flex;flex-grow:1;align-items:center;justify-content:center;padding:1px 11px;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));transition:var(--el-transition-box-shadow);transform:translateZ(0);box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px);width:100%;flex-grow:1;-webkit-appearance:none;color:var(--el-input-text-color,var(--el-text-color-regular));font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);padding:0;outline:0;border:none;background:0 0;box-sizing:border-box}.el-input__inner:focus{outline:0}.el-input__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner:-ms-input-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__prefix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__prefix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__suffix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{height:inherit;line-height:inherit;display:flex;justify-content:center;align-items:center;transition:all var(--el-transition-duration);margin-left:8px}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color,) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__inner:-ms-input-placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{display:inline-flex;width:100%;align-items:stretch}.el-input-group__append,.el-input-group__prepend{background-color:var(--el-fill-color-light);color:var(--el-color-info);position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:100%;border-radius:var(--el-input-border-radius);padding:0 20px;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-input__wrapper,.el-input-group__append div.el-select:hover .el-input__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-input__wrapper,.el-input-group__prepend div.el-select:hover .el-input__wrapper{border-color:transparent;background-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__wrapper{box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important;z-index:2}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__wrapper:focus{outline:0;z-index:2;box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__wrapper{z-index:1;box-shadow:1px 0 0 0 var(--el-input-hover-border-color) inset,1px 0 0 0 var(--el-input-hover-border-color),0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-input-group--append>.el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__wrapper{z-index:2;box-shadow:-1px 0 0 0 var(--el-input-focus-border-color),-1px 0 0 0 var(--el-input-focus-border-color) inset,0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__wrapper{z-index:1;box-shadow:-1px 0 0 0 var(--el-input-hover-border-color),-1px 0 0 0 var(--el-input-hover-border-color) inset,0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder)}.el-link{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;vertical-align:middle;position:relative;text-decoration:none;outline:0;cursor:pointer;padding:0;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);color:var(--el-link-text-color)}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link.is-underline:hover:after{content:"";position:absolute;left:0;right:0;height:0;bottom:0;border-bottom:1px solid var(--el-link-hover-text-color)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link.el-link--default:after{border-color:var(--el-link-hover-text-color)}.el-link__inner{display:inline-flex;justify-content:center;align-items:center}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--primary:after{border-color:var(--el-link-text-color)}.el-link.el-link--primary.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--success:after{border-color:var(--el-link-text-color)}.el-link.el-link--success.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--warning:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--danger:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--error:after{border-color:var(--el-link-text-color)}.el-link.el-link--error.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.el-link--info:after{border-color:var(--el-link-text-color)}.el-link.el-link--info.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:15px}.el-message-box{display:inline-block;max-width:var(--el-messagebox-width);width:100%;padding-bottom:10px;vertical-align:middle;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);border:1px solid var(--el-border-color-lighter);font-size:var(--el-messagebox-font-size);box-shadow:var(--el-box-shadow-light);text-align:left;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box}.el-message-box:focus{outline:0!important}.el-overlay.is-message-box .el-overlay-message-box{text-align:center;position:fixed;top:0;right:0;bottom:0;left:0;padding:16px;overflow:auto}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-message-box__header{position:relative;padding:var(--el-messagebox-padding-primary);padding-bottom:10px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:var(--el-messagebox-font-size);line-height:1;color:var(--el-messagebox-title-color)}.el-message-box__headerbtn{position:absolute;top:var(--el-messagebox-padding-primary);right:var(--el-messagebox-padding-primary);padding:0;border:none;outline:0;background:0 0;font-size:var(--el-message-close-size,16px);cursor:pointer}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{padding:10px var(--el-messagebox-padding-primary);color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{position:relative}.el-message-box__input{padding-top:15px}.el-message-box__input div.invalid>input{border-color:var(--el-color-error)}.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{position:absolute;top:50%;transform:translateY(-50%);font-size:24px!important}.el-message-box__status:before{padding-left:1px}.el-message-box__status.el-icon{position:absolute}.el-message-box__status+.el-message-box__message{padding-left:36px;padding-right:12px;word-break:break-word}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:24px}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);min-height:18px;margin-top:2px}.el-message-box__btns{padding:5px 15px 0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{flex-direction:row-reverse}.el-message-box--center .el-message-box__title{position:relative;display:flex;align-items:center;justify-content:center}.el-message-box--center .el-message-box__status{position:relative;top:auto;padding-right:5px;text-align:center;transform:translateY(-1px)}.el-message-box--center .el-message-box__message{margin-left:0}.el-message-box--center .el-message-box__btns{justify-content:center}.el-message-box--center .el-message-box__content{padding-left:calc(var(--el-messagebox-padding-primary) + 12px);padding-right:calc(var(--el-messagebox-padding-primary) + 12px);text-align:center}.fade-in-linear-enter-active .el-overlay-message-box{-webkit-animation:msgbox-fade-in var(--el-transition-duration);animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@-webkit-keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@-webkit-keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:15px 19px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary)}.el-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;max-width:calc(100% - 32px);box-sizing:border-box;border-radius:var(--el-border-radius-base);border-width:var(--el-border-width);border-style:var(--el-border-style);border-color:var(--el-message-border-color);position:fixed;left:50%;top:20px;transform:translate(-50%);background-color:var(--el-message-bg-color);transition:opacity var(--el-transition-duration),transform .4s,top .4s;padding:var(--el-message-padding);display:flex;align-items:center}.el-message.is-center{justify-content:center}.el-message.is-closable .el-message__content{padding-right:31px}.el-message p{margin:0}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:anywhere}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:anywhere}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:anywhere}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:anywhere}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message__icon{margin-right:10px}.el-message .el-message__badge{position:absolute;top:-8px;right:-8px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{position:absolute;top:50%;right:19px;transform:translateY(-50%);cursor:pointer;color:var(--el-message-close-icon-color);font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size, 16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular)}.el-notification{display:flex;width:var(--el-notification-width);padding:var(--el-notification-padding);border-radius:var(--el-notification-radius);box-sizing:border-box;border:1px solid var(--el-notification-border-color);position:fixed;background-color:var(--el-bg-color-overlay);box-shadow:var(--el-notification-shadow);transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);overflow-wrap:anywhere;overflow:hidden;z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right)}.el-notification__title{font-weight:700;font-size:var(--el-notification-title-font-size);line-height:var(--el-notification-icon-size);color:var(--el-notification-title-color);margin:0}.el-notification__content{font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0;color:var(--el-notification-content-color);text-align:justify}.el-notification__content p{margin:0}.el-notification .el-notification__icon{height:var(--el-notification-icon-size);width:var(--el-notification-icon-size);font-size:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{position:absolute;top:18px;right:15px;cursor:pointer;color:var(--el-notification-close-color);font-size:var(--el-notification-close-font-size)}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}.el-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;height:100%;background-color:var(--el-overlay-color-lighter);overflow:auto}.el-overlay .el-overlay-root{height:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{display:flex;align-items:center;justify-content:space-between;line-height:24px}.el-page-header__left{display:flex;align-items:center;margin-right:40px;position:relative}.el-page-header__back{display:flex;align-items:center;cursor:pointer}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{font-size:16px;margin-right:10px;display:flex;align-items:center}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{font-size:18px;color:var(--el-text-color-primary)}.el-page-header__breadcrumb{margin-bottom:16px}.el-pagination{--el-pagination-font-size:14px;--el-pagination-bg-color:var(--el-fill-color-blank);--el-pagination-text-color:var(--el-text-color-primary);--el-pagination-border-radius:2px;--el-pagination-button-color:var(--el-text-color-primary);--el-pagination-button-width:32px;--el-pagination-button-height:32px;--el-pagination-button-disabled-color:var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color:var(--el-fill-color-blank);--el-pagination-button-bg-color:var(--el-fill-color);--el-pagination-hover-color:var(--el-color-primary);--el-pagination-font-size-small:12px;--el-pagination-button-width-small:24px;--el-pagination-button-height-small:24px;--el-pagination-item-gap:16px;white-space:nowrap;color:var(--el-pagination-text-color);font-size:var(--el-pagination-font-size);font-weight:400;display:flex;align-items:center}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield}.el-pagination .el-select .el-input{width:128px}.el-pagination button{display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);padding:0 4px;border:none;border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box}.el-pagination button *{pointer-events:none}.el-pagination button:focus{outline:0}.el-pagination button:hover{color:var(--el-pagination-hover-color)}.el-pagination button.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pagination button.is-active.is-disabled{font-weight:700;color:var(--el-text-color-secondary)}.el-pagination button.is-disabled,.el-pagination button:disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pagination button:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination>.is-first{margin-left:0!important}.el-pagination>.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{margin-left:var(--el-pagination-item-gap);font-weight:400;color:var(--el-text-color-regular)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{display:flex;align-items:center;margin-left:var(--el-pagination-item-gap);font-weight:400;color:var(--el-text-color-regular)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{text-align:center;box-sizing:border-box}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{flex:1;display:flex;align-items:center;justify-content:flex-end}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{margin:0 4px;background-color:var(--el-pagination-button-bg-color)}.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .el-pager li.is-disabled,.el-pagination.is-background .el-pager li:disabled{color:var(--el-text-color-placeholder);background-color:var(--el-disabled-bg-color)}.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active{color:var(--el-text-color-secondary);background-color:var(--el-fill-color-dark)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li{height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);font-size:var(--el-pagination-font-size-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select .el-input{width:100px}.el-pager{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;list-style:none;font-size:0;padding:0;margin:0;display:flex;align-items:center}.el-pager li{display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);padding:0 4px;border:none;border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:0}.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{font-weight:700;color:var(--el-text-color-secondary)}.el-pager li.is-disabled,.el-pager li:disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm__main{display:flex;align-items:center}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{text-align:right;margin-top:8px}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);min-width:150px;border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;text-align:justify;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);word-break:break-all;box-sizing:border-box}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.el-progress{position:relative;line-height:1;display:flex;align-items:center}.el-progress__text{font-size:14px;color:var(--el-text-color-regular);margin-left:5px;min-width:50px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{flex-grow:1;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:var(--el-border-color-lighter);overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:var(--el-color-primary);text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{transform:translateZ(0);-webkit-animation:indeterminate 3s infinite;animation:indeterminate 3s infinite}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{-webkit-animation:striped-flow 3s linear infinite;animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@-webkit-keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@-webkit-keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@-webkit-keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light)}.el-radio-button{position:relative;display:inline-block;outline:0}.el-radio-button__inner{display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));border-left:0;color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;position:relative;cursor:pointer;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:0}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-left:var(--el-border);border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button__original-radio{opacity:0;outline:0;position:absolute;z-index:-1}.el-radio-button__original-radio:checked+.el-radio-button__inner{color:var(--el-radio-button-checked-text-color,var(--el-color-white));background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary))}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2;border-radius:var(--el-border-radius-base);box-shadow:none}.el-radio-button__original-radio:disabled+.el-radio-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{padding:12px 19px;font-size:var(--el-font-size-base);border-radius:0}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{padding:5px 11px;font-size:12px;border-radius:0}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-group{display:inline-flex;align-items:center;flex-wrap:wrap;font-size:0}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary)}.el-radio{color:var(--el-radio-text-color);font-weight:var(--el-radio-font-weight);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;outline:0;font-size:var(--el-font-size-base);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-right:32px;height:32px}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:var(--el-border-color-lighter)}.el-radio.is-bordered.el-radio--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{padding:0 11px 0 7px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:var(--el-color-primary);background:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);width:var(--el-radio-input-width);height:var(--el-radio-input-height);background-color:var(--el-radio-input-bg-color);position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{width:4px;height:4px;border-radius:var(--el-radio-input-border-radius);background-color:var(--el-color-white);content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:0;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio__original:focus-visible+.el-radio__inner{outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px;border-radius:var(--el-radio-input-border-radius)}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{width:12px;height:12px}.el-rate{--el-rate-height:20px;--el-rate-font-size:var(--el-font-size-base);--el-rate-icon-size:18px;--el-rate-icon-margin:6px;--el-rate-void-color:var(--el-border-color-darker);--el-rate-fill-color:#f7ba2a;--el-rate-disabled-void-color:var(--el-fill-color);--el-rate-text-color:var(--el-text-color-primary)}.el-rate{display:inline-flex;align-items:center;height:32px}.el-rate:active,.el-rate:focus{outline:0}.el-rate__item{cursor:pointer;display:inline-block;position:relative;font-size:0;vertical-align:middle;color:var(--el-rate-void-color);line-height:normal}.el-rate .el-rate__icon{position:relative;display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{position:absolute;left:0;top:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{position:absolute;top:0;left:0;display:inline-block;overflow:hidden;color:var(--el-rate-fill-color)}.el-rate__text{font-size:var(--el-rate-font-size);vertical-align:middle;color:var(--el-rate-text-color)}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{cursor:auto;color:var(--el-rate-disabled-void-color)}.el-result{--el-result-padding:40px 30px;--el-result-icon-font-size:64px;--el-result-title-font-size:20px;--el-result-title-margin-top:20px;--el-result-subtitle-margin-top:10px;--el-result-extra-margin-top:30px}.el-result{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:var(--el-result-padding)}.el-result__icon svg{width:var(--el-result-icon-font-size);height:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{margin:0;font-size:var(--el-result-title-font-size);color:var(--el-text-color-primary);line-height:1.3}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);line-height:1.3}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color:var(--el-color-primary);color:var(--el-result-color)}.el-result .icon-success{--el-result-color:var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color:var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color:var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-select-dropdown__option-item.is-selected:not(.is-multiple).is-disabled{color:var(--el-text-color-disabled)}.el-select-dropdown__option-item.is-selected:not(.is-multiple).is-disabled:after{background-color:var(--el-text-color-disabled)}.el-select-dropdown__option-item:hover:not(.hover){background-color:transparent}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-disabled.is-selected{color:var(--el-text-color-disabled)}.el-select-dropdown__list{list-style:none;margin:6px 0!important;padding:0!important;box-sizing:border-box}.el-select-dropdown__option-item{font-size:var(--el-select-font-size);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--el-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__option-item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown__option-item.is-disabled:hover{background-color:var(--el-bg-color)}.el-select-dropdown__option-item.is-selected{background-color:var(--el-fill-color-light);font-weight:700}.el-select-dropdown__option-item.is-selected:not(.is-multiple){color:var(--el-color-primary)}.el-select-dropdown__option-item.hover{background-color:var(--el-fill-color-light)!important}.el-select-dropdown__option-item:hover{background-color:var(--el-fill-color-light)}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay)}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected .el-icon{position:absolute;right:20px;top:0;height:inherit;font-size:12px}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected .el-icon svg{height:inherit;vertical-align:middle}.el-select-group{margin:0;padding:0}.el-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.el-select-group__wrap:not(:last-of-type){padding-bottom:24px}.el-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:var(--el-border-color-light)}.el-select-group__split-dash{position:absolute;left:20px;right:20px;height:1px;background:var(--el-border-color-light)}.el-select-group__title{padding-left:20px;font-size:12px;color:var(--el-color-info);line-height:30px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select-v2{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px}.el-select-v2{display:inline-block;position:relative;vertical-align:middle;font-size:14px}.el-select-v2__wrapper{display:flex;align-items:center;flex-wrap:wrap;position:relative;box-sizing:border-box;cursor:pointer;padding:1px 30px 1px 0;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);background-color:var(--el-fill-color-blank);transition:var(--el-transition-duration)}.el-select-v2__wrapper:hover{border-color:var(--el-text-color-placeholder)}.el-select-v2__wrapper.is-filterable{cursor:text}.el-select-v2__wrapper.is-focused{border-color:var(--el-color-primary)}.el-select-v2__wrapper.is-hovering:not(.is-focused){border-color:var(--el-border-color-hover)}.el-select-v2__wrapper.is-disabled{cursor:not-allowed;background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);border-color:var(--el-select-disabled-border)}.el-select-v2__wrapper.is-disabled:hover{border-color:var(--el-select-disabled-border)}.el-select-v2__wrapper.is-disabled.is-focus{border-color:var(--el-input-focus-border-color)}.el-select-v2__wrapper.is-disabled .is-transparent{opacity:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-select-v2__wrapper.is-disabled .el-select-v2__caret,.el-select-v2__wrapper.is-disabled .el-select-v2__combobox-input{cursor:not-allowed}.el-select-v2__wrapper .el-select-v2__input-wrapper{box-sizing:border-box;position:relative;-webkit-margin-start:12px;margin-inline-start:12px;max-width:100%;overflow:hidden}.el-select-v2__wrapper,.el-select-v2__wrapper .el-select-v2__input-wrapper{line-height:32px}.el-select-v2__wrapper .el-select-v2__input-wrapper input{--el-input-inner-height:calc(var(--el-component-size, 32px) - 8px);height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);min-width:4px;width:100%;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:none;margin:2px 0;outline:0;padding:0}.el-select-v2 .el-select-v2__tags-text{display:inline-block;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select-v2__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:14px}.el-select-v2__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select-v2__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select-v2__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-select-v2__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select-v2__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-select-v2__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select-v2--large .el-select-v2__wrapper .el-select-v2__combobox-input{height:32px}.el-select-v2--large .el-select-v2__caret,.el-select-v2--large .el-select-v2__suffix{height:40px}.el-select-v2--large .el-select-v2__placeholder{font-size:14px;line-height:40px}.el-select-v2--small .el-select-v2__wrapper .el-select-v2__combobox-input{height:16px}.el-select-v2--small .el-select-v2__caret,.el-select-v2--small .el-select-v2__suffix{height:24px}.el-select-v2--small .el-select-v2__placeholder{font-size:12px;line-height:24px}.el-select-v2 .el-select-v2__selection>span{display:inline-block}.el-select-v2:hover .el-select-v2__combobox-input{border-color:var(--el-select-border-color-hover)}.el-select-v2 .el-select__selection-text{text-overflow:ellipsis;display:inline-block;overflow-x:hidden;vertical-align:bottom}.el-select-v2 .el-select-v2__combobox-input{padding-right:35px;display:block;color:var(--el-text-color-regular)}.el-select-v2 .el-select-v2__combobox-input:focus{border-color:var(--el-select-input-focus-border-color)}.el-select-v2__input{border:none;outline:0;padding:0;margin-left:15px;color:var(--el-select-multiple-input-color);font-size:var(--el-select-font-size);-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px}.el-select-v2__input.is-small{height:14px}.el-select-v2__close{cursor:pointer;position:absolute;top:8px;z-index:var(--el-index-top);right:25px;color:var(--el-select-input-color);line-height:18px;font-size:var(--el-select-input-font-size)}.el-select-v2__close:hover{color:var(--el-select-close-hover-color)}.el-select-v2__suffix{display:inline-flex;position:absolute;right:12px;height:32px;top:50%;transform:translateY(-50%);color:var(--el-input-icon-color,var(--el-text-color-placeholder))}.el-select-v2__suffix .el-input__icon{height:inherit}.el-select-v2__suffix .el-input__icon:not(:first-child){margin-left:8px}.el-select-v2__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:var(--el-transition-duration);transform:rotate(180deg);cursor:pointer}.el-select-v2__caret.is-reverse{transform:rotate(0)}.el-select-v2__caret.is-show-close{font-size:var(--el-select-font-size);text-align:center;transform:rotate(180deg);border-radius:var(--el-border-radius-circle);color:var(--el-select-input-color);transition:var(--el-transition-color)}.el-select-v2__caret.is-show-close:hover{color:var(--el-select-close-hover-color)}.el-select-v2__caret.el-icon{height:inherit}.el-select-v2__caret.el-icon svg{vertical-align:middle}.el-select-v2__selection{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap;width:100%}.el-select-v2__input-calculator{left:0;position:absolute;top:0;visibility:hidden;white-space:pre;z-index:999}.el-select-v2__selected-item{line-height:inherit;height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-wrap:wrap}.el-select-v2__placeholder{position:absolute;top:50%;transform:translateY(-50%);-webkit-margin-start:12px;margin-inline-start:12px;width:calc(100% - 52px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--el-input-text-color,var(--el-text-color-regular))}.el-select-v2__placeholder.is-transparent{color:var(--el-text-color-placeholder)}.el-select-v2 .el-select-v2__selection .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 0 2px 6px;background-color:var(--el-fill-color)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;color:var(--el-color-white)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select-v2.el-select-v2--small .el-select-v2__selection .el-tag{margin:1px 0 1px 6px;height:18px}.el-select-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:var(--el-fill-color-light)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.is-disabled:after{background-color:var(--el-text-color-disabled)}.el-select-dropdown .el-select-dropdown__option-item.is-selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown .el-select-dropdown__item.is-disabled:hover{background-color:unset}.el-select-dropdown .el-select-dropdown__item.is-disabled.selected{color:var(--el-text-color-disabled)}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:var(--el-select-font-size)}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px}.el-select{display:inline-block;position:relative;vertical-align:middle;line-height:32px}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select .el-select-tags-wrapper.has-prefix{margin-left:6px}.el-select--large{line-height:40px}.el-select--large .el-select-tags-wrapper.has-prefix{margin-left:8px}.el-select--small{line-height:24px}.el-select--small .el-select-tags-wrapper.has-prefix{margin-left:4px}.el-select .el-select__tags>span{display:inline-block}.el-select:hover:not(.el-select--disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-select-border-color-hover) inset}.el-select .el-select__tags-text{display:inline-block;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select .el-input__wrapper{cursor:pointer}.el-select .el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select .el-input__inner{cursor:pointer}.el-select .el-input{display:flex}.el-select .el-input .el-select__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:transform var(--el-transition-duration);transform:rotate(0);cursor:pointer}.el-select .el-input .el-select__caret.is-reverse{transform:rotate(-180deg)}.el-select .el-input .el-select__caret.is-show-close{font-size:var(--el-select-font-size);text-align:center;transform:rotate(0);border-radius:var(--el-border-radius-circle);color:var(--el-select-input-color);transition:var(--el-transition-color)}.el-select .el-input .el-select__caret.is-show-close:hover{color:var(--el-select-close-hover-color)}.el-select .el-input .el-select__caret.el-icon{position:relative;height:inherit;z-index:2}.el-select .el-input.is-disabled .el-input__wrapper{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select .el-input.is-disabled .el-input__inner,.el-select .el-input.is-disabled .el-select__caret{cursor:not-allowed}.el-select .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select__input{border:none;outline:0;padding:0;margin-left:15px;color:var(--el-select-multiple-input-color);font-size:var(--el-select-font-size);-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__input.is-disabled{cursor:not-allowed}.el-select__input--iOS{position:absolute;left:0;top:0;z-index:6}.el-select__input.is-small{height:14px}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:var(--el-index-top);right:25px;color:var(--el-select-input-color);line-height:18px;font-size:var(--el-select-input-font-size)}.el-select__close:hover{color:var(--el-select-close-hover-color)}.el-select__tags{position:absolute;line-height:normal;top:50%;transform:translateY(-50%);white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap;cursor:pointer}.el-select__tags .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.el-select__tags .el-tag:last-child{margin-right:0}.el-select__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;top:0;color:#fff}.el-select__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select__tags .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select__tags .el-tag--info{background-color:var(--el-fill-color)}.el-select__tags.is-disabled{cursor:not-allowed}.el-select__collapse-tags{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap;cursor:pointer}.el-select__collapse-tags .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.el-select__collapse-tags .el-tag:last-child{margin-right:0}.el-select__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;top:0;color:#fff}.el-select__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select__collapse-tags .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select__collapse-tags .el-tag--info{background-color:var(--el-fill-color)}.el-select__collapse-tag{line-height:inherit;height:inherit;display:flex}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);display:inline-block;height:16px;border-radius:var(--el-border-radius-base);width:100%}.el-skeleton__circle{border-radius:50%;width:var(--el-skeleton-circle-size);height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size)}.el-skeleton__button{height:40px;width:64px;border-radius:4px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{width:100%;height:var(--el-font-size-small)}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{width:unset;display:flex;align-items:center;justify-content:center;border-radius:0}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:22%;height:22%}.el-skeleton{--el-skeleton-color:var(--el-fill-color);--el-skeleton-to-color:var(--el-fill-color-darker)}@-webkit-keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{height:16px;margin-top:16px;background:var(--el-skeleton-color)}.el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%;-webkit-animation:el-skeleton-loading 1.4s ease infinite;animation:el-skeleton-loading 1.4s ease infinite}.el-slider{--el-slider-main-bg-color:var(--el-color-primary);--el-slider-runway-bg-color:var(--el-border-color-light);--el-slider-stop-bg-color:var(--el-color-white);--el-slider-disabled-color:var(--el-text-color-placeholder);--el-slider-border-radius:3px;--el-slider-height:6px;--el-slider-button-size:20px;--el-slider-button-wrapper-size:36px;--el-slider-button-wrapper-offset:-15px}.el-slider{width:100%;height:32px;display:flex;align-items:center}.el-slider__runway{flex:1;height:var(--el-slider-height);background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);position:relative;cursor:pointer}.el-slider__runway.show-input{margin-right:30px;width:auto}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper:hover,.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{transform:scale(1)}.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover,.el-slider__runway.is-disabled .el-slider__button.dragging{cursor:not-allowed}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{height:var(--el-slider-height);background-color:var(--el-slider-main-bg-color);border-top-left-radius:var(--el-slider-border-radius);border-bottom-left-radius:var(--el-slider-border-radius);position:absolute}.el-slider__button-wrapper{height:var(--el-slider-button-wrapper-size);width:var(--el-slider-button-wrapper-size);position:absolute;z-index:1;top:var(--el-slider-button-wrapper-offset);transform:translate(-50%);background-color:transparent;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:normal;outline:0}.el-slider__button-wrapper:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button-wrapper.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__button{display:inline-block;width:var(--el-slider-button-size);height:var(--el-slider-button-size);vertical-align:middle;border:solid 2px var(--el-slider-main-bg-color);background-color:var(--el-color-white);border-radius:50%;box-sizing:border-box;transition:var(--el-transition-duration-fast);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__stop{position:absolute;height:var(--el-slider-height);width:var(--el-slider-height);border-radius:var(--el-border-radius-circle);background-color:var(--el-slider-stop-bg-color);transform:translate(-50%)}.el-slider__marks{top:0;left:12px;width:18px;height:100%}.el-slider__marks-text{position:absolute;transform:translate(-50%);font-size:14px;color:var(--el-color-info);margin-top:15px;white-space:pre}.el-slider.is-vertical{position:relative;display:inline-flex;width:auto;height:100%;flex:0}.el-slider.is-vertical .el-slider__runway{width:var(--el-slider-height);height:100%;margin:0 16px}.el-slider.is-vertical .el-slider__bar{width:var(--el-slider-height);height:auto;border-radius:0 0 3px 3px}.el-slider.is-vertical .el-slider__button-wrapper{top:auto;left:var(--el-slider-button-wrapper-offset);transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{margin-top:0;left:15px;transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-space{display:inline-flex;vertical-align:top}.el-space__item{display:flex;flex-wrap:wrap}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}.el-time-spinner{width:100%;white-space:nowrap}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite;width:50px;height:50px}.el-spinner-inner .path{stroke:var(--el-border-color-lighter);stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite}@-webkit-keyframes rotate{to{transform:rotate(360deg)}}@keyframes rotate{to{transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-step{position:relative;flex-shrink:1}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-shrink:0;flex-grow:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{color:var(--el-text-color-primary);border-color:var(--el-text-color-primary)}.el-step__head.is-wait{color:var(--el-text-color-placeholder);border-color:var(--el-text-color-placeholder)}.el-step__head.is-success{color:var(--el-color-success);border-color:var(--el-color-success)}.el-step__head.is-error{color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-step__head.is-finish{color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-step__icon{position:relative;z-index:1;display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;box-sizing:border-box;background:var(--el-bg-color);transition:.15s ease-out}.el-step__icon.is-text{border-radius:50%;border:2px solid;border-color:inherit}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-align:center;font-weight:700;line-height:1;color:inherit}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{position:absolute;border-color:inherit;background-color:var(--el-text-color-placeholder)}.el-step__line-inner{display:block;border-width:1px;border-style:solid;border-color:inherit;transition:.15s ease-out;box-sizing:border-box;width:0;height:0}.el-step__main{white-space:normal;text-align:left}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{font-weight:700;color:var(--el-text-color-primary)}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{padding-right:10%;margin-top:-5px;font-size:12px;line-height:20px;font-weight:400}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;top:11px;left:0;right:0}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{padding-left:10px;flex-grow:1}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{width:2px;top:0;bottom:0;left:11px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{display:flex;align-items:center}.el-step.is-simple .el-step__head{width:auto;font-size:0;padding-right:10px}.el-step.is-simple .el-step__icon{background:0 0;width:16px;height:16px;font-size:12px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{position:relative;display:flex;align-items:stretch;flex-grow:1}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;word-break:break-all}.el-step.is-simple .el-step__arrow{flex-grow:1;display:flex;align-items:center;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{content:"";display:inline-block;position:absolute;height:15px;width:1px;background:var(--el-text-color-placeholder)}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{display:flex}.el-steps--simple{padding:13px 8%;border-radius:4px;background:var(--el-fill-color-light)}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{height:100%;flex-flow:column}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color)}.el-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:20px;height:32px;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:var(--el-transition-duration-fast);height:20px;display:inline-block;font-size:14px;font-weight:500;cursor:pointer;vertical-align:middle;color:var(--el-text-color-primary)}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{line-height:1;font-size:14px;display:inline-block}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{display:inline-flex;position:relative;align-items:center;min-width:40px;height:20px;border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));outline:0;border-radius:10px;box-sizing:border-box;background:var(--el-switch-off-color);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{width:100%;transition:all var(--el-transition-duration);height:16px;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:0 4px 0 18px}.el-switch__core .el-switch__inner .is-icon,.el-switch__core .el-switch__inner .is-text{font-size:12px;color:var(--el-color-white);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-switch__core .el-switch__action{position:absolute;left:1px;border-radius:var(--el-border-radius-circle);transition:all var(--el-transition-duration);width:16px;height:16px;background-color:var(--el-color-white);display:flex;justify-content:center;align-items:center;color:var(--el-switch-off-color)}.el-switch.is-checked .el-switch__core{border-color:var(--el-switch-border-color,var(--el-switch-on-color));background-color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__action{left:calc(100% - 17px);color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;line-height:24px;height:40px}.el-switch--large .el-switch__label{height:24px;font-size:14px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{min-width:50px;height:24px;border-radius:12px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{width:20px;height:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;line-height:16px;height:24px}.el-switch--small .el-switch__label{height:16px;font-size:12px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{min-width:30px;height:16px;border-radius:8px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{width:12px;height:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:solid 1px var(--el-border-color-lighter);border-radius:2px;background-color:#fff;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:var(--el-font-size-base)}.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{background:0 0;border:none;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button:focus{outline:0}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:flex;align-items:center;margin-right:5px;margin-bottom:12px;margin-left:5px;height:unset}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-bg-color);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0, 0, 0, .15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0, 0, 0, .15)}.el-table{position:relative;overflow:hidden;box-sizing:border-box;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:100%;max-width:100%;background-color:var(--el-table-bg-color);font-size:14px;color:var(--el-table-text-color)}.el-table__inner-wrapper{position:relative;display:flex;flex-direction:column;height:100%}.el-table__inner-wrapper:before{left:0;bottom:0;width:100%;height:1px}.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell,.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell{border-bottom-color:transparent}.el-table__empty-block{position:-webkit-sticky;position:sticky;left:0;min-height:60px;text-align:center;width:100%;display:flex;justify-content:center;align-items:center}.el-table__empty-text{line-height:60px;width:50%;color:var(--el-text-color-secondary)}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-table__expand-icon{position:relative;cursor:pointer;color:var(--el-text-color-regular);font-size:12px;transition:transform var(--el-transition-duration-fast) ease-in-out;height:20px}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table thead{color:var(--el-table-header-text-color);font-weight:500}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{padding:8px 0;min-width:0;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left;z-index:1}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;line-height:23px;padding:0 12px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:14px}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table__footer-wrapper{border-top:var(--el-table-border)}.el-table--border .el-table__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{content:"";position:absolute;background-color:var(--el-table-border-color);z-index:3}.el-table--border .el-table__inner-wrapper:after{left:0;top:0;width:100%;height:1px}.el-table--border:before{top:-1px;left:0;width:1px;height:100%}.el-table--border:after{top:-1px;right:0;width:1px;height:100%}.el-table--border .el-table__inner-wrapper{border-right:none;border-bottom:none}.el-table--border .el-table__footer-wrapper{position:relative;flex-shrink:0}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right,.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{position:-webkit-sticky!important;position:sticky!important;z-index:2;background:var(--el-bg-color)}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{content:"";position:absolute;top:0;width:10px;bottom:-1px;overflow-x:hidden;overflow-y:hidden;box-shadow:none;touch-action:none;pointer-events:none}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px;box-shadow:none}.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch,.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch{position:-webkit-sticky!important;position:sticky!important;z-index:2;background:#fff;right:0}.el-table__header-wrapper{flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body,.el-table__footer,.el-table__header{table-layout:fixed;border-collapse:separate}.el-table__footer-wrapper,.el-table__header-wrapper{overflow:hidden}.el-table__footer-wrapper tbody td.el-table__cell,.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__body-wrapper .el-table-column--selection>.cell,.el-table__header-wrapper .el-table-column--selection>.cell{display:inline-flex;align-items:center;height:23px}.el-table__body-wrapper .el-table-column--selection .el-checkbox,.el-table__header-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{overflow:hidden;position:relative;flex:1}.el-table__body-wrapper .el-scrollbar__bar{z-index:2}.el-table .caret-wrapper{display:inline-flex;flex-direction:column;align-items:center;height:14px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:solid 5px transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:var(--el-table-border);z-index:10}.el-table__column-filter-trigger{display:inline-block;cursor:pointer}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{top:0;left:0;width:1px;height:100%;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-bottom-patch{left:0;height:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-right-patch{top:0;height:100%;width:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:12px;line-height:12px;height:12px;text-align:center;margin-right:8px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-bg-color);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0, 0, 0, .15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0, 0, 0, .15)}.el-table-v2{font-size:14px}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{display:flex;flex-direction:column-reverse;position:absolute;overflow:hidden;top:0;background-color:var(--el-bg-color);left:0}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{display:flex;flex-direction:column-reverse;position:absolute;overflow:hidden;top:0;background-color:var(--el-bg-color);left:0;box-shadow:2px 0 4px #0000000f}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__horizontal,.el-table-v2__left .el-vl__vertical{z-index:-1}.el-table-v2__right{display:flex;flex-direction:column-reverse;position:absolute;overflow:hidden;top:0;background-color:var(--el-bg-color);right:0;box-shadow:-2px 0 4px #0000000f}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__horizontal,.el-table-v2__right .el-vl__vertical{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{-webkit-padding-end:var(--el-table-scrollbar-size);padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{position:relative;overflow:hidden}.el-table-v2__footer{position:absolute;left:0;right:0;bottom:0;overflow:hidden}.el-table-v2__empty{position:absolute;left:0}.el-table-v2__overlay{position:absolute;left:0;right:0;top:0;bottom:0;z-index:9999}.el-table-v2__header-row{display:flex;border-bottom:var(--el-table-border)}.el-table-v2__header-cell{display:flex;align-items:center;padding:0 8px;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;background-color:var(--el-table-header-bg-color);color:var(--el-table-header-text-color);font-weight:700}.el-table-v2__header-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__header-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{transition:opacity,display var(--el-transition-duration);opacity:.6;display:none}.el-table-v2__sort-icon.is-sorting{display:block;opacity:1}.el-table-v2__row{border-bottom:var(--el-table-border);display:flex;align-items:center;transition:background-color var(--el-transition-duration)}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{height:100%;overflow:hidden;display:flex;align-items:center;padding:0 8px}.el-table-v2__row-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__row-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__expand-icon{margin:0 4px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-table-v2__expand-icon svg{transition:transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-table-v2.is-dynamic .el-table-v2__row{overflow:hidden;align-items:stretch}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{word-break:break-all}.el-tabs{--el-tabs-header-height:40px}.el-tabs__header{padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:2px;background-color:var(--el-color-primary);z-index:1;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);list-style:none}.el-tabs__new-tab{display:flex;align-items:center;justify-content:center;float:right;border:1px solid var(--el-border-color);height:20px;width:20px;line-height:20px;margin:10px 0 10px 10px;border-radius:3px;text-align:center;font-size:12px;color:var(--el-text-color-primary);cursor:pointer;transition:all .15s}.el-tabs__new-tab .is-icon-plus{height:inherit;width:inherit;transform:scale(.8)}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:var(--el-border-color-light);z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-scrollable{padding:0 20px;box-sizing:border-box}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:var(--el-text-color-secondary);width:20px;text-align:center}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:flex;white-space:nowrap;position:relative;transition:transform var(--el-transition-duration);float:left;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:var(--el-tabs-header-height);box-sizing:border-box;display:flex;align-items:center;justify-content:center;list-style:none;font-size:var(--el-font-size-base);font-weight:500;color:var(--el-text-color-primary);position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:0}.el-tabs__item:focus-visible{box-shadow:0 0 2px 2px var(--el-color-primary) inset;border-radius:3px}.el-tabs__item .is-icon-close{border-radius:50%;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);margin-left:5px}.el-tabs__item .is-icon-close:before{transform:scale(.9);display:inline-block}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active{color:var(--el-color-primary)}.el-tabs__item:hover{color:var(--el-color-primary);cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{position:relative;font-size:12px;width:0;height:14px;overflow:hidden;right:-2px;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);border:1px solid transparent;margin-top:-1px;color:var(--el-text-color-secondary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay);border-right-color:var(--el-border-color);border-left-color:var(--el-border-color)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2),.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),.el-tabs--top .el-tabs__item.is-top:nth-child(2){padding-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:last-child,.el-tabs--bottom .el-tabs__item.is-top:last-child,.el-tabs--top .el-tabs__item.is-bottom:last-child,.el-tabs--top .el-tabs__item.is-top:last-child{padding-right:0}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover{padding-left:13px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover{padding-right:13px}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left .el-tabs__header.is-left{float:left;margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__active-bar.is-left{right:0;left:auto}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid var(--el-border-color-light);border-bottom:none;border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid var(--el-border-color-light);border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--right .el-tabs__header.is-right{float:right;margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid var(--el-border-color-light);border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{-webkit-animation:slideInRight-enter var(--el-transition-duration);animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{position:absolute;left:0;right:0;-webkit-animation:slideInRight-leave var(--el-transition-duration);animation:slideInRight-leave var(--el-transition-duration)}.slideInLeft-enter{-webkit-animation:slideInLeft-enter var(--el-transition-duration);animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{position:absolute;left:0;right:0;-webkit-animation:slideInLeft-leave var(--el-transition-duration);animation:slideInLeft-leave var(--el-transition-duration)}@-webkit-keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translate(100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translate(100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@-webkit-keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(100%);opacity:0}}@keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(100%);opacity:0}}@-webkit-keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translate(-100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translate(-100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@-webkit-keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(-100%);opacity:0}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(-100%);opacity:0}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px}.el-tag{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary);--el-tag-text-color:var(--el-color-primary);background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);color:var(--el-tag-text-color);display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:24px;padding:0 9px;font-size:var(--el-tag-font-size);line-height:1;border-width:1px;border-style:solid;border-radius:var(--el-tag-border-radius);box-sizing:border-box;white-space:nowrap;--el-icon-size:14px}.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color)}.el-tag .el-tag__close:hover{color:var(--el-color-white);background-color:var(--el-tag-hover-color)}.el-tag .el-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{margin-left:6px}.el-tag--dark{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3);--el-tag-text-color:var(--el-color-white)}.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning,.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info{--el-tag-text-color:var(--el-color-white)}.el-tag--plain{--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary);--el-tag-bg-color:var(--el-fill-color-blank)}.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{padding:0 11px;height:32px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{padding:0 7px;height:20px;--el-icon-size:12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px;line-height:20px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);font-weight:700;cursor:pointer}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{position:relative;padding-bottom:20px}.el-timeline-item__wrapper{position:relative;padding-left:28px;top:-3px}.el-timeline-item__tail{position:absolute;left:4px;height:100%;border-left:2px solid var(--el-timeline-node-color)}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{position:absolute;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:flex;justify-content:center;align-items:center}.el-timeline-item__node--normal{left:-1px;width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{left:-2px;width:var(--el-timeline-node-size-large);height:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{position:absolute;display:flex;justify-content:center;align-items:center}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light)}.el-timeline{margin:0;font-size:var(--el-font-size-base);list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{display:flex;align-items:center}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-tooltip-v2__content{--el-tooltip-v2-padding:5px 10px;--el-tooltip-v2-border-radius:4px;--el-tooltip-v2-border-color:var(--el-border-color);border-radius:var(--el-tooltip-v2-border-radius);color:var(--el-color-black);background-color:var(--el-color-white);padding:var(--el-tooltip-v2-padding);border:1px solid var(--el-border-color)}.el-tooltip-v2__arrow{position:absolute;color:var(--el-color-white);width:var(--el-tooltip-v2-arrow-width);height:var(--el-tooltip-v2-arrow-height);pointer-events:none;left:var(--el-tooltip-v2-arrow-x);top:var(--el-tooltip-v2-arrow-y)}.el-tooltip-v2__arrow:before{content:"";width:0;height:0;border:var(--el-tooltip-v2-arrow-border-width) solid transparent;position:absolute}.el-tooltip-v2__arrow:after{content:"";width:0;height:0;border:var(--el-tooltip-v2-arrow-border-width) solid transparent;position:absolute}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow{bottom:0}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:before{border-top-color:var(--el-color-white);border-top-width:var(--el-tooltip-v2-arrow-border-width);border-bottom:0;top:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:after{border-top-color:var(--el-border-color);border-top-width:var(--el-tooltip-v2-arrow-border-width);border-bottom:0;top:100%;z-index:-1}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow{top:0}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:before{border-bottom-color:var(--el-color-white);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:after{border-bottom-color:var(--el-border-color);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:100%;z-index:-1}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow{right:0}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:before{border-left-color:var(--el-color-white);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:after{border-left-color:var(--el-border-color);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:100%;z-index:-1}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow{left:0}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:before{border-right-color:var(--el-color-white);border-right-width:var(--el-tooltip-v2-arrow-border-width);border-left:0;right:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:after{border-right-color:var(--el-border-color);border-right-width:var(--el-tooltip-v2-arrow-border-width);border-left:0;right:100%;z-index:-1}.el-tooltip-v2__content.is-dark{--el-tooltip-v2-border-color:transparent;background-color:var(--el-color-black);color:var(--el-color-white);border-color:transparent}.el-tooltip-v2__content.is-dark .el-tooltip-v2__arrow{background-color:var(--el-color-black);border-color:transparent}.el-transfer{--el-transfer-border-color:var(--el-border-color-lighter);--el-transfer-border-radius:var(--el-border-radius-base);--el-transfer-panel-width:200px;--el-transfer-panel-header-height:40px;--el-transfer-panel-header-bg-color:var(--el-fill-color-light);--el-transfer-panel-footer-height:40px;--el-transfer-panel-body-height:278px;--el-transfer-item-height:30px;--el-transfer-filter-height:32px}.el-transfer{font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;vertical-align:middle;padding:0 30px}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{overflow:hidden;background:var(--el-bg-color-overlay);display:inline-block;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width);max-height:100%;box-sizing:border-box;position:relative}.el-transfer-panel__body{height:var(--el-transfer-panel-body-height);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.el-transfer-panel__list{margin:0;padding:6px 0;list-style:none;height:var(--el-transfer-panel-body-height);overflow:auto;box-sizing:border-box}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px;display:block!important}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular)}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;box-sizing:border-box;padding-left:22px;line-height:var(--el-transfer-item-height)}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{text-align:center;padding:15px;box-sizing:border-box}.el-transfer-panel__filter .el-input__inner{height:var(--el-transfer-filter-height);width:100%;font-size:12px;display:inline-block;box-sizing:border-box;border-radius:calc(var(--el-transfer-filter-height)/ 2)}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{display:flex;align-items:center;height:var(--el-transfer-panel-header-height);background:var(--el-transfer-panel-header-bg-color);margin:0;padding-left:15px;border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black)}.el-transfer-panel .el-transfer-panel__header .el-checkbox{position:relative;display:flex;width:100%;align-items:center}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{font-size:16px;color:var(--el-text-color-primary);font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{position:absolute;right:15px;top:50%;transform:translate3d(0,-50%,0);color:var(--el-text-color-secondary);font-size:12px;font-weight:400}.el-transfer-panel .el-transfer-panel__footer{height:var(--el-transfer-panel-footer-height);background:var(--el-bg-color-overlay);margin:0;padding:0;border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius)}.el-transfer-panel .el-transfer-panel__footer:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{padding-left:20px;color:var(--el-text-color-regular)}.el-transfer-panel .el-transfer-panel__empty{margin:0;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding:6px 15px 0;color:var(--el-text-color-secondary);text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-transfer-panel .el-checkbox__inner{height:14px;width:14px;border-radius:3px}.el-transfer-panel .el-checkbox__inner:after{height:6px;width:3px;left:4px}.el-tree{--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree{position:relative;cursor:default;background:var(--el-fill-color-blank);color:var(--el-tree-text-color);font-size:var(--el-font-size-base)}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--el-text-color-secondary);font-size:var(--el-font-size-base)}.el-tree__drop-indicator{position:absolute;left:0;right:0;height:1px;background-color:var(--el-color-primary)}.el-tree-node{white-space:nowrap;outline:0}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{display:flex;align-items:center;height:26px;cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px;box-sizing:content-box}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:var(--el-tree-expand-icon-color);font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{margin-right:8px;font-size:var(--el-font-size-base);color:var(--el-tree-expand-icon-color)}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__item{flex:1;background:0 0!important;padding-left:0;height:20px;line-height:20px}.el-upload{--el-upload-dragger-padding-horizontal:40px;--el-upload-dragger-padding-vertical:10px}.el-upload{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;outline:0}.el-upload__input{display:none}.el-upload__tip{font-size:12px;color:var(--el-text-color-regular);margin-top:7px}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0}.el-upload--picture-card{--el-upload-picture-card-size:148px;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;width:var(--el-upload-picture-card-size);height:var(--el-upload-picture-card-size);cursor:pointer;vertical-align:top;display:inline-flex;justify-content:center;align-items:center}.el-upload--picture-card i{font-size:28px;color:var(--el-text-color-secondary)}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{padding:var(--el-upload-dragger-padding-horizontal) var(--el-upload-dragger-padding-vertical);background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;text-align:center;cursor:pointer;position:relative;overflow:hidden}.el-upload-dragger .el-icon--upload{font-size:67px;color:var(--el-text-color-placeholder);margin-bottom:16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{padding:calc(var(--el-upload-dragger-padding-horizontal) - 1px) calc(var(--el-upload-dragger-padding-vertical) - 1px);background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary)}.el-upload-list{margin:10px 0 0;padding:0;list-style:none;position:relative}.el-upload-list__item{transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:var(--el-text-color-regular);margin-bottom:5px;position:relative;box-sizing:border-box;border-radius:4px;width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{display:none;position:absolute;right:5px;top:50%;cursor:pointer;opacity:.75;color:var(--el-text-color-regular);transition:opacity var(--el-transition-duration);transform:translateY(-50%)}.el-upload-list__item .el-icon--close:hover{opacity:1;color:var(--el-color-primary)}.el-upload-list__item .el-icon--close-tip{display:none;position:absolute;top:1px;right:5px;font-size:12px;cursor:pointer;opacity:1;color:var(--el-color-primary);font-style:normal}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;justify-content:center;flex-direction:column;width:calc(100% - 30px);margin-left:4px}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon--close-tip,.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip{display:none}.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{color:var(--el-text-color-regular);display:inline-flex;text-align:center;align-items:center;padding:0 4px;transition:color var(--el-transition-duration);font-size:var(--el-font-size-base)}.el-upload-list__item-name .el-icon{margin-right:6px;color:var(--el-text-color-secondary)}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none;height:100%;justify-content:center;align-items:center;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:var(--el-text-color-regular);display:none}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{--el-upload-list-picture-card-size:148px;display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;width:var(--el-upload-list-picture-card-size);height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;padding:0;display:inline-flex}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.el-upload-list--picture-card .el-upload-list__item-status-label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;display:inline-flex;justify-content:center;align-items:center;color:#fff;opacity:0;font-size:20px;background-color:var(--el-overlay-color-lighter);transition:opacity var(--el-transition-duration)}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:1rem}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{top:50%;left:50%;transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;z-index:0;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px;display:flex;align-items:center}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:inline-flex}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{display:inline-flex;justify-content:center;align-items:center;width:70px;height:70px;-o-object-fit:contain;object-fit:contain;position:relative;z-index:1;background-color:var(--el-color-white)}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover__label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-cover__label i{font-size:12px;margin-top:11px;transform:rotate(-45deg);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:var(--el-overlay-color-light);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;transition:var(--el-transition-md-fade);margin-top:60px}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:var(--el-text-color-primary)}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-vl__wrapper{position:relative}.el-vl__wrapper:hover .el-virtual-scrollbar,.el-vl__wrapper.always-on .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;transition:opacity .34s ease-out}.el-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-select-dropdown__item{font-size:var(--el-font-size-base);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--el-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown__item.hover,.el-select-dropdown__item:hover{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.selected{color:var(--el-color-primary);font-weight:700}.el-statistic{--el-statistic-title-font-weight:400;--el-statistic-title-font-size:var(--el-font-size-extra-small);--el-statistic-title-color:var(--el-text-color-regular);--el-statistic-content-font-weight:400;--el-statistic-content-font-size:var(--el-font-size-extra-large);--el-statistic-content-color:var(--el-text-color-primary)}.el-statistic__head{font-weight:var(--el-statistic-title-font-weight);font-size:var(--el-statistic-title-font-size);color:var(--el-statistic-title-color);line-height:20px;margin-bottom:4px}.el-statistic__content{font-weight:var(--el-statistic-content-font-weight);font-size:var(--el-statistic-content-font-size);color:var(--el-statistic-content-color)}.el-statistic__value{display:inline-block}.el-statistic__prefix{margin-right:4px;display:inline-block}.el-statistic__suffix{margin-left:4px;display:inline-block}.home[data-v-4be69257]{width:100%;height:100%;padding:0;margin:0}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier:cubic-bezier(.23, 1, .32, 1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px}:root{color-scheme:light;--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0, 0, 0, .04),0px 8px 20px rgba(0, 0, 0, .08);--el-box-shadow-light:0px 0px 12px rgba(0, 0, 0, .12);--el-box-shadow-lighter:0px 0px 6px rgba(0, 0, 0, .12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0, 0, 0, .08),0px 12px 32px rgba(0, 0, 0, .12),0px 8px 16px -8px rgba(0, 0, 0, .16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0, 0, 0, .8);--el-overlay-color-light:rgba(0, 0, 0, .7);--el-overlay-color-lighter:rgba(0, 0, 0, .5);--el-mask-color:rgba(255, 255, 255, .9);--el-mask-color-extra-light:rgba(255, 255, 255, .3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.el-row{display:flex;flex-wrap:wrap;position:relative;box-sizing:border-box}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-0{max-width:0%;flex:0 0 0%}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{position:relative;left:0}.el-col-1{max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{position:relative;left:4.1666666667%}.el-col-2{max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{position:relative;left:8.3333333333%}.el-col-3{max-width:12.5%;flex:0 0 12.5%}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{position:relative;left:12.5%}.el-col-4{max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{position:relative;left:16.6666666667%}.el-col-5{max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{position:relative;left:20.8333333333%}.el-col-6{max-width:25%;flex:0 0 25%}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{position:relative;left:25%}.el-col-7{max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{position:relative;left:29.1666666667%}.el-col-8{max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{position:relative;left:33.3333333333%}.el-col-9{max-width:37.5%;flex:0 0 37.5%}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{position:relative;left:37.5%}.el-col-10{max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{position:relative;left:41.6666666667%}.el-col-11{max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{position:relative;left:45.8333333333%}.el-col-12{max-width:50%;flex:0 0 50%}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{position:relative;left:54.1666666667%}.el-col-14{max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{position:relative;left:58.3333333333%}.el-col-15{max-width:62.5%;flex:0 0 62.5%}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{position:relative;left:62.5%}.el-col-16{max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{position:relative;left:66.6666666667%}.el-col-17{max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{position:relative;left:70.8333333333%}.el-col-18{max-width:75%;flex:0 0 75%}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{position:relative;left:75%}.el-col-19{max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{position:relative;left:79.1666666667%}.el-col-20{max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{position:relative;left:83.3333333333%}.el-col-21{max-width:87.5%;flex:0 0 87.5%}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{position:relative;left:87.5%}.el-col-22{max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{position:relative;left:91.6666666667%}.el-col-23{max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{position:relative;left:95.8333333333%}.el-col-24{max-width:100%;flex:0 0 100%}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{position:relative;left:100%}@media only screen and (max-width:768px){.el-col-xs-0,.el-col-xs-0.is-guttered{display:none}.el-col-xs-0{max-width:0%;flex:0 0 0%}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{position:relative;left:0}.el-col-xs-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{position:relative;left:4.1666666667%}.el-col-xs-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{position:relative;left:8.3333333333%}.el-col-xs-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{position:relative;left:16.6666666667%}.el-col-xs-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{position:relative;left:20.8333333333%}.el-col-xs-6{display:block;max-width:25%;flex:0 0 25%}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{position:relative;left:29.1666666667%}.el-col-xs-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{position:relative;left:33.3333333333%}.el-col-xs-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{position:relative;left:41.6666666667%}.el-col-xs-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{position:relative;left:45.8333333333%}.el-col-xs-12{display:block;max-width:50%;flex:0 0 50%}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{position:relative;left:54.1666666667%}.el-col-xs-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{position:relative;left:58.3333333333%}.el-col-xs-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{position:relative;left:66.6666666667%}.el-col-xs-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{position:relative;left:70.8333333333%}.el-col-xs-18{display:block;max-width:75%;flex:0 0 75%}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{position:relative;left:79.1666666667%}.el-col-xs-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{position:relative;left:83.3333333333%}.el-col-xs-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{position:relative;left:91.6666666667%}.el-col-xs-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{position:relative;left:95.8333333333%}.el-col-xs-24{display:block;max-width:100%;flex:0 0 100%}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width:768px){.el-col-sm-0,.el-col-sm-0.is-guttered{display:none}.el-col-sm-0{max-width:0%;flex:0 0 0%}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{position:relative;left:0}.el-col-sm-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{position:relative;left:4.1666666667%}.el-col-sm-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{position:relative;left:8.3333333333%}.el-col-sm-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{position:relative;left:16.6666666667%}.el-col-sm-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{position:relative;left:20.8333333333%}.el-col-sm-6{display:block;max-width:25%;flex:0 0 25%}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{position:relative;left:29.1666666667%}.el-col-sm-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{position:relative;left:33.3333333333%}.el-col-sm-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{position:relative;left:41.6666666667%}.el-col-sm-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{position:relative;left:45.8333333333%}.el-col-sm-12{display:block;max-width:50%;flex:0 0 50%}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{position:relative;left:54.1666666667%}.el-col-sm-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{position:relative;left:58.3333333333%}.el-col-sm-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{position:relative;left:66.6666666667%}.el-col-sm-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{position:relative;left:70.8333333333%}.el-col-sm-18{display:block;max-width:75%;flex:0 0 75%}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{position:relative;left:79.1666666667%}.el-col-sm-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{position:relative;left:83.3333333333%}.el-col-sm-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{position:relative;left:91.6666666667%}.el-col-sm-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{position:relative;left:95.8333333333%}.el-col-sm-24{display:block;max-width:100%;flex:0 0 100%}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width:992px){.el-col-md-0,.el-col-md-0.is-guttered{display:none}.el-col-md-0{max-width:0%;flex:0 0 0%}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{position:relative;left:0}.el-col-md-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{position:relative;left:4.1666666667%}.el-col-md-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{position:relative;left:8.3333333333%}.el-col-md-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{position:relative;left:16.6666666667%}.el-col-md-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{position:relative;left:20.8333333333%}.el-col-md-6{display:block;max-width:25%;flex:0 0 25%}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{position:relative;left:29.1666666667%}.el-col-md-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{position:relative;left:33.3333333333%}.el-col-md-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{position:relative;left:41.6666666667%}.el-col-md-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{position:relative;left:45.8333333333%}.el-col-md-12{display:block;max-width:50%;flex:0 0 50%}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{position:relative;left:54.1666666667%}.el-col-md-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{position:relative;left:58.3333333333%}.el-col-md-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{position:relative;left:66.6666666667%}.el-col-md-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{position:relative;left:70.8333333333%}.el-col-md-18{display:block;max-width:75%;flex:0 0 75%}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{position:relative;left:79.1666666667%}.el-col-md-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{position:relative;left:83.3333333333%}.el-col-md-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{position:relative;left:91.6666666667%}.el-col-md-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{position:relative;left:95.8333333333%}.el-col-md-24{display:block;max-width:100%;flex:0 0 100%}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width:1200px){.el-col-lg-0,.el-col-lg-0.is-guttered{display:none}.el-col-lg-0{max-width:0%;flex:0 0 0%}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{position:relative;left:0}.el-col-lg-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{position:relative;left:4.1666666667%}.el-col-lg-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{position:relative;left:8.3333333333%}.el-col-lg-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{position:relative;left:16.6666666667%}.el-col-lg-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{position:relative;left:20.8333333333%}.el-col-lg-6{display:block;max-width:25%;flex:0 0 25%}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{position:relative;left:29.1666666667%}.el-col-lg-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{position:relative;left:33.3333333333%}.el-col-lg-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{position:relative;left:41.6666666667%}.el-col-lg-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{position:relative;left:45.8333333333%}.el-col-lg-12{display:block;max-width:50%;flex:0 0 50%}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{position:relative;left:54.1666666667%}.el-col-lg-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{position:relative;left:58.3333333333%}.el-col-lg-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{position:relative;left:66.6666666667%}.el-col-lg-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{position:relative;left:70.8333333333%}.el-col-lg-18{display:block;max-width:75%;flex:0 0 75%}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{position:relative;left:79.1666666667%}.el-col-lg-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{position:relative;left:83.3333333333%}.el-col-lg-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{position:relative;left:91.6666666667%}.el-col-lg-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{position:relative;left:95.8333333333%}.el-col-lg-24{display:block;max-width:100%;flex:0 0 100%}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width:1920px){.el-col-xl-0,.el-col-xl-0.is-guttered{display:none}.el-col-xl-0{max-width:0%;flex:0 0 0%}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{position:relative;left:0}.el-col-xl-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{position:relative;left:4.1666666667%}.el-col-xl-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{position:relative;left:8.3333333333%}.el-col-xl-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{position:relative;left:16.6666666667%}.el-col-xl-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{position:relative;left:20.8333333333%}.el-col-xl-6{display:block;max-width:25%;flex:0 0 25%}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{position:relative;left:29.1666666667%}.el-col-xl-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{position:relative;left:33.3333333333%}.el-col-xl-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{position:relative;left:41.6666666667%}.el-col-xl-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{position:relative;left:45.8333333333%}.el-col-xl-12{display:block;max-width:50%;flex:0 0 50%}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{position:relative;left:54.1666666667%}.el-col-xl-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{position:relative;left:58.3333333333%}.el-col-xl-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{position:relative;left:66.6666666667%}.el-col-xl-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{position:relative;left:70.8333333333%}.el-col-xl-18{display:block;max-width:75%;flex:0 0 75%}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{position:relative;left:79.1666666667%}.el-col-xl-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{position:relative;left:83.3333333333%}.el-col-xl-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{position:relative;left:91.6666666667%}.el-col-xl-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{position:relative;left:95.8333333333%}.el-col-xl-24{display:block;max-width:100%;flex:0 0 100%}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank)}.el-card{border-radius:var(--el-card-border-radius);border:1px solid var(--el-card-border-color);background-color:var(--el-card-bg-color);overflow:hidden;color:var(--el-text-color-primary);transition:var(--el-transition-duration)}.el-card.is-always-shadow{box-shadow:var(--el-box-shadow-light)}.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding);border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box}.el-card__body{padding:var(--el-card-padding)}.el-avatar{--el-avatar-text-color:var(--el-color-white);--el-avatar-bg-color:var(--el-text-color-disabled);--el-avatar-text-size:14px;--el-avatar-icon-size:18px;--el-avatar-border-radius:var(--el-border-radius-base);--el-avatar-size-large:56px;--el-avatar-size-small:24px;--el-avatar-size:40px;display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;overflow:hidden;color:var(--el-avatar-text-color);background:var(--el-avatar-bg-color);width:var(--el-avatar-size);height:var(--el-avatar-size);font-size:var(--el-avatar-text-size)}.el-avatar>img{display:block;height:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size:24px}.el-avatar--large{--el-avatar-size:56px}.user[data-v-43f2ff30]{display:flex;align-items:center;padding-bottom:20px;margin-bottom:20px;border-bottom:1px #ccc solid}.user>.user-info[data-v-43f2ff30]{margin-left:20px}.user>.user-info>.user-name[data-v-43f2ff30]{font-size:32px;margin-bottom:10px}.user>.user-info>.access[data-v-43f2ff30]{color:#b3b9bf}.login-info>p[data-v-43f2ff30]{font-size:14px;color:#999;line-height:28px}.login-info>p>span[data-v-43f2ff30]{color:#666;margin-left:60px}.statistics[data-v-43f2ff30]{margin-left:20px;height:288px}.statistics div[data-v-43f2ff30]{height:250px}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:var(--el-mask-color);margin:0;top:0;right:0;bottom:0;left:0;transition:opacity var(--el-transition-duration)}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/ 2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{top:50%;margin-top:calc((0px - var(--el-loading-spinner-size))/ 2);width:100%;text-align:center;position:absolute}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);margin:3px 0;font-size:14px}.el-loading-spinner .circular{display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size);-webkit-animation:loading-rotate 2s linear infinite;animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{-webkit-animation:loading-dash 1.5s ease-in-out infinite;animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:var(--el-color-primary);stroke-linecap:round}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@-webkit-keyframes loading-rotate{to{transform:rotate(360deg)}}@keyframes loading-rotate{to{transform:rotate(360deg)}}@-webkit-keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-container{display:flex;flex-direction:row;flex:1;flex-basis:auto;box-sizing:border-box;min-width:0}.el-container.is-vertical{flex-direction:column}.el-aside{overflow:auto;box-sizing:border-box;flex-shrink:0;width:var(--el-aside-width,300px)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;padding:var(--el-footer-padding);box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height)}.el-header{--el-header-padding:0 20px;--el-header-height:60px;padding:var(--el-header-padding);box-sizing:border-box;flex-shrink:0;height:var(--el-header-height)}.el-main{--el-main-padding:20px;display:block;flex:1;flex-basis:auto;overflow:auto;box-sizing:border-box;padding:var(--el-main-padding)}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary)}.el-scrollbar{overflow:hidden;position:relative;height:100%}.el-scrollbar__wrap{overflow:auto;height:100%}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));transition:var(--el-transition-duration) background-color;opacity:var(--el-scrollbar-opacity,.3)}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{border-right:solid 1px var(--el-menu-border-color);list-style:none;position:relative;margin:0;padding-left:0;background-color:var(--el-menu-bg-color);box-sizing:border-box}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title{white-space:nowrap;padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level) * var(--el-menu-level-padding))}.el-menu--horizontal{display:flex;flex-wrap:nowrap;border-bottom:solid 1px var(--el-menu-border-color);border-right:none}.el-menu--horizontal>.el-menu-item{display:inline-flex;justify-content:center;align-items:center;height:100%;margin:0;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-menu-item:not(.is-disabled):focus,.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover{background-color:#fff}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:0}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{height:100%;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-bg-color-overlay)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--el-menu-bg-color);display:flex;align-items:center;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px;color:var(--el-menu-text-color)}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{outline:0;color:var(--el-menu-hover-text-color);background-color:var(--el-menu-hover-bg-color)}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding) * 2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;vertical-align:middle;width:var(--el-menu-icon-width);text-align:center}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--popup{z-index:100;min-width:200px;border:none;padding:5px 0;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light)}.el-menu .el-icon{flex-shrink:0}.el-menu-item{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:0}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-menu-item [class^=el-icon]{margin-right:5px;width:var(--el-menu-icon-width);text-align:center;font-size:18px;vertical-align:middle}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{position:absolute;left:0;top:0;height:100%;width:100%;display:inline-flex;align-items:center;box-sizing:border-box;padding:0 var(--el-menu-base-level-padding)}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap;padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:focus,.el-sub-menu__title:hover{outline:0}.el-sub-menu__title.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu .el-icon{vertical-align:middle;margin-right:5px;width:var(--el-menu-icon-width);text-align:center;font-size:18px}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{position:absolute;top:50%;right:var(--el-menu-base-level-padding);margin-top:-6px;transition:transform var(--el-transition-duration);font-size:12px;margin-right:0;width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px var(--el-menu-base-level-padding);line-height:normal;font-size:12px;color:var(--el-text-color-secondary)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{transition:var(--el-transition-duration-fast);opacity:0}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius, 4px)}.el-popper{position:absolute;border-radius:var(--el-popper-border-radius);padding:5px 11px;z-index:2000;font-size:12px;line-height:20px;min-width:10px;word-wrap:break-word;visibility:visible}.el-popper.is-dark{color:var(--el-bg-color);background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark .el-popper__arrow:before{border:1px solid var(--el-text-color-primary);background:var(--el-text-color-primary);right:0}.el-popper.is-light{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light .el-popper__arrow:before{border:1px solid var(--el-border-color-light);background:var(--el-bg-color-overlay);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{position:absolute;width:10px;height:10px;z-index:-1}.el-popper__arrow:before{position:absolute;width:10px;height:10px;z-index:-1;content:" ";transform:rotate(45deg);background:var(--el-text-color-primary);box-sizing:border-box}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent!important;border-bottom-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color:inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-menu[data-v-48373577]{height:100%;border-right:none}.el-menu .logo[data-v-48373577]{display:flex;height:50px}.el-menu .logo>h3[data-v-48373577]{margin:auto;white-space:nowrap}.el-menu.mobile[data-v-48373577]{position:fixed;z-index:2002;display:none}.el-menu.mobile.show[data-v-48373577]{display:inline}.mask-layer.mobile[data-v-48373577]{transition:.5s;z-index:2001;position:fixed;height:100%;background-color:#00000080;width:0}.mask-layer.mobile.show[data-v-48373577]{width:100%}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255, 255, 255, .5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-color-info);--el-button-active-color:var(--el-text-color-primary)}.el-button{display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--el-button-text-color);text-align:center;box-sizing:border-box;outline:0;transition:.1s;font-weight:var(--el-button-font-weight);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);padding:8px 15px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button:focus,.el-button:hover{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:0}.el-button:active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px}.el-button>span{display:inline-flex;align-items:center}.el-button+.el-button{margin-left:12px}.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--el-mask-color-extra-light)}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px}.el-button.is-text{color:var(--el-button-text-color);border:0 solid transparent;background-color:transparent}.el-button.is-text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important}.el-button.is-text:not(.is-disabled):focus,.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:focus,.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{border-color:transparent;color:var(--el-button-text-color);background:0 0;padding:2px;height:auto}.el-button.is-link:focus,.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button.is-link:not(.is-disabled):focus,.el-button.is-link:not(.is-disabled):hover{border-color:transparent;background-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color);border-color:transparent;background-color:transparent}.el-button--text{border-color:transparent;background:0 0;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button--text:not(.is-disabled):focus,.el-button--text:not(.is-disabled):hover{color:var(--el-color-primary-light-3);border-color:transparent;background-color:transparent}.el-button--text:not(.is-disabled):active{color:var(--el-color-primary-dark-2);border-color:transparent;background-color:transparent}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size:40px;height:var(--el-button-size);padding:12px 19px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size:24px;height:var(--el-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{display:table;content:""}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group>.el-button.is-active{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;display:inline-flex;position:relative;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:0}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{list-style:none;padding:0;margin:0;box-sizing:border-box}.el-dropdown .el-dropdown__caret-button{padding-left:0;padding-right:0;display:inline-flex;justify-content:center;align-items:center;width:32px;border-left:none}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:-1px;bottom:-1px;left:0;background:var(--el-overlay-color-lighter)}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:0}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{position:relative;top:0;left:0;z-index:var(--el-dropdown-menu-index);padding:5px 0;margin:0;background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;list-style:none}.el-dropdown-menu__item{display:flex;align-items:center;white-space:nowrap;list-style:none;line-height:22px;padding:5px 16px;margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:0}.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{margin:6px 0;border-top:1px solid var(--el-border-color-lighter)}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;line-height:22px;font-size:14px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;line-height:20px;font-size:12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{display:table;content:""}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{margin:0 9px;font-weight:700;color:var(--el-text-color-placeholder)}.el-breadcrumb__separator.el-icon{margin:0 6px;font-weight:400}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{float:left;display:inline-flex;align-items:center}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{font-weight:700;text-decoration:none;transition:var(--el-transition-color);color:var(--el-text-color-primary)}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{font-weight:400;color:var(--el-text-color-regular);cursor:text}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.home[data-v-575f9fd2]{width:auto!important;height:auto!important}.components[data-v-05acd094]{--width: 180px;--height: 70px}.components.night[data-v-05acd094]{background-color:#191e32}.components.night .main-button[data-v-05acd094]{left:calc(var(--width) * 110 / 180);background-color:#c3c8d2;box-shadow:3px 3px 5px #00000080,inset -3px -5px 3px -3px #00000080,inset 4px 5px 2px -2px #ffffd2}.components.night .daytime-background[data-v-05acd094]:nth-child(2){left:calc(var(--width) * 90 / 180)}.components.night .daytime-background[data-v-05acd094]:nth-child(3){left:calc(var(--width) * 60 / 180)}.components.night .daytime-background[data-v-05acd094]:nth-child(4){left:calc(var(--width) * 30 / 180)}.components.night .cloud[data-v-05acd094],.components.night .cloud-light[data-v-05acd094]{bottom:calc(var(--height) * -65 / 70)}.components.night .moon[data-v-05acd094]{opacity:1}.components.night .stars[data-v-05acd094]{top:0;opacity:1}.components[data-v-05acd094]{position:sticky;width:var(--width);height:var(--height);border-radius:var(--height);overflow:hidden;transition:.7s;background-color:#4685c0;box-shadow:inset 0 0 5px 3px #00000080}.components>*[data-v-05acd094]{transition:.7s}.components .main-button[data-v-05acd094]{position:absolute;left:0;margin:calc(var(--width) * 7.5 / 180) 0 0 calc(var(--width) * 7.5 / 180);width:calc(var(--width) * 55 / 180);height:calc(var(--width) * 55 / 180);border-radius:50%;cursor:pointer;transition:.7s;transition-timing-function:cubic-bezier(0,.5,1.3,1);background-color:#ffc323;box-shadow:3px 3px 5px #00000080,inset -3px -5px 3px -3px #00000080,inset 4px 5px 2px -2px #ffe650}.components .moon[data-v-05acd094]{box-shadow:inset 0 0 1px 1px #0000004d;border-radius:50%;transition:.5s;opacity:0;transition-timing-function:cubic-bezier(0,.5,1.3,1);position:absolute;background-color:#96a0b4}.components .moon[data-v-05acd094]:nth-child(1){top:calc(var(--height) * 7.5 / 70);left:calc(var(--width) * 25 / 180);width:calc(var(--width) * 12.5 / 180);height:calc(var(--width) * 12.5 / 180)}.components .moon[data-v-05acd094]:nth-child(2){top:calc(var(--height) * 20 / 70);left:calc(var(--width) * 7.5 / 180);width:calc(var(--width) * 20 / 180);height:calc(var(--width) * 20 / 180)}.components .moon[data-v-05acd094]:nth-child(3){top:calc(var(--height) * 32.5 / 70);left:calc(var(--width) * 32.5 / 180);width:calc(var(--width) * 12.5 / 180);height:calc(var(--width) * 12.5 / 180)}.components .daytime-background[data-v-05acd094]{position:absolute;transition:.7s;border-radius:50%;transition-timing-function:cubic-bezier(0,.5,1.3,1)}.components .daytime-background[data-v-05acd094]:nth-child(2){top:calc(var(--height) * -20 / 70);left:calc(var(--width) * -20 / 180);width:calc(var(--width) * 110 / 180);height:calc(var(--width) * 110 / 180);background-color:#fff3;z-index:-2}.components .daytime-background[data-v-05acd094]:nth-child(3){top:calc(var(--height) * -35 / 70);left:calc(var(--width) * -15 / 180);width:calc(var(--width) * 135 / 180);height:calc(var(--width) * 135 / 180);background-color:#ffffff1a;z-index:-3}.components .daytime-background[data-v-05acd094]:nth-child(4){top:calc(var(--height) * -45 / 70);left:calc(var(--width) * -15 / 180);width:calc(var(--width) * 160 / 180);height:calc(var(--width) * 160 / 180);background-color:#ffffff0d;z-index:-4}.components .cloud[data-v-05acd094],.components .cloud-light[data-v-05acd094]{transition:.7s}.components .cloud[data-v-05acd094]{z-index:-2;position:absolute;bottom:0;right:0}.components .cloud-light[data-v-05acd094]{position:absolute;z-index:-3;right:0;bottom:calc(var(--height) * 25 / 70);opacity:.5;transform:rotate(-5deg)}.components .cloud-son[data-v-05acd094]{z-index:-1;border-radius:50%;background-color:#fff;position:absolute}.components .cloud-son[data-v-05acd094]:nth-child(1),.components .cloud-son[data-v-05acd094]:nth-child(7){right:calc(var(--height) * -20 / 70);bottom:calc(var(--width) * 10 / 180);width:calc(var(--width) * 50 / 180);height:calc(var(--width) * 50 / 180)}.components .cloud-son[data-v-05acd094]:nth-child(2),.components .cloud-son[data-v-05acd094]:nth-child(8){right:calc(var(--height) * -10 / 70);bottom:calc(var(--width) * -25 / 180);width:calc(var(--width) * 60 / 180);height:calc(var(--width) * 60 / 180)}.components .cloud-son[data-v-05acd094]:nth-child(3),.components .cloud-son[data-v-05acd094]:nth-child(9){right:calc(var(--height) * 20 / 70);bottom:calc(var(--width) * -40 / 180);width:calc(var(--width) * 60 / 180);height:calc(var(--width) * 60 / 180)}.components .cloud-son[data-v-05acd094]:nth-child(4),.components .cloud-son[data-v-05acd094]:nth-child(10){right:calc(var(--height) * 50 / 70);bottom:calc(var(--width) * -35 / 180);width:calc(var(--width) * 60 / 180);height:calc(var(--width) * 60 / 180)}.components .cloud-son[data-v-05acd094]:nth-child(5),.components .cloud-son[data-v-05acd094]:nth-child(11){right:calc(var(--height) * 75 / 70);bottom:calc(var(--width) * -60 / 180);width:calc(var(--width) * 75 / 180);height:calc(var(--width) * 75 / 180)}.components .cloud-son[data-v-05acd094]:nth-child(6),.components .cloud-son[data-v-05acd094]:nth-child(12){right:calc(var(--height) * 110 / 70);bottom:calc(var(--width) * -50 / 180);width:calc(var(--width) * 60 / 180);height:calc(var(--width) * 60 / 180)}.components .stars[data-v-05acd094]{top:calc(var(--height) * -65 / 70);z-index:-2;transition:.7s;transition-timing-function:cubic-bezier(0,.5,1.3,1);position:absolute}.components .stars .big[data-v-05acd094]{width:calc(var(--width) * 15 / 180);height:calc(var(--width) * 15 / 180)}.components .stars .medium[data-v-05acd094]{width:calc(var(--width) * 10 / 180);height:calc(var(--width) * 10 / 180)}.components .stars .small[data-v-05acd094]{width:calc(var(--width) * 6 / 180);height:calc(var(--width) * 6 / 180)}.components .stars .star[data-v-05acd094]{background-color:#fff;clip-path:polygon(30% 0%,54% 32%,100% 30%,65% 56%,70% 100%,42% 61%,0% 70%,34% 44%);position:absolute}.components .stars .star[data-v-05acd094]:nth-child(1){top:calc(var(--height) * 10 / 70);left:calc(var(--width) * 40 / 180)}.components .stars .star[data-v-05acd094]:nth-child(2){top:calc(var(--height) * 20 / 70);left:calc(var(--width) * 95 / 180)}.components .stars .star[data-v-05acd094]:nth-child(3){top:calc(var(--height) * 20 / 70);left:calc(var(--width) * 20 / 180)}.components .stars .star[data-v-05acd094]:nth-child(4){top:calc(var(--height) * 35 / 70);left:calc(var(--width) * 50 / 180)}.components .stars .star[data-v-05acd094]:nth-child(5){top:calc(var(--height) * 50 / 70);left:calc(var(--width) * 80 / 180)}.components .stars .star[data-v-05acd094]:nth-child(6){top:calc(var(--height) * 50 / 70);left:calc(var(--width) * 20 / 180)}.components .stars .star[data-v-05acd094]:nth-child(7){top:calc(var(--height) * 40 / 70);left:calc(var(--width) * 27.5 / 180)}.components .stars .star[data-v-05acd094]:nth-child(8){top:calc(var(--height) * 55 / 70);left:calc(var(--width) * 45 / 180)}.components .stars .star[data-v-05acd094]:nth-child(9){top:calc(var(--height) * 20 / 70);left:calc(var(--width) * 75 / 180)}.components .stars .star[data-v-05acd094]:nth-child(10){top:calc(var(--height) * 32.5 / 70);left:calc(var(--width) * 67.5 / 180)}.components .stars .star[data-v-05acd094]:nth-child(11){top:calc(var(--height) * 40 / 70);left:calc(var(--width) * 95 / 180)}.home[data-v-45bf9bdd]{display:flex;align-items:center;justify-content:space-between}.home>div[data-v-45bf9bdd]{display:flex;align-items:center}.home>div>.el-breadcrumb[data-v-45bf9bdd]{margin-left:10px}.el-text{--el-text-font-size:var(--el-font-size-base);--el-text-color:var(--el-text-color-regular)}.el-text{align-self:center;margin:0;padding:0;font-size:var(--el-text-font-size);color:var(--el-text-color);word-break:break-all}.el-text.is-truncated{display:inline-block;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.el-text--large{--el-text-font-size:var(--el-font-size-medium)}.el-text--default{--el-text-font-size:var(--el-font-size-base)}.el-text--small{--el-text-font-size:var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color:var(--el-color-primary)}.el-text.el-text--success{--el-text-color:var(--el-color-success)}.el-text.el-text--warning{--el-text-color:var(--el-color-warning)}.el-text.el-text--danger{--el-text-color:var(--el-color-danger)}.el-text.el-text--error{--el-text-color:var(--el-color-error)}.el-text.el-text--info{--el-text-color:var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.tab[data-v-7f8aa967]{-webkit-user-select:none;user-select:none;padding:5px;border-right:1px var(--el-border-color) solid}.tab.checked[data-v-7f8aa967]{border-bottom:2px #569eff solid}.tab.checked .close-btn>*[data-v-7f8aa967]{display:inline}.tab[data-v-7f8aa967]:hover{background-color:#8c8a8a1a}.tab .slot[data-v-7f8aa967]{padding-left:2px;padding-right:2px}.tab .close-btn[data-v-7f8aa967]{border-radius:50%;cursor:pointer}.tab .close-btn[data-v-7f8aa967]:hover{background-color:#6663}.popup-menu-box-item[data-v-202817c7]{font-size:14px;width:100%;height:30px;cursor:pointer;line-height:30px}.popup-menu-box-item .el-text[data-v-202817c7]{vertical-align:middle;padding-left:20px;padding-right:20px}.popup-menu-box-item[data-v-202817c7]:hover{background-color:#569dfd1a}.popup-menu-box-item:hover .el-text[data-v-202817c7]{color:#569eff}.popup-menu-box[data-v-48bb95ee]{display:none;position:absolute;background-color:var(--el-bg-color);border:1px solid var(--el-border-color);box-shadow:var(--el-box-shadow-light);border-radius:4px;z-index:3;padding:5px 0}.tabs[data-v-27a56994]{width:100%;height:30px;display:flex;white-space:nowrap}[data-v-27a56994] .el-scrollbar__bar{top:0;height:5px}.common-tag[data-v-d2116c70]{height:30px;display:flex;align-items:center;justify-content:space-between}.main[data-v-aca13f2e],.el-container[data-v-aca13f2e]{width:100%;height:100%;padding:0;margin:0}.main *[data-v-aca13f2e],.el-container *[data-v-aca13f2e]{transition:.5s}.main .box[data-v-aca13f2e],.el-container .box[data-v-aca13f2e]{padding:0;margin:0;width:100%;height:100%}.main .el-header[data-v-aca13f2e],.el-container .el-header[data-v-aca13f2e]{height:auto;padding-left:10px;padding-right:10px;border-bottom:2px solid var(--el-border-color)}.main .el-main[data-v-aca13f2e],.el-container .el-main[data-v-aca13f2e]{background-color:#f0f2f5}.main.dark .el-main[data-v-aca13f2e]{background-color:#121212}.slide-leave-to[data-v-aca13f2e],.slide-enter-from[data-v-aca13f2e]{transform:translate(20px);opacity:0}.slide-enter-to[data-v-aca13f2e],.slide-leave-from[data-v-aca13f2e]{transform:translate(0)}.slide-enter-active[data-v-aca13f2e],.slide-leave-active[data-v-aca13f2e]{transition:all .3s ease} diff --git a/assets/index-9406a8c2.js b/assets/index-9406a8c2.js new file mode 100644 index 0000000..a98bb40 --- /dev/null +++ b/assets/index-9406a8c2.js @@ -0,0 +1,122 @@ +(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&a(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const main="",cssVars="",index$1="";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}var mock={exports:{}};(function(module,exports){(function(r,n){module.exports=n()})(commonjsGlobal,function(){return function(t){var r={};function n(a){if(r[a])return r[a].exports;var o=r[a]={exports:{},id:a,loaded:!1};return t[a].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=t,n.c=r,n.p="",n(0)}([function(t,r,n){var a=n(1),o=n(3),s=n(5),l=n(20),u=n(23),c=n(25),f;typeof window<"u"&&(f=n(27));/*! + Mock - 模拟请求 & 模拟数据 + https://github.com/nuysoft/Mock + 墨智 mozhi.gyy@taobao.com nuysoft@gmail.com +*/var d={Handler:a,Random:s,Util:o,XHR:f,RE:l,toJSONSchema:u,valid:c,heredoc:o.heredoc,setup:function(v){return f.setup(v)},_mocked:{}};d.version="1.0.1-beta3",f&&(f.Mock=d),d.mock=function(v,g,y){return arguments.length===1?a.gen(v):(arguments.length===2&&(y=g,g=void 0),f&&(window.XMLHttpRequest=f),d._mocked[v+(g||"")]={rurl:v,rtype:g,template:y},d)},t.exports=d},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,n){r=r==null?"":r+"",n=n||{},n={path:n.path||[Constant.GUID],templatePath:n.templatePath||[Constant.GUID++],currentContext:n.currentContext,templateCurrentContext:n.templateCurrentContext||t,root:n.root||n.currentContext,templateRoot:n.templateRoot||n.templateCurrentContext||t};var a=Parser.parse(r),o=Util.type(t),s;return Handler[o]?(s=Handler[o]({type:o,template:t,name:r,parsedName:r&&r.replace(Constant.RE_KEY,"$1"),rule:a,context:n}),n.root||(n.root=s),s):t},Handler.extend({array:function(t){var r=[],n,a;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(n=0;n1)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;i1&&(o=r.context.path.slice(0),o.pop(),o=this.normalizePath(o.concat(a)));try{t=a[a.length-1];for(var s=r.context.root,l=r.context.templateRoot,u=1;u1/(n+a)*n?!o:o):Math.random()>=.5},bool:function(n,a,o){return this.boolean(n,a,o)},natural:function(n,a){return n=typeof n<"u"?parseInt(n,10):0,a=typeof a<"u"?parseInt(a,10):9007199254740992,Math.round(Math.random()*(a-n))+n},integer:function(n,a){return n=typeof n<"u"?parseInt(n,10):-9007199254740992,a=typeof a<"u"?parseInt(a,10):9007199254740992,Math.round(Math.random()*(a-n))+n},int:function(n,a){return this.integer(n,a)},float:function(n,a,o,s){o=o===void 0?0:o,o=Math.max(Math.min(o,17),0),s=s===void 0?17:s,s=Math.max(Math.min(s,17),0);for(var l=this.integer(n,a)+".",u=0,c=this.natural(o,s);u1&&f--,6*f<1?v=u+(c-u)*6*f:2*f<1?v=c:3*f<2?v=u+(c-u)*(2/3-f)*6:v=u,d[g]=v*255;return d},hsl2hsv:function(a){var o=a[0],s=a[1]/100,l=a[2]/100,u,c;return l*=2,s*=l<=1?l:2-l,c=(l+s)/2,u=2*s/(l+s),[o,u*100,c*100]},hsv2rgb:function(a){var o=a[0]/60,s=a[1]/100,l=a[2]/100,u=Math.floor(o)%6,c=o-Math.floor(o),f=255*l*(1-s),d=255*l*(1-s*c),v=255*l*(1-s*(1-c));switch(l=255*l,u){case 0:return[l,v,f];case 1:return[d,l,f];case 2:return[f,l,v];case 3:return[f,d,l];case 4:return[v,f,l];case 5:return[l,f,d]}},hsv2hsl:function(a){var o=a[0],s=a[1]/100,l=a[2]/100,u,c;return c=(2-s)*l,u=s*l,u/=c<=1?c:2-c,c/=2,[o,u*100,c*100]},rgb2hex:function(n,a,o){return"#"+((256+n<<8|a)<<8|o).toString(16).slice(1)},hex2rgb:function(n){return n="0x"+n.slice(1).replace(n.length>4?n:/./g,"$&$&")|0,[n>>16,n>>8&255,n&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,n){var a=n(6),o=n(14);function s(l,u,c,f){return c===void 0?a.natural(l,u):f===void 0?c:a.natural(parseInt(c,10),parseInt(f,10))}t.exports={paragraph:function(l,u){for(var c=s(3,7,l,u),f=[],d=0;d1&&(s=[].slice.call(arguments,0));var l=o.options,u=l.context.templatePath.join("."),c=o.cache[u]=o.cache[u]||{index:0,array:s};return c.array[c.index++%c.array.length]}}},function(t,r){t.exports={first:function(){var n=["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(n)},last:function(){var n=["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(n)},name:function(n){return this.first()+" "+(n?this.first()+" ":"")+this.last()},cfirst:function(){var n="王 李 张 刘 陈 杨 赵 黄 周 吴 徐 孙 胡 朱 高 林 何 郭 马 罗 梁 宋 郑 谢 韩 唐 冯 于 董 萧 程 曹 袁 邓 许 傅 沈 曾 彭 吕 苏 卢 蒋 蔡 贾 丁 魏 薛 叶 阎 余 潘 杜 戴 夏 锺 汪 田 任 姜 范 方 石 姚 谭 廖 邹 熊 金 陆 郝 孔 白 崔 康 毛 邱 秦 江 史 顾 侯 邵 孟 龙 万 段 雷 钱 汤 尹 黎 易 常 武 乔 贺 赖 龚 文".split(" ");return this.pick(n)},clast:function(){var n="伟 芳 娜 秀英 敏 静 丽 强 磊 军 洋 勇 艳 杰 娟 涛 明 超 秀兰 霞 平 刚 桂英".split(" ");return this.pick(n)},cname:function(){return this.cfirst()+this.clast()}}},function(t,r){t.exports={url:function(n,a){return(n||this.protocol())+"://"+(a||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(n){return this.word()+"."+(n||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(n){return this.character("lower")+"."+this.word()+"@"+(n||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,n){var a=n(18),o=["东北","华北","华东","华中","华南","西南","西北"];t.exports={region:function(){return this.pick(o)},province:function(){return this.pick(a).name},city:function(s){var l=this.pick(a),u=this.pick(l.children);return s?[l.name,u.name].join(" "):u.name},county:function(s){var l=this.pick(a),u=this.pick(l.children),c=this.pick(u.children)||{name:"-"};return s?[l.name,u.name,c.name].join(" "):c.name},zip:function(s){for(var l="",u=0;u<(s||6);u++)l+=this.natural(0,9);return l}}},function(t,r){var n={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 a(s){for(var l={},u=0,c;usa;sa++)Fa=V.charAt(sa),Fa===` +`?(lr.seenCR||lr.line++,lr.column=1,lr.seenCR=!1):Fa==="\r"||Fa==="\u2028"||Fa==="\u2029"?(lr.line++,lr.column=1,lr.seenCR=!0):(lr.column++,lr.seenCR=!1)}return Ia!==oe&&(Ia>oe&&(Ia=0,Zn={line:1,column:1,seenCR:!1}),pe(Zn,Ia,oe),Ia=oe),Zn}function j(oe){ga>Ve||(Ve>ga&&(ga=Ve,ui=[]),ui.push(oe))}function le(oe){var pe=0;for(oe.sort();peVe?(lr=V.charAt(Ve),Ve++):(lr=null,br===0&&j(zi)),lr!==null?(Mr=oe,pe=Gi(lr),pe===null&&(Ve=oe),oe=pe):(Ve=oe,oe=Ir)):(Ve=oe,oe=Ir),oe}function Ms(){var oe,pe,lr;return oe=Ve,V.charCodeAt(Ve)===92?(pe=ai,Ve++):(pe=null,br===0&&j(Ui)),pe!==null?(yl.test(V.charAt(Ve))?(lr=V.charAt(Ve),Ve++):(lr=null,br===0&&j(Wi)),lr!==null?(Mr=oe,pe=Yi(lr),pe===null&&(Ve=oe),oe=pe):(Ve=oe,oe=Ir)):(Ve=oe,oe=Ir),oe}function uo(){var oe,pe,lr,Er;if(oe=Ve,V.substr(Ve,2)===ii?(pe=ii,Ve+=2):(pe=null,br===0&&j(Ki)),pe!==null){if(lr=[],In.test(V.charAt(Ve))?(Er=V.charAt(Ve),Ve++):(Er=null,br===0&&j(oi)),Er!==null)for(;Er!==null;)lr.push(Er),In.test(V.charAt(Ve))?(Er=V.charAt(Ve),Ve++):(Er=null,br===0&&j(oi));else lr=Ir;lr!==null?(Mr=oe,pe=Ba(lr),pe===null&&(Ve=oe),oe=pe):(Ve=oe,oe=Ir)}else Ve=oe,oe=Ir;return oe}function co(){var oe,pe,lr,Er;if(oe=Ve,V.substr(Ve,2)===ji?(pe=ji,Ve+=2):(pe=null,br===0&&j(Ko)),pe!==null){if(lr=[],si.test(V.charAt(Ve))?(Er=V.charAt(Ve),Ve++):(Er=null,br===0&&j(li)),Er!==null)for(;Er!==null;)lr.push(Er),si.test(V.charAt(Ve))?(Er=V.charAt(Ve),Ve++):(Er=null,br===0&&j(li));else lr=Ir;lr!==null?(Mr=oe,pe=_l(lr),pe===null&&(Ve=oe),oe=pe):(Ve=oe,oe=Ir)}else Ve=oe,oe=Ir;return oe}function Si(){var oe,pe,lr,Er;if(oe=Ve,V.substr(Ve,2)===jo?(pe=jo,Ve+=2):(pe=null,br===0&&j(Sl)),pe!==null){if(lr=[],si.test(V.charAt(Ve))?(Er=V.charAt(Ve),Ve++):(Er=null,br===0&&j(li)),Er!==null)for(;Er!==null;)lr.push(Er),si.test(V.charAt(Ve))?(Er=V.charAt(Ve),Ve++):(Er=null,br===0&&j(li));else lr=Ir;lr!==null?(Mr=oe,pe=Pa(lr),pe===null&&(Ve=oe),oe=pe):(Ve=oe,oe=Ir)}else Ve=oe,oe=Ir;return oe}function bi(){var oe,pe;return oe=Ve,V.substr(Ve,2)===ii?(pe=ii,Ve+=2):(pe=null,br===0&&j(Ki)),pe!==null&&(Mr=oe,pe=bl()),pe===null&&(Ve=oe),oe=pe,oe}function fo(){var oe,pe,lr;return oe=Ve,V.charCodeAt(Ve)===92?(pe=ai,Ve++):(pe=null,br===0&&j(Ui)),pe!==null?(V.length>Ve?(lr=V.charAt(Ve),Ve++):(lr=null,br===0&&j(zi)),lr!==null?(Mr=oe,pe=ka(lr),pe===null&&(Ve=oe),oe=pe):(Ve=oe,oe=Ir)):(Ve=oe,oe=Ir),oe}var xi,ja=arguments.length>1?arguments[1]:{},ho={regexp:de},Ti=de,Ir=null,Ea="",Rs="|",Ci='"|"',Ls=function(oe,pe){return pe?new a(oe,pe[1]):oe},wi=function(oe,pe,lr){return new o([oe].concat(pe).concat([lr]))},po="^",vo='"^"',Ds=function(){return new n("start")},Os="$",Ns='"$"',ks=function(){return new n("end")},Bs=function(oe,pe){return new u(oe,pe)},Fs="Quantifier",go=function(oe,pe){return pe&&(oe.greedy=!1),oe},Ai="{",Ei='"{"',Vs=",",Hs='","',mo="}",yo='"}"',Za=function(oe,pe){return new c(oe,pe)},_o=",}",qa='",}"',zs=function(oe){return new c(oe,1/0)},Gs=function(oe){return new c(oe,oe)},Us="+",So='"+"',bo=function(){return new c(1,1/0)},xo="*",Ws='"*"',Ys=function(){return new c(0,1/0)},To="?",Co='"?"',wo=function(){return new c(0,1)},$i=/^[0-9]/,Pi="[0-9]",Ii=function(oe){return+oe.join("")},Ks="(",Ao='"("',Xa=")",Eo='")"',js=function(oe){return oe},$o=function(oe){return new l(oe)},Mi="?:",Ri='"?:"',Zs=function(oe){return new s("non-capture-group",oe)},Li="?=",Di='"?="',Oi=function(oe){return new s("positive-lookahead",oe)},pa="?!",Po='"?!"',Io=function(oe){return new s("negative-lookahead",oe)},qs="CharacterSet",Mo="[",Ro='"["',Lo="]",Do='"]"',Xs=function(oe,pe){return new f(!!oe,pe)},Js="CharacterRange",Qs="-",Oo='"-"',el=function(oe,pe){return new d(oe,pe)},tl="Character",rl=/^[^\\\]]/,nl="[^\\\\\\]]",ka=function(oe){return new v(oe)},al=".",il='"."',ol=function(){return new n("any-character")},sl="Literal",ll=/^[^|\\\/.[()?+*$\^]/,Jr="[^|\\\\\\/.[()?+*$\\^]",Kr="\\b",No='"\\\\b"',ul=function(){return new n("backspace")},cl=function(){return new n("word-boundary")},ko="\\B",fl='"\\\\B"',dl=function(){return new n("non-word-boundary")},Ni="\\d",hl='"\\\\d"',Cn=function(){return new n("digit")},Ja="\\D",va='"\\\\D"',Bo=function(){return new n("non-digit")},Qa="\\f",kn='"\\\\f"',Fo=function(){return new n("form-feed")},ki="\\n",Vo='"\\\\n"',Ho=function(){return new n("line-feed")},Bi="\\r",zo='"\\\\r"',Ln=function(){return new n("carriage-return")},Go="\\s",Bn='"\\\\s"',pl=function(){return new n("white-space")},Fi="\\S",ia='"\\\\S"',ei=function(){return new n("non-white-space")},ti="\\t",hn='"\\\\t"',oa=function(){return new n("tab")},ri="\\v",vl='"\\\\v"',Vi=function(){return new n("vertical-tab")},Uo="\\w",gl='"\\\\w"',ml=function(){return new n("word")},Hi="\\W",ni='"\\\\W"',$a=function(){return new n("non-word")},Wo="\\c",Yo='"\\\\c"',zi="any character",Gi=function(oe){return new T(oe)},ai="\\",Ui='"\\\\"',yl=/^[1-9]/,Wi="[1-9]",Yi=function(oe){return new b(oe)},ii="\\0",Ki='"\\\\0"',In=/^[0-7]/,oi="[0-7]",Ba=function(oe){return new S(oe.join(""))},ji="\\x",Ko='"\\\\x"',si=/^[0-9a-fA-F]/,li="[0-9a-fA-F]",_l=function(oe){return new y(oe.join(""))},jo="\\u",Sl='"\\\\u"',Pa=function(oe){return new g(oe.join(""))},bl=function(){return new n("null-character")},Ve=0,Mr=0,Ia=0,Zn={line:1,column:1,seenCR:!1},ga=0,ui=[],br=0;if("startRule"in ja){if(!(ja.startRule in ho))throw new Error(`Can't start parsing from rule "`+ja.startRule+'".');Ti=ho[ja.startRule]}if(n.offset=Y,n.text=z,xi=Ti(),xi!==null&&Ve===V.length)return xi;throw le(ui),Mr=Math.max(Ve,ga),new O(ui,Mrg)return!0;var b={path:d,type:f,actual:v,expected:g,action:"is greater than",message:S};return b.message=c.message(b),y.push(b),!1},lessThan:function(f,d,v,g,y,S){if(v=g)return!0;var b={path:d,type:f,actual:v,expected:g,action:"is greater than or equal to",message:S};return b.message=c.message(b),y.push(b),!1},lessThanOrEqualTo:function(f,d,v,g,y,S){if(v<=g)return!0;var b={path:d,type:f,actual:v,expected:g,action:"is less than or equal to",message:S};return b.message=c.message(b),y.push(b),!1}};l.Diff=u,l.Assert=c,t.exports=l},function(t,r,n){t.exports=n(28)},function(t,r,n){var a=n(3);window._XMLHttpRequest=window.XMLHttpRequest,window._ActiveXObject=window.ActiveXObject;try{new window.Event("custom")}catch{window.Event=function(S,b,T,w){var A=document.createEvent("CustomEvent");return A.initCustomEvent(S,b,T,w),A}}var o={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},s="readystatechange loadstart progress abort error load timeout loadend".split(" "),l="timeout withCredentials".split(" "),u="readyState responseURL status statusText responseType response responseText responseXML".split(" "),c={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 f(){this.custom={events:{},requestHeaders:{},responseHeaders:{}}}f._settings={timeout:"10-100"},f.setup=function(y){return a.extend(f._settings,y),f._settings},a.extend(f,o),a.extend(f.prototype,o),f.prototype.mock=!0,f.prototype.match=!1,a.extend(f.prototype,{open:function(y,S,b,T,w){var A=this;a.extend(this.custom,{method:y,url:S,async:typeof b=="boolean"?b:!0,username:T,password:w,options:{url:S,type:y}}),this.custom.timeout=function(z){if(typeof z=="number")return z;if(typeof z=="string"&&!~z.indexOf("-"))return parseInt(z,10);if(typeof z=="string"&&~z.indexOf("-")){var Y=z.split("-"),ie=parseInt(Y[0],10),j=parseInt(Y[1],10);return Math.round(Math.random()*(j-ie))+ie}}(f._settings.timeout);var M=v(this.custom.options);function L(z){for(var Y=0;Yr=>{const n=toString$1.call(r);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=t=>(t=t.toLowerCase(),r=>kindOf(r)===t),typeOfTest=t=>r=>typeof r===t,{isArray:isArray$7}=Array,isUndefined$2=typeOfTest("undefined");function isBuffer(t){return t!==null&&!isUndefined$2(t)&&t.constructor!==null&&!isUndefined$2(t.constructor)&&isFunction$5(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$4=typeOfTest("string"),isFunction$5=typeOfTest("function"),isNumber$3=typeOfTest("number"),isObject$7=t=>t!==null&&typeof t=="object",isBoolean$2=t=>t===!0||t===!1,isPlainObject$3=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$7(t)&&isFunction$5(t.pipe),isFormData=t=>{let r;return t&&(typeof FormData=="function"&&t instanceof FormData||isFunction$5(t.append)&&((r=kindOf(t))==="formdata"||r==="object"&&isFunction$5(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:n=!1}={}){if(t===null||typeof t>"u")return;let a,o;if(typeof t!="object"&&(t=[t]),isArray$7(t))for(a=0,o=t.length;a0;)if(o=n[a],r===o.toLowerCase())return o;return null}const _global$1=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),isContextDefined=t=>!isUndefined$2(t)&&t!==_global$1;function merge$1(){const{caseless:t}=isContextDefined(this)&&this||{},r={},n=(a,o)=>{const s=t&&findKey(r,o)||o;isPlainObject$3(r[s])&&isPlainObject$3(a)?r[s]=merge$1(r[s],a):isPlainObject$3(a)?r[s]=merge$1({},a):isArray$7(a)?r[s]=a.slice():r[s]=a};for(let a=0,o=arguments.length;a(forEach(r,(o,s)=>{n&&isFunction$5(o)?t[s]=bind$2(o,n):t[s]=o},{allOwnKeys:a}),t),stripBOM=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),inherits$1=(t,r,n,a)=>{t.prototype=Object.create(r.prototype,a),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:r.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject=(t,r,n,a)=>{let o,s,l;const u={};if(r=r||{},t==null)return r;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)l=o[s],(!a||a(l,t,r))&&!u[l]&&(r[l]=t[l],u[l]=!0);t=n!==!1&&getPrototypeOf(t)}while(t&&(!n||n(t,r))&&t!==Object.prototype);return r},endsWith=(t,r,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=r.length;const a=t.indexOf(r,n);return a!==-1&&a===n},toArray=t=>{if(!t)return null;if(isArray$7(t))return t;let r=t.length;if(!isNumber$3(r))return null;const n=new Array(r);for(;r-- >0;)n[r]=t[r];return n},isTypedArray$1=(t=>r=>t&&r instanceof t)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(t,r)=>{const a=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=a.next())&&!o.done;){const s=o.value;r.call(t,s[0],s[1])}},matchAll=(t,r)=>{let n;const a=[];for(;(n=t.exec(r))!==null;)a.push(n);return a},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase$1=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,a,o){return a.toUpperCase()+o}),hasOwnProperty$8=(({hasOwnProperty:t})=>(r,n)=>t.call(r,n))(Object.prototype),isRegExp$3=kindOfTest("RegExp"),reduceDescriptors=(t,r)=>{const n=Object.getOwnPropertyDescriptors(t),a={};forEach(n,(o,s)=>{r(o,s,t)!==!1&&(a[s]=o)}),Object.defineProperties(t,a)},freezeMethods=t=>{reduceDescriptors(t,(r,n)=>{if(isFunction$5(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const a=t[n];if(isFunction$5(a)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet=(t,r)=>{const n={},a=o=>{o.forEach(s=>{n[s]=!0})};return isArray$7(t)?a(t):a(String(t).split(r)),n},noop$4=()=>{},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 n="";const{length:a}=r;for(;t--;)n+=r[Math.random()*a|0];return n};function isSpecCompliantForm(t){return!!(t&&isFunction$5(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const toJSONObject=t=>{const r=new Array(10),n=(a,o)=>{if(isObject$7(a)){if(r.indexOf(a)>=0)return;if(!("toJSON"in a)){r[o]=a;const s=isArray$7(a)?[]:{};return forEach(a,(l,u)=>{const c=n(l,o+1);!isUndefined$2(c)&&(s[u]=c)}),r[o]=void 0,s}}return a};return n(t,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=t=>t&&(isObject$7(t)||isFunction$5(t))&&isFunction$5(t.then)&&isFunction$5(t.catch),utils={isArray:isArray$7,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString:isString$4,isNumber:isNumber$3,isBoolean:isBoolean$2,isObject:isObject$7,isPlainObject:isPlainObject$3,isUndefined:isUndefined$2,isDate:isDate$1,isFile,isBlob,isRegExp:isRegExp$3,isFunction:isFunction$5,isStream,isURLSearchParams,isTypedArray:isTypedArray$1,isFileList,forEach,merge:merge$1,extend:extend$2,trim:trim$2,stripBOM,inherits:inherits$1,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$8,hasOwnProp:hasOwnProperty$8,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase:toCamelCase$1,noop:noop$4,toFiniteNumber,findKey,global:_global$1,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(t,r,n,a,o){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),n&&(this.config=n),a&&(this.request=a),o&&(this.response=o)}utils.inherits(AxiosError,Error,{toJSON:function t(){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.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,n,a,o,s)=>{const l=Object.create(prototype$1);return utils.toFlatObject(t,l,function(c){return c!==Error.prototype},u=>u!=="isAxiosError"),AxiosError.call(l,t.message,r,n,a,o),l.cause=t,l.name=t.name,s&&Object.assign(l,s),l};const httpAdapter=null;function isVisitable(t){return utils.isPlainObject(t)||utils.isArray(t)}function removeBrackets(t){return utils.endsWith(t,"[]")?t.slice(0,-2):t}function renderKey(t,r,n){return t?t.concat(r).map(function(o,s){return o=removeBrackets(o),!n&&s?"["+o+"]":o}).join(n?".":""):r}function isFlatArray(t){return utils.isArray(t)&&!t.some(isVisitable)}const predicates=utils.toFlatObject(utils,{},null,function t(r){return/^is[A-Z]/.test(r)});function toFormData(t,r,n){if(!utils.isObject(t))throw new TypeError("target must be an object");r=r||new FormData,n=utils.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,T){return!utils.isUndefined(T[b])});const a=n.metaTokens,o=n.visitor||d,s=n.dots,l=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&utils.isSpecCompliantForm(r);if(!utils.isFunction(o))throw new TypeError("visitor must be a function");function f(S){if(S===null)return"";if(utils.isDate(S))return S.toISOString();if(!c&&utils.isBlob(S))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils.isArrayBuffer(S)||utils.isTypedArray(S)?c&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function d(S,b,T){let w=S;if(S&&!T&&typeof S=="object"){if(utils.endsWith(b,"{}"))b=a?b:b.slice(0,-2),S=JSON.stringify(S);else if(utils.isArray(S)&&isFlatArray(S)||(utils.isFileList(S)||utils.endsWith(b,"[]"))&&(w=utils.toArray(S)))return b=removeBrackets(b),w.forEach(function(M,L){!(utils.isUndefined(M)||M===null)&&r.append(l===!0?renderKey([b],L,s):l===null?b:b+"[]",f(M))}),!1}return isVisitable(S)?!0:(r.append(renderKey(T,b,s),f(S)),!1)}const v=[],g=Object.assign(predicates,{defaultVisitor:d,convertValue:f,isVisitable});function y(S,b){if(!utils.isUndefined(S)){if(v.indexOf(S)!==-1)throw Error("Circular reference detected in "+b.join("."));v.push(S),utils.forEach(S,function(w,A){(!(utils.isUndefined(w)||w===null)&&o.call(r,w,utils.isString(A)?A.trim():A,b,g))===!0&&y(w,b?b.concat(A):[A])}),v.pop()}}if(!utils.isObject(t))throw new TypeError("data must be an object");return y(t),r}function encode$1(t){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(a){return r[a]})}function AxiosURLSearchParams(t,r){this._pairs=[],t&&toFormData(t,this,r)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function t(r,n){this._pairs.push([r,n])};prototype.toString=function t(r){const n=r?function(a){return r.call(this,a,encode$1)}:encode$1;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function encode(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,n){if(!r)return t;const a=n&&n.encode||encode,o=n&&n.serialize;let s;if(o?s=o(r,n):s=utils.isURLSearchParams(r)?r.toString():new AxiosURLSearchParams(r,n).toString(a),s){const l=t.indexOf("#");l!==-1&&(t=t.slice(0,l)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class InterceptorManager{constructor(){this.handlers=[]}use(r,n,a){return this.handlers.push({fulfilled:r,rejected:n,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){utils.forEach(this.handlers,function(a){a!==null&&r(a)})}}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(n,a,o,s){return platform$1.isNode&&utils.isBuffer(n)?(this.append(a,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},r))}function parsePropPath(t){return utils.matchAll(/\w+|\[(\w*)]/g,t).map(r=>r[0]==="[]"?"":r[1]||r[0])}function arrayToObject(t){const r={},n=Object.keys(t);let a;const o=n.length;let s;for(a=0;a=n.length;return l=!l&&utils.isArray(o)?o.length:l,c?(utils.hasOwnProp(o,l)?o[l]=[o[l],a]:o[l]=a,!u):((!o[l]||!utils.isObject(o[l]))&&(o[l]=[]),r(n,a,o[l],s)&&utils.isArray(o[l])&&(o[l]=arrayToObject(o[l])),!u)}if(utils.isFormData(t)&&utils.isFunction(t.entries)){const n={};return utils.forEachEntry(t,(a,o)=>{r(parsePropPath(a),o,n,0)}),n}return null}const DEFAULT_CONTENT_TYPE={"Content-Type":void 0};function stringifySafely(t,r,n){if(utils.isString(t))try{return(r||JSON.parse)(t),utils.trim(t)}catch(a){if(a.name!=="SyntaxError")throw a}return(n||JSON.stringify)(t)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http"],transformRequest:[function t(r,n){const a=n.getContentType()||"",o=a.indexOf("application/json")>-1,s=utils.isObject(r);if(s&&utils.isHTMLForm(r)&&(r=new FormData(r)),utils.isFormData(r))return o&&o?JSON.stringify(formDataToJSON(r)):r;if(utils.isArrayBuffer(r)||utils.isBuffer(r)||utils.isStream(r)||utils.isFile(r)||utils.isBlob(r))return r;if(utils.isArrayBufferView(r))return r.buffer;if(utils.isURLSearchParams(r))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let u;if(s){if(a.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(r,this.formSerializer).toString();if((u=utils.isFileList(r))||a.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return toFormData(u?{"files[]":r}:r,c&&new c,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),stringifySafely(r)):r}],transformResponse:[function t(r){const n=this.transitional||defaults$1.transitional,a=n&&n.forcedJSONParsing,o=this.responseType==="json";if(r&&utils.isString(r)&&(a&&!this.responseType||o)){const l=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(r)}catch(u){if(l)throw u.name==="SyntaxError"?AxiosError.from(u,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):u}}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 t(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils.forEach(["delete","get","head"],function t(r){defaults$1.headers[r]={}});utils.forEach(["post","put","patch"],function t(r){defaults$1.headers[r]=utils.merge(DEFAULT_CONTENT_TYPE)});const defaults$2=defaults$1,ignoreDuplicateOf=utils.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 n,a,o;return t&&t.split(` +`).forEach(function(l){o=l.indexOf(":"),n=l.substring(0,o).trim().toLowerCase(),a=l.substring(o+1).trim(),!(!n||r[n]&&ignoreDuplicateOf[n])&&(n==="set-cookie"?r[n]?r[n].push(a):r[n]=[a]:r[n]=r[n]?r[n]+", "+a:a)}),r},$internals=Symbol("internals");function normalizeHeader(t){return t&&String(t).trim().toLowerCase()}function normalizeValue(t){return t===!1||t==null?t:utils.isArray(t)?t.map(normalizeValue):String(t)}function parseTokens(t){const r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=n.exec(t);)r[a[1]]=a[2];return r}const isValidHeaderName=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function matchHeaderValue(t,r,n,a,o){if(utils.isFunction(a))return a.call(this,r,n);if(o&&(r=n),!!utils.isString(r)){if(utils.isString(a))return r.indexOf(a)!==-1;if(utils.isRegExp(a))return a.test(r)}}function formatHeader(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,n,a)=>n.toUpperCase()+a)}function buildAccessors(t,r){const n=utils.toCamelCase(" "+r);["get","set","has"].forEach(a=>{Object.defineProperty(t,a+n,{value:function(o,s,l){return this[a].call(this,r,o,s,l)},configurable:!0})})}class AxiosHeaders{constructor(r){r&&this.set(r)}set(r,n,a){const o=this;function s(u,c,f){const d=normalizeHeader(c);if(!d)throw new Error("header name must be a non-empty string");const v=utils.findKey(o,d);(!v||o[v]===void 0||f===!0||f===void 0&&o[v]!==!1)&&(o[v||c]=normalizeValue(u))}const l=(u,c)=>utils.forEach(u,(f,d)=>s(f,d,c));return utils.isPlainObject(r)||r instanceof this.constructor?l(r,n):utils.isString(r)&&(r=r.trim())&&!isValidHeaderName(r)?l(parseHeaders(r),n):r!=null&&s(n,r,a),this}get(r,n){if(r=normalizeHeader(r),r){const a=utils.findKey(this,r);if(a){const o=this[a];if(!n)return o;if(n===!0)return parseTokens(o);if(utils.isFunction(n))return n.call(this,o,a);if(utils.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,n){if(r=normalizeHeader(r),r){const a=utils.findKey(this,r);return!!(a&&this[a]!==void 0&&(!n||matchHeaderValue(this,this[a],a,n)))}return!1}delete(r,n){const a=this;let o=!1;function s(l){if(l=normalizeHeader(l),l){const u=utils.findKey(a,l);u&&(!n||matchHeaderValue(a,a[u],u,n))&&(delete a[u],o=!0)}}return utils.isArray(r)?r.forEach(s):s(r),o}clear(r){const n=Object.keys(this);let a=n.length,o=!1;for(;a--;){const s=n[a];(!r||matchHeaderValue(this,this[s],s,r,!0))&&(delete this[s],o=!0)}return o}normalize(r){const n=this,a={};return utils.forEach(this,(o,s)=>{const l=utils.findKey(a,s);if(l){n[l]=normalizeValue(o),delete n[s];return}const u=r?formatHeader(s):String(s).trim();u!==s&&delete n[s],n[u]=normalizeValue(o),a[u]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const n=Object.create(null);return utils.forEach(this,(a,o)=>{a!=null&&a!==!1&&(n[o]=r&&utils.isArray(a)?a.join(", "):a)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,n])=>r+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...n){const a=new this(r);return n.forEach(o=>a.set(o)),a}static accessor(r){const a=(this[$internals]=this[$internals]={accessors:{}}).accessors,o=this.prototype;function s(l){const u=normalizeHeader(l);a[u]||(buildAccessors(o,l),a[u]=!0)}return utils.isArray(r)?r.forEach(s):s(r),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils.freezeMethods(AxiosHeaders.prototype);utils.freezeMethods(AxiosHeaders);const AxiosHeaders$1=AxiosHeaders;function transformData(t,r){const n=this||defaults$2,a=r||n,o=AxiosHeaders$1.from(a.headers);let s=a.data;return utils.forEach(t,function(u){s=u.call(n,s,o.normalize(),r?r.status:void 0)}),o.normalize(),s}function isCancel(t){return!!(t&&t.__CANCEL__)}function CanceledError(t,r,n){AxiosError.call(this,t??"canceled",AxiosError.ERR_CANCELED,r,n),this.name="CanceledError"}utils.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(t,r,n){const a=n.config.validateStatus;!n.status||!a||a(n.status)?t(n):r(new AxiosError("Request failed with status code "+n.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const cookies=platform$1.isStandardBrowserEnv?function t(){return{write:function(n,a,o,s,l,u){const c=[];c.push(n+"="+encodeURIComponent(a)),utils.isNumber(o)&&c.push("expires="+new Date(o).toGMTString()),utils.isString(s)&&c.push("path="+s),utils.isString(l)&&c.push("domain="+l),u===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){const a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function t(){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 t(){const r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let a;function o(s){let l=s;return r&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=o(window.location.href),function(l){const u=utils.isString(l)?o(l):l;return u.protocol===a.protocol&&u.host===a.host}}():function t(){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 n=new Array(t),a=new Array(t);let o=0,s=0,l;return r=r!==void 0?r:1e3,function(c){const f=Date.now(),d=a[s];l||(l=f),n[o]=c,a[o]=f;let v=s,g=0;for(;v!==o;)g+=n[v++],v=v%t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),f-l{const s=o.loaded,l=o.lengthComputable?o.total:void 0,u=s-n,c=a(u),f=s<=l;n=s;const d={loaded:s,total:l,progress:l?s/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&f?(l-s)/c:void 0,event:o};d[r?"download":"upload"]=!0,t(d)}}const isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(t){return new Promise(function(n,a){let o=t.data;const s=AxiosHeaders$1.from(t.headers).normalize(),l=t.responseType;let u;function c(){t.cancelToken&&t.cancelToken.unsubscribe(u),t.signal&&t.signal.removeEventListener("abort",u)}utils.isFormData(o)&&(platform$1.isStandardBrowserEnv||platform$1.isStandardBrowserWebWorkerEnv?s.setContentType(!1):s.setContentType("multipart/form-data;",!1));let f=new XMLHttpRequest;if(t.auth){const y=t.auth.username||"",S=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.set("Authorization","Basic "+btoa(y+":"+S))}const d=buildFullPath(t.baseURL,t.url);f.open(t.method.toUpperCase(),buildURL(d,t.params,t.paramsSerializer),!0),f.timeout=t.timeout;function v(){if(!f)return;const y=AxiosHeaders$1.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),b={data:!l||l==="text"||l==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:y,config:t,request:f};settle(function(w){n(w),c()},function(w){a(w),c()},b),f=null}if("onloadend"in f?f.onloadend=v:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(v)},f.onabort=function(){f&&(a(new AxiosError("Request aborted",AxiosError.ECONNABORTED,t,f)),f=null)},f.onerror=function(){a(new AxiosError("Network Error",AxiosError.ERR_NETWORK,t,f)),f=null},f.ontimeout=function(){let S=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const b=t.transitional||transitionalDefaults;t.timeoutErrorMessage&&(S=t.timeoutErrorMessage),a(new AxiosError(S,b.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,t,f)),f=null},platform$1.isStandardBrowserEnv){const y=(t.withCredentials||isURLSameOrigin(d))&&t.xsrfCookieName&&cookies.read(t.xsrfCookieName);y&&s.set(t.xsrfHeaderName,y)}o===void 0&&s.setContentType(null),"setRequestHeader"in f&&utils.forEach(s.toJSON(),function(S,b){f.setRequestHeader(b,S)}),utils.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),l&&l!=="json"&&(f.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&f.addEventListener("progress",progressEventReducer(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",progressEventReducer(t.onUploadProgress)),(t.cancelToken||t.signal)&&(u=y=>{f&&(a(!y||y.type?new CanceledError(null,t,f):y),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(u),t.signal&&(t.signal.aborted?u():t.signal.addEventListener("abort",u)));const g=parseProtocol(d);if(g&&platform$1.protocols.indexOf(g)===-1){a(new AxiosError("Unsupported protocol "+g+":",AxiosError.ERR_BAD_REQUEST,t));return}f.send(o||null)})},knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils.forEach(knownAdapters,(t,r)=>{if(t){try{Object.defineProperty(t,"name",{value:r})}catch{}Object.defineProperty(t,"adapterName",{value:r})}});const adapters={getAdapter:t=>{t=utils.isArray(t)?t:[t];const{length:r}=t;let n,a;for(let o=0;ot instanceof AxiosHeaders$1?t.toJSON():t;function mergeConfig$1(t,r){r=r||{};const n={};function a(f,d,v){return utils.isPlainObject(f)&&utils.isPlainObject(d)?utils.merge.call({caseless:v},f,d):utils.isPlainObject(d)?utils.merge({},d):utils.isArray(d)?d.slice():d}function o(f,d,v){if(utils.isUndefined(d)){if(!utils.isUndefined(f))return a(void 0,f,v)}else return a(f,d,v)}function s(f,d){if(!utils.isUndefined(d))return a(void 0,d)}function l(f,d){if(utils.isUndefined(d)){if(!utils.isUndefined(f))return a(void 0,f)}else return a(void 0,d)}function u(f,d,v){if(v in r)return a(f,d);if(v in t)return a(void 0,f)}const c={url:s,method:s,data:s,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:u,headers:(f,d)=>o(headersToObject(f),headersToObject(d),!0)};return utils.forEach(Object.keys(Object.assign({},t,r)),function(d){const v=c[d]||o,g=v(t[d],r[d],d);utils.isUndefined(g)&&v!==u||(n[d]=g)}),n}const VERSION$2="1.4.0",validators$1={};["object","boolean","number","function","string","symbol"].forEach((t,r)=>{validators$1[t]=function(a){return typeof a===t||"a"+(r<1?"n ":" ")+t}});const deprecatedWarnings={};validators$1.transitional=function t(r,n,a){function o(s,l){return"[Axios v"+VERSION$2+"] Transitional option '"+s+"'"+l+(a?". "+a:"")}return(s,l,u)=>{if(r===!1)throw new AxiosError(o(l," has been removed"+(n?" in "+n:"")),AxiosError.ERR_DEPRECATED);return n&&!deprecatedWarnings[l]&&(deprecatedWarnings[l]=!0,console.warn(o(l," has been deprecated since v"+n+" and will be removed in the near future"))),r?r(s,l,u):!0}};function assertOptions(t,r,n){if(typeof t!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const a=Object.keys(t);let o=a.length;for(;o-- >0;){const s=a[o],l=r[s];if(l){const u=t[s],c=u===void 0||l(u,s,t);if(c!==!0)throw new AxiosError("option "+s+" must be "+c,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new AxiosError("Unknown option "+s,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,n){typeof r=="string"?(n=n||{},n.url=r):n=r||{},n=mergeConfig$1(this.defaults,n);const{transitional:a,paramsSerializer:o,headers:s}=n;a!==void 0&&validator.assertOptions(a,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),o!=null&&(utils.isFunction(o)?n.paramsSerializer={serialize:o}:validator.assertOptions(o,{encode:validators.function,serialize:validators.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l;l=s&&utils.merge(s.common,s[n.method]),l&&utils.forEach(["delete","get","head","post","put","patch","common"],S=>{delete s[S]}),n.headers=AxiosHeaders$1.concat(l,s);const u=[];let c=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(c=c&&b.synchronous,u.unshift(b.fulfilled,b.rejected))});const f=[];this.interceptors.response.forEach(function(b){f.push(b.fulfilled,b.rejected)});let d,v=0,g;if(!c){const S=[dispatchRequest.bind(this),void 0];for(S.unshift.apply(S,u),S.push.apply(S,f),g=S.length,d=Promise.resolve(n);v{if(!a._listeners)return;let s=a._listeners.length;for(;s-- >0;)a._listeners[s](o);a._listeners=null}),this.promise.then=o=>{let s;const l=new Promise(u=>{a.subscribe(u),s=u}).then(o);return l.cancel=function(){a.unsubscribe(s)},l},r(function(s,l,u){a.reason||(a.reason=new CanceledError(s,l,u),n(a.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 n=this._listeners.indexOf(r);n!==-1&&this._listeners.splice(n,1)}static source(){let r;return{token:new CancelToken(function(o){r=o}),cancel:r}}}const CancelToken$1=CancelToken;function spread(t){return function(n){return t.apply(null,n)}}function isAxiosError(t){return utils.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$1(t){const r=new Axios$1(t),n=bind$2(Axios$1.prototype.request,r);return utils.extend(n,Axios$1.prototype,r,{allOwnKeys:!0}),utils.extend(n,r,null,{allOwnKeys:!0}),n.create=function(o){return createInstance$1(mergeConfig$1(t,o))},n}const axios=createInstance$1(defaults$2);axios.Axios=Axios$1;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel;axios.VERSION=VERSION$2;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function t(r){return Promise.all(r)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig$1;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=t=>formDataToJSON(utils.isHTMLForm(t)?new FormData(t):t);axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;const axios$1=axios;function makeMap(t,r){const n=Object.create(null),a=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const EMPTY_OBJ$1={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,onRE=/^on[^a-z]/,isOn=t=>onRE.test(t),isModelListener=t=>t.startsWith("onUpdate:"),extend$1=Object.assign,remove=(t,r)=>{const n=t.indexOf(r);n>-1&&t.splice(n,1)},hasOwnProperty$7=Object.prototype.hasOwnProperty,hasOwn$2=(t,r)=>hasOwnProperty$7.call(t,r),isArray$6=Array.isArray,isMap=t=>toTypeString$1(t)==="[object Map]",isSet=t=>toTypeString$1(t)==="[object Set]",isRegExp$2=t=>toTypeString$1(t)==="[object RegExp]",isFunction$4=t=>typeof t=="function",isString$3=t=>typeof t=="string",isSymbol$1=t=>typeof t=="symbol",isObject$6=t=>t!==null&&typeof t=="object",isPromise=t=>isObject$6(t)&&isFunction$4(t.then)&&isFunction$4(t.catch),objectToString$2=Object.prototype.toString,toTypeString$1=t=>objectToString$2.call(t),toRawType=t=>toTypeString$1(t).slice(8,-1),isPlainObject$2=t=>toTypeString$1(t)==="[object Object]",isIntegerKey=t=>isString$3(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 n=>r[n]||(r[n]=t(n))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(t=>t.replace(camelizeRE,(r,n)=>n?n.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(t=>t.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(t=>t.charAt(0).toUpperCase()+t.slice(1)),toHandlerKey=cacheStringFunction(t=>t?`on${capitalize$1(t)}`:""),hasChanged=(t,r)=>!Object.is(t,r),invokeArrayFns=(t,r)=>{for(let n=0;n{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:n})},looseToNumber=t=>{const r=parseFloat(t);return isNaN(r)?t:r},toNumber=t=>{const r=isString$3(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:{});function normalizeStyle$1(t){if(isArray$6(t)){const r={};for(let n=0;n{if(n){const a=n.split(propertyDelimiterRE);a.length>1&&(r[a[0].trim()]=a[1].trim())}}),r}function normalizeClass(t){let r="";if(isString$3(t))r=t;else if(isArray$6(t))for(let n=0;nisString$3(t)?t:t==null?"":isArray$6(t)||isObject$6(t)&&(t.toString===objectToString$2||!isFunction$4(t.toString))?JSON.stringify(t,replacer,2):String(t),replacer=(t,r)=>r&&r.__v_isRef?replacer(t,r.value):isMap(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((n,[a,o])=>(n[`${a} =>`]=o,n),{})}:isSet(r)?{[`Set(${r.size})`]:[...r.values()]}:isObject$6(r)&&!isArray$6(r)&&!isPlainObject$2(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 n=activeEffectScope;try{return activeEffectScope=this,r()}finally{activeEffectScope=n}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(r){if(this._active){let n,a;for(n=0,a=this.effects.length;n{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{const{deps:r}=t;if(r.length){let n=0;for(let a=0;a{(d==="length"||d>=c)&&u.push(f)})}else switch(n!==void 0&&u.push(l.get(n)),r){case"add":isArray$6(t)?isIntegerKey(n)&&u.push(l.get("length")):(u.push(l.get(ITERATE_KEY)),isMap(t)&&u.push(l.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$6(t)||(u.push(l.get(ITERATE_KEY)),isMap(t)&&u.push(l.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(t)&&u.push(l.get(ITERATE_KEY));break}if(u.length===1)u[0]&&triggerEffects(u[0]);else{const c=[];for(const f of u)f&&c.push(...f);triggerEffects(createDep(c))}}function triggerEffects(t,r){const n=isArray$6(t)?t:[...t];for(const a of n)a.computed&&triggerEffect(a);for(const a of n)a.computed||triggerEffect(a)}function triggerEffect(t,r){(t!==activeEffect||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function getDepFromReactive(t,r){var n;return(n=targetMap.get(t))==null?void 0:n.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$1)),get$1$1=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...n){const a=toRaw(this);for(let s=0,l=this.length;s{t[r]=function(...n){pauseTracking();const a=toRaw(this)[r].apply(this,n);return resetTracking(),a}}),t}function hasOwnProperty$6(t){const r=toRaw(this);return track(r,"has",t),r.hasOwnProperty(t)}function createGetter(t=!1,r=!1){return function(a,o,s){if(o==="__v_isReactive")return!t;if(o==="__v_isReadonly")return t;if(o==="__v_isShallow")return r;if(o==="__v_raw"&&s===(t?r?shallowReadonlyMap:readonlyMap:r?shallowReactiveMap:reactiveMap).get(a))return a;const l=isArray$6(a);if(!t){if(l&&hasOwn$2(arrayInstrumentations,o))return Reflect.get(arrayInstrumentations,o,s);if(o==="hasOwnProperty")return hasOwnProperty$6}const u=Reflect.get(a,o,s);return(isSymbol$1(o)?builtInSymbols.has(o):isNonTrackableKeys(o))||(t||track(a,"get",o),r)?u:isRef(u)?l&&isIntegerKey(o)?u:u.value:isObject$6(u)?t?readonly(u):reactive(u):u}}const set$1$1=createSetter(),shallowSet=createSetter(!0);function createSetter(t=!1){return function(n,a,o,s){let l=n[a];if(isReadonly(l)&&isRef(l)&&!isRef(o))return!1;if(!t&&(!isShallow(o)&&!isReadonly(o)&&(l=toRaw(l),o=toRaw(o)),!isArray$6(n)&&isRef(l)&&!isRef(o)))return l.value=o,!0;const u=isArray$6(n)&&isIntegerKey(a)?Number(a)t,getProto=t=>Reflect.getPrototypeOf(t);function get$2(t,r,n=!1,a=!1){t=t.__v_raw;const o=toRaw(t),s=toRaw(r);n||(r!==s&&track(o,"get",r),track(o,"get",s));const{has:l}=getProto(o),u=a?toShallow:n?toReadonly:toReactive;if(l.call(o,r))return u(t.get(r));if(l.call(o,s))return u(t.get(s));t!==o&&t.get(r)}function has$2(t,r=!1){const n=this.__v_raw,a=toRaw(n),o=toRaw(t);return r||(t!==o&&track(a,"has",t),track(a,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}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(r).has.call(r,t)||(r.add(t),trigger$2(r,"add",t,t)),this}function set$3(t,r){r=toRaw(r);const n=toRaw(this),{has:a,get:o}=getProto(n);let s=a.call(n,t);s||(t=toRaw(t),s=a.call(n,t));const l=o.call(n,t);return n.set(t,r),s?hasChanged(r,l)&&trigger$2(n,"set",t,r):trigger$2(n,"add",t,r),this}function deleteEntry(t){const r=toRaw(this),{has:n,get:a}=getProto(r);let o=n.call(r,t);o||(t=toRaw(t),o=n.call(r,t)),a&&a.call(r,t);const s=r.delete(t);return o&&trigger$2(r,"delete",t,void 0),s}function clear$2(){const t=toRaw(this),r=t.size!==0,n=t.clear();return r&&trigger$2(t,"clear",void 0,void 0),n}function createForEach(t,r){return function(a,o){const s=this,l=s.__v_raw,u=toRaw(l),c=r?toShallow:t?toReadonly:toReactive;return!t&&track(u,"iterate",ITERATE_KEY),l.forEach((f,d)=>a.call(o,c(f),c(d),s))}}function createIterableMethod(t,r,n){return function(...a){const o=this.__v_raw,s=toRaw(o),l=isMap(s),u=t==="entries"||t===Symbol.iterator&&l,c=t==="keys"&&l,f=o[t](...a),d=n?toShallow:r?toReadonly:toReactive;return!r&&track(s,"iterate",c?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:v,done:g}=f.next();return g?{value:v,done:g}:{value:u?[d(v[0]),d(v[1])]:d(v),done:g}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(t){return function(...r){return t==="delete"?!1:this}}function createInstrumentations(){const t={get(s){return get$2(this,s)},get size(){return size(this)},has:has$2,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!1)},r={get(s){return get$2(this,s,!1,!0)},get size(){return size(this)},has:has$2,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!0)},n={get(s){return get$2(this,s,!0)},get size(){return size(this,!0)},has(s){return has$2.call(this,s,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},a={get(s){return get$2(this,s,!0,!0)},get size(){return size(this,!0)},has(s){return has$2.call(this,s,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=createIterableMethod(s,!1,!1),n[s]=createIterableMethod(s,!0,!1),r[s]=createIterableMethod(s,!1,!0),a[s]=createIterableMethod(s,!0,!0)}),[t,n,r,a]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(t,r){const n=r?t?shallowReadonlyInstrumentations:shallowInstrumentations:t?readonlyInstrumentations:mutableInstrumentations;return(a,o,s)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?a:Reflect.get(hasOwn$2(n,o)&&o in a?n:a,o,s)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},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 createReactiveObject(t,r,n,a,o){if(!isObject$6(t)||t.__v_raw&&!(r&&t.__v_isReactive))return t;const s=o.get(t);if(s)return s;const l=getTargetType(t);if(l===0)return t;const u=new Proxy(t,l===2?a:n);return o.set(t,u),u}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$6(t)?reactive(t):t,toReadonly=t=>isObject$6(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 n=t.dep;n&&triggerEffects(n)}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,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?r:toRaw(r),this._value=n?r:toReactive(r)}get value(){return trackRefValue(this),this._value}set value(r){const n=this.__v_isShallow||isShallow(r)||isReadonly(r);r=n?r:toRaw(r),hasChanged(r,this._rawValue)&&(this._rawValue=r,this._value=n?r:toReactive(r),triggerRefValue(this))}}function unref(t){return isRef(t)?t.value:t}const shallowUnwrapHandlers={get:(t,r,n)=>unref(Reflect.get(t,r,n)),set:(t,r,n,a)=>{const o=t[r];return isRef(o)&&!isRef(n)?(o.value=n,!0):Reflect.set(t,r,n,a)}};function proxyRefs(t){return isReactive(t)?t:new Proxy(t,shallowUnwrapHandlers)}function toRefs(t){const r=isArray$6(t)?new Array(t.length):{};for(const n in t)r[n]=propertyToRef(t,n);return r}class ObjectRefImpl{constructor(r,n,a){this._object=r,this._key=n,this._defaultValue=a,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,n){return isRef(t)?t:isFunction$4(t)?new GetterRefImpl(t):isObject$6(t)&&arguments.length>1?propertyToRef(t,r,n):ref(t)}function propertyToRef(t,r,n){const a=t[r];return isRef(a)?a:new ObjectRefImpl(t,r,n)}class ComputedRefImpl{constructor(r,n,a,o){this._setter=n,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=!o,this.__v_isReadonly=a}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,n=!1){let a,o;const s=isFunction$4(t);return s?(a=t,o=NOOP):(a=t.get,o=t.set),new ComputedRefImpl(a,o,s||!o,n)}function warn$2(t,...r){}function callWithErrorHandling(t,r,n,a){let o;try{o=a?t(...a):t()}catch(s){handleError$1(s,r,n)}return o}function callWithAsyncErrorHandling(t,r,n,a){if(isFunction$4(t)){const s=callWithErrorHandling(t,r,n,a);return s&&isPromise(s)&&s.catch(l=>{handleError$1(l,r,n)}),s}const o=[];for(let s=0;s>>1;getId$1(queue[a])flushIndex&&queue.splice(r,1)}function queuePostFlushCb(t){isArray$6(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(;rgetId$1(n)-getId$1(a)),postFlushIndex=0;postFlushIndext.id==null?1/0:t.id,comparator=(t,r)=>{const n=getId$1(t)-getId$1(r);if(n===0){if(t.pre&&!r.pre)return-1;if(r.pre&&!t.pre)return 1}return n};function flushJobs(t){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);const r=NOOP;try{for(flushIndex=0;flushIndexisString$3(y)?y.trim():y)),v&&(o=n.map(looseToNumber))}let u,c=a[u=toHandlerKey(r)]||a[u=toHandlerKey(camelize(r))];!c&&s&&(c=a[u=toHandlerKey(hyphenate(r))]),c&&callWithAsyncErrorHandling(c,t,6,o);const f=a[u+"Once"];if(f){if(!t.emitted)t.emitted={};else if(t.emitted[u])return;t.emitted[u]=!0,callWithAsyncErrorHandling(f,t,6,o)}}function normalizeEmitsOptions(t,r,n=!1){const a=r.emitsCache,o=a.get(t);if(o!==void 0)return o;const s=t.emits;let l={},u=!1;if(!isFunction$4(t)){const c=f=>{const d=normalizeEmitsOptions(f,r,!0);d&&(u=!0,extend$1(l,d))};!n&&r.mixins.length&&r.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!s&&!u?(isObject$6(t)&&a.set(t,null),null):(isArray$6(s)?s.forEach(c=>l[c]=null):extend$1(l,s),isObject$6(t)&&a.set(t,l),l)}function isEmitListener(t,r){return!t||!isOn(r)?!1:(r=r.slice(2).replace(/Once$/,""),hasOwn$2(t,r[0].toLowerCase()+r.slice(1))||hasOwn$2(t,hyphenate(r))||hasOwn$2(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}function withCtx(t,r=currentRenderingInstance,n){if(!r||t._n)return t;const a=(...o)=>{a._d&&setBlockTracking(-1);const s=setCurrentRenderingInstance(r);let l;try{l=t(...o)}finally{setCurrentRenderingInstance(s),a._d&&setBlockTracking(1)}return l};return a._n=!0,a._c=!0,a._d=!0,a}function markAttrsAccessed(){}function renderComponentRoot(t){const{type:r,vnode:n,proxy:a,withProxy:o,props:s,propsOptions:[l],slots:u,attrs:c,emit:f,render:d,renderCache:v,data:g,setupState:y,ctx:S,inheritAttrs:b}=t;let T,w;const A=setCurrentRenderingInstance(t);try{if(n.shapeFlag&4){const L=o||a;T=normalizeVNode(d.call(L,L,v,s,y,g,S)),w=c}else{const L=r;T=normalizeVNode(L.length>1?L(s,{attrs:c,slots:u,emit:f}):L(s,null)),w=r.props?c:getFunctionalFallthrough(c)}}catch(L){blockStack.length=0,handleError$1(L,t,1),T=createVNode$1(Comment)}let M=T;if(w&&b!==!1){const L=Object.keys(w),{shapeFlag:O}=M;L.length&&O&7&&(l&&L.some(isModelListener)&&(w=filterModelListeners(w,l)),M=cloneVNode(M,w))}return n.dirs&&(M=cloneVNode(M),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&(M.transition=n.transition),T=M,setCurrentRenderingInstance(A),T}const getFunctionalFallthrough=t=>{let r;for(const n in t)(n==="class"||n==="style"||isOn(n))&&((r||(r={}))[n]=t[n]);return r},filterModelListeners=(t,r)=>{const n={};for(const a in t)(!isModelListener(a)||!(a.slice(9)in r))&&(n[a]=t[a]);return n};function shouldUpdateComponent(t,r,n){const{props:a,children:o,component:s}=t,{props:l,children:u,patchFlag:c}=r,f=s.emitsOptions;if(r.dirs||r.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return a?hasPropsChanged(a,l,f):!!l;if(c&8){const d=r.dynamicProps;for(let v=0;vt.__isSuspense;function queueEffectWithSuspense(t,r){r&&r.pendingBranch?isArray$6(t)?r.effects.push(...t):r.effects.push(t):queuePostFlushCb(t)}function watchEffect(t,r){return doWatch(t,null,r)}const INITIAL_WATCHER_VALUE={};function watch(t,r,n){return doWatch(t,r,n)}function doWatch(t,r,{immediate:n,deep:a,flush:o,onTrack:s,onTrigger:l}=EMPTY_OBJ$1){var u;const c=getCurrentScope()===((u=currentInstance)==null?void 0:u.scope)?currentInstance:null;let f,d=!1,v=!1;if(isRef(t)?(f=()=>t.value,d=isShallow(t)):isReactive(t)?(f=()=>t,a=!0):isArray$6(t)?(v=!0,d=t.some(L=>isReactive(L)||isShallow(L)),f=()=>t.map(L=>{if(isRef(L))return L.value;if(isReactive(L))return traverse(L);if(isFunction$4(L))return callWithErrorHandling(L,c,2)})):isFunction$4(t)?r?f=()=>callWithErrorHandling(t,c,2):f=()=>{if(!(c&&c.isUnmounted))return g&&g(),callWithAsyncErrorHandling(t,c,3,[y])}:f=NOOP,r&&a){const L=f;f=()=>traverse(L())}let g,y=L=>{g=A.onStop=()=>{callWithErrorHandling(L,c,4)}},S;if(isInSSRComponentSetup)if(y=NOOP,r?n&&callWithAsyncErrorHandling(r,c,3,[f(),v?[]:void 0,y]):f(),o==="sync"){const L=useSSRContext();S=L.__watcherHandles||(L.__watcherHandles=[])}else return NOOP;let b=v?new Array(t.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const T=()=>{if(A.active)if(r){const L=A.run();(a||d||(v?L.some((O,D)=>hasChanged(O,b[D])):hasChanged(L,b)))&&(g&&g(),callWithAsyncErrorHandling(r,c,3,[L,b===INITIAL_WATCHER_VALUE?void 0:v&&b[0]===INITIAL_WATCHER_VALUE?[]:b,y]),b=L)}else A.run()};T.allowRecurse=!!r;let w;o==="sync"?w=T:o==="post"?w=()=>queuePostRenderEffect(T,c&&c.suspense):(T.pre=!0,c&&(T.id=c.uid),w=()=>queueJob(T));const A=new ReactiveEffect(f,w);r?n?T():b=A.run():o==="post"?queuePostRenderEffect(A.run.bind(A),c&&c.suspense):A.run();const M=()=>{A.stop(),c&&c.scope&&remove(c.scope.effects,A)};return S&&S.push(M),M}function instanceWatch(t,r,n){const a=this.proxy,o=isString$3(t)?t.includes(".")?createPathGetter(a,t):()=>a[t]:t.bind(a,a);let s;isFunction$4(r)?s=r:(s=r.handler,n=r);const l=currentInstance;setCurrentInstance(this);const u=doWatch(o,s.bind(a),n);return l?setCurrentInstance(l):unsetCurrentInstance(),u}function createPathGetter(t,r){const n=r.split(".");return()=>{let a=t;for(let o=0;o{traverse(n,r)});else if(isPlainObject$2(t))for(const n in t)traverse(t[n],r);return t}function withDirectives(t,r){const n=currentRenderingInstance;if(n===null)return t;const a=getExposeProxy(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let s=0;s{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 n=getCurrentInstance(),a=useTransitionState();let o;return()=>{const s=r.default&&getTransitionRawChildren(r.default(),!0);if(!s||!s.length)return;let l=s[0];if(s.length>1){for(const b of s)if(b.type!==Comment){l=b;break}}const u=toRaw(t),{mode:c}=u;if(a.isLeaving)return emptyPlaceholder(l);const f=getKeepAliveChild(l);if(!f)return emptyPlaceholder(l);const d=resolveTransitionHooks(f,u,a,n);setTransitionHooks(f,d);const v=n.subTree,g=v&&getKeepAliveChild(v);let y=!1;const{getTransitionKey:S}=f.type;if(S){const b=S();o===void 0?o=b:b!==o&&(o=b,y=!0)}if(g&&g.type!==Comment&&(!isSameVNodeType(f,g)||y)){const b=resolveTransitionHooks(g,u,a,n);if(setTransitionHooks(g,b),c==="out-in")return a.isLeaving=!0,b.afterLeave=()=>{a.isLeaving=!1,n.update.active!==!1&&n.update()},emptyPlaceholder(l);c==="in-out"&&f.type!==Comment&&(b.delayLeave=(T,w,A)=>{const M=getLeavingNodesForType(a,g);M[String(g.key)]=g,T._leaveCb=()=>{w(),T._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=A})}return l}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(t,r){const{leavingVNodes:n}=t;let a=n.get(r.type);return a||(a=Object.create(null),n.set(r.type,a)),a}function resolveTransitionHooks(t,r,n,a){const{appear:o,mode:s,persisted:l=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:f,onEnterCancelled:d,onBeforeLeave:v,onLeave:g,onAfterLeave:y,onLeaveCancelled:S,onBeforeAppear:b,onAppear:T,onAfterAppear:w,onAppearCancelled:A}=r,M=String(t.key),L=getLeavingNodesForType(n,t),O=(z,Y)=>{z&&callWithAsyncErrorHandling(z,a,9,Y)},D=(z,Y)=>{const ie=Y[1];O(z,Y),isArray$6(z)?z.every(j=>j.length<=1)&&ie():z.length<=1&&ie()},V={mode:s,persisted:l,beforeEnter(z){let Y=u;if(!n.isMounted)if(o)Y=b||u;else return;z._leaveCb&&z._leaveCb(!0);const ie=L[M];ie&&isSameVNodeType(t,ie)&&ie.el._leaveCb&&ie.el._leaveCb(),O(Y,[z])},enter(z){let Y=c,ie=f,j=d;if(!n.isMounted)if(o)Y=T||c,ie=w||f,j=A||d;else return;let le=!1;const de=z._enterCb=xe=>{le||(le=!0,xe?O(j,[z]):O(ie,[z]),V.delayedLeave&&V.delayedLeave(),z._enterCb=void 0)};Y?D(Y,[z,de]):de()},leave(z,Y){const ie=String(t.key);if(z._enterCb&&z._enterCb(!0),n.isUnmounting)return Y();O(v,[z]);let j=!1;const le=z._leaveCb=de=>{j||(j=!0,Y(),de?O(S,[z]):O(y,[z]),z._leaveCb=void 0,L[ie]===t&&delete L[ie])};L[ie]=t,g?D(g,[z,le]):le()},clone(z){return resolveTransitionHooks(z,r,n,a)}};return V}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,n){let a=[],o=0;for(let s=0;s1)for(let s=0;sextend$1({name:t.name},r,{setup:t}))():t}const isAsyncWrapper=t=>!!t.type.__asyncLoader,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 n=getCurrentInstance(),a=n.ctx;if(!a.renderer)return()=>{const A=r.default&&r.default();return A&&A.length===1?A[0]:A};const o=new Map,s=new Set;let l=null;const u=n.suspense,{renderer:{p:c,m:f,um:d,o:{createElement:v}}}=a,g=v("div");a.activate=(A,M,L,O,D)=>{const V=A.component;f(A,M,L,0,u),c(V.vnode,A,M,L,V,u,O,A.slotScopeIds,D),queuePostRenderEffect(()=>{V.isDeactivated=!1,V.a&&invokeArrayFns(V.a);const z=A.props&&A.props.onVnodeMounted;z&&invokeVNodeHook(z,V.parent,A)},u)},a.deactivate=A=>{const M=A.component;f(A,g,null,1,u),queuePostRenderEffect(()=>{M.da&&invokeArrayFns(M.da);const L=A.props&&A.props.onVnodeUnmounted;L&&invokeVNodeHook(L,M.parent,A),M.isDeactivated=!0},u)};function y(A){resetShapeFlag(A),d(A,n,u,!0)}function S(A){o.forEach((M,L)=>{const O=getComponentName(M.type);O&&(!A||!A(O))&&b(L)})}function b(A){const M=o.get(A);!l||!isSameVNodeType(M,l)?y(M):l&&resetShapeFlag(l),o.delete(A),s.delete(A)}watch(()=>[t.include,t.exclude],([A,M])=>{A&&S(L=>matches(A,L)),M&&S(L=>!matches(M,L))},{flush:"post",deep:!0});let T=null;const w=()=>{T!=null&&o.set(T,getInnerChild(n.subTree))};return onMounted(w),onUpdated(w),onBeforeUnmount(()=>{o.forEach(A=>{const{subTree:M,suspense:L}=n,O=getInnerChild(M);if(A.type===O.type&&A.key===O.key){resetShapeFlag(O);const D=O.component.da;D&&queuePostRenderEffect(D,L);return}y(A)})}),()=>{if(T=null,!r.default)return null;const A=r.default(),M=A[0];if(A.length>1)return l=null,A;if(!isVNode$1(M)||!(M.shapeFlag&4)&&!(M.shapeFlag&128))return l=null,M;let L=getInnerChild(M);const O=L.type,D=getComponentName(isAsyncWrapper(L)?L.type.__asyncResolved||{}:O),{include:V,exclude:z,max:Y}=t;if(V&&(!D||!matches(V,D))||z&&D&&matches(z,D))return l=L,M;const ie=L.key==null?O:L.key,j=o.get(ie);return L.el&&(L=cloneVNode(L),M.shapeFlag&128&&(M.ssContent=L)),T=ie,j?(L.el=j.el,L.component=j.component,L.transition&&setTransitionHooks(L,L.transition),L.shapeFlag|=512,s.delete(ie),s.add(ie)):(s.add(ie),Y&&s.size>parseInt(Y,10)&&b(s.values().next().value)),L.shapeFlag|=256,l=L,isSuspense(M.type)?M:L}}},KeepAlive=KeepAliveImpl;function matches(t,r){return isArray$6(t)?t.some(n=>matches(n,r)):isString$3(t)?t.split(",").includes(r):isRegExp$2(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,n=currentInstance){const a=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(injectHook(r,a,n),n){let o=n.parent;for(;o&&o.parent;)isKeepAlive(o.parent.vnode)&&injectToKeepAliveRoot(a,r,n,o),o=o.parent}}function injectToKeepAliveRoot(t,r,n,a){const o=injectHook(r,t,a,!0);onUnmounted(()=>{remove(a[r],o)},n)}function resetShapeFlag(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function getInnerChild(t){return t.shapeFlag&128?t.ssContent:t}function injectHook(t,r,n=currentInstance,a=!1){if(n){const o=n[t]||(n[t]=[]),s=r.__weh||(r.__weh=(...l)=>{if(n.isUnmounted)return;pauseTracking(),setCurrentInstance(n);const u=callWithAsyncErrorHandling(r,n,t,l);return unsetCurrentInstance(),resetTracking(),u});return a?o.unshift(s):o.push(s),s}}const createHook=t=>(r,n=currentInstance)=>(!isInSSRComponentSetup||t==="sp")&&injectHook(t,(...a)=>r(...a),n),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";function resolveComponent(t,r){return resolveAsset(COMPONENTS,t,!0,r)||t}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(t){return isString$3(t)?resolveAsset(COMPONENTS,t,!1)||t:t||NULL_DYNAMIC_COMPONENT}function resolveAsset(t,r,n=!0,a=!1){const o=currentRenderingInstance||currentInstance;if(o){const s=o.type;if(t===COMPONENTS){const u=getComponentName(s,!1);if(u&&(u===r||u===camelize(r)||u===capitalize$1(camelize(r))))return s}const l=resolve(o[t]||s[t],r)||resolve(o.appContext[t],r);return!l&&a?s:l}}function resolve(t,r){return t&&(t[r]||t[camelize(r)]||t[capitalize$1(camelize(r))])}function renderList(t,r,n,a){let o;const s=n&&n[a];if(isArray$6(t)||isString$3(t)){o=new Array(t.length);for(let l=0,u=t.length;lr(l,u,void 0,s&&s[u]));else{const l=Object.keys(t);o=new Array(l.length);for(let u=0,c=l.length;u{const s=a.fn(...o);return s&&(s.key=a.key),s}:a.fn)}return t}function renderSlot(t,r,n={},a,o){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return r!=="default"&&(n.name=r),createVNode$1("slot",n,a&&a());let s=t[r];s&&s._c&&(s._d=!1),openBlock();const l=s&&ensureValidVNode(s(n)),u=createBlock(Fragment,{key:n.key||l&&l.key||`_${r}`},l||(a?a():[]),l&&t._===1?64:-2);return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),s&&s._c&&(s._d=!0),u}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 n={};for(const a in t)n[r&&/[A-Z]/.test(a)?`on:${a}`:toHandlerKey(a)]=t[a];return n}const getPublicInstance=t=>t?isStatefulComponent(t)?getExposeProxy(t)||t.proxy:getPublicInstance(t.parent):null,publicPropertiesMap=extend$1(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$2(t,r),PublicInstanceProxyHandlers={get({_:t},r){const{ctx:n,setupState:a,data:o,props:s,accessCache:l,type:u,appContext:c}=t;let f;if(r[0]!=="$"){const y=l[r];if(y!==void 0)switch(y){case 1:return a[r];case 2:return o[r];case 4:return n[r];case 3:return s[r]}else{if(hasSetupBinding(a,r))return l[r]=1,a[r];if(o!==EMPTY_OBJ$1&&hasOwn$2(o,r))return l[r]=2,o[r];if((f=t.propsOptions[0])&&hasOwn$2(f,r))return l[r]=3,s[r];if(n!==EMPTY_OBJ$1&&hasOwn$2(n,r))return l[r]=4,n[r];shouldCacheAccess&&(l[r]=0)}}const d=publicPropertiesMap[r];let v,g;if(d)return r==="$attrs"&&track(t,"get",r),d(t);if((v=u.__cssModules)&&(v=v[r]))return v;if(n!==EMPTY_OBJ$1&&hasOwn$2(n,r))return l[r]=4,n[r];if(g=c.config.globalProperties,hasOwn$2(g,r))return g[r]},set({_:t},r,n){const{data:a,setupState:o,ctx:s}=t;return hasSetupBinding(o,r)?(o[r]=n,!0):a!==EMPTY_OBJ$1&&hasOwn$2(a,r)?(a[r]=n,!0):hasOwn$2(t.props,r)||r[0]==="$"&&r.slice(1)in t?!1:(s[r]=n,!0)},has({_:{data:t,setupState:r,accessCache:n,ctx:a,appContext:o,propsOptions:s}},l){let u;return!!n[l]||t!==EMPTY_OBJ$1&&hasOwn$2(t,l)||hasSetupBinding(r,l)||(u=s[0])&&hasOwn$2(u,l)||hasOwn$2(a,l)||hasOwn$2(publicPropertiesMap,l)||hasOwn$2(o.config.globalProperties,l)},defineProperty(t,r,n){return n.get!=null?t._.accessCache[r]=0:hasOwn$2(n,"value")&&this.set(t,r,n.value,null),Reflect.defineProperty(t,r,n)}};function useSlots(){return getContext().slots}function useAttrs(){return getContext().attrs}function getContext(){const t=getCurrentInstance();return t.setupContext||(t.setupContext=createSetupContext(t))}function normalizePropsOrEmits(t){return isArray$6(t)?t.reduce((r,n)=>(r[n]=null,r),{}):t}let shouldCacheAccess=!0;function applyOptions(t){const r=resolveMergedOptions(t),n=t.proxy,a=t.ctx;shouldCacheAccess=!1,r.beforeCreate&&callHook$1(r.beforeCreate,t,"bc");const{data:o,computed:s,methods:l,watch:u,provide:c,inject:f,created:d,beforeMount:v,mounted:g,beforeUpdate:y,updated:S,activated:b,deactivated:T,beforeDestroy:w,beforeUnmount:A,destroyed:M,unmounted:L,render:O,renderTracked:D,renderTriggered:V,errorCaptured:z,serverPrefetch:Y,expose:ie,inheritAttrs:j,components:le,directives:de,filters:xe}=r;if(f&&resolveInjections(f,a,null),l)for(const Fe in l){const Ue=l[Fe];isFunction$4(Ue)&&(a[Fe]=Ue.bind(n))}if(o){const Fe=o.call(n,n);isObject$6(Fe)&&(t.data=reactive(Fe))}if(shouldCacheAccess=!0,s)for(const Fe in s){const Ue=s[Fe],Pt=isFunction$4(Ue)?Ue.bind(n,n):isFunction$4(Ue.get)?Ue.get.bind(n,n):NOOP,Dt=!isFunction$4(Ue)&&isFunction$4(Ue.set)?Ue.set.bind(n):NOOP,rr=computed({get:Pt,set:Dt});Object.defineProperty(a,Fe,{enumerable:!0,configurable:!0,get:()=>rr.value,set:ur=>rr.value=ur})}if(u)for(const Fe in u)createWatcher(u[Fe],a,n,Fe);if(c){const Fe=isFunction$4(c)?c.call(n):c;Reflect.ownKeys(Fe).forEach(Ue=>{provide(Ue,Fe[Ue])})}d&&callHook$1(d,t,"c");function Ce(Fe,Ue){isArray$6(Ue)?Ue.forEach(Pt=>Fe(Pt.bind(n))):Ue&&Fe(Ue.bind(n))}if(Ce(onBeforeMount,v),Ce(onMounted,g),Ce(onBeforeUpdate,y),Ce(onUpdated,S),Ce(onActivated,b),Ce(onDeactivated,T),Ce(onErrorCaptured,z),Ce(onRenderTracked,D),Ce(onRenderTriggered,V),Ce(onBeforeUnmount,A),Ce(onUnmounted,L),Ce(onServerPrefetch,Y),isArray$6(ie))if(ie.length){const Fe=t.exposed||(t.exposed={});ie.forEach(Ue=>{Object.defineProperty(Fe,Ue,{get:()=>n[Ue],set:Pt=>n[Ue]=Pt})})}else t.exposed||(t.exposed={});O&&t.render===NOOP&&(t.render=O),j!=null&&(t.inheritAttrs=j),le&&(t.components=le),de&&(t.directives=de)}function resolveInjections(t,r,n=NOOP){isArray$6(t)&&(t=normalizeInject(t));for(const a in t){const o=t[a];let s;isObject$6(o)?"default"in o?s=inject(o.from||a,o.default,!0):s=inject(o.from||a):s=inject(o),isRef(s)?Object.defineProperty(r,a,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):r[a]=s}}function callHook$1(t,r,n){callWithAsyncErrorHandling(isArray$6(t)?t.map(a=>a.bind(r.proxy)):t.bind(r.proxy),r,n)}function createWatcher(t,r,n,a){const o=a.includes(".")?createPathGetter(n,a):()=>n[a];if(isString$3(t)){const s=r[t];isFunction$4(s)&&watch(o,s)}else if(isFunction$4(t))watch(o,t.bind(n));else if(isObject$6(t))if(isArray$6(t))t.forEach(s=>createWatcher(s,r,n,a));else{const s=isFunction$4(t.handler)?t.handler.bind(n):r[t.handler];isFunction$4(s)&&watch(o,s,t)}}function resolveMergedOptions(t){const r=t.type,{mixins:n,extends:a}=r,{mixins:o,optionsCache:s,config:{optionMergeStrategies:l}}=t.appContext,u=s.get(r);let c;return u?c=u:!o.length&&!n&&!a?c=r:(c={},o.length&&o.forEach(f=>mergeOptions$1(c,f,l,!0)),mergeOptions$1(c,r,l)),isObject$6(r)&&s.set(r,c),c}function mergeOptions$1(t,r,n,a=!1){const{mixins:o,extends:s}=r;s&&mergeOptions$1(t,s,n,!0),o&&o.forEach(l=>mergeOptions$1(t,l,n,!0));for(const l in r)if(!(a&&l==="expose")){const u=internalOptionMergeStrats[l]||n&&n[l];t[l]=u?u(t[l],r[l]):r[l]}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$1(isFunction$4(t)?t.call(this,this):t,isFunction$4(r)?r.call(this,this):r)}:r:t}function mergeInject(t,r){return mergeObjectOptions(normalizeInject(t),normalizeInject(r))}function normalizeInject(t){if(isArray$6(t)){const r={};for(let n=0;n1)return n&&isFunction$4(r)?r.call(a&&a.proxy):r}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}function initProps$1(t,r,n,a=!1){const o={},s={};def(s,InternalObjectKey,1),t.propsDefaults=Object.create(null),setFullProps(t,r,o,s);for(const l in t.propsOptions[0])l in o||(o[l]=void 0);n?t.props=a?o:shallowReactive(o):t.type.props?t.props=o:t.props=s,t.attrs=s}function updateProps$2(t,r,n,a){const{props:o,attrs:s,vnode:{patchFlag:l}}=t,u=toRaw(o),[c]=t.propsOptions;let f=!1;if((a||l>0)&&!(l&16)){if(l&8){const d=t.vnode.dynamicProps;for(let v=0;v{c=!0;const[g,y]=normalizePropsOptions(v,r,!0);extend$1(l,g),y&&u.push(...y)};!n&&r.mixins.length&&r.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!s&&!c)return isObject$6(t)&&a.set(t,EMPTY_ARR),EMPTY_ARR;if(isArray$6(s))for(let d=0;d-1,y[1]=b<0||S-1||hasOwn$2(y,"default"))&&u.push(v)}}}const f=[l,u];return isObject$6(t)&&a.set(t,f),f}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$6(r)?r.findIndex(n=>isSameType(n,t)):isFunction$4(r)&&isSameType(r,t)?0:-1}const isInternalKey=t=>t[0]==="_"||t==="$stable",normalizeSlotValue=t=>isArray$6(t)?t.map(normalizeVNode):[normalizeVNode(t)],normalizeSlot$1=(t,r,n)=>{if(r._n)return r;const a=withCtx((...o)=>normalizeSlotValue(r(...o)),n);return a._c=!1,a},normalizeObjectSlots=(t,r,n)=>{const a=t._ctx;for(const o in t){if(isInternalKey(o))continue;const s=t[o];if(isFunction$4(s))r[o]=normalizeSlot$1(o,s,a);else if(s!=null){const l=normalizeSlotValue(s);r[o]=()=>l}}},normalizeVNodeSlots=(t,r)=>{const n=normalizeSlotValue(r);t.slots.default=()=>n},initSlots=(t,r)=>{if(t.vnode.shapeFlag&32){const n=r._;n?(t.slots=toRaw(r),def(r,"_",n)):normalizeObjectSlots(r,t.slots={})}else t.slots={},r&&normalizeVNodeSlots(t,r);def(t.slots,InternalObjectKey,1)},updateSlots=(t,r,n)=>{const{vnode:a,slots:o}=t;let s=!0,l=EMPTY_OBJ$1;if(a.shapeFlag&32){const u=r._;u?n&&u===1?s=!1:(extend$1(o,r),!n&&u===1&&delete o._):(s=!r.$stable,normalizeObjectSlots(r,o)),l=r}else r&&(normalizeVNodeSlots(t,r),l={default:1});if(s)for(const u in o)!isInternalKey(u)&&!(u in l)&&delete o[u]};function setRef(t,r,n,a,o=!1){if(isArray$6(t)){t.forEach((g,y)=>setRef(g,r&&(isArray$6(r)?r[y]:r),n,a,o));return}if(isAsyncWrapper(a)&&!o)return;const s=a.shapeFlag&4?getExposeProxy(a.component)||a.component.proxy:a.el,l=o?null:s,{i:u,r:c}=t,f=r&&r.r,d=u.refs===EMPTY_OBJ$1?u.refs={}:u.refs,v=u.setupState;if(f!=null&&f!==c&&(isString$3(f)?(d[f]=null,hasOwn$2(v,f)&&(v[f]=null)):isRef(f)&&(f.value=null)),isFunction$4(c))callWithErrorHandling(c,u,12,[l,d]);else{const g=isString$3(c),y=isRef(c);if(g||y){const S=()=>{if(t.f){const b=g?hasOwn$2(v,c)?v[c]:d[c]:c.value;o?isArray$6(b)&&remove(b,s):isArray$6(b)?b.includes(s)||b.push(s):g?(d[c]=[s],hasOwn$2(v,c)&&(v[c]=d[c])):(c.value=[s],t.k&&(d[t.k]=c.value))}else g?(d[c]=l,hasOwn$2(v,c)&&(v[c]=l)):y&&(c.value=l,t.k&&(d[t.k]=l))};l?(S.id=-1,queuePostRenderEffect(S,n)):S()}}}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(t){return baseCreateRenderer(t)}function baseCreateRenderer(t,r){const n=getGlobalThis();n.__VUE__=!0;const{insert:a,remove:o,patchProp:s,createElement:l,createText:u,createComment:c,setText:f,setElementText:d,parentNode:v,nextSibling:g,setScopeId:y=NOOP,insertStaticContent:S}=t,b=(Ne,ue,_e,ze=null,At=null,tr=null,hr=!1,pr=null,mr=!!ue.dynamicChildren)=>{if(Ne===ue)return;Ne&&!isSameVNodeType(Ne,ue)&&(ze=jt(Ne),ur(Ne,At,tr,!0),Ne=null),ue.patchFlag===-2&&(mr=!1,ue.dynamicChildren=null);const{type:ir,ref:er,shapeFlag:nr}=ue;switch(ir){case Text$1:T(Ne,ue,_e,ze);break;case Comment:w(Ne,ue,_e,ze);break;case Static:Ne==null&&A(ue,_e,ze,hr);break;case Fragment:le(Ne,ue,_e,ze,At,tr,hr,pr,mr);break;default:nr&1?O(Ne,ue,_e,ze,At,tr,hr,pr,mr):nr&6?de(Ne,ue,_e,ze,At,tr,hr,pr,mr):(nr&64||nr&128)&&ir.process(Ne,ue,_e,ze,At,tr,hr,pr,mr,sr)}er!=null&&At&&setRef(er,Ne&&Ne.ref,tr,ue||Ne,!ue)},T=(Ne,ue,_e,ze)=>{if(Ne==null)a(ue.el=u(ue.children),_e,ze);else{const At=ue.el=Ne.el;ue.children!==Ne.children&&f(At,ue.children)}},w=(Ne,ue,_e,ze)=>{Ne==null?a(ue.el=c(ue.children||""),_e,ze):ue.el=Ne.el},A=(Ne,ue,_e,ze)=>{[Ne.el,Ne.anchor]=S(Ne.children,ue,_e,ze,Ne.el,Ne.anchor)},M=({el:Ne,anchor:ue},_e,ze)=>{let At;for(;Ne&&Ne!==ue;)At=g(Ne),a(Ne,_e,ze),Ne=At;a(ue,_e,ze)},L=({el:Ne,anchor:ue})=>{let _e;for(;Ne&&Ne!==ue;)_e=g(Ne),o(Ne),Ne=_e;o(ue)},O=(Ne,ue,_e,ze,At,tr,hr,pr,mr)=>{hr=hr||ue.type==="svg",Ne==null?D(ue,_e,ze,At,tr,hr,pr,mr):Y(Ne,ue,At,tr,hr,pr,mr)},D=(Ne,ue,_e,ze,At,tr,hr,pr)=>{let mr,ir;const{type:er,props:nr,shapeFlag:wr,transition:Ar,dirs:Or}=Ne;if(mr=Ne.el=l(Ne.type,tr,nr&&nr.is,nr),wr&8?d(mr,Ne.children):wr&16&&z(Ne.children,mr,null,ze,At,tr&&er!=="foreignObject",hr,pr),Or&&invokeDirectiveHook(Ne,null,ze,"created"),V(mr,Ne,Ne.scopeId,hr,ze),nr){for(const Nr in nr)Nr!=="value"&&!isReservedProp(Nr)&&s(mr,Nr,null,nr[Nr],tr,Ne.children,ze,At,Cr);"value"in nr&&s(mr,"value",null,nr.value),(ir=nr.onVnodeBeforeMount)&&invokeVNodeHook(ir,ze,Ne)}Or&&invokeDirectiveHook(Ne,null,ze,"beforeMount");const Br=(!At||At&&!At.pendingBranch)&&Ar&&!Ar.persisted;Br&&Ar.beforeEnter(mr),a(mr,ue,_e),((ir=nr&&nr.onVnodeMounted)||Br||Or)&&queuePostRenderEffect(()=>{ir&&invokeVNodeHook(ir,ze,Ne),Br&&Ar.enter(mr),Or&&invokeDirectiveHook(Ne,null,ze,"mounted")},At)},V=(Ne,ue,_e,ze,At)=>{if(_e&&y(Ne,_e),ze)for(let tr=0;tr{for(let ir=mr;ir{const pr=ue.el=Ne.el;let{patchFlag:mr,dynamicChildren:ir,dirs:er}=ue;mr|=Ne.patchFlag&16;const nr=Ne.props||EMPTY_OBJ$1,wr=ue.props||EMPTY_OBJ$1;let Ar;_e&&toggleRecurse(_e,!1),(Ar=wr.onVnodeBeforeUpdate)&&invokeVNodeHook(Ar,_e,ue,Ne),er&&invokeDirectiveHook(ue,Ne,_e,"beforeUpdate"),_e&&toggleRecurse(_e,!0);const Or=At&&ue.type!=="foreignObject";if(ir?ie(Ne.dynamicChildren,ir,pr,_e,ze,Or,tr):hr||Ue(Ne,ue,pr,null,_e,ze,Or,tr,!1),mr>0){if(mr&16)j(pr,ue,nr,wr,_e,ze,At);else if(mr&2&&nr.class!==wr.class&&s(pr,"class",null,wr.class,At),mr&4&&s(pr,"style",nr.style,wr.style,At),mr&8){const Br=ue.dynamicProps;for(let Nr=0;Nr{Ar&&invokeVNodeHook(Ar,_e,ue,Ne),er&&invokeDirectiveHook(ue,Ne,_e,"updated")},ze)},ie=(Ne,ue,_e,ze,At,tr,hr)=>{for(let pr=0;pr{if(_e!==ze){if(_e!==EMPTY_OBJ$1)for(const pr in _e)!isReservedProp(pr)&&!(pr in ze)&&s(Ne,pr,_e[pr],null,hr,ue.children,At,tr,Cr);for(const pr in ze){if(isReservedProp(pr))continue;const mr=ze[pr],ir=_e[pr];mr!==ir&&pr!=="value"&&s(Ne,pr,ir,mr,hr,ue.children,At,tr,Cr)}"value"in ze&&s(Ne,"value",_e.value,ze.value)}},le=(Ne,ue,_e,ze,At,tr,hr,pr,mr)=>{const ir=ue.el=Ne?Ne.el:u(""),er=ue.anchor=Ne?Ne.anchor:u("");let{patchFlag:nr,dynamicChildren:wr,slotScopeIds:Ar}=ue;Ar&&(pr=pr?pr.concat(Ar):Ar),Ne==null?(a(ir,_e,ze),a(er,_e,ze),z(ue.children,_e,er,At,tr,hr,pr,mr)):nr>0&&nr&64&&wr&&Ne.dynamicChildren?(ie(Ne.dynamicChildren,wr,_e,At,tr,hr,pr),(ue.key!=null||At&&ue===At.subTree)&&traverseStaticChildren(Ne,ue,!0)):Ue(Ne,ue,_e,er,At,tr,hr,pr,mr)},de=(Ne,ue,_e,ze,At,tr,hr,pr,mr)=>{ue.slotScopeIds=pr,Ne==null?ue.shapeFlag&512?At.ctx.activate(ue,_e,ze,hr,mr):xe(ue,_e,ze,At,tr,hr,mr):Ie(Ne,ue,mr)},xe=(Ne,ue,_e,ze,At,tr,hr)=>{const pr=Ne.component=createComponentInstance(Ne,ze,At);if(isKeepAlive(Ne)&&(pr.ctx.renderer=sr),setupComponent(pr),pr.asyncDep){if(At&&At.registerDep(pr,Ce),!Ne.el){const mr=pr.subTree=createVNode$1(Comment);w(null,mr,ue,_e)}return}Ce(pr,Ne,ue,_e,At,tr,hr)},Ie=(Ne,ue,_e)=>{const ze=ue.component=Ne.component;if(shouldUpdateComponent(Ne,ue,_e))if(ze.asyncDep&&!ze.asyncResolved){Fe(ze,ue,_e);return}else ze.next=ue,invalidateJob(ze.update),ze.update();else ue.el=Ne.el,ze.vnode=ue},Ce=(Ne,ue,_e,ze,At,tr,hr)=>{const pr=()=>{if(Ne.isMounted){let{next:er,bu:nr,u:wr,parent:Ar,vnode:Or}=Ne,Br=er,Nr;toggleRecurse(Ne,!1),er?(er.el=Or.el,Fe(Ne,er,hr)):er=Or,nr&&invokeArrayFns(nr),(Nr=er.props&&er.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Nr,Ar,er,Or),toggleRecurse(Ne,!0);const qr=renderComponentRoot(Ne),Tn=Ne.subTree;Ne.subTree=qr,b(Tn,qr,v(Tn.el),jt(Tn),Ne,At,tr),er.el=qr.el,Br===null&&updateHOCHostEl(Ne,qr.el),wr&&queuePostRenderEffect(wr,At),(Nr=er.props&&er.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Nr,Ar,er,Or),At)}else{let er;const{el:nr,props:wr}=ue,{bm:Ar,m:Or,parent:Br}=Ne,Nr=isAsyncWrapper(ue);if(toggleRecurse(Ne,!1),Ar&&invokeArrayFns(Ar),!Nr&&(er=wr&&wr.onVnodeBeforeMount)&&invokeVNodeHook(er,Br,ue),toggleRecurse(Ne,!0),nr&&fr){const qr=()=>{Ne.subTree=renderComponentRoot(Ne),fr(nr,Ne.subTree,Ne,At,null)};Nr?ue.type.__asyncLoader().then(()=>!Ne.isUnmounted&&qr()):qr()}else{const qr=Ne.subTree=renderComponentRoot(Ne);b(null,qr,_e,ze,Ne,At,tr),ue.el=qr.el}if(Or&&queuePostRenderEffect(Or,At),!Nr&&(er=wr&&wr.onVnodeMounted)){const qr=ue;queuePostRenderEffect(()=>invokeVNodeHook(er,Br,qr),At)}(ue.shapeFlag&256||Br&&isAsyncWrapper(Br.vnode)&&Br.vnode.shapeFlag&256)&&Ne.a&&queuePostRenderEffect(Ne.a,At),Ne.isMounted=!0,ue=_e=ze=null}},mr=Ne.effect=new ReactiveEffect(pr,()=>queueJob(ir),Ne.scope),ir=Ne.update=()=>mr.run();ir.id=Ne.uid,toggleRecurse(Ne,!0),ir()},Fe=(Ne,ue,_e)=>{ue.component=Ne;const ze=Ne.vnode.props;Ne.vnode=ue,Ne.next=null,updateProps$2(Ne,ue.props,ze,_e),updateSlots(Ne,ue.children,_e),pauseTracking(),flushPreFlushCbs(),resetTracking()},Ue=(Ne,ue,_e,ze,At,tr,hr,pr,mr=!1)=>{const ir=Ne&&Ne.children,er=Ne?Ne.shapeFlag:0,nr=ue.children,{patchFlag:wr,shapeFlag:Ar}=ue;if(wr>0){if(wr&128){Dt(ir,nr,_e,ze,At,tr,hr,pr,mr);return}else if(wr&256){Pt(ir,nr,_e,ze,At,tr,hr,pr,mr);return}}Ar&8?(er&16&&Cr(ir,At,tr),nr!==ir&&d(_e,nr)):er&16?Ar&16?Dt(ir,nr,_e,ze,At,tr,hr,pr,mr):Cr(ir,At,tr,!0):(er&8&&d(_e,""),Ar&16&&z(nr,_e,ze,At,tr,hr,pr,mr))},Pt=(Ne,ue,_e,ze,At,tr,hr,pr,mr)=>{Ne=Ne||EMPTY_ARR,ue=ue||EMPTY_ARR;const ir=Ne.length,er=ue.length,nr=Math.min(ir,er);let wr;for(wr=0;wrer?Cr(Ne,At,tr,!0,!1,nr):z(ue,_e,ze,At,tr,hr,pr,mr,nr)},Dt=(Ne,ue,_e,ze,At,tr,hr,pr,mr)=>{let ir=0;const er=ue.length;let nr=Ne.length-1,wr=er-1;for(;ir<=nr&&ir<=wr;){const Ar=Ne[ir],Or=ue[ir]=mr?cloneIfMounted(ue[ir]):normalizeVNode(ue[ir]);if(isSameVNodeType(Ar,Or))b(Ar,Or,_e,null,At,tr,hr,pr,mr);else break;ir++}for(;ir<=nr&&ir<=wr;){const Ar=Ne[nr],Or=ue[wr]=mr?cloneIfMounted(ue[wr]):normalizeVNode(ue[wr]);if(isSameVNodeType(Ar,Or))b(Ar,Or,_e,null,At,tr,hr,pr,mr);else break;nr--,wr--}if(ir>nr){if(ir<=wr){const Ar=wr+1,Or=Arwr)for(;ir<=nr;)ur(Ne[ir],At,tr,!0),ir++;else{const Ar=ir,Or=ir,Br=new Map;for(ir=Or;ir<=wr;ir++){const xn=ue[ir]=mr?cloneIfMounted(ue[ir]):normalizeVNode(ue[ir]);xn.key!=null&&Br.set(xn.key,ir)}let Nr,qr=0;const Tn=wr-Or+1;let Gn=!1,fa=0;const jn=new Array(Tn);for(ir=0;ir=Tn){ur(xn,At,tr,!0);continue}let $n;if(xn.key!=null)$n=Br.get(xn.key);else for(Nr=Or;Nr<=wr;Nr++)if(jn[Nr-Or]===0&&isSameVNodeType(xn,ue[Nr])){$n=Nr;break}$n===void 0?ur(xn,At,tr,!0):(jn[$n-Or]=ir+1,$n>=fa?fa=$n:Gn=!0,b(xn,ue[$n],_e,null,At,tr,hr,pr,mr),qr++)}const da=Gn?getSequence(jn):EMPTY_ARR;for(Nr=da.length-1,ir=Tn-1;ir>=0;ir--){const xn=Or+ir,$n=ue[xn],ha=xn+1{const{el:tr,type:hr,transition:pr,children:mr,shapeFlag:ir}=Ne;if(ir&6){rr(Ne.component.subTree,ue,_e,ze);return}if(ir&128){Ne.suspense.move(ue,_e,ze);return}if(ir&64){hr.move(Ne,ue,_e,sr);return}if(hr===Fragment){a(tr,ue,_e);for(let nr=0;nrpr.enter(tr),At);else{const{leave:nr,delayLeave:wr,afterLeave:Ar}=pr,Or=()=>a(tr,ue,_e),Br=()=>{nr(tr,()=>{Or(),Ar&&Ar()})};wr?wr(tr,Or,Br):Br()}else a(tr,ue,_e)},ur=(Ne,ue,_e,ze=!1,At=!1)=>{const{type:tr,props:hr,ref:pr,children:mr,dynamicChildren:ir,shapeFlag:er,patchFlag:nr,dirs:wr}=Ne;if(pr!=null&&setRef(pr,null,_e,Ne,!0),er&256){ue.ctx.deactivate(Ne);return}const Ar=er&1&&wr,Or=!isAsyncWrapper(Ne);let Br;if(Or&&(Br=hr&&hr.onVnodeBeforeUnmount)&&invokeVNodeHook(Br,ue,Ne),er&6)xr(Ne.component,_e,ze);else{if(er&128){Ne.suspense.unmount(_e,ze);return}Ar&&invokeDirectiveHook(Ne,null,ue,"beforeUnmount"),er&64?Ne.type.remove(Ne,ue,_e,At,sr,ze):ir&&(tr!==Fragment||nr>0&&nr&64)?Cr(ir,ue,_e,!1,!0):(tr===Fragment&&nr&384||!At&&er&16)&&Cr(mr,ue,_e),ze&&Sr(Ne)}(Or&&(Br=hr&&hr.onVnodeUnmounted)||Ar)&&queuePostRenderEffect(()=>{Br&&invokeVNodeHook(Br,ue,Ne),Ar&&invokeDirectiveHook(Ne,null,ue,"unmounted")},_e)},Sr=Ne=>{const{type:ue,el:_e,anchor:ze,transition:At}=Ne;if(ue===Fragment){_r(_e,ze);return}if(ue===Static){L(Ne);return}const tr=()=>{o(_e),At&&!At.persisted&&At.afterLeave&&At.afterLeave()};if(Ne.shapeFlag&1&&At&&!At.persisted){const{leave:hr,delayLeave:pr}=At,mr=()=>hr(_e,tr);pr?pr(Ne.el,tr,mr):mr()}else tr()},_r=(Ne,ue)=>{let _e;for(;Ne!==ue;)_e=g(Ne),o(Ne),Ne=_e;o(ue)},xr=(Ne,ue,_e)=>{const{bum:ze,scope:At,update:tr,subTree:hr,um:pr}=Ne;ze&&invokeArrayFns(ze),At.stop(),tr&&(tr.active=!1,ur(hr,Ne,ue,_e)),pr&&queuePostRenderEffect(pr,ue),queuePostRenderEffect(()=>{Ne.isUnmounted=!0},ue),ue&&ue.pendingBranch&&!ue.isUnmounted&&Ne.asyncDep&&!Ne.asyncResolved&&Ne.suspenseId===ue.pendingId&&(ue.deps--,ue.deps===0&&ue.resolve())},Cr=(Ne,ue,_e,ze=!1,At=!1,tr=0)=>{for(let hr=tr;hrNe.shapeFlag&6?jt(Ne.component.subTree):Ne.shapeFlag&128?Ne.suspense.next():g(Ne.anchor||Ne.el),ar=(Ne,ue,_e)=>{Ne==null?ue._vnode&&ur(ue._vnode,null,null,!0):b(ue._vnode||null,Ne,ue,null,null,null,_e),flushPreFlushCbs(),flushPostFlushCbs(),ue._vnode=Ne},sr={p:b,um:ur,m:rr,r:Sr,mt:xe,mc:z,pc:Ue,pbc:ie,n:jt,o:t};let dr,fr;return r&&([dr,fr]=r(sr)),{render:ar,hydrate:dr,createApp:createAppAPI(ar,dr)}}function toggleRecurse({effect:t,update:r},n){t.allowRecurse=r.allowRecurse=n}function traverseStaticChildren(t,r,n=!1){const a=t.children,o=r.children;if(isArray$6(a)&&isArray$6(o))for(let s=0;s>1,t[n[u]]0&&(r[a]=n[s-1]),n[s]=a)}}for(s=n.length,l=n[s-1];s-- >0;)n[s]=l,l=r[l];return n}const isTeleport=t=>t.__isTeleport,isTeleportDisabled=t=>t&&(t.disabled||t.disabled===""),isTargetSVG=t=>typeof SVGElement<"u"&&t instanceof SVGElement,resolveTarget=(t,r)=>{const n=t&&t.to;return isString$3(n)?r?r(n):null:n},TeleportImpl={__isTeleport:!0,process(t,r,n,a,o,s,l,u,c,f){const{mc:d,pc:v,pbc:g,o:{insert:y,querySelector:S,createText:b,createComment:T}}=f,w=isTeleportDisabled(r.props);let{shapeFlag:A,children:M,dynamicChildren:L}=r;if(t==null){const O=r.el=b(""),D=r.anchor=b("");y(O,n,a),y(D,n,a);const V=r.target=resolveTarget(r.props,S),z=r.targetAnchor=b("");V&&(y(z,V),l=l||isTargetSVG(V));const Y=(ie,j)=>{A&16&&d(M,ie,j,o,s,l,u,c)};w?Y(n,D):V&&Y(V,z)}else{r.el=t.el;const O=r.anchor=t.anchor,D=r.target=t.target,V=r.targetAnchor=t.targetAnchor,z=isTeleportDisabled(t.props),Y=z?n:D,ie=z?O:V;if(l=l||isTargetSVG(D),L?(g(t.dynamicChildren,L,Y,o,s,l,u),traverseStaticChildren(t,r,!0)):c||v(t,r,Y,ie,o,s,l,u,!1),w)z||moveTeleport(r,n,O,f,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const j=r.target=resolveTarget(r.props,S);j&&moveTeleport(r,j,null,f,0)}else z&&moveTeleport(r,D,V,f,1)}updateCssVars(r)},remove(t,r,n,a,{um:o,o:{remove:s}},l){const{shapeFlag:u,children:c,anchor:f,targetAnchor:d,target:v,props:g}=t;if(v&&s(d),(l||!isTeleportDisabled(g))&&(s(f),u&16))for(let y=0;y0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(t),t}function createElementBlock(t,r,n,a,o,s){return setupBlock(createBaseVNode(t,r,n,a,o,s,!0))}function createBlock(t,r,n,a,o){return setupBlock(createVNode$1(t,r,n,a,o,!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}const InternalObjectKey="__vInternal",normalizeKey=({key:t})=>t??null,normalizeRef=({ref:t,ref_key:r,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?isString$3(t)||isRef(t)||isFunction$4(t)?{i:currentRenderingInstance,r:t,k:r,f:!!n}:t:null);function createBaseVNode(t,r=null,n=null,a=0,o=null,s=t===Fragment?0:1,l=!1,u=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&normalizeKey(r),ref:r&&normalizeRef(r),scopeId:currentScopeId,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:a,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return u?(normalizeChildren(c,n),s&128&&t.normalize(c)):n&&(c.shapeFlag|=isString$3(n)?8:16),isBlockTreeEnabled>0&&!l&¤tBlock&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&¤tBlock.push(c),c}const createVNode$1=_createVNode;function _createVNode(t,r=null,n=null,a=0,o=null,s=!1){if((!t||t===NULL_DYNAMIC_COMPONENT)&&(t=Comment),isVNode$1(t)){const u=cloneVNode(t,r,!0);return n&&normalizeChildren(u,n),isBlockTreeEnabled>0&&!s&¤tBlock&&(u.shapeFlag&6?currentBlock[currentBlock.indexOf(t)]=u:currentBlock.push(u)),u.patchFlag|=-2,u}if(isClassComponent(t)&&(t=t.__vccOpts),r){r=guardReactiveProps(r);let{class:u,style:c}=r;u&&!isString$3(u)&&(r.class=normalizeClass(u)),isObject$6(c)&&(isProxy(c)&&!isArray$6(c)&&(c=extend$1({},c)),r.style=normalizeStyle$1(c))}const l=isString$3(t)?1:isSuspense(t)?128:isTeleport(t)?64:isObject$6(t)?4:isFunction$4(t)?2:0;return createBaseVNode(t,r,n,a,o,l,s,!0)}function guardReactiveProps(t){return t?isProxy(t)||InternalObjectKey in t?extend$1({},t):t:null}function cloneVNode(t,r,n=!1){const{props:a,ref:o,patchFlag:s,children:l}=t,u=r?mergeProps(a||{},r):a;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&normalizeKey(u),ref:r&&r.ref?n&&o?isArray$6(o)?o.concat(normalizeRef(r)):[o,normalizeRef(r)]:normalizeRef(r):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==Fragment?s===-1?16:s|16:s,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$1(Text$1,null,t,r)}function createStaticVNode(t,r){const n=createVNode$1(Static,null,t);return n.staticCount=r,n}function createCommentVNode(t="",r=!1){return r?(openBlock(),createBlock(Comment,null,t)):createVNode$1(Comment,null,t)}function normalizeVNode(t){return t==null||typeof t=="boolean"?createVNode$1(Comment):isArray$6(t)?createVNode$1(Fragment,null,t.slice()):typeof t=="object"?cloneIfMounted(t):createVNode$1(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 n=0;const{shapeFlag:a}=t;if(r==null)r=null;else if(isArray$6(r))n=16;else if(typeof r=="object")if(a&65){const o=r.default;o&&(o._c&&(o._d=!1),normalizeChildren(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=r._;!o&&!(InternalObjectKey in r)?r._ctx=currentRenderingInstance:o===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else isFunction$4(r)?(r={default:r,_ctx:currentRenderingInstance},n=32):(r=String(r),a&64?(n=16,r=[createTextVNode(r)]):n=8);t.children=r,t.shapeFlag|=n}function mergeProps(...t){const r={};for(let n=0;ncurrentInstance||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:n,children:a}=t.vnode,o=isStatefulComponent(t);initProps$1(t,n,o,r),initSlots(t,a);const s=o?setupStatefulComponent(t,r):void 0;return isInSSRComponentSetup=!1,s}function setupStatefulComponent(t,r){const n=t.type;t.accessCache=Object.create(null),t.proxy=markRaw(new Proxy(t.ctx,PublicInstanceProxyHandlers));const{setup:a}=n;if(a){const o=t.setupContext=a.length>1?createSetupContext(t):null;setCurrentInstance(t),pauseTracking();const s=callWithErrorHandling(a,t,0,[t.props,o]);if(resetTracking(),unsetCurrentInstance(),isPromise(s)){if(s.then(unsetCurrentInstance,unsetCurrentInstance),r)return s.then(l=>{handleSetupResult(t,l,r)}).catch(l=>{handleError$1(l,t,0)});t.asyncDep=s}else handleSetupResult(t,s,r)}else finishComponentSetup(t,r)}function handleSetupResult(t,r,n){isFunction$4(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:isObject$6(r)&&(t.setupState=proxyRefs(r)),finishComponentSetup(t,n)}let compile;function finishComponentSetup(t,r,n){const a=t.type;if(!t.render){if(!r&&compile&&!a.render){const o=a.template||resolveMergedOptions(t).template;if(o){const{isCustomElement:s,compilerOptions:l}=t.appContext.config,{delimiters:u,compilerOptions:c}=a,f=extend$1(extend$1({isCustomElement:s,delimiters:u},l),c);a.render=compile(o,f)}}t.render=a.render||NOOP}setCurrentInstance(t),pauseTracking(),applyOptions(t),resetTracking(),unsetCurrentInstance()}function getAttrsProxy(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(r,n){return track(t,"get","$attrs"),r[n]}}))}function createSetupContext(t){const r=n=>{t.exposed=n||{}};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,n){if(n in r)return r[n];if(n in publicPropertiesMap)return publicPropertiesMap[n](t)},has(r,n){return n in r||n in publicPropertiesMap}}))}function getComponentName(t,r=!0){return isFunction$4(t)?t.displayName||t.name:t.name||r&&t.__name}function isClassComponent(t){return isFunction$4(t)&&"__vccOpts"in t}const computed=(t,r)=>computed$1(t,r,isInSSRComponentSetup);function h(t,r,n){const a=arguments.length;return a===2?isObject$6(r)&&!isArray$6(r)?isVNode$1(r)?createVNode$1(t,null,[r]):createVNode$1(t,r):createVNode$1(t,null,r):(a>3?n=Array.prototype.slice.call(arguments,2):a===3&&isVNode$1(n)&&(n=[n]),createVNode$1(t,r,n))}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey),version="3.3.4",svgNS="http://www.w3.org/2000/svg",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(t,r,n)=>{r.insertBefore(t,n||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,n,a)=>{const o=r?doc.createElementNS(svgNS,t):doc.createElement(t,n?{is:n}:void 0);return t==="select"&&a&&a.multiple!=null&&o.setAttribute("multiple",a.multiple),o},createText:t=>doc.createTextNode(t),createComment:t=>doc.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.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,n,a,o,s){const l=n?n.previousSibling:r.lastChild;if(o&&(o===s||o.nextSibling))for(;r.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{templateContainer.innerHTML=a?`${t}`:t;const u=templateContainer.content;if(a){const c=u.firstChild;for(;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}r.insertBefore(u,n)}return[l?l.nextSibling:r.firstChild,n?n.previousSibling:r.lastChild]}};function patchClass(t,r,n){const a=t._vtc;a&&(r=(r?[r,...a]:[...a]).join(" ")),r==null?t.removeAttribute("class"):n?t.setAttribute("class",r):t.className=r}function patchStyle(t,r,n){const a=t.style,o=isString$3(n);if(n&&!o){if(r&&!isString$3(r))for(const s in r)n[s]==null&&setStyle(a,s,"");for(const s in n)setStyle(a,s,n[s])}else{const s=a.display;o?r!==n&&(a.cssText=n):r&&t.removeAttribute("style"),"_vod"in t&&(a.display=s)}}const importantRE=/\s*!important$/;function setStyle(t,r,n){if(isArray$6(n))n.forEach(a=>setStyle(t,r,a));else if(n==null&&(n=""),r.startsWith("--"))t.setProperty(r,n);else{const a=autoPrefix(t,r);importantRE.test(n)?t.setProperty(hyphenate(a),n.replace(importantRE,""),"important"):t[a]=n}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(t,r){const n=prefixCache[r];if(n)return n;let a=camelize(r);if(a!=="filter"&&a in t)return prefixCache[r]=a;a=capitalize$1(a);for(let o=0;ocachedNow||(p.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(t,r){const n=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=n.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(a,n.value),r,5,[a])};return n.value=t,n.attached=getNow(),n}function patchStopImmediatePropagation(t,r){if(isArray$6(r)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},r.map(a=>o=>!o._stopped&&a&&a(o))}else return r}const nativeOnRE=/^on[a-z]/,patchProp=(t,r,n,a,o=!1,s,l,u,c)=>{r==="class"?patchClass(t,a,o):r==="style"?patchStyle(t,n,a):isOn(r)?isModelListener(r)||patchEvent(t,r,n,a,l):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):shouldSetAsProp(t,r,a,o))?patchDOMProp(t,r,a,s,l,u,c):(r==="true-value"?t._trueValue=a:r==="false-value"&&(t._falseValue=a),patchAttr(t,r,a,o))};function shouldSetAsProp(t,r,n,a){return a?!!(r==="innerHTML"||r==="textContent"||r in t&&nativeOnRE.test(r)&&isFunction$4(n)):r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA"||nativeOnRE.test(r)&&isString$3(n)?!1:r in t}const TRANSITION="transition",ANIMATION="animation",Transition=(t,{slots:r})=>h(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$1({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(t,r=[])=>{isArray$6(t)?t.forEach(n=>n(...r)):t&&t(...r)},hasExplicitCallback=t=>t?isArray$6(t)?t.some(r=>r.length>1):t.length>1:!1;function resolveTransitionProps(t){const r={};for(const le in t)le in DOMTransitionPropsValidators||(r[le]=t[le]);if(t.css===!1)return r;const{name:n="v",type:a,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:u=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:f=l,appearToClass:d=u,leaveFromClass:v=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=t,S=normalizeDuration(o),b=S&&S[0],T=S&&S[1],{onBeforeEnter:w,onEnter:A,onEnterCancelled:M,onLeave:L,onLeaveCancelled:O,onBeforeAppear:D=w,onAppear:V=A,onAppearCancelled:z=M}=r,Y=(le,de,xe)=>{removeTransitionClass(le,de?d:u),removeTransitionClass(le,de?f:l),xe&&xe()},ie=(le,de)=>{le._isLeaving=!1,removeTransitionClass(le,v),removeTransitionClass(le,y),removeTransitionClass(le,g),de&&de()},j=le=>(de,xe)=>{const Ie=le?V:A,Ce=()=>Y(de,le,xe);callHook(Ie,[de,Ce]),nextFrame(()=>{removeTransitionClass(de,le?c:s),addTransitionClass(de,le?d:u),hasExplicitCallback(Ie)||whenTransitionEnds(de,a,b,Ce)})};return extend$1(r,{onBeforeEnter(le){callHook(w,[le]),addTransitionClass(le,s),addTransitionClass(le,l)},onBeforeAppear(le){callHook(D,[le]),addTransitionClass(le,c),addTransitionClass(le,f)},onEnter:j(!1),onAppear:j(!0),onLeave(le,de){le._isLeaving=!0;const xe=()=>ie(le,de);addTransitionClass(le,v),forceReflow(),addTransitionClass(le,g),nextFrame(()=>{le._isLeaving&&(removeTransitionClass(le,v),addTransitionClass(le,y),hasExplicitCallback(L)||whenTransitionEnds(le,a,T,xe))}),callHook(L,[le,xe])},onEnterCancelled(le){Y(le,!1),callHook(M,[le])},onAppearCancelled(le){Y(le,!0),callHook(z,[le])},onLeaveCancelled(le){ie(le),callHook(O,[le])}})}function normalizeDuration(t){if(t==null)return null;if(isObject$6(t))return[NumberOf(t.enter),NumberOf(t.leave)];{const r=NumberOf(t);return[r,r]}}function NumberOf(t){return toNumber(t)}function addTransitionClass(t,r){r.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(r)}function removeTransitionClass(t,r){r.split(/\s+/).forEach(a=>a&&t.classList.remove(a));const{_vtc:n}=t;n&&(n.delete(r),n.size||(t._vtc=void 0))}function nextFrame(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let endId=0;function whenTransitionEnds(t,r,n,a){const o=t._endId=++endId,s=()=>{o===t._endId&&a()};if(n)return setTimeout(s,n);const{type:l,timeout:u,propCount:c}=getTransitionInfo(t,r);if(!l)return a();const f=l+"end";let d=0;const v=()=>{t.removeEventListener(f,g),s()},g=y=>{y.target===t&&++d>=c&&v()};setTimeout(()=>{d(n[S]||"").split(", "),o=a(`${TRANSITION}Delay`),s=a(`${TRANSITION}Duration`),l=getTimeout(o,s),u=a(`${ANIMATION}Delay`),c=a(`${ANIMATION}Duration`),f=getTimeout(u,c);let d=null,v=0,g=0;r===TRANSITION?l>0&&(d=TRANSITION,v=l,g=s.length):r===ANIMATION?f>0&&(d=ANIMATION,v=f,g=c.length):(v=Math.max(l,f),d=v>0?l>f?TRANSITION:ANIMATION:null,g=d?d===TRANSITION?s.length:c.length:0);const y=d===TRANSITION&&/\b(transform|all)(,|$)/.test(a(`${TRANSITION}Property`).toString());return{type:d,timeout:v,propCount:g,hasTransform:y}}function getTimeout(t,r){for(;t.lengthtoMs(n)+toMs(t[a])))}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$1({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(t,{slots:r}){const n=getCurrentInstance(),a=useTransitionState();let o,s;return onUpdated(()=>{if(!o.length)return;const l=t.moveClass||`${t.name||"v"}-move`;if(!hasCSSTransform(o[0].el,n.vnode.el,l))return;o.forEach(callPendingCbs),o.forEach(recordPosition);const u=o.filter(applyTranslation);forceReflow(),u.forEach(c=>{const f=c.el,d=f.style;addTransitionClass(f,l),d.transform=d.webkitTransform=d.transitionDuration="";const v=f._moveCb=g=>{g&&g.target!==f||(!g||/transform$/.test(g.propertyName))&&(f.removeEventListener("transitionend",v),f._moveCb=null,removeTransitionClass(f,l))};f.addEventListener("transitionend",v)})}),()=>{const l=toRaw(t),u=resolveTransitionProps(l);let c=l.tag||Fragment;o=s,s=r.default?getTransitionRawChildren(r.default()):[];for(let f=0;fdelete 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),n=newPositionMap.get(t),a=r.left-n.left,o=r.top-n.top;if(a||o){const s=t.el.style;return s.transform=s.webkitTransform=`translate(${a}px,${o}px)`,s.transitionDuration="0s",t}}function hasCSSTransform(t,r,n){const a=t.cloneNode();t._vtc&&t._vtc.forEach(l=>{l.split(/\s+/).forEach(u=>u&&a.classList.remove(u))}),n.split(/\s+/).forEach(l=>l&&a.classList.add(l)),a.style.display="none";const o=r.nodeType===1?r:r.parentNode;o.appendChild(a);const{hasTransform:s}=getTransitionInfo(a);return o.removeChild(a),s}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(n=>t[`${n}Key`]&&!r.includes(n))},withModifiers=(t,r)=>(n,...a)=>{for(let o=0;on=>{if(!("key"in n))return;const a=hyphenate(n.key);if(r.some(o=>o===a||keyNames[o]===a))return t(n)},vShow={beforeMount(t,{value:r},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&r?n.beforeEnter(t):setDisplay(t,r)},mounted(t,{value:r},{transition:n}){n&&r&&n.enter(t)},updated(t,{value:r,oldValue:n},{transition:a}){!r!=!n&&(a?r?(a.beforeEnter(t),setDisplay(t,!0),a.enter(t)):a.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"}const rendererOptions=extend$1({patchProp},nodeOps);let renderer;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}const render$1=(...t)=>{ensureRenderer().render(...t)},createApp=(...t)=>{const r=ensureRenderer().createApp(...t),{mount:n}=r;return r.mount=a=>{const o=normalizeContainer(a);if(!o)return;const s=r._component;!isFunction$4(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const l=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),l},r};function normalizeContainer(t){return isString$3(t)?document.querySelector(t):t}var isVue2=!1;/*! + * pinia v2.1.4 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let activePinia;const setActivePinia=t=>activePinia=t,piniaSymbol=Symbol();function isPlainObject$1(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 n=[],a=[];const o=markRaw({install(s){setActivePinia(o),o._a=s,s.provide(piniaSymbol,o),s.config.globalProperties.$pinia=o,a.forEach(l=>n.push(l)),a=[]},use(s){return!this._a&&!isVue2?a.push(s):n.push(s),this},_p:n,_a:null,_e:t,_s:new Map,state:r});return o}const noop$3=()=>{};function addSubscription(t,r,n,a=noop$3){t.push(r);const o=()=>{const s=t.indexOf(r);s>-1&&(t.splice(s,1),a())};return!n&&getCurrentScope()&&onScopeDispose(o),o}function triggerSubscriptions(t,...r){t.slice().forEach(n=>{n(...r)})}const fallbackRunWithContext=t=>t();function mergeReactiveObjects(t,r){t instanceof Map&&r instanceof Map&&r.forEach((n,a)=>t.set(a,n)),t instanceof Set&&r instanceof Set&&r.forEach(t.add,t);for(const n in r){if(!r.hasOwnProperty(n))continue;const a=r[n],o=t[n];isPlainObject$1(o)&&isPlainObject$1(a)&&t.hasOwnProperty(n)&&!isRef(a)&&!isReactive(a)?t[n]=mergeReactiveObjects(o,a):t[n]=a}return t}const skipHydrateSymbol=Symbol();function shouldHydrate(t){return!isPlainObject$1(t)||!t.hasOwnProperty(skipHydrateSymbol)}const{assign:assign$2}=Object;function isComputed(t){return!!(isRef(t)&&t.effect)}function createOptionsStore(t,r,n,a){const{state:o,actions:s,getters:l}=r,u=n.state.value[t];let c;function f(){u||(n.state.value[t]=o?o():{});const d=toRefs(n.state.value[t]);return assign$2(d,s,Object.keys(l||{}).reduce((v,g)=>(v[g]=markRaw(computed(()=>{setActivePinia(n);const y=n._s.get(t);return l[g].call(y,y)})),v),{}))}return c=createSetupStore(t,f,r,n,a,!0),c}function createSetupStore(t,r,n={},a,o,s){let l;const u=assign$2({actions:{}},n),c={deep:!0};let f,d,v=[],g=[],y;const S=a.state.value[t];!s&&!S&&(a.state.value[t]={}),ref({});let b;function T(z){let Y;f=d=!1,typeof z=="function"?(z(a.state.value[t]),Y={type:MutationType.patchFunction,storeId:t,events:y}):(mergeReactiveObjects(a.state.value[t],z),Y={type:MutationType.patchObject,payload:z,storeId:t,events:y});const ie=b=Symbol();nextTick().then(()=>{b===ie&&(f=!0)}),d=!0,triggerSubscriptions(v,Y,a.state.value[t])}const w=s?function(){const{state:Y}=n,ie=Y?Y():{};this.$patch(j=>{assign$2(j,ie)})}:noop$3;function A(){l.stop(),v=[],g=[],a._s.delete(t)}function M(z,Y){return function(){setActivePinia(a);const ie=Array.from(arguments),j=[],le=[];function de(Ce){j.push(Ce)}function xe(Ce){le.push(Ce)}triggerSubscriptions(g,{args:ie,name:z,store:O,after:de,onError:xe});let Ie;try{Ie=Y.apply(this&&this.$id===t?this:O,ie)}catch(Ce){throw triggerSubscriptions(le,Ce),Ce}return Ie instanceof Promise?Ie.then(Ce=>(triggerSubscriptions(j,Ce),Ce)).catch(Ce=>(triggerSubscriptions(le,Ce),Promise.reject(Ce))):(triggerSubscriptions(j,Ie),Ie)}}const L={_p:a,$id:t,$onAction:addSubscription.bind(null,g),$patch:T,$reset:w,$subscribe(z,Y={}){const ie=addSubscription(v,z,Y.detached,()=>j()),j=l.run(()=>watch(()=>a.state.value[t],le=>{(Y.flush==="sync"?d:f)&&z({storeId:t,type:MutationType.direct,events:y},le)},assign$2({},c,Y)));return ie},$dispose:A},O=reactive(L);a._s.set(t,O);const D=a._a&&a._a.runWithContext||fallbackRunWithContext,V=a._e.run(()=>(l=effectScope(),D(()=>l.run(r))));for(const z in V){const Y=V[z];if(isRef(Y)&&!isComputed(Y)||isReactive(Y))s||(S&&shouldHydrate(Y)&&(isRef(Y)?Y.value=S[z]:mergeReactiveObjects(Y,S[z])),a.state.value[t][z]=Y);else if(typeof Y=="function"){const ie=M(z,Y);V[z]=ie,u.actions[z]=Y}}return assign$2(O,V),assign$2(toRaw(O),V),Object.defineProperty(O,"$state",{get:()=>a.state.value[t],set:z=>{T(Y=>{assign$2(Y,z)})}}),a._p.forEach(z=>{assign$2(O,l.run(()=>z({store:O,app:a._a,pinia:a,options:u})))}),S&&s&&n.hydrate&&n.hydrate(O.$state,S),f=!0,d=!0,O}function defineStore(t,r,n){let a,o;const s=typeof r=="function";typeof t=="string"?(a=t,o=s?n:r):(o=t,a=t.id);function l(u,c){const f=hasInjectionContext();return u=u||(f?inject(piniaSymbol,null):null),u&&setActivePinia(u),u=activePinia,u._s.has(a)||(s?createSetupStore(a,r,o,u):createOptionsStore(a,o,u)),u._s.get(a)}return l.$id=a,l}function storeToRefs(t){{t=toRaw(t);const r={};for(const n in t){const a=t[n];(isRef(a)||isReactive(a))&&(r[n]=toRef(t,n))}return r}}const user=defineStore("user",{state:()=>({loginInfo:{time:null,token:null}})}),updateStorage=(t,r)=>{const n=t.storage||sessionStorage,a=t.key||r.$id;if(t.paths){const o=t.paths.reduce((s,l)=>(s[l]=r.$state[l],s),{});n.setItem(a,JSON.stringify(o))}else n.setItem(a,JSON.stringify(r.$state))};var index=({options:t,store:r})=>{var n,a,o,s;if((n=t.persist)!=null&&n.enabled){const l=[{key:r.$id,storage:sessionStorage}],u=(o=(a=t.persist)==null?void 0:a.strategies)!=null&&o.length?(s=t.persist)==null?void 0:s.strategies:l;u.forEach(c=>{const f=c.storage||sessionStorage,d=c.key||r.$id,v=f.getItem(d);v&&(r.$patch(JSON.parse(v)),updateStorage(c,r))}),r.$subscribe(()=>{u.forEach(c=>{updateStorage(c,r)})})}};const store=createPinia();store.use(index);const triggerEvent=function(t,r,...n){let a;r.includes("mouse")||r.includes("click")?a="MouseEvents":r.includes("key")?a="KeyboardEvent":a="HTMLEvents";const o=document.createEvent(a);return o.initEvent(r,...n),t.dispatchEvent(o),t},composeEventHandlers=(t,r,{checkForDefaultPrevented:n=!0}={})=>o=>{const s=t==null?void 0:t(o);if(n===!1||!s)return r==null?void 0:r(o)},whenMouse=t=>r=>r.pointerType==="mouse"?t(r):void 0;var _a$1;const isClient=typeof window<"u",isDef$1=t=>typeof t<"u",isFunction$3=t=>typeof t=="function",isString$2=t=>typeof t=="string",noop$2=()=>{},isIOS=isClient&&((_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(t,r){function n(...a){return new Promise((o,s)=>{Promise.resolve(t(()=>r.apply(this,a),{fn:r,thisArg:this,args:a})).then(o).catch(s)})}return n}const bypassFilter=t=>t();function debounceFilter(t,r={}){let n,a,o=noop$2;const s=u=>{clearTimeout(u),o(),o=noop$2};return u=>{const c=resolveUnref(t),f=resolveUnref(r.maxWait);return n&&s(n),c<=0||f!==void 0&&f<=0?(a&&(s(a),a=null),Promise.resolve(u())):new Promise((d,v)=>{o=r.rejectOnCancel?v:d,f&&!a&&(a=setTimeout(()=>{n&&s(n),a=null,d(u())},f)),n=setTimeout(()=>{a&&s(a),a=null,d(u())},c)})}}function pausableFilter(t=bypassFilter){const r=ref(!0);function n(){r.value=!1}function a(){r.value=!0}const o=(...s)=>{r.value&&t(...s)};return{isActive:readonly(r),pause:n,resume:a,eventFilter:o}}function identity$1(t){return t}function tryOnScopeDispose(t){return getCurrentScope()?(onScopeDispose(t),!0):!1}function useDebounceFn(t,r=200,n={}){return createFilterWrapper(debounceFilter(r,n),t)}function refDebounced(t,r=200,n={}){const a=ref(t.value),o=useDebounceFn(()=>{a.value=t.value},r,n);return watch(t,()=>o()),a}function resolveRef(t){return typeof t=="function"?computed(t):ref(t)}function tryOnMounted(t,r=!0){getCurrentInstance()?onMounted(t):r?t():nextTick(t)}function useTimeoutFn(t,r,n={}){const{immediate:a=!0}=n,o=ref(!1);let s=null;function l(){s&&(clearTimeout(s),s=null)}function u(){o.value=!1,l()}function c(...f){l(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,t(...f)},resolveUnref(r))}return a&&(o.value=!0,isClient&&c()),tryOnScopeDispose(u),{isPending:readonly(o),start:c,stop:u}}var __getOwnPropSymbols$6=Object.getOwnPropertySymbols,__hasOwnProp$6=Object.prototype.hasOwnProperty,__propIsEnum$6=Object.prototype.propertyIsEnumerable,__objRest$5=(t,r)=>{var n={};for(var a in t)__hasOwnProp$6.call(t,a)&&r.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&__getOwnPropSymbols$6)for(var a of __getOwnPropSymbols$6(t))r.indexOf(a)<0&&__propIsEnum$6.call(t,a)&&(n[a]=t[a]);return n};function watchWithFilter(t,r,n={}){const a=n,{eventFilter:o=bypassFilter}=a,s=__objRest$5(a,["eventFilter"]);return watch(t,createFilterWrapper(o,r),s)}var __defProp$2=Object.defineProperty,__defProps$2=Object.defineProperties,__getOwnPropDescs$2=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$2=Object.getOwnPropertySymbols,__hasOwnProp$2=Object.prototype.hasOwnProperty,__propIsEnum$2=Object.prototype.propertyIsEnumerable,__defNormalProp$2=(t,r,n)=>r in t?__defProp$2(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,__spreadValues$2=(t,r)=>{for(var n in r||(r={}))__hasOwnProp$2.call(r,n)&&__defNormalProp$2(t,n,r[n]);if(__getOwnPropSymbols$2)for(var n of __getOwnPropSymbols$2(r))__propIsEnum$2.call(r,n)&&__defNormalProp$2(t,n,r[n]);return t},__spreadProps$2=(t,r)=>__defProps$2(t,__getOwnPropDescs$2(r)),__objRest$1=(t,r)=>{var n={};for(var a in t)__hasOwnProp$2.call(t,a)&&r.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&__getOwnPropSymbols$2)for(var a of __getOwnPropSymbols$2(t))r.indexOf(a)<0&&__propIsEnum$2.call(t,a)&&(n[a]=t[a]);return n};function watchPausable(t,r,n={}){const a=n,{eventFilter:o}=a,s=__objRest$1(a,["eventFilter"]),{eventFilter:l,pause:u,resume:c,isActive:f}=pausableFilter(o);return{stop:watchWithFilter(t,r,__spreadProps$2(__spreadValues$2({},s),{eventFilter:l})),pause:u,resume:c,isActive:f}}function unrefElement(t){var r;const n=resolveUnref(t);return(r=n==null?void 0:n.$el)!=null?r:n}const defaultWindow=isClient?window:void 0;function useEventListener(...t){let r,n,a,o;if(isString$2(t[0])||Array.isArray(t[0])?([n,a,o]=t,r=defaultWindow):[r,n,a,o]=t,!r)return noop$2;Array.isArray(n)||(n=[n]),Array.isArray(a)||(a=[a]);const s=[],l=()=>{s.forEach(d=>d()),s.length=0},u=(d,v,g,y)=>(d.addEventListener(v,g,y),()=>d.removeEventListener(v,g,y)),c=watch(()=>[unrefElement(r),resolveUnref(o)],([d,v])=>{l(),d&&s.push(...n.flatMap(g=>a.map(y=>u(d,g,y,v))))},{immediate:!0,flush:"post"}),f=()=>{c(),l()};return tryOnScopeDispose(f),f}let _iOSWorkaround=!1;function onClickOutside(t,r,n={}){const{window:a=defaultWindow,ignore:o=[],capture:s=!0,detectIframe:l=!1}=n;if(!a)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(a.document.body.children).forEach(g=>g.addEventListener("click",noop$2)));let u=!0;const c=g=>o.some(y=>{if(typeof y=="string")return Array.from(a.document.querySelectorAll(y)).some(S=>S===g.target||g.composedPath().includes(S));{const S=unrefElement(y);return S&&(g.target===S||g.composedPath().includes(S))}}),d=[useEventListener(a,"click",g=>{const y=unrefElement(t);if(!(!y||y===g.target||g.composedPath().includes(y))){if(g.detail===0&&(u=!c(g)),!u){u=!0;return}r(g)}},{passive:!0,capture:s}),useEventListener(a,"pointerdown",g=>{const y=unrefElement(t);y&&(u=!g.composedPath().includes(y)&&!c(g))},{passive:!0}),l&&useEventListener(a,"blur",g=>{var y;const S=unrefElement(t);((y=a.document.activeElement)==null?void 0:y.tagName)==="IFRAME"&&!(S!=null&&S.contains(a.document.activeElement))&&r(g)})].filter(Boolean);return()=>d.forEach(g=>g())}function useSupported(t,r=!1){const n=ref(),a=()=>n.value=!!t();return a(),tryOnMounted(a,r),n}function useMediaQuery(t,r={}){const{window:n=defaultWindow}=r,a=useSupported(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=ref(!1),l=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",u):o.removeListener(u))},u=()=>{a.value&&(l(),o=n.matchMedia(resolveRef(t).value),s.value=o.matches,"addEventListener"in o?o.addEventListener("change",u):o.addListener(u))};return watchEffect(u),tryOnScopeDispose(()=>l()),s}function cloneFnJSON(t){return JSON.parse(JSON.stringify(t))}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__";_global[globalKey]=_global[globalKey]||{};const handlers$2=_global[globalKey];function getSSRHandler(t,r){return handlers$2[t]||r}function guessSerializerType(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}var __defProp$k=Object.defineProperty,__getOwnPropSymbols$m=Object.getOwnPropertySymbols,__hasOwnProp$m=Object.prototype.hasOwnProperty,__propIsEnum$m=Object.prototype.propertyIsEnumerable,__defNormalProp$k=(t,r,n)=>r in t?__defProp$k(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,__spreadValues$k=(t,r)=>{for(var n in r||(r={}))__hasOwnProp$m.call(r,n)&&__defNormalProp$k(t,n,r[n]);if(__getOwnPropSymbols$m)for(var n of __getOwnPropSymbols$m(r))__propIsEnum$m.call(r,n)&&__defNormalProp$k(t,n,r[n]);return t};const StorageSerializers={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},customStorageEventName="vueuse-storage";function useStorage(t,r,n,a={}){var o;const{flush:s="pre",deep:l=!0,listenToStorageChanges:u=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:d,window:v=defaultWindow,eventFilter:g,onError:y=z=>{console.error(z)}}=a,S=(d?shallowRef:ref)(r);if(!n)try{n=getSSRHandler("getDefaultStorage",()=>{var z;return(z=defaultWindow)==null?void 0:z.localStorage})()}catch(z){y(z)}if(!n)return S;const b=resolveUnref(r),T=guessSerializerType(b),w=(o=a.serializer)!=null?o:StorageSerializers[T],{pause:A,resume:M}=watchPausable(S,()=>L(S.value),{flush:s,deep:l,eventFilter:g});return v&&u&&(useEventListener(v,"storage",V),useEventListener(v,customStorageEventName,D)),V(),S;function L(z){try{if(z==null)n.removeItem(t);else{const Y=w.write(z),ie=n.getItem(t);ie!==Y&&(n.setItem(t,Y),v&&v.dispatchEvent(new CustomEvent(customStorageEventName,{detail:{key:t,oldValue:ie,newValue:Y,storageArea:n}})))}}catch(Y){y(Y)}}function O(z){const Y=z?z.newValue:n.getItem(t);if(Y==null)return c&&b!==null&&n.setItem(t,w.write(b)),b;if(!z&&f){const ie=w.read(Y);return isFunction$3(f)?f(ie,b):T==="object"&&!Array.isArray(ie)?__spreadValues$k(__spreadValues$k({},b),ie):ie}else return typeof Y!="string"?Y:w.read(Y)}function D(z){V(z.detail)}function V(z){if(!(z&&z.storageArea!==n)){if(z&&z.key==null){S.value=b;return}if(!(z&&z.key!==t)){A();try{S.value=O(z)}catch(Y){y(Y)}finally{z?nextTick(M):M()}}}}}function usePreferredDark(t){return useMediaQuery("(prefers-color-scheme: dark)",t)}var __defProp$j=Object.defineProperty,__getOwnPropSymbols$l=Object.getOwnPropertySymbols,__hasOwnProp$l=Object.prototype.hasOwnProperty,__propIsEnum$l=Object.prototype.propertyIsEnumerable,__defNormalProp$j=(t,r,n)=>r in t?__defProp$j(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,__spreadValues$j=(t,r)=>{for(var n in r||(r={}))__hasOwnProp$l.call(r,n)&&__defNormalProp$j(t,n,r[n]);if(__getOwnPropSymbols$l)for(var n of __getOwnPropSymbols$l(r))__propIsEnum$l.call(r,n)&&__defNormalProp$j(t,n,r[n]);return t};function useColorMode(t={}){const{selector:r="html",attribute:n="class",initialValue:a="auto",window:o=defaultWindow,storage:s,storageKey:l="vueuse-color-scheme",listenToStorageChanges:u=!0,storageRef:c,emitAuto:f}=t,d=__spreadValues$j({auto:"",light:"light",dark:"dark"},t.modes||{}),v=usePreferredDark({window:o}),g=computed(()=>v.value?"dark":"light"),y=c||(l==null?ref(a):useStorage(l,a,s,{window:o,listenToStorageChanges:u})),S=computed({get(){return y.value==="auto"&&!f?g.value:y.value},set(A){y.value=A}}),b=getSSRHandler("updateHTMLAttrs",(A,M,L)=>{const O=o==null?void 0:o.document.querySelector(A);if(O)if(M==="class"){const D=L.split(/\s/g);Object.values(d).flatMap(V=>(V||"").split(/\s/g)).filter(Boolean).forEach(V=>{D.includes(V)?O.classList.add(V):O.classList.remove(V)})}else O.setAttribute(M,L)});function T(A){var M;const L=A==="auto"?g.value:A;b(r,n,(M=d[L])!=null?M:L)}function w(A){t.onChanged?t.onChanged(A,T):T(A)}return watch(S,w,{flush:"post",immediate:!0}),f&&watch(g,()=>w(S.value),{flush:"post"}),tryOnMounted(()=>w(S.value)),S}var __defProp$i=Object.defineProperty,__defProps$7=Object.defineProperties,__getOwnPropDescs$7=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$k=Object.getOwnPropertySymbols,__hasOwnProp$k=Object.prototype.hasOwnProperty,__propIsEnum$k=Object.prototype.propertyIsEnumerable,__defNormalProp$i=(t,r,n)=>r in t?__defProp$i(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,__spreadValues$i=(t,r)=>{for(var n in r||(r={}))__hasOwnProp$k.call(r,n)&&__defNormalProp$i(t,n,r[n]);if(__getOwnPropSymbols$k)for(var n of __getOwnPropSymbols$k(r))__propIsEnum$k.call(r,n)&&__defNormalProp$i(t,n,r[n]);return t},__spreadProps$7=(t,r)=>__defProps$7(t,__getOwnPropDescs$7(r));function useDark(t={}){const{valueDark:r="dark",valueLight:n="",window:a=defaultWindow}=t,o=useColorMode(__spreadProps$7(__spreadValues$i({},t),{onChanged:(u,c)=>{var f;t.onChanged?(f=t.onChanged)==null||f.call(t,u==="dark"):c(u)},modes:{dark:r,light:n}})),s=usePreferredDark({window:a});return computed({get(){return o.value==="dark"},set(u){u===s.value?o.value="auto":o.value=u?"dark":"light"}})}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=(t,r)=>{var n={};for(var a in t)__hasOwnProp$g.call(t,a)&&r.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&__getOwnPropSymbols$g)for(var a of __getOwnPropSymbols$g(t))r.indexOf(a)<0&&__propIsEnum$g.call(t,a)&&(n[a]=t[a]);return n};function useResizeObserver(t,r,n={}){const a=n,{window:o=defaultWindow}=a,s=__objRest$2(a,["window"]);let l;const u=useSupported(()=>o&&"ResizeObserver"in o),c=()=>{l&&(l.disconnect(),l=void 0)},f=watch(()=>unrefElement(t),v=>{c(),u.value&&o&&v&&(l=new ResizeObserver(r),l.observe(v,s))},{immediate:!0,flush:"post"}),d=()=>{c(),f()};return tryOnScopeDispose(d),{isSupported:u,stop:d}}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,n)=>r in t?__defProp(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,__spreadValues=(t,r)=>{for(var n in r||(r={}))__hasOwnProp.call(r,n)&&__defNormalProp(t,n,r[n]);if(__getOwnPropSymbols)for(var n of __getOwnPropSymbols(r))__propIsEnum.call(r,n)&&__defNormalProp(t,n,r[n]);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$1},_TransitionPresets);function useVModel(t,r,n,a={}){var o,s,l;const{clone:u=!1,passive:c=!1,eventName:f,deep:d=!1,defaultValue:v}=a,g=getCurrentInstance(),y=n||(g==null?void 0:g.emit)||((o=g==null?void 0:g.$emit)==null?void 0:o.bind(g))||((l=(s=g==null?void 0:g.proxy)==null?void 0:s.$emit)==null?void 0:l.bind(g==null?void 0:g.proxy));let S=f;r||(r="modelValue"),S=f||S||`update:${r.toString()}`;const b=w=>u?isFunction$3(u)?u(w):cloneFnJSON(w):w,T=()=>isDef$1(t[r])?b(t[r]):v;if(c){const w=T(),A=ref(w);return watch(()=>t[r],M=>A.value=b(M)),watch(A,M=>{(M!==t[r]||d)&&y(S,M)},{deep:d}),A}else return computed({get(){return T()},set(w){y(S,w)}})}function useWindowSize(t={}){const{window:r=defaultWindow,initialWidth:n=1/0,initialHeight:a=1/0,listenOrientation:o=!0,includeScrollbar:s=!0}=t,l=ref(n),u=ref(a),c=()=>{r&&(s?(l.value=r.innerWidth,u.value=r.innerHeight):(l.value=r.document.documentElement.clientWidth,u.value=r.document.documentElement.clientHeight))};return c(),tryOnMounted(c),useEventListener("resize",c,{passive:!0}),o&&useEventListener("orientationchange",c,{passive:!0}),{width:l,height:u}}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$5=Object.prototype,hasOwnProperty$5=objectProto$5.hasOwnProperty,nativeObjectToString$1=objectProto$5.toString,symToStringTag$1=Symbol$3?Symbol$3.toStringTag:void 0;function getRawTag(t){var r=hasOwnProperty$5.call(t,symToStringTag$1),n=t[symToStringTag$1];try{t[symToStringTag$1]=void 0;var a=!0}catch{}var o=nativeObjectToString$1.call(t);return a&&(r?t[symToStringTag$1]=n:delete t[symToStringTag$1]),o}var objectProto$4=Object.prototype,nativeObjectToString=objectProto$4.toString;function objectToString$1(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$1(t)}function isObjectLike(t){return t!=null&&typeof t=="object"}var symbolTag="[object Symbol]";function isSymbol(t){return typeof t=="symbol"||isObjectLike(t)&&baseGetTag(t)==symbolTag}function arrayMap(t,r){for(var n=-1,a=t==null?0:t.length,o=Array(a);++n-1&&t%1==0&&t-1}function listCacheSet$1(t,r){var n=this.__data__,a=assocIndexOf(n,t);return a<0?(++this.size,n.push([t,r])):n[a][1]=r,this}function ListCache(t){var r=-1,n=t==null?0:t.length;for(this.clear();++rt===void 0,isBoolean$1=t=>typeof t=="boolean",isNumber$2=t=>typeof t=="number",isElement=t=>typeof Element>"u"?!1:t instanceof Element,isStringNumber=t=>isString$3(t)?!Number.isNaN(Number(t)):!1,keysOf=t=>Object.keys(t),entriesOf=t=>Object.entries(t),getProp=(t,r,n)=>({get value(){return get$1(t,r,n)},set value(a){set$2(t,r,a)}});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 n;if(!isClient||!t||!r)return"";let a=camelize(r);a==="float"&&(a="cssFloat");try{const o=t.style[a];if(o)return o;const s=(n=document.defaultView)==null?void 0:n.getComputedStyle(t,"");return s?s[a]:""}catch{return t.style[a]}};function addUnit(t,r="px"){if(!t)return"";if(isNumber$2(t)||isStringNumber(t))return`${t}${r}`;if(isString$3(t))return t}/*! Element Plus Icons Vue v2.1.0 */var export_helper_default=(t,r)=>{let n=t.__vccOpts||t;for(let[a,o]of r)n[a]=o;return n},arrow_down_vue_vue_type_script_lang_default={name:"ArrowDown"},_hoisted_16={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,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_16,_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_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,n,a,o,s){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,n,a,o,s){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"]]),avatar_vue_vue_type_script_lang_default={name:"Avatar"},_hoisted_113={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_213=createBaseVNode("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704l116.736-175.104zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0z"},null,-1),_hoisted_313=[_hoisted_213];function _sfc_render13(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_113,_hoisted_313)}var avatar_default=export_helper_default(avatar_vue_vue_type_script_lang_default,[["render",_sfc_render13],["__file","avatar.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,n,a,o,s){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_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,n,a,o,s){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,n,a,o,s){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,n,a,o,s){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"]]),circle_plus_filled_vue_vue_type_script_lang_default={name:"CirclePlusFilled"},_hoisted_152={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_252=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0v147.2z"},null,-1),_hoisted_351=[_hoisted_252];function _sfc_render52(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_152,_hoisted_351)}var circle_plus_filled_default=export_helper_default(circle_plus_filled_vue_vue_type_script_lang_default,[["render",_sfc_render52],["__file","circle-plus-filled.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,n,a,o,s){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"]]),delete_filled_vue_vue_type_script_lang_default={name:"DeleteFilled"},_hoisted_178={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_278=createBaseVNode("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64h256zm64 0h192v-64H416v64zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32H192zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32zm192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32z"},null,-1),_hoisted_377=[_hoisted_278];function _sfc_render78(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_178,_hoisted_377)}var delete_filled_default=export_helper_default(delete_filled_vue_vue_type_script_lang_default,[["render",_sfc_render78],["__file","delete-filled.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,n,a,o,s){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,n,a,o,s){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"]]),expand_vue_vue_type_script_lang_default={name:"Expand"},_hoisted_198={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_298=createBaseVNode("path",{fill:"currentColor",d:"M128 192h768v128H128V192zm0 256h512v128H128V448zm0 256h768v128H128V704zm576-352 192 160-192 128V352z"},null,-1),_hoisted_397=[_hoisted_298];function _sfc_render98(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_198,_hoisted_397)}var expand_default=export_helper_default(expand_vue_vue_type_script_lang_default,[["render",_sfc_render98],["__file","expand.vue"]]),fold_vue_vue_type_script_lang_default={name:"Fold"},_hoisted_1107={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2107=createBaseVNode("path",{fill:"currentColor",d:"M896 192H128v128h768V192zm0 256H384v128h512V448zm0 256H128v128h768V704zM320 384 128 512l192 128V384z"},null,-1),_hoisted_3106=[_hoisted_2107];function _sfc_render107(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_1107,_hoisted_3106)}var fold_default=export_helper_default(fold_vue_vue_type_script_lang_default,[["render",_sfc_render107],["__file","fold.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,n,a,o,s){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,n,a,o,s){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"]]),home_filled_vue_vue_type_script_lang_default={name:"HomeFilled"},_hoisted_1135={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2135=createBaseVNode("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"},null,-1),_hoisted_3134=[_hoisted_2135];function _sfc_render135(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_1135,_hoisted_3134)}var home_filled_default=export_helper_default(home_filled_vue_vue_type_script_lang_default,[["render",_sfc_render135],["__file","home-filled.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,n,a,o,s){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"]]),link_vue_vue_type_script_lang_default={name:"Link"},_hoisted_1148={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2148=createBaseVNode("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496 45.248 45.248zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152 625.152 353.6z"},null,-1),_hoisted_3147=[_hoisted_2148];function _sfc_render148(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_1148,_hoisted_3147)}var link_default=export_helper_default(link_vue_vue_type_script_lang_default,[["render",_sfc_render148],["__file","link.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,n,a,o,s){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"]]),menu_vue_vue_type_script_lang_default={name:"Menu"},_hoisted_1163={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2163=createBaseVNode("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32H160zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32H608zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32H160zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32H608z"},null,-1),_hoisted_3162=[_hoisted_2163];function _sfc_render163(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_1163,_hoisted_3162)}var menu_default=export_helper_default(menu_vue_vue_type_script_lang_default,[["render",_sfc_render163],["__file","menu.vue"]]),message_box_vue_vue_type_script_lang_default={name:"MessageBox"},_hoisted_1164={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2164=createBaseVNode("path",{fill:"currentColor",d:"M288 384h448v64H288v-64zm96-128h256v64H384v-64zM131.456 512H384v128h256V512h252.544L721.856 192H302.144L131.456 512zM896 576H704v128H320V576H128v256h768V576zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128z"},null,-1),_hoisted_3163=[_hoisted_2164];function _sfc_render164(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_1164,_hoisted_3163)}var message_box_default=export_helper_default(message_box_vue_vue_type_script_lang_default,[["render",_sfc_render164],["__file","message-box.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,n,a,o,s){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,n,a,o,s){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,n,a,o,s){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"]]),open_vue_vue_type_script_lang_default={name:"Open"},_hoisted_1186={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2186=createBaseVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724H329.956zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"},null,-1),_hoisted_3185=createBaseVNode("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454zm0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088z"},null,-1),_hoisted_457=[_hoisted_2186,_hoisted_3185];function _sfc_render186(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_1186,_hoisted_457)}var open_default=export_helper_default(open_vue_vue_type_script_lang_default,[["render",_sfc_render186],["__file","open.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,n,a,o,s){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"]]),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,n,a,o,s){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"]]),tools_vue_vue_type_script_lang_default={name:"Tools"},_hoisted_1264={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2264=createBaseVNode("path",{fill:"currentColor",d:"M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0z"},null,-1),_hoisted_3263=[_hoisted_2264];function _sfc_render264(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_1264,_hoisted_3263)}var tools_default=export_helper_default(tools_vue_vue_type_script_lang_default,[["render",_sfc_render264],["__file","tools.vue"]]),upload_filled_vue_vue_type_script_lang_default={name:"UploadFilled"},_hoisted_1274={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2274=createBaseVNode("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6H544z"},null,-1),_hoisted_3273=[_hoisted_2274];function _sfc_render274(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_1274,_hoisted_3273)}var upload_filled_default=export_helper_default(upload_filled_vue_vue_type_script_lang_default,[["render",_sfc_render274],["__file","upload-filled.vue"]]),user_vue_vue_type_script_lang_default={name:"User"},_hoisted_1277={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2277=createBaseVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384zm0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512zm320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0z"},null,-1),_hoisted_3276=[_hoisted_2277];function _sfc_render277(t,r,n,a,o,s){return openBlock(),createElementBlock("svg",_hoisted_1277,_hoisted_3276)}var user_default=export_helper_default(user_vue_vue_type_script_lang_default,[["render",_sfc_render277],["__file","user.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,n,a,o,s){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,n,a,o,s){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,n,a,o,s){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"]]);const epPropKey="__epPropKey",definePropType=t=>t,isEpProp=t=>isObject$6(t)&&!!t[epPropKey],buildProp=(t,r)=>{if(!isObject$6(t)||isEpProp(t))return t;const{values:n,required:a,default:o,type:s,validator:l}=t,c={type:s,required:!!a,validator:n||l?f=>{let d=!1,v=[];if(n&&(v=Array.from(n),hasOwn$2(t,"default")&&v.push(o),d||(d=v.includes(f))),l&&(d||(d=l(f))),!d&&v.length>0){const g=[...new Set(v)].map(y=>JSON.stringify(y)).join(", ");warn$2(`Invalid prop: validation failed${r?` for prop "${r}"`:""}. Expected one of [${g}], got value ${JSON.stringify(f)}.`)}return d}:void 0,[epPropKey]:!0};return hasOwn$2(t,"default")&&(c.default=o),c},buildProps=t=>fromPairs(Object.entries(t).map(([r,n])=>[r,buildProp(n,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=n=>{for(const a of[t,...Object.values(r??{})])n.component(a.name,a)},r)for(const[n,a]of Object.entries(r))t[n]=a;return t},withInstallFunction=(t,r)=>(t.install=n=>{t._context=n._context,n.config.globalProperties[r]=t},t),withNoopInstall=t=>(t.install=NOOP,t),composeRefs=(...t)=>r=>{t.forEach(n=>{isFunction$4(n)?n(r):n.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"},componentSizes=["","default","small","large"];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 flattedChildren=t=>{const r=isArray$6(t)?t:[t],n=[];return r.forEach(a=>{var o;isArray$6(a)?n.push(...flattedChildren(a)):isVNode$1(a)&&isArray$6(a.children)?n.push(...flattedChildren(a.children)):(n.push(a),isVNode$1(a)&&((o=a.component)!=null&&o.subTree)&&n.push(...flattedChildren(a.component.subTree)))}),n},mutable=t=>t,useDeprecated=({from:t,replacement:r,scope:n,version:a,ref:o,type:s="API"},l)=>{watch(()=>unref(l),u=>{},{immediate:!0})};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,n)=>translate$2(r,n,unref(t)),translate$2=(t,r,n)=>get$1(n,t,t).replace(/\{(\w+)\}/g,(a,o)=>{var s;return`${(s=r==null?void 0:r[o])!=null?s:`{${o}}`}`}),buildLocaleContext=t=>{const r=computed(()=>unref(t).name),n=isRef(t)?t:ref(t);return{lang:r,locale:n,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,n,a,o)=>{let s=`${t}-${r}`;return n&&(s+=`-${n}`),a&&(s+=`__${a}`),o&&(s+=`--${o}`),s},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=t=>{const r=t||inject(namespaceContextKey,ref(defaultNamespace));return computed(()=>unref(r)||defaultNamespace)},useNamespace=(t,r)=>{const n=useGetDerivedNamespace(r);return{namespace:n,b:(b="")=>_bem(n.value,t,b,"",""),e:b=>b?_bem(n.value,t,"",b,""):"",m:b=>b?_bem(n.value,t,"","",b):"",be:(b,T)=>b&&T?_bem(n.value,t,b,T,""):"",em:(b,T)=>b&&T?_bem(n.value,t,"",b,T):"",bm:(b,T)=>b&&T?_bem(n.value,t,b,"",T):"",bem:(b,T,w)=>b&&T&&w?_bem(n.value,t,b,T,w):"",is:(b,...T)=>{const w=T.length>=1?T[0]:!0;return b&&w?`${statePrefix}${b}`:""},cssVar:b=>{const T={};for(const w in b)b[w]&&(T[`--${n.value}-${w}`]=b[w]);return T},cssVarName:b=>`--${n.value}-${b}`,cssVarBlock:b=>{const T={};for(const w in b)b[w]&&(T[`--${n.value}-${t}-${w}`]=b[w]);return T},cssVarBlockName:b=>`--${n.value}-${t}-${b}`}},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=t=>{const r=`update:${t}`,n=`onUpdate:${t}`,a=[r],o={[t]:_prop,[n]:_event};return{useModelToggle:({indicator:l,toggleReason:u,shouldHideWhenRouteChanges:c,shouldProceed:f,onShow:d,onHide:v})=>{const g=getCurrentInstance(),{emit:y}=g,S=g.props,b=computed(()=>isFunction$4(S[n])),T=computed(()=>S[t]===null),w=V=>{l.value!==!0&&(l.value=!0,u&&(u.value=V),isFunction$4(d)&&d(V))},A=V=>{l.value!==!1&&(l.value=!1,u&&(u.value=V),isFunction$4(v)&&v(V))},M=V=>{if(S.disabled===!0||isFunction$4(f)&&!f())return;const z=b.value&&isClient;z&&y(r,!0),(T.value||!z)&&w(V)},L=V=>{if(S.disabled===!0||!isClient)return;const z=b.value&&isClient;z&&y(r,!1),(T.value||!z)&&A(V)},O=V=>{isBoolean$1(V)&&(S.disabled&&V?b.value&&y(r,!1):l.value!==V&&(V?w():A()))},D=()=>{l.value?L():M()};return watch(()=>S[t],O),c&&g.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...g.proxy.$route}),()=>{c.value&&l.value&&L()}),onMounted(()=>{O(S[t])}),{hide:L,show:M,toggle:D,hasUpdateHandler:b}},useModelToggleProps:o,useModelToggleEmits:a}};createModelToggleComposable("modelValue");const useProp=t=>{const r=getCurrentInstance();return computed(()=>{var n,a;return(a=(n=r==null?void 0:r.proxy)==null?void 0:n.$props)==null?void 0:a[t]})};var E="top",R="bottom",W="right",P="left",me="auto",G=[E,R,W,P],U="start",J="end",Xe="clippingParents",je="viewport",K="popper",Ye="reference",De=G.reduce(function(t,r){return t.concat([r+"-"+U,r+"-"+J])},[]),Ee=[].concat(G,[me]).reduce(function(t,r){return t.concat([r,r+"-"+U,r+"-"+J])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt$1="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt$1];function C(t){return t?(t.nodeName||"").toLowerCase():null}function H(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function Q(t){var r=H(t).Element;return t instanceof r||t instanceof Element}function B(t){var r=H(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function Pe(t){if(typeof ShadowRoot>"u")return!1;var r=H(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}function Mt(t){var r=t.state;Object.keys(r.elements).forEach(function(n){var a=r.styles[n]||{},o=r.attributes[n]||{},s=r.elements[n];!B(s)||!C(s)||(Object.assign(s.style,a),Object.keys(o).forEach(function(l){var u=o[l];u===!1?s.removeAttribute(l):s.setAttribute(l,u===!0?"":u)}))})}function Rt(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow),function(){Object.keys(r.elements).forEach(function(a){var o=r.elements[a],s=r.attributes[a]||{},l=Object.keys(r.styles.hasOwnProperty(a)?r.styles[a]:n[a]),u=l.reduce(function(c,f){return c[f]="",c},{});!B(o)||!C(o)||(Object.assign(o.style,u),Object.keys(s).forEach(function(c){o.removeAttribute(c)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q(t){return t.split("-")[0]}var X=Math.max,ve=Math.min,Z=Math.round;function ee(t,r){r===void 0&&(r=!1);var n=t.getBoundingClientRect(),a=1,o=1;if(B(t)&&r){var s=t.offsetHeight,l=t.offsetWidth;l>0&&(a=Z(n.width)/l||1),s>0&&(o=Z(n.height)/s||1)}return{width:n.width/a,height:n.height/o,top:n.top/o,right:n.right/a,bottom:n.bottom/o,left:n.left/a,x:n.left/a,y:n.top/o}}function ke(t){var r=ee(t),n=t.offsetWidth,a=t.offsetHeight;return Math.abs(r.width-n)<=1&&(n=r.width),Math.abs(r.height-a)<=1&&(a=r.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:a}}function it(t,r){var n=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(n&&Pe(n)){var a=r;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function N(t){return H(t).getComputedStyle(t)}function Wt(t){return["table","td","th"].indexOf(C(t))>=0}function I(t){return((Q(t)?t.ownerDocument:t.document)||window.document).documentElement}function ge(t){return C(t)==="html"?t:t.assignedSlot||t.parentNode||(Pe(t)?t.host:null)||I(t)}function at(t){return!B(t)||N(t).position==="fixed"?null:t.offsetParent}function Bt(t){var r=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&B(t)){var a=N(t);if(a.position==="fixed")return null}var o=ge(t);for(Pe(o)&&(o=o.host);B(o)&&["html","body"].indexOf(C(o))<0;){var s=N(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||r&&s.willChange==="filter"||r&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function se(t){for(var r=H(t),n=at(t);n&&Wt(n)&&N(n).position==="static";)n=at(n);return n&&(C(n)==="html"||C(n)==="body"&&N(n).position==="static")?r:n||Bt(t)||r}function Le(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function fe(t,r,n){return X(t,ve(r,n))}function St(t,r,n){var a=fe(t,r,n);return a>n?n:a}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(t){return Object.assign({},st(),t)}function ct(t,r){return r.reduce(function(n,a){return n[a]=t,n},{})}var Tt=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ft(typeof t!="number"?t:ct(t,G))};function Ht(t){var r,n=t.state,a=t.name,o=t.options,s=n.elements.arrow,l=n.modifiersData.popperOffsets,u=q(n.placement),c=Le(u),f=[P,W].indexOf(u)>=0,d=f?"height":"width";if(!(!s||!l)){var v=Tt(o.padding,n),g=ke(s),y=c==="y"?E:P,S=c==="y"?R:W,b=n.rects.reference[d]+n.rects.reference[c]-l[c]-n.rects.popper[d],T=l[c]-n.rects.reference[c],w=se(s),A=w?c==="y"?w.clientHeight||0:w.clientWidth||0:0,M=b/2-T/2,L=v[y],O=A-g[d]-v[S],D=A/2-g[d]/2+M,V=fe(L,D,O),z=c;n.modifiersData[a]=(r={},r[z]=V,r.centerOffset=V-D,r)}}function Ct(t){var r=t.state,n=t.options,a=n.element,o=a===void 0?"[data-popper-arrow]":a;o!=null&&(typeof o=="string"&&(o=r.elements.popper.querySelector(o),!o)||!it(r.elements.popper,o)||(r.elements.arrow=o))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,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(t){var r=t.x,n=t.y,a=window,o=a.devicePixelRatio||1;return{x:Z(r*o)/o||0,y:Z(n*o)/o||0}}function ut(t){var r,n=t.popper,a=t.popperRect,o=t.placement,s=t.variation,l=t.offsets,u=t.position,c=t.gpuAcceleration,f=t.adaptive,d=t.roundOffsets,v=t.isFixed,g=l.x,y=g===void 0?0:g,S=l.y,b=S===void 0?0:S,T=typeof d=="function"?d({x:y,y:b}):{x:y,y:b};y=T.x,b=T.y;var w=l.hasOwnProperty("x"),A=l.hasOwnProperty("y"),M=P,L=E,O=window;if(f){var D=se(n),V="clientHeight",z="clientWidth";if(D===H(n)&&(D=I(n),N(D).position!=="static"&&u==="absolute"&&(V="scrollHeight",z="scrollWidth")),D=D,o===E||(o===P||o===W)&&s===J){L=R;var Y=v&&D===O&&O.visualViewport?O.visualViewport.height:D[V];b-=Y-a.height,b*=c?1:-1}if(o===P||(o===E||o===R)&&s===J){M=W;var ie=v&&D===O&&O.visualViewport?O.visualViewport.width:D[z];y-=ie-a.width,y*=c?1:-1}}var j=Object.assign({position:u},f&&qt),le=d===!0?Vt({x:y,y:b}):{x:y,y:b};if(y=le.x,b=le.y,c){var de;return Object.assign({},j,(de={},de[L]=A?"0":"",de[M]=w?"0":"",de.transform=(O.devicePixelRatio||1)<=1?"translate("+y+"px, "+b+"px)":"translate3d("+y+"px, "+b+"px, 0)",de))}return Object.assign({},j,(r={},r[L]=A?b+"px":"",r[M]=w?y+"px":"",r.transform="",r))}function Nt(t){var r=t.state,n=t.options,a=n.gpuAcceleration,o=a===void 0?!0:a,s=n.adaptive,l=s===void 0?!0:s,u=n.roundOffsets,c=u===void 0?!0:u,f={placement:q(r.placement),variation:te(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:o,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,ut(Object.assign({},f,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:l,roundOffsets:c})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,ut(Object.assign({},f,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye={passive:!0};function It(t){var r=t.state,n=t.instance,a=t.options,o=a.scroll,s=o===void 0?!0:o,l=a.resize,u=l===void 0?!0:l,c=H(r.elements.popper),f=[].concat(r.scrollParents.reference,r.scrollParents.popper);return s&&f.forEach(function(d){d.addEventListener("scroll",n.update,ye)}),u&&c.addEventListener("resize",n.update,ye),function(){s&&f.forEach(function(d){d.removeEventListener("scroll",n.update,ye)}),u&&c.removeEventListener("resize",n.update,ye)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be(t){return t.replace(/left|right|bottom|top/g,function(r){return _t[r]})}var zt={start:"end",end:"start"};function lt$1(t){return t.replace(/start|end/g,function(r){return zt[r]})}function We(t){var r=H(t),n=r.pageXOffset,a=r.pageYOffset;return{scrollLeft:n,scrollTop:a}}function Be(t){return ee(I(t)).left+We(t).scrollLeft}function Ft(t){var r=H(t),n=I(t),a=r.visualViewport,o=n.clientWidth,s=n.clientHeight,l=0,u=0;return a&&(o=a.width,s=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=a.offsetLeft,u=a.offsetTop)),{width:o,height:s,x:l+Be(t),y:u}}function Ut(t){var r,n=I(t),a=We(t),o=(r=t.ownerDocument)==null?void 0:r.body,s=X(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=X(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-a.scrollLeft+Be(t),c=-a.scrollTop;return N(o||n).direction==="rtl"&&(u+=X(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:l,x:u,y:c}}function Se(t){var r=N(t),n=r.overflow,a=r.overflowX,o=r.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+a)}function dt(t){return["html","body","#document"].indexOf(C(t))>=0?t.ownerDocument.body:B(t)&&Se(t)?t:dt(ge(t))}function ce(t,r){var n;r===void 0&&(r=[]);var a=dt(t),o=a===((n=t.ownerDocument)==null?void 0:n.body),s=H(a),l=o?[s].concat(s.visualViewport||[],Se(a)?a:[]):a,u=r.concat(l);return o?u:u.concat(ce(ge(l)))}function Te(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Xt(t){var r=ee(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?Te(Ft(t)):Q(r)?Xt(r):Te(Ut(I(t)))}function Yt(t){var r=ce(ge(t)),n=["absolute","fixed"].indexOf(N(t).position)>=0,a=n&&B(t)?se(t):t;return Q(a)?r.filter(function(o){return Q(o)&&it(o,a)&&C(o)!=="body"}):[]}function Gt(t,r,n){var a=r==="clippingParents"?Yt(t):[].concat(r),o=[].concat(a,[n]),s=o[0],l=o.reduce(function(u,c){var f=ht(t,c);return u.top=X(f.top,u.top),u.right=ve(f.right,u.right),u.bottom=ve(f.bottom,u.bottom),u.left=X(f.left,u.left),u},ht(t,s));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function mt(t){var r=t.reference,n=t.element,a=t.placement,o=a?q(a):null,s=a?te(a):null,l=r.x+r.width/2-n.width/2,u=r.y+r.height/2-n.height/2,c;switch(o){case E:c={x:l,y:r.y-n.height};break;case R:c={x:l,y:r.y+r.height};break;case W:c={x:r.x+r.width,y:u};break;case P:c={x:r.x-n.width,y:u};break;default:c={x:r.x,y:r.y}}var f=o?Le(o):null;if(f!=null){var d=f==="y"?"height":"width";switch(s){case U:c[f]=c[f]-(r[d]/2-n[d]/2);break;case J:c[f]=c[f]+(r[d]/2-n[d]/2);break}}return c}function ne(t,r){r===void 0&&(r={});var n=r,a=n.placement,o=a===void 0?t.placement:a,s=n.boundary,l=s===void 0?Xe:s,u=n.rootBoundary,c=u===void 0?je:u,f=n.elementContext,d=f===void 0?K:f,v=n.altBoundary,g=v===void 0?!1:v,y=n.padding,S=y===void 0?0:y,b=ft(typeof S!="number"?S:ct(S,G)),T=d===K?Ye:K,w=t.rects.popper,A=t.elements[g?T:d],M=Gt(Q(A)?A:A.contextElement||I(t.elements.popper),l,c),L=ee(t.elements.reference),O=mt({reference:L,element:w,strategy:"absolute",placement:o}),D=Te(Object.assign({},w,O)),V=d===K?D:L,z={top:M.top-V.top+b.top,bottom:V.bottom-M.bottom+b.bottom,left:M.left-V.left+b.left,right:V.right-M.right+b.right},Y=t.modifiersData.offset;if(d===K&&Y){var ie=Y[o];Object.keys(z).forEach(function(j){var le=[W,R].indexOf(j)>=0?1:-1,de=[E,R].indexOf(j)>=0?"y":"x";z[j]+=ie[de]*le})}return z}function Jt(t,r){r===void 0&&(r={});var n=r,a=n.placement,o=n.boundary,s=n.rootBoundary,l=n.padding,u=n.flipVariations,c=n.allowedAutoPlacements,f=c===void 0?Ee:c,d=te(a),v=d?u?De:De.filter(function(S){return te(S)===d}):G,g=v.filter(function(S){return f.indexOf(S)>=0});g.length===0&&(g=v);var y=g.reduce(function(S,b){return S[b]=ne(t,{placement:b,boundary:o,rootBoundary:s,padding:l})[q(b)],S},{});return Object.keys(y).sort(function(S,b){return y[S]-y[b]})}function Kt(t){if(q(t)===me)return[];var r=be(t);return[lt$1(t),r,lt$1(r)]}function Qt(t){var r=t.state,n=t.options,a=t.name;if(!r.modifiersData[a]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,l=n.altAxis,u=l===void 0?!0:l,c=n.fallbackPlacements,f=n.padding,d=n.boundary,v=n.rootBoundary,g=n.altBoundary,y=n.flipVariations,S=y===void 0?!0:y,b=n.allowedAutoPlacements,T=r.options.placement,w=q(T),A=w===T,M=c||(A||!S?[be(T)]:Kt(T)),L=[T].concat(M).reduce(function(_r,xr){return _r.concat(q(xr)===me?Jt(r,{placement:xr,boundary:d,rootBoundary:v,padding:f,flipVariations:S,allowedAutoPlacements:b}):xr)},[]),O=r.rects.reference,D=r.rects.popper,V=new Map,z=!0,Y=L[0],ie=0;ie=0,Ie=xe?"width":"height",Ce=ne(r,{placement:j,boundary:d,rootBoundary:v,altBoundary:g,padding:f}),Fe=xe?de?W:P:de?R:E;O[Ie]>D[Ie]&&(Fe=be(Fe));var Ue=be(Fe),Pt=[];if(s&&Pt.push(Ce[le]<=0),u&&Pt.push(Ce[Fe]<=0,Ce[Ue]<=0),Pt.every(function(_r){return _r})){Y=j,z=!1;break}V.set(j,Pt)}if(z)for(var Dt=S?3:1,rr=function(_r){var xr=L.find(function(Cr){var jt=V.get(Cr);if(jt)return jt.slice(0,_r).every(function(ar){return ar})});if(xr)return Y=xr,"break"},ur=Dt;ur>0;ur--){var Sr=rr(ur);if(Sr==="break")break}r.placement!==Y&&(r.modifiersData[a]._skip=!0,r.placement=Y,r.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(t,r,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-r.height-n.y,right:t.right-r.width+n.x,bottom:t.bottom-r.height+n.y,left:t.left-r.width-n.x}}function yt(t){return[E,W,R,P].some(function(r){return t[r]>=0})}function Zt(t){var r=t.state,n=t.name,a=r.rects.reference,o=r.rects.popper,s=r.modifiersData.preventOverflow,l=ne(r,{elementContext:"reference"}),u=ne(r,{altBoundary:!0}),c=gt(l,a),f=gt(u,o,s),d=yt(c),v=yt(f);r.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:d,hasPopperEscaped:v},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":v})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en$1(t,r,n){var a=q(t),o=[P,E].indexOf(a)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},r,{placement:t})):n,l=s[0],u=s[1];return l=l||0,u=(u||0)*o,[P,W].indexOf(a)>=0?{x:u,y:l}:{x:l,y:u}}function tn(t){var r=t.state,n=t.options,a=t.name,o=n.offset,s=o===void 0?[0,0]:o,l=Ee.reduce(function(d,v){return d[v]=en$1(v,r.rects,s),d},{}),u=l[r.placement],c=u.x,f=u.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=c,r.modifiersData.popperOffsets.y+=f),r.modifiersData[a]=l}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(t){var r=t.state,n=t.name;r.modifiersData[n]=mt({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(t){return t==="x"?"y":"x"}function on(t){var r=t.state,n=t.options,a=t.name,o=n.mainAxis,s=o===void 0?!0:o,l=n.altAxis,u=l===void 0?!1:l,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,v=n.padding,g=n.tether,y=g===void 0?!0:g,S=n.tetherOffset,b=S===void 0?0:S,T=ne(r,{boundary:c,rootBoundary:f,padding:v,altBoundary:d}),w=q(r.placement),A=te(r.placement),M=!A,L=Le(w),O=rn(L),D=r.modifiersData.popperOffsets,V=r.rects.reference,z=r.rects.popper,Y=typeof b=="function"?b(Object.assign({},r.rects,{placement:r.placement})):b,ie=typeof Y=="number"?{mainAxis:Y,altAxis:Y}:Object.assign({mainAxis:0,altAxis:0},Y),j=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,le={x:0,y:0};if(D){if(s){var de,xe=L==="y"?E:P,Ie=L==="y"?R:W,Ce=L==="y"?"height":"width",Fe=D[L],Ue=Fe+T[xe],Pt=Fe-T[Ie],Dt=y?-z[Ce]/2:0,rr=A===U?V[Ce]:z[Ce],ur=A===U?-z[Ce]:-V[Ce],Sr=r.elements.arrow,_r=y&&Sr?ke(Sr):{width:0,height:0},xr=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:st(),Cr=xr[xe],jt=xr[Ie],ar=fe(0,V[Ce],_r[Ce]),sr=M?V[Ce]/2-Dt-ar-Cr-ie.mainAxis:rr-ar-Cr-ie.mainAxis,dr=M?-V[Ce]/2+Dt+ar+jt+ie.mainAxis:ur+ar+jt+ie.mainAxis,fr=r.elements.arrow&&se(r.elements.arrow),Ne=fr?L==="y"?fr.clientTop||0:fr.clientLeft||0:0,ue=(de=j==null?void 0:j[L])!=null?de:0,_e=Fe+sr-ue-Ne,ze=Fe+dr-ue,At=fe(y?ve(Ue,_e):Ue,Fe,y?X(Pt,ze):Pt);D[L]=At,le[L]=At-Fe}if(u){var tr,hr=L==="x"?E:P,pr=L==="x"?R:W,mr=D[O],ir=O==="y"?"height":"width",er=mr+T[hr],nr=mr-T[pr],wr=[E,P].indexOf(w)!==-1,Ar=(tr=j==null?void 0:j[O])!=null?tr:0,Or=wr?er:mr-V[ir]-z[ir]-Ar+ie.altAxis,Br=wr?mr+V[ir]+z[ir]-Ar-ie.altAxis:nr,Nr=y&&wr?St(Or,mr,Br):fe(y?Or:er,mr,y?Br:nr);D[O]=Nr,le[O]=Nr-mr}r.modifiersData[a]=le}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function sn(t){return t===H(t)||!B(t)?We(t):an(t)}function fn(t){var r=t.getBoundingClientRect(),n=Z(r.width)/t.offsetWidth||1,a=Z(r.height)/t.offsetHeight||1;return n!==1||a!==1}function cn(t,r,n){n===void 0&&(n=!1);var a=B(r),o=B(r)&&fn(r),s=I(r),l=ee(t,o),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&((C(r)!=="body"||Se(s))&&(u=sn(r)),B(r)?(c=ee(r,!0),c.x+=r.clientLeft,c.y+=r.clientTop):s&&(c.x=Be(s))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function pn(t){var r=new Map,n=new Set,a=[];t.forEach(function(s){r.set(s.name,s)});function o(s){n.add(s.name);var l=[].concat(s.requires||[],s.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var c=r.get(u);c&&o(c)}}),a.push(s)}return t.forEach(function(s){n.has(s.name)||o(s)}),a}function un(t){var r=pn(t);return ot.reduce(function(n,a){return n.concat(r.filter(function(o){return o.phase===a}))},[])}function ln(t){var r;return function(){return r||(r=new Promise(function(n){Promise.resolve().then(function(){r=void 0,n(t())})})),r}}function dn(t){var r=t.reduce(function(n,a){var o=n[a.name];return n[a.name]=o?Object.assign({},o,a,{options:Object.assign({},o.options,a.options),data:Object.assign({},o.data,a.data)}):a,n},{});return Object.keys(r).map(function(n){return r[n]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var t=arguments.length,r=new Array(t),n=0;n{const a={name:"updateState",enabled:!0,phase:"write",fn:({state:c})=>{const f=deriveState(c);Object.assign(l.value,f)},requires:["computeStyles"]},o=computed(()=>{const{onFirstUpdate:c,placement:f,strategy:d,modifiers:v}=unref(n);return{onFirstUpdate:c,placement:f||"bottom",strategy:d||"absolute",modifiers:[...v||[],a,{name:"applyStyles",enabled:!1}]}}),s=shallowRef(),l=ref({styles:{popper:{position:unref(o).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),u=()=>{s.value&&(s.value.destroy(),s.value=void 0)};return watch(o,c=>{const f=unref(s);f&&f.setOptions(c)},{deep:!0}),watch([t,r],([c,f])=>{u(),!(!c||!f)&&(s.value=yn(c,f,unref(o)))}),onBeforeUnmount(()=>{u()}),{state:computed(()=>{var c;return{...((c=unref(s))==null?void 0:c.state)||{}}}),styles:computed(()=>unref(l).styles),attributes:computed(()=>unref(l).attributes),update:()=>{var c;return(c=unref(s))==null?void 0:c.update()},forceUpdate:()=>{var c;return(c=unref(s))==null?void 0:c.forceUpdate()},instanceRef:computed(()=>unref(s))}};function deriveState(t){const r=Object.keys(t.elements),n=fromPairs(r.map(o=>[o,t.styles[o]||{}])),a=fromPairs(r.map(o=>[o,t.attributes[o]]));return{styles:n,attributes:a}}function useTimeout(){let t;const r=(a,o)=>{n(),t=window.setTimeout(a,o)},n=()=>window.clearTimeout(t);return tryOnScopeDispose(()=>n()),{registerTimeout:r,cancelTimeout:n}}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(),n=useGetDerivedNamespace();return computed(()=>unref(t)||`${n.value}-id-${r.prefix}-${r.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=t=>{const r=t;r.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(n=>n(r))},useEscapeKeydown=t=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient&®isteredEscapeHandlers.push(t)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter(r=>r!==t),registeredEscapeHandlers.length===0&&isClient&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const t=useGetDerivedNamespace(),r=useIdInjection(),n=computed(()=>`${t.value}-popper-container-${r.prefix}`),a=computed(()=>`#${n.value}`);return{id:n,selector:a}},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&&!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:n,open:a,close:o})=>{const{registerTimeout:s}=useTimeout(),{registerTimeout:l,cancelTimeout:u}=useTimeout();return{onOpen:d=>{s(()=>{a(d);const v=unref(n);isNumber$2(v)&&v>0&&l(()=>{o(d)},v)},unref(t))},onClose:d=>{u(),s(()=>{o(d)},unref(r))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=t=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:n=>{t.value=n}})},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||inject(zIndexContextKey,void 0),n=computed(()=>{const s=unref(r);return isNumber$2(s)?s:defaultInitialZIndex}),a=computed(()=>n.value+zIndex.value);return{initialZIndex:n,currentZIndex:a,nextZIndex:()=>(zIndex.value++,a.value)}},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)||"")},configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig(t,r=void 0){const n=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return t?computed(()=>{var a,o;return(o=(a=n.value)==null?void 0:a[t])!=null?o:r}):n}function useGlobalComponentSettings(t,r){const n=useGlobalConfig(),a=useNamespace(t,computed(()=>{var u;return((u=n.value)==null?void 0:u.namespace)||defaultNamespace})),o=useLocale(computed(()=>{var u;return(u=n.value)==null?void 0:u.locale})),s=useZIndex(computed(()=>{var u;return((u=n.value)==null?void 0:u.zIndex)||defaultInitialZIndex})),l=computed(()=>{var u;return unref(r)||((u=n.value)==null?void 0:u.size)||""});return provideGlobalConfig(computed(()=>unref(n)||{})),{ns:a,locale:o,zIndex:s,size:l}}const provideGlobalConfig=(t,r,n=!1)=>{var a;const o=!!getCurrentInstance(),s=o?useGlobalConfig():void 0,l=(a=r==null?void 0:r.provide)!=null?a:o?provide:void 0;if(!l)return;const u=computed(()=>{const c=unref(t);return s!=null&&s.value?mergeConfig(s.value,c):c});return l(configProviderContextKey,u),l(localeContextKey,computed(()=>u.value.locale)),l(namespaceContextKey,computed(()=>u.value.namespace)),l(zIndexContextKey,computed(()=>u.value.zIndex)),l(SIZE_INJECTION_KEY,{size:computed(()=>u.value.size||"")}),(n||!globalConfig.value)&&(globalConfig.value=u.value),u},mergeConfig=(t,r)=>{var n;const a=[...new Set([...keysOf(t),...keysOf(r)])],o={};for(const s of a)o[s]=(n=r[s])!=null?n:t[s];return o},messageConfig={};var _export_sfc$1=(t,r)=>{const n=t.__vccOpts||t;for(const[a,o]of r)n[a]=o;return n};const iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$p=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$S=defineComponent({...__default__$p,props:iconProps,setup(t){const r=t,n=useNamespace("icon"),a=computed(()=>{const{size:o,color:s}=r;return!o&&!s?{}:{fontSize:isUndefined(o)?void 0:addUnit(o),"--color":s}});return(o,s)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(n).b(),style:unref(a)},o.$attrs),[renderSlot(o.$slots,"default")],16))}});var Icon=_export_sfc$1(_sfc_main$S,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const ElIcon=withInstall(Icon),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=(t,r={})=>{const n=ref(void 0),a=r.prop?n:useProp("size"),o=r.global?n:useGlobalSize(),s=r.form?{size:void 0}:inject(formContextKey,void 0),l=r.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>a.value||unref(t)||(l==null?void 0:l.size)||(s==null?void 0:s.size)||o.value||"")},useFormDisabled=t=>{const r=useProp("disabled"),n=inject(formContextKey,void 0);return computed(()=>r.value||unref(t)||(n==null?void 0:n.disabled)||!1)},useFormItem=()=>{const t=inject(formContextKey,void 0),r=inject(formItemContextKey,void 0);return{form:t,formItem:r}},useFormItemInputId=(t,{formItemContext:r,disableIdGeneration:n,disableIdManagement:a})=>{n||(n=ref(!1)),a||(a=ref(!1));const o=ref();let s;const l=computed(()=>{var u;return!!(!t.label&&r&&r.inputIds&&((u=r.inputIds)==null?void 0:u.length)<=1)});return onMounted(()=>{s=watch([toRef(t,"id"),n],([u,c])=>{const f=u??(c?void 0:useId().value);f!==o.value&&(r!=null&&r.removeInputId&&(o.value&&r.removeInputId(o.value),!(a!=null&&a.value)&&!c&&f&&r.addInputId(f)),o.value=f)},{immediate:!0})}),onUnmounted(()=>{s&&s(),r!=null&&r.removeInputId&&o.value&&r.removeInputId(o.value)}),{isLabeledByFormItem:l,inputId:o}},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=({move:t,size:r,bar:n})=>({[n.size]:r,transform:`translate${n.axis}(${t}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$4="Thumb",_sfc_main$R=defineComponent({__name:"thumb",props:thumbProps,setup(t){const r=t,n=inject(scrollbarContextKey),a=useNamespace("scrollbar");n||throwError$1(COMPONENT_NAME$4,"can not inject scrollbar context");const o=ref(),s=ref(),l=ref({}),u=ref(!1);let c=!1,f=!1,d=isClient?document.onselectstart:null;const v=computed(()=>BAR_MAP[r.vertical?"vertical":"horizontal"]),g=computed(()=>renderThumbStyle({size:r.size,move:r.move,bar:v.value})),y=computed(()=>o.value[v.value.offset]**2/n.wrapElement[v.value.scrollSize]/r.ratio/s.value[v.value.offset]),S=D=>{var V;if(D.stopPropagation(),D.ctrlKey||[1,2].includes(D.button))return;(V=window.getSelection())==null||V.removeAllRanges(),T(D);const z=D.currentTarget;z&&(l.value[v.value.axis]=z[v.value.offset]-(D[v.value.client]-z.getBoundingClientRect()[v.value.direction]))},b=D=>{if(!s.value||!o.value||!n.wrapElement)return;const V=Math.abs(D.target.getBoundingClientRect()[v.value.direction]-D[v.value.client]),z=s.value[v.value.offset]/2,Y=(V-z)*100*y.value/o.value[v.value.offset];n.wrapElement[v.value.scroll]=Y*n.wrapElement[v.value.scrollSize]/100},T=D=>{D.stopImmediatePropagation(),c=!0,document.addEventListener("mousemove",w),document.addEventListener("mouseup",A),d=document.onselectstart,document.onselectstart=()=>!1},w=D=>{if(!o.value||!s.value||c===!1)return;const V=l.value[v.value.axis];if(!V)return;const z=(o.value.getBoundingClientRect()[v.value.direction]-D[v.value.client])*-1,Y=s.value[v.value.offset]-V,ie=(z-Y)*100*y.value/o.value[v.value.offset];n.wrapElement[v.value.scroll]=ie*n.wrapElement[v.value.scrollSize]/100},A=()=>{c=!1,l.value[v.value.axis]=0,document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",A),O(),f&&(u.value=!1)},M=()=>{f=!1,u.value=!!r.size},L=()=>{f=!0,u.value=c};onBeforeUnmount(()=>{O(),document.removeEventListener("mouseup",A)});const O=()=>{document.onselectstart!==d&&(document.onselectstart=d)};return useEventListener(toRef(n,"scrollbarElement"),"mousemove",M),useEventListener(toRef(n,"scrollbarElement"),"mouseleave",L),(D,V)=>(openBlock(),createBlock(Transition,{name:unref(a).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:o,class:normalizeClass([unref(a).e("bar"),unref(a).is(unref(v).key)]),onMousedown:b},[createBaseVNode("div",{ref_key:"thumb",ref:s,class:normalizeClass(unref(a).e("thumb")),style:normalizeStyle$1(unref(g)),onMousedown:S},null,38)],34),[[vShow,D.always||u.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$1(_sfc_main$R,[["__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$Q=defineComponent({__name:"bar",props:barProps,setup(t,{expose:r}){const n=t,a=ref(0),o=ref(0);return r({handleScroll:l=>{if(l){const u=l.offsetHeight-GAP,c=l.offsetWidth-GAP;o.value=l.scrollTop*100/u*n.ratioY,a.value=l.scrollLeft*100/c*n.ratioX}}}),(l,u)=>(openBlock(),createElementBlock(Fragment,null,[createVNode$1(Thumb,{move:a.value,ratio:l.ratioX,size:l.width,always:l.always},null,8,["move","ratio","size","always"]),createVNode$1(Thumb,{move:o.value,ratio:l.ratioY,size:l.height,vertical:"",always:l.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$1(_sfc_main$Q,[["__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$2)},COMPONENT_NAME$3="ElScrollbar",__default__$o=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$P=defineComponent({...__default__$o,props:scrollbarProps,emits:scrollbarEmits,setup(t,{expose:r,emit:n}){const a=t,o=useNamespace("scrollbar");let s,l;const u=ref(),c=ref(),f=ref(),d=ref("0"),v=ref("0"),g=ref(),y=ref(1),S=ref(1),b=computed(()=>{const V={};return a.height&&(V.height=addUnit(a.height)),a.maxHeight&&(V.maxHeight=addUnit(a.maxHeight)),[a.wrapStyle,V]}),T=computed(()=>[a.wrapClass,o.e("wrap"),{[o.em("wrap","hidden-default")]:!a.native}]),w=computed(()=>[o.e("view"),a.viewClass]),A=()=>{var V;c.value&&((V=g.value)==null||V.handleScroll(c.value),n("scroll",{scrollTop:c.value.scrollTop,scrollLeft:c.value.scrollLeft}))};function M(V,z){isObject$6(V)?c.value.scrollTo(V):isNumber$2(V)&&isNumber$2(z)&&c.value.scrollTo(V,z)}const L=V=>{isNumber$2(V)&&(c.value.scrollTop=V)},O=V=>{isNumber$2(V)&&(c.value.scrollLeft=V)},D=()=>{if(!c.value)return;const V=c.value.offsetHeight-GAP,z=c.value.offsetWidth-GAP,Y=V**2/c.value.scrollHeight,ie=z**2/c.value.scrollWidth,j=Math.max(Y,a.minSize),le=Math.max(ie,a.minSize);y.value=Y/(V-Y)/(j/(V-j)),S.value=ie/(z-ie)/(le/(z-le)),v.value=j+GAPa.noresize,V=>{V?(s==null||s(),l==null||l()):({stop:s}=useResizeObserver(f,D),l=useEventListener("resize",D))},{immediate:!0}),watch(()=>[a.maxHeight,a.height],()=>{a.native||nextTick(()=>{var V;D(),c.value&&((V=g.value)==null||V.handleScroll(c.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:u,wrapElement:c})),onMounted(()=>{a.native||nextTick(()=>{D()})}),onUpdated(()=>D()),r({wrapRef:c,update:D,scrollTo:M,setScrollTop:L,setScrollLeft:O,handleScroll:A}),(V,z)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:u,class:normalizeClass(unref(o).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:c,class:normalizeClass(unref(T)),style:normalizeStyle$1(unref(b)),onScroll:A},[(openBlock(),createBlock(resolveDynamicComponent(V.tag),{ref_key:"resizeRef",ref:f,class:normalizeClass(unref(w)),style:normalizeStyle$1(V.viewStyle)},{default:withCtx(()=>[renderSlot(V.$slots,"default")]),_:3},8,["class","style"]))],38),V.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:g,height:v.value,width:d.value,always:V.always,"ratio-x":S.value,"ratio-y":y.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var Scrollbar=_export_sfc$1(_sfc_main$P,[["__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__$n=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$O=defineComponent({...__default__$n,props:popperProps,setup(t,{expose:r}){const n=t,a=ref(),o=ref(),s=ref(),l=ref(),u=computed(()=>n.role),c={triggerRef:a,popperInstanceRef:o,contentRef:s,referenceRef:l,role:u};return r(c),provide(POPPER_INJECTION_KEY,c),(f,d)=>renderSlot(f.$slots,"default")}});var Popper=_export_sfc$1(_sfc_main$O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$m=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$N=defineComponent({...__default__$m,props:popperArrowProps,setup(t,{expose:r}){const n=t,a=useNamespace("popper"),{arrowOffset:o,arrowRef:s,arrowStyle:l}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>n.arrowOffset,u=>{o.value=u}),onBeforeUnmount(()=>{s.value=void 0}),r({arrowRef:s}),(u,c)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:s,class:normalizeClass(unref(a).e("arrow")),style:normalizeStyle$1(unref(l)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$1(_sfc_main$N,[["__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:n}){var a;const o=inject(FORWARD_REF_INJECTION_KEY),s=useForwardRefDirective((a=o==null?void 0:o.setForwardRef)!=null?a:NOOP);return()=>{var l;const u=(l=r.default)==null?void 0:l.call(r,n);if(!u||u.length>1)return null;const c=findFirstLegitChild(u);return c?withDirectives(cloneVNode(c,n),[[s]]):null}}});function findFirstLegitChild(t){if(!t)return null;const r=t;for(const n of r){if(isObject$6(n))switch(n.type){case Comment:continue;case Text$1:case"svg":return wrapTextContent(n);case Fragment:return findFirstLegitChild(n.children);default:return n}return wrapTextContent(n)}return null}function wrapTextContent(t){const r=useNamespace("only-child");return createVNode$1("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__$l=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$M=defineComponent({...__default__$l,props:popperTriggerProps,setup(t,{expose:r}){const n=t,{role:a,triggerRef:o}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(o);const s=computed(()=>u.value?n.id:void 0),l=computed(()=>{if(a&&a.value==="tooltip")return n.open&&n.id?n.id:void 0}),u=computed(()=>{if(a&&a.value!=="tooltip")return a.value}),c=computed(()=>u.value?`${n.open}`:void 0);let f;return onMounted(()=>{watch(()=>n.virtualRef,d=>{d&&(o.value=unrefElement(d))},{immediate:!0}),watch(o,(d,v)=>{f==null||f(),f=void 0,isElement(d)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(g=>{var y;const S=n[g];S&&(d.addEventListener(g.slice(2).toLowerCase(),S),(y=v==null?void 0:v.removeEventListener)==null||y.call(v,g.slice(2).toLowerCase(),S))}),f=watch([s,l,u,c],g=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((y,S)=>{isNil(g[S])?d.removeAttribute(y):d.setAttribute(y,g[S])})},{immediate:!0})),isElement(v)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(g=>v.removeAttribute(g))},{immediate:!0})}),onBeforeUnmount(()=>{f==null||f(),f=void 0}),r({triggerRef:o}),(d,v)=>d.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},d.$attrs,{"aria-controls":unref(s),"aria-describedby":unref(l),"aria-expanded":unref(c),"aria-haspopup":unref(u)}),{default:withCtx(()=>[renderSlot(d.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$1(_sfc_main$M,[["__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=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const o=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||o?NodeFilter.FILTER_SKIP:a.tabIndex>=0||a===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)r.push(n.currentNode);return r},getVisibleElement=(t,r)=>{for(const n of t)if(!isHidden(n,r))return n},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),n=getVisibleElement(r,t),a=getVisibleElement(r.reverse(),t);return[n,a]},isSelectable=t=>t instanceof HTMLInputElement&&"select"in t,tryFocus=(t,r)=>{if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),t!==n&&isSelectable(t)&&r&&t.select()}};function removeFromStack(t,r){const n=[...t],a=t.indexOf(r);return a!==-1&&n.splice(a,1),n}const createFocusableStack=()=>{let t=[];return{push:a=>{const o=t[0];o&&a!==o&&o.pause(),t=removeFromStack(t,a),t.unshift(a)},remove:a=>{var o,s;t=removeFromStack(t,a),(s=(o=t[0])==null?void 0:o.resume)==null||s.call(o)}}},focusFirstDescendant=(t,r=!1)=>{const n=document.activeElement;for(const a of t)if(tryFocus(a,r),document.activeElement!==n)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$L=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 n=ref();let a,o;const{focusReason:s}=useFocusReason();useEscapeKeydown(S=>{t.trapped&&!l.paused&&r("release-requested",S)});const l={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},u=S=>{if(!t.loop&&!t.trapped||l.paused)return;const{key:b,altKey:T,ctrlKey:w,metaKey:A,currentTarget:M,shiftKey:L}=S,{loop:O}=t,D=b===EVENT_CODE.tab&&!T&&!w&&!A,V=document.activeElement;if(D&&V){const z=M,[Y,ie]=getEdges(z);if(Y&&ie){if(!L&&V===ie){const le=createFocusOutPreventedEvent({focusReason:s.value});r("focusout-prevented",le),le.defaultPrevented||(S.preventDefault(),O&&tryFocus(Y,!0))}else if(L&&[Y,z].includes(V)){const le=createFocusOutPreventedEvent({focusReason:s.value});r("focusout-prevented",le),le.defaultPrevented||(S.preventDefault(),O&&tryFocus(ie,!0))}}else if(V===z){const le=createFocusOutPreventedEvent({focusReason:s.value});r("focusout-prevented",le),le.defaultPrevented||S.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:n,onKeydown:u}),watch(()=>t.focusTrapEl,S=>{S&&(n.value=S)},{immediate:!0}),watch([n],([S],[b])=>{S&&(S.addEventListener("keydown",u),S.addEventListener("focusin",d),S.addEventListener("focusout",v)),b&&(b.removeEventListener("keydown",u),b.removeEventListener("focusin",d),b.removeEventListener("focusout",v))});const c=S=>{r(ON_TRAP_FOCUS_EVT,S)},f=S=>r(ON_RELEASE_FOCUS_EVT,S),d=S=>{const b=unref(n);if(!b)return;const T=S.target,w=S.relatedTarget,A=T&&b.contains(T);t.trapped||w&&b.contains(w)||(a=w),A&&r("focusin",S),!l.paused&&t.trapped&&(A?o=T:tryFocus(o,!0))},v=S=>{const b=unref(n);if(!(l.paused||!b))if(t.trapped){const T=S.relatedTarget;!isNil(T)&&!b.contains(T)&&setTimeout(()=>{if(!l.paused&&t.trapped){const w=createFocusOutPreventedEvent({focusReason:s.value});r("focusout-prevented",w),w.defaultPrevented||tryFocus(o,!0)}},0)}else{const T=S.target;T&&b.contains(T)||r("focusout",S)}};async function g(){await nextTick();const S=unref(n);if(S){focusableStack.push(l);const b=S.contains(document.activeElement)?a:document.activeElement;if(a=b,!S.contains(b)){const w=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);S.addEventListener(FOCUS_AFTER_TRAPPED,c),S.dispatchEvent(w),w.defaultPrevented||nextTick(()=>{let A=t.focusStartEl;isString$3(A)||(tryFocus(A),document.activeElement!==A&&(A="first")),A==="first"&&focusFirstDescendant(obtainAllFocusableElements(S),!0),(document.activeElement===b||A==="container")&&tryFocus(S)})}}}function y(){const S=unref(n);if(S){S.removeEventListener(FOCUS_AFTER_TRAPPED,c);const b=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:s.value}});S.addEventListener(FOCUS_AFTER_RELEASED,f),S.dispatchEvent(b),!b.defaultPrevented&&(s.value=="keyboard"||!isFocusCausedByUserEvent()||S.contains(document.activeElement))&&tryFocus(a??document.body),S.removeEventListener(FOCUS_AFTER_RELEASED,c),focusableStack.remove(l)}}return onMounted(()=>{t.trapped&&g(),watch(()=>t.trapped,S=>{S?g():y()})}),onBeforeUnmount(()=>{t.trapped&&y()}),{onKeydown:u}}});function _sfc_render$e(t,r,n,a,o,s){return renderSlot(t.$slots,"default",{handleKeydown:t.onKeydown})}var ElFocusTrap=_export_sfc$1(_sfc_main$L,[["render",_sfc_render$e],["__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:n,strategy:a,popperOptions:o}=t,s={placement:n,strategy:a,...o,modifiers:[...genModifiers(t),...r]};return deriveExtraModifiers(s,o==null?void 0:o.modifiers),s},unwrapMeasurableEl=t=>{if(isClient)return unrefElement(t)};function genModifiers(t){const{offset:r,gpuAcceleration:n,fallbackPlacements:a}=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:a}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function deriveExtraModifiers(t,r){r&&(t.modifiers=[...t.modifiers,...r??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=t=>{const{popperInstanceRef:r,contentRef:n,triggerRef:a,role:o}=inject(POPPER_INJECTION_KEY,void 0),s=ref(),l=ref(),u=computed(()=>({name:"eventListeners",enabled:!!t.visible})),c=computed(()=>{var w;const A=unref(s),M=(w=unref(l))!=null?w:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$1(A),options:{element:A,padding:M}}}),f=computed(()=>({onFirstUpdate:()=>{S()},...buildPopperOptions(t,[unref(c),unref(u)])})),d=computed(()=>unwrapMeasurableEl(t.referenceEl)||unref(a)),{attributes:v,state:g,styles:y,update:S,forceUpdate:b,instanceRef:T}=usePopper(d,n,f);return watch(T,w=>r.value=w),onMounted(()=>{watch(()=>{var w;return(w=unref(d))==null?void 0:w.getBoundingClientRect()},()=>{S()})}),{attributes:v,arrowRef:s,contentRef:n,instanceRef:T,state:g,styles:y,role:o,forceUpdate:b,update:S}},usePopperContentDOM=(t,{attributes:r,styles:n,role:a})=>{const{nextZIndex:o}=useZIndex(),s=useNamespace("popper"),l=computed(()=>unref(r).popper),u=ref(t.zIndex||o()),c=computed(()=>[s.b(),s.is("pure",t.pure),s.is(t.effect),t.popperClass]),f=computed(()=>[{zIndex:unref(u)},unref(n).popper,t.popperStyle||{}]),d=computed(()=>a.value==="dialog"?"false":void 0),v=computed(()=>unref(n).arrow||{});return{ariaModal:d,arrowStyle:v,contentAttrs:l,contentClass:c,contentStyle:f,contentZIndex:u,updateZIndex:()=>{u.value=t.zIndex||o()}}},usePopperContentFocusTrap=(t,r)=>{const n=ref(!1),a=ref();return{focusStartRef:a,trapped:n,onFocusAfterReleased:f=>{var d;((d=f.detail)==null?void 0:d.focusReason)!=="pointer"&&(a.value="first",r("blur"))},onFocusAfterTrapped:()=>{r("focus")},onFocusInTrap:f=>{t.visible&&!n.value&&(f.target&&(a.value=f.target),n.value=!0)},onFocusoutPrevented:f=>{t.trapping||(f.detail.focusReason==="pointer"&&f.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,r("close")}}},__default__$k=defineComponent({name:"ElPopperContent"}),_sfc_main$K=defineComponent({...__default__$k,props:popperContentProps,emits:popperContentEmits,setup(t,{expose:r,emit:n}){const a=t,{focusStartRef:o,trapped:s,onFocusAfterReleased:l,onFocusAfterTrapped:u,onFocusInTrap:c,onFocusoutPrevented:f,onReleaseRequested:d}=usePopperContentFocusTrap(a,n),{attributes:v,arrowRef:g,contentRef:y,styles:S,instanceRef:b,role:T,update:w}=usePopperContent(a),{ariaModal:A,arrowStyle:M,contentAttrs:L,contentClass:O,contentStyle:D,updateZIndex:V}=usePopperContentDOM(a,{styles:S,attributes:v,role:T}),z=inject(formItemContextKey,void 0),Y=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:M,arrowRef:g,arrowOffset:Y}),z&&(z.addInputId||z.removeInputId)&&provide(formItemContextKey,{...z,addInputId:NOOP,removeInputId:NOOP});let ie;const j=(de=!0)=>{w(),de&&V()},le=()=>{j(!1),a.visible&&a.focusOnShow?s.value=!0:a.visible===!1&&(s.value=!1)};return onMounted(()=>{watch(()=>a.triggerTargetEl,(de,xe)=>{ie==null||ie(),ie=void 0;const Ie=unref(de||y.value),Ce=unref(xe||y.value);isElement(Ie)&&(ie=watch([T,()=>a.ariaLabel,A,()=>a.id],Fe=>{["role","aria-label","aria-modal","id"].forEach((Ue,Pt)=>{isNil(Fe[Pt])?Ie.removeAttribute(Ue):Ie.setAttribute(Ue,Fe[Pt])})},{immediate:!0})),Ce!==Ie&&isElement(Ce)&&["role","aria-label","aria-modal","id"].forEach(Fe=>{Ce.removeAttribute(Fe)})},{immediate:!0}),watch(()=>a.visible,le,{immediate:!0})}),onBeforeUnmount(()=>{ie==null||ie(),ie=void 0}),r({popperContentRef:y,popperInstanceRef:b,updatePopper:j,contentStyle:D}),(de,xe)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:y},unref(L),{style:unref(D),class:unref(O),tabindex:"-1",onMouseenter:xe[0]||(xe[0]=Ie=>de.$emit("mouseenter",Ie)),onMouseleave:xe[1]||(xe[1]=Ie=>de.$emit("mouseleave",Ie))}),[createVNode$1(unref(ElFocusTrap),{trapped:unref(s),"trap-on-focus-in":!0,"focus-trap-el":unref(y),"focus-start-el":unref(o),onFocusAfterTrapped:unref(u),onFocusAfterReleased:unref(l),onFocusin:unref(c),onFocusoutPrevented:unref(f),onReleaseRequested:unref(d)},{default:withCtx(()=>[renderSlot(de.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc$1(_sfc_main$K,[["__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$6(t)?t.includes(r):t===r,whenTrigger=(t,r,n)=>a=>{isTriggerType(unref(t),r)&&n(a)},__default__$j=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$J=defineComponent({...__default__$j,props:useTooltipTriggerProps,setup(t,{expose:r}){const n=t,a=useNamespace("tooltip"),{controlled:o,id:s,open:l,onOpen:u,onClose:c,onToggle:f}=inject(TOOLTIP_INJECTION_KEY,void 0),d=ref(null),v=()=>{if(unref(o)||n.disabled)return!0},g=toRef(n,"trigger"),y=composeEventHandlers(v,whenTrigger(g,"hover",u)),S=composeEventHandlers(v,whenTrigger(g,"hover",c)),b=composeEventHandlers(v,whenTrigger(g,"click",L=>{L.button===0&&f(L)})),T=composeEventHandlers(v,whenTrigger(g,"focus",u)),w=composeEventHandlers(v,whenTrigger(g,"focus",c)),A=composeEventHandlers(v,whenTrigger(g,"contextmenu",L=>{L.preventDefault(),f(L)})),M=composeEventHandlers(v,L=>{const{code:O}=L;n.triggerKeys.includes(O)&&(L.preventDefault(),f(L))});return r({triggerRef:d}),(L,O)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(s),"virtual-ref":L.virtualRef,open:unref(l),"virtual-triggering":L.virtualTriggering,class:normalizeClass(unref(a).e("trigger")),onBlur:unref(w),onClick:unref(b),onContextmenu:unref(A),onFocus:unref(T),onMouseenter:unref(y),onMouseleave:unref(S),onKeydown:unref(M)},{default:withCtx(()=>[renderSlot(L.$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$J,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const __default__$i=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$I=defineComponent({...__default__$i,props:useTooltipContentProps,setup(t,{expose:r}){const n=t,{selector:a}=usePopperContainerId(),o=useNamespace("tooltip"),s=ref(null),l=ref(!1),{controlled:u,id:c,open:f,trigger:d,onClose:v,onOpen:g,onShow:y,onHide:S,onBeforeShow:b,onBeforeHide:T}=inject(TOOLTIP_INJECTION_KEY,void 0),w=computed(()=>n.transition||`${o.namespace.value}-fade-in-linear`),A=computed(()=>n.persistent);onBeforeUnmount(()=>{l.value=!0});const M=computed(()=>unref(A)?!0:unref(f)),L=computed(()=>n.disabled?!1:unref(f)),O=computed(()=>n.appendTo||a.value),D=computed(()=>{var Fe;return(Fe=n.style)!=null?Fe:{}}),V=computed(()=>!unref(f)),z=()=>{S()},Y=()=>{if(unref(u))return!0},ie=composeEventHandlers(Y,()=>{n.enterable&&unref(d)==="hover"&&g()}),j=composeEventHandlers(Y,()=>{unref(d)==="hover"&&v()}),le=()=>{var Fe,Ue;(Ue=(Fe=s.value)==null?void 0:Fe.updatePopper)==null||Ue.call(Fe),b==null||b()},de=()=>{T==null||T()},xe=()=>{y(),Ce=onClickOutside(computed(()=>{var Fe;return(Fe=s.value)==null?void 0:Fe.popperContentRef}),()=>{if(unref(u))return;unref(d)!=="hover"&&v()})},Ie=()=>{n.virtualTriggering||v()};let Ce;return watch(()=>unref(f),Fe=>{Fe||Ce==null||Ce()},{flush:"post"}),watch(()=>n.content,()=>{var Fe,Ue;(Ue=(Fe=s.value)==null?void 0:Fe.updatePopper)==null||Ue.call(Fe)}),r({contentRef:s}),(Fe,Ue)=>(openBlock(),createBlock(Teleport,{disabled:!Fe.teleported,to:unref(O)},[createVNode$1(Transition,{name:unref(w),onAfterLeave:z,onBeforeEnter:le,onAfterEnter:xe,onBeforeLeave:de},{default:withCtx(()=>[unref(M)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(c),ref_key:"contentRef",ref:s},Fe.$attrs,{"aria-label":Fe.ariaLabel,"aria-hidden":unref(V),"boundaries-padding":Fe.boundariesPadding,"fallback-placements":Fe.fallbackPlacements,"gpu-acceleration":Fe.gpuAcceleration,offset:Fe.offset,placement:Fe.placement,"popper-options":Fe.popperOptions,strategy:Fe.strategy,effect:Fe.effect,enterable:Fe.enterable,pure:Fe.pure,"popper-class":Fe.popperClass,"popper-style":[Fe.popperStyle,unref(D)],"reference-el":Fe.referenceEl,"trigger-target-el":Fe.triggerTargetEl,visible:unref(L),"z-index":Fe.zIndex,onMouseenter:unref(ie),onMouseleave:unref(j),onBlur:Ie,onClose:unref(v)}),{default:withCtx(()=>[l.value?createCommentVNode("v-if",!0):renderSlot(Fe.$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(L)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var ElTooltipContent=_export_sfc$1(_sfc_main$I,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const _hoisted_1$i=["innerHTML"],_hoisted_2$6={key:1},__default__$h=defineComponent({name:"ElTooltip"}),_sfc_main$H=defineComponent({...__default__$h,props:useTooltipProps,emits:tooltipEmits,setup(t,{expose:r,emit:n}){const a=t;usePopperContainer();const o=useId(),s=ref(),l=ref(),u=()=>{var w;const A=unref(s);A&&((w=A.popperInstanceRef)==null||w.update())},c=ref(!1),f=ref(),{show:d,hide:v,hasUpdateHandler:g}=useTooltipModelToggle({indicator:c,toggleReason:f}),{onOpen:y,onClose:S}=useDelayedToggle({showAfter:toRef(a,"showAfter"),hideAfter:toRef(a,"hideAfter"),autoClose:toRef(a,"autoClose"),open:d,close:v}),b=computed(()=>isBoolean$1(a.visible)&&!g.value);provide(TOOLTIP_INJECTION_KEY,{controlled:b,id:o,open:readonly(c),trigger:toRef(a,"trigger"),onOpen:w=>{y(w)},onClose:w=>{S(w)},onToggle:w=>{unref(c)?S(w):y(w)},onShow:()=>{n("show",f.value)},onHide:()=>{n("hide",f.value)},onBeforeShow:()=>{n("before-show",f.value)},onBeforeHide:()=>{n("before-hide",f.value)},updatePopper:u}),watch(()=>a.disabled,w=>{w&&c.value&&(c.value=!1)});const T=()=>{var w,A;const M=(A=(w=l.value)==null?void 0:w.contentRef)==null?void 0:A.popperContentRef;return M&&M.contains(document.activeElement)};return onDeactivated(()=>c.value&&v()),r({popperRef:s,contentRef:l,isFocusInsideContent:T,updatePopper:u,onOpen:y,onClose:S,hide:v}),(w,A)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:s,role:w.role},{default:withCtx(()=>[createVNode$1(ElTooltipTrigger,{disabled:w.disabled,trigger:w.trigger,"trigger-keys":w.triggerKeys,"virtual-ref":w.virtualRef,"virtual-triggering":w.virtualTriggering},{default:withCtx(()=>[w.$slots.default?renderSlot(w.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode$1(ElTooltipContent,{ref_key:"contentRef",ref:l,"aria-label":w.ariaLabel,"boundaries-padding":w.boundariesPadding,content:w.content,disabled:w.disabled,effect:w.effect,enterable:w.enterable,"fallback-placements":w.fallbackPlacements,"hide-after":w.hideAfter,"gpu-acceleration":w.gpuAcceleration,offset:w.offset,persistent:w.persistent,"popper-class":w.popperClass,"popper-style":w.popperStyle,placement:w.placement,"popper-options":w.popperOptions,pure:w.pure,"raw-content":w.rawContent,"reference-el":w.referenceEl,"trigger-target-el":w.triggerTargetEl,"show-after":w.showAfter,strategy:w.strategy,teleported:w.teleported,transition:w.transition,"virtual-triggering":w.virtualTriggering,"z-index":w.zIndex,"append-to":w.appendTo},{default:withCtx(()=>[renderSlot(w.$slots,"content",{},()=>[w.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:w.content},null,8,_hoisted_1$i)):(openBlock(),createElementBlock("span",_hoisted_2$6,toDisplayString$1(w.content),1))]),w.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":w.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$H,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const ElTooltip=withInstall(Tooltip),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,default:"",validator:t=>isNumber$2(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$h=["src","alt","srcset"],__default__$g=defineComponent({name:"ElAvatar"}),_sfc_main$G=defineComponent({...__default__$g,props:avatarProps,emits:avatarEmits,setup(t,{emit:r}){const n=t,a=useNamespace("avatar"),o=ref(!1),s=computed(()=>{const{size:f,icon:d,shape:v}=n,g=[a.b()];return isString$3(f)&&g.push(a.m(f)),d&&g.push(a.m("icon")),v&&g.push(a.m(v)),g}),l=computed(()=>{const{size:f}=n;return isNumber$2(f)?a.cssVarBlock({size:addUnit(f)||""}):void 0}),u=computed(()=>({objectFit:n.fit}));watch(()=>n.src,()=>o.value=!1);function c(f){o.value=!0,r("error",f)}return(f,d)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(s)),style:normalizeStyle$1(unref(l))},[(f.src||f.srcSet)&&!o.value?(openBlock(),createElementBlock("img",{key:0,src:f.src,alt:f.alt,srcset:f.srcSet,style:normalizeStyle$1(unref(u)),onError:c},null,44,_hoisted_1$h)):f.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(f.icon)))]),_:1})):renderSlot(f.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc$1(_sfc_main$G,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue"]]);const ElAvatar=withInstall(Avatar),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$g=["textContent"],__default__$f=defineComponent({name:"ElBadge"}),_sfc_main$F=defineComponent({...__default__$f,props:badgeProps,setup(t,{expose:r}){const n=t,a=useNamespace("badge"),o=computed(()=>n.isDot?"":isNumber$2(n.value)&&isNumber$2(n.max)?n.max(openBlock(),createElementBlock("div",{class:normalizeClass(unref(a).b())},[renderSlot(s.$slots,"default"),createVNode$1(Transition,{name:`${unref(a).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(a).e("content"),unref(a).em("content",s.type),unref(a).is("fixed",!!s.$slots.default),unref(a).is("dot",s.isDot)]),textContent:toDisplayString$1(unref(o))},null,10,_hoisted_1$g),[[vShow,!s.hidden&&(unref(o)||s.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$1(_sfc_main$F,[["__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__$e=defineComponent({name:"ElBreadcrumb"}),_sfc_main$E=defineComponent({...__default__$e,props:breadcrumbProps,setup(t){const r=t,n=useNamespace("breadcrumb"),a=ref();return provide(breadcrumbKey,r),onMounted(()=>{const o=a.value.querySelectorAll(`.${n.e("item")}`);o.length&&o[o.length-1].setAttribute("aria-current","page")}),(o,s)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:a,class:normalizeClass(unref(n).b()),"aria-label":"Breadcrumb",role:"navigation"},[renderSlot(o.$slots,"default")],2))}});var Breadcrumb$2=_export_sfc$1(_sfc_main$E,[["__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__$d=defineComponent({name:"ElBreadcrumbItem"}),_sfc_main$D=defineComponent({...__default__$d,props:breadcrumbItemProps,setup(t){const r=t,n=getCurrentInstance(),a=inject(breadcrumbKey,void 0),o=useNamespace("breadcrumb"),{separator:s,separatorIcon:l}=toRefs(a),u=n.appContext.config.globalProperties.$router,c=ref(),f=()=>{!r.to||!u||(r.replace?u.replace(r.to):u.push(r.to))};return(d,v)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(o).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:c,class:normalizeClass([unref(o).e("inner"),unref(o).is("link",!!d.to)]),role:"link",onClick:f},[renderSlot(d.$slots,"default")],2),unref(l)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(o).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(l))))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(o).e("separator")),role:"presentation"},toDisplayString$1(unref(s)),3))],2))}});var BreadcrumbItem=_export_sfc$1(_sfc_main$D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall(Breadcrumb$2,{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 n=inject(buttonGroupContextKey,void 0),a=useGlobalConfig("button"),{form:o}=useFormItem(),s=useFormSize(computed(()=>n==null?void 0:n.size)),l=useFormDisabled(),u=ref(),c=useSlots(),f=computed(()=>t.type||(n==null?void 0:n.type)||""),d=computed(()=>{var S,b,T;return(T=(b=t.autoInsertSpace)!=null?b:(S=a.value)==null?void 0:S.autoInsertSpace)!=null?T:!1}),v=computed(()=>t.tag==="button"?{ariaDisabled:l.value||t.loading,disabled:l.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),g=computed(()=>{var S;const b=(S=c.default)==null?void 0:S.call(c);if(d.value&&(b==null?void 0:b.length)===1){const T=b[0];if((T==null?void 0:T.type)===Text$1){const w=T.children;return/^\p{Unified_Ideograph}{2}$/u.test(w.trim())}}return!1});return{_disabled:l,_size:s,_type:f,_ref:u,_props:v,shouldAddSpace:g,handleClick:S=>{t.nativeType==="reset"&&(o==null||o.resetFields()),r("click",S)}}},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(t,r){isOnePointZero(t)&&(t="100%");var n=isPercentage(t);return t=r===360?t:Math.min(r,Math.max(0,parseFloat(t))),n&&(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(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function isPercentage(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,n){return{r:bound01(t,255)*255,g:bound01(r,255)*255,b:bound01(n,255)*255}}function rgbToHsl(t,r,n){t=bound01(t,255),r=bound01(r,255),n=bound01(n,255);var a=Math.max(t,r,n),o=Math.min(t,r,n),s=0,l=0,u=(a+o)/2;if(a===o)l=0,s=0;else{var c=a-o;switch(l=u>.5?c/(2-a-o):c/(a+o),a){case t:s=(r-n)/c+(r1&&(n-=1),n<1/6?t+(r-t)*(6*n):n<1/2?r:n<2/3?t+(r-t)*(2/3-n)*6:t}function hslToRgb(t,r,n){var a,o,s;if(t=bound01(t,360),r=bound01(r,100),n=bound01(n,100),r===0)o=n,s=n,a=n;else{var l=n<.5?n*(1+r):n+r-n*r,u=2*n-l;a=hue2rgb(u,l,t+1/3),o=hue2rgb(u,l,t),s=hue2rgb(u,l,t-1/3)}return{r:a*255,g:o*255,b:s*255}}function rgbToHsv(t,r,n){t=bound01(t,255),r=bound01(r,255),n=bound01(n,255);var a=Math.max(t,r,n),o=Math.min(t,r,n),s=0,l=a,u=a-o,c=a===0?0:u/a;if(a===o)s=0;else{switch(a){case t:s=(r-n)/u+(r>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},n=1,a=null,o=null,s=null,l=!1,u=!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),l=!0,u=String(t.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(t.h)&&isValidCSSUnit(t.s)&&isValidCSSUnit(t.v)?(a=convertToPercentage(t.s),o=convertToPercentage(t.v),r=hsvToRgb(t.h,a,o),l=!0,u="hsv"):isValidCSSUnit(t.h)&&isValidCSSUnit(t.s)&&isValidCSSUnit(t.l)&&(a=convertToPercentage(t.s),s=convertToPercentage(t.l),r=hslToRgb(t.h,a,s),l=!0,u="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=boundAlpha(n),{ok:l,format:t.format||u,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:n}}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 n=matchers.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=matchers.rgba.exec(t),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=matchers.hsl.exec(t),n?{h:n[1],s:n[2],l:n[3]}:(n=matchers.hsla.exec(t),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=matchers.hsv.exec(t),n?{h:n[1],s:n[2],v:n[3]}:(n=matchers.hsva.exec(t),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=matchers.hex8.exec(t),n?{r:parseIntFromHex(n[1]),g:parseIntFromHex(n[2]),b:parseIntFromHex(n[3]),a:convertHexToDecimal(n[4]),format:r?"name":"hex8"}:(n=matchers.hex6.exec(t),n?{r:parseIntFromHex(n[1]),g:parseIntFromHex(n[2]),b:parseIntFromHex(n[3]),format:r?"name":"hex"}:(n=matchers.hex4.exec(t),n?{r:parseIntFromHex(n[1]+n[1]),g:parseIntFromHex(n[2]+n[2]),b:parseIntFromHex(n[3]+n[3]),a:convertHexToDecimal(n[4]+n[4]),format:r?"name":"hex8"}:(n=matchers.hex3.exec(t),n?{r:parseIntFromHex(n[1]+n[1]),g:parseIntFromHex(n[2]+n[2]),b:parseIntFromHex(n[3]+n[3]),format:r?"name":"hex"}:!1)))))))))}function isValidCSSUnit(t){return!!matchers.CSS_UNIT.exec(String(t))}var TinyColor=function(){function t(r,n){r===void 0&&(r=""),n===void 0&&(n={});var a;if(r instanceof t)return r;typeof r=="number"&&(r=numberInputToObject(r)),this.originalInput=r;var o=inputToRGB(r);this.originalInput=r,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(a=n.format)!==null&&a!==void 0?a:o.format,this.gradientType=n.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=o.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(),n,a,o,s=r.r/255,l=r.g/255,u=r.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),l<=.03928?a=l/12.92:a=Math.pow((l+.055)/1.055,2.4),u<=.03928?o=u/12.92:o=Math.pow((u+.055)/1.055,2.4),.2126*n+.7152*a+.0722*o},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),n=Math.round(r.h*360),a=Math.round(r.s*100),o=Math.round(r.v*100);return this.a===1?"hsv(".concat(n,", ").concat(a,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(a,"%, ").concat(o,"%, ").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),n=Math.round(r.h*360),a=Math.round(r.s*100),o=Math.round(r.l*100);return this.a===1?"hsl(".concat(n,", ").concat(a,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(a,"%, ").concat(o,"%, ").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),n=Math.round(this.g),a=Math.round(this.b);return this.a===1?"rgb(".concat(r,", ").concat(n,", ").concat(a,")"):"rgba(".concat(r,", ").concat(n,", ").concat(a,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var r=function(n){return"".concat(Math.round(bound01(n,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(n){return Math.round(bound01(n,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),n=0,a=Object.entries(names);n=0,s=!n&&o&&(r.startsWith("hex")||r==="name");return s?r==="name"&&this.a===0?this.toName():this.toRgbString():(r==="rgb"&&(a=this.toRgbString()),r==="prgb"&&(a=this.toPercentageRgbString()),(r==="hex"||r==="hex6")&&(a=this.toHexString()),r==="hex3"&&(a=this.toHexString(!0)),r==="hex4"&&(a=this.toHex8String(!0)),r==="hex8"&&(a=this.toHex8String()),r==="name"&&(a=this.toName()),r==="hsl"&&(a=this.toHslString()),r==="hsv"&&(a=this.toHsvString()),a||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 n=this.toHsl();return n.l+=r/100,n.l=clamp01(n.l),new t(n)},t.prototype.brighten=function(r){r===void 0&&(r=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(r/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(r/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(r/100)))),new t(n)},t.prototype.darken=function(r){r===void 0&&(r=10);var n=this.toHsl();return n.l-=r/100,n.l=clamp01(n.l),new t(n)},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 n=this.toHsl();return n.s-=r/100,n.s=clamp01(n.s),new t(n)},t.prototype.saturate=function(r){r===void 0&&(r=10);var n=this.toHsl();return n.s+=r/100,n.s=clamp01(n.s),new t(n)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(r){var n=this.toHsl(),a=(n.h+r)%360;return n.h=a<0?360+a:a,new t(n)},t.prototype.mix=function(r,n){n===void 0&&(n=50);var a=this.toRgb(),o=new t(r).toRgb(),s=n/100,l={r:(o.r-a.r)*s+a.r,g:(o.g-a.g)*s+a.g,b:(o.b-a.b)*s+a.b,a:(o.a-a.a)*s+a.a};return new t(l)},t.prototype.analogous=function(r,n){r===void 0&&(r=6),n===void 0&&(n=30);var a=this.toHsl(),o=360/n,s=[this];for(a.h=(a.h-(o*r>>1)+720)%360;--r;)a.h=(a.h+o)%360,s.push(new t(a));return s},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 n=this.toHsv(),a=n.h,o=n.s,s=n.v,l=[],u=1/r;r--;)l.push(new t({h:a,s:o,v:s})),s=(s+u)%1;return l},t.prototype.splitcomplement=function(){var r=this.toHsl(),n=r.h;return[this,new t({h:(n+72)%360,s:r.s,l:r.l}),new t({h:(n+216)%360,s:r.s,l:r.l})]},t.prototype.onBackground=function(r){var n=this.toRgb(),a=new t(r).toRgb(),o=n.a+a.a*(1-n.a);return new t({r:(n.r*n.a+a.r*a.a*(1-n.a))/o,g:(n.g*n.a+a.g*a.a*(1-n.a))/o,b:(n.b*n.a+a.b*a.a*(1-n.a))/o,a:o})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(r){for(var n=this.toHsl(),a=n.h,o=[this],s=360/r,l=1;l{let a={};const o=t.color;if(o){const s=new TinyColor(o),l=t.dark?s.tint(20).toString():darken(s,20);if(t.plain)a=n.cssVarBlock({"bg-color":t.dark?darken(s,90):s.tint(90).toString(),"text-color":o,"border-color":t.dark?darken(s,50):s.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":l,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":l}),r.value&&(a[n.cssVarBlockName("disabled-bg-color")]=t.dark?darken(s,90):s.tint(90).toString(),a[n.cssVarBlockName("disabled-text-color")]=t.dark?darken(s,50):s.tint(50).toString(),a[n.cssVarBlockName("disabled-border-color")]=t.dark?darken(s,80):s.tint(80).toString());else{const u=t.dark?darken(s,30):s.tint(30).toString(),c=s.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(a=n.cssVarBlock({"bg-color":o,"text-color":c,"border-color":o,"hover-bg-color":u,"hover-text-color":c,"hover-border-color":u,"active-bg-color":l,"active-border-color":l}),r.value){const f=t.dark?darken(s,50):s.tint(50).toString();a[n.cssVarBlockName("disabled-bg-color")]=f,a[n.cssVarBlockName("disabled-text-color")]=t.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,a[n.cssVarBlockName("disabled-border-color")]=f}}}return a})}const __default__$c=defineComponent({name:"ElButton"}),_sfc_main$C=defineComponent({...__default__$c,props:buttonProps,emits:buttonEmits,setup(t,{expose:r,emit:n}){const a=t,o=useButtonCustomStyle(a),s=useNamespace("button"),{_ref:l,_size:u,_type:c,_disabled:f,_props:d,shouldAddSpace:v,handleClick:g}=useButton(a,n);return r({ref:l,size:u,type:c,disabled:f,shouldAddSpace:v}),(y,S)=>(openBlock(),createBlock(resolveDynamicComponent(y.tag),mergeProps({ref_key:"_ref",ref:l},unref(d),{class:[unref(s).b(),unref(s).m(unref(c)),unref(s).m(unref(u)),unref(s).is("disabled",unref(f)),unref(s).is("loading",y.loading),unref(s).is("plain",y.plain),unref(s).is("round",y.round),unref(s).is("circle",y.circle),unref(s).is("text",y.text),unref(s).is("link",y.link),unref(s).is("has-bg",y.bg)],style:unref(o),onClick:unref(g)}),{default:withCtx(()=>[y.loading?(openBlock(),createElementBlock(Fragment,{key:0},[y.$slots.loading?renderSlot(y.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(s).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(y.loadingIcon)))]),_:1},8,["class"]))],64)):y.icon||y.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[y.icon?(openBlock(),createBlock(resolveDynamicComponent(y.icon),{key:0})):renderSlot(y.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),y.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(s).em("text","expand")]:unref(v)})},[renderSlot(y.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc$1(_sfc_main$C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$b=defineComponent({name:"ElButtonGroup"}),_sfc_main$B=defineComponent({...__default__$b,props:buttonGroupProps,setup(t){const r=t;provide(buttonGroupContextKey,reactive({size:toRef(r,"size"),type:toRef(r,"type")}));const n=useNamespace("button");return(a,o)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref(n).b("group")}`)},[renderSlot(a.$slots,"default")],2))}});var ButtonGroup=_export_sfc$1(_sfc_main$B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup});withNoopInstall(ButtonGroup);const cardProps=buildProps({header:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},shadow:{type:String,values:["always","hover","never"],default:"always"}}),__default__$a=defineComponent({name:"ElCard"}),_sfc_main$A=defineComponent({...__default__$a,props:cardProps,setup(t){const r=useNamespace("card");return(n,a)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(r).b(),unref(r).is(`${n.shadow}-shadow`)])},[n.$slots.header||n.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("header"))},[renderSlot(n.$slots,"header",{},()=>[createTextVNode(toDisplayString$1(n.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(r).e("body")),style:normalizeStyle$1(n.bodyStyle)},[renderSlot(n.$slots,"default")],6)],2))}});var Card=_export_sfc$1(_sfc_main$A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const ElCard=withInstall(Card),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:"top"}}),__default__$9=defineComponent({name:"ElRow"}),_sfc_main$z=defineComponent({...__default__$9,props:rowProps,setup(t){const r=t,n=useNamespace("row"),a=computed(()=>r.gutter);provide(rowContextKey,{gutter:a});const o=computed(()=>{const l={};return r.gutter&&(l.marginRight=l.marginLeft=`-${r.gutter/2}px`),l}),s=computed(()=>[n.b(),n.is(`justify-${r.justify}`,r.justify!=="start"),n.is(`align-${r.align}`,r.align!=="top")]);return(l,u)=>(openBlock(),createBlock(resolveDynamicComponent(l.tag),{class:normalizeClass(unref(s)),style:normalizeStyle$1(unref(o))},{default:withCtx(()=>[renderSlot(l.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$1(_sfc_main$z,[["__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__$8=defineComponent({name:"ElCol"}),_sfc_main$y=defineComponent({...__default__$8,props:colProps,setup(t){const r=t,{gutter:n}=inject(rowContextKey,{gutter:computed(()=>0)}),a=useNamespace("col"),o=computed(()=>{const l={};return n.value&&(l.paddingLeft=l.paddingRight=`${n.value/2}px`),l}),s=computed(()=>{const l=[];return["span","offset","pull","push"].forEach(f=>{const d=r[f];isNumber$2(d)&&(f==="span"?l.push(a.b(`${r[f]}`)):d>0&&l.push(a.b(`${f}-${r[f]}`)))}),["xs","sm","md","lg","xl"].forEach(f=>{isNumber$2(r[f])?l.push(a.b(`${f}-${r[f]}`)):isObject$6(r[f])&&Object.entries(r[f]).forEach(([d,v])=>{l.push(d!=="span"?a.b(`${f}-${d}-${v}`):a.b(`${f}-${v}`))})}),n.value&&l.push(a.is("guttered")),[a.b(),l]});return(l,u)=>(openBlock(),createBlock(resolveDynamicComponent(l.tag),{class:normalizeClass(unref(s)),style:normalizeStyle$1(unref(o))},{default:withCtx(()=>[renderSlot(l.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$1(_sfc_main$y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);const ElCol=withInstall(Col),__default__$7=defineComponent({name:"ElCollapseTransition"}),_sfc_main$x=defineComponent({...__default__$7,setup(t){const r=useNamespace("collapse-transition"),n={beforeEnter(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0},enter(a){a.dataset.oldOverflow=a.style.overflow,a.scrollHeight!==0?(a.style.maxHeight=`${a.scrollHeight}px`,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom):(a.style.maxHeight=0,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom),a.style.overflow="hidden"},afterEnter(a){a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow},beforeLeave(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.dataset.oldOverflow=a.style.overflow,a.style.maxHeight=`${a.scrollHeight}px`,a.style.overflow="hidden"},leave(a){a.scrollHeight!==0&&(a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0)},afterLeave(a){a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom}};return(a,o)=>(openBlock(),createBlock(Transition,mergeProps({name:unref(r).b()},toHandlers(n)),{default:withCtx(()=>[renderSlot(a.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc$1(_sfc_main$x,[["__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,__default__$6=defineComponent({name:"ElContainer"}),_sfc_main$w=defineComponent({...__default__$6,props:{direction:{type:String}},setup(t){const r=t,n=useSlots(),a=useNamespace("container"),o=computed(()=>r.direction==="vertical"?!0:r.direction==="horizontal"?!1:n&&n.default?n.default().some(l=>{const u=l.type.name;return u==="ElHeader"||u==="ElFooter"}):!1);return(s,l)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(a).b(),unref(a).is("vertical",unref(o))])},[renderSlot(s.$slots,"default")],2))}});var Container=_export_sfc$1(_sfc_main$w,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const __default__$5=defineComponent({name:"ElAside"}),_sfc_main$v=defineComponent({...__default__$5,props:{width:{type:String,default:null}},setup(t){const r=t,n=useNamespace("aside"),a=computed(()=>r.width?n.cssVarBlock({width:r.width}):{});return(o,s)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(n).b()),style:normalizeStyle$1(unref(a))},[renderSlot(o.$slots,"default")],6))}});var Aside=_export_sfc$1(_sfc_main$v,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const __default__$4=defineComponent({name:"ElFooter"}),_sfc_main$u=defineComponent({...__default__$4,props:{height:{type:String,default:null}},setup(t){const r=t,n=useNamespace("footer"),a=computed(()=>r.height?n.cssVarBlock({height:r.height}):{});return(o,s)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(n).b()),style:normalizeStyle$1(unref(a))},[renderSlot(o.$slots,"default")],6))}});var Footer=_export_sfc$1(_sfc_main$u,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const __default__$3=defineComponent({name:"ElHeader"}),_sfc_main$t=defineComponent({...__default__$3,props:{height:{type:String,default:null}},setup(t){const r=t,n=useNamespace("header"),a=computed(()=>r.height?n.cssVarBlock({height:r.height}):{});return(o,s)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(n).b()),style:normalizeStyle$1(unref(a))},[renderSlot(o.$slots,"default")],6))}});var Header=_export_sfc$1(_sfc_main$t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const __default__$2=defineComponent({name:"ElMain"}),_sfc_main$s=defineComponent({...__default__$2,setup(t){const r=useNamespace("main");return(n,a)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref(r).b())},[renderSlot(n.$slots,"default")],2))}});var Main$1=_export_sfc$1(_sfc_main$s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const ElContainer=withInstall(Container,{Aside,Footer,Header,Main:Main$1}),ElAside=withNoopInstall(Aside);withNoopInstall(Footer);const ElHeader=withNoopInstall(Header),ElMain=withNoopInstall(Main$1),_sfc_main$r=defineComponent({inheritAttrs:!1});function _sfc_render$d(t,r,n,a,o,s){return renderSlot(t.$slots,"default")}var Collection=_export_sfc$1(_sfc_main$r,[["render",_sfc_render$d],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const _sfc_main$q=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$c(t,r,n,a,o,s){return renderSlot(t.$slots,"default")}var CollectionItem=_export_sfc$1(_sfc_main$q,[["render",_sfc_render$c],["__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`,n=`${r}Item`,a=Symbol(r),o=Symbol(n),s={...Collection,name:r,setup(){const u=ref(null),c=new Map;provide(a,{itemMap:c,getItems:()=>{const d=unref(u);if(!d)return[];const v=Array.from(d.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...c.values()].sort((y,S)=>v.indexOf(y.ref)-v.indexOf(S.ref))},collectionRef:u})}},l={...CollectionItem,name:n,setup(u,{attrs:c}){const f=ref(null),d=inject(a,void 0);provide(o,{collectionItemRef:f}),onMounted(()=>{const v=unref(f);v&&d.itemMap.set(v,{ref:v,...c})}),onBeforeUnmount(()=>{const v=unref(f);d.itemMap.delete(v)})}};return{COLLECTION_INJECTION_KEY:a,COLLECTION_ITEM_INJECTION_KEY:o,ElCollection:s,ElCollectionItem:l}},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,n)=>{const a=getDirectionAwareKey(t.key,n);if(!(r==="vertical"&&[EVENT_CODE.left,EVENT_CODE.right].includes(a))&&!(r==="horizontal"&&[EVENT_CODE.up,EVENT_CODE.down].includes(a)))return MAP_KEY_TO_FOCUS_INTENT[a]},reorderArray=(t,r)=>t.map((n,a)=>t[(a+r)%t.length]),focusFirst=t=>{const{activeElement:r}=document;for(const n of t)if(n===r||(n.focus(),r!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$p=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(t,{emit:r}){var n;const a=ref((n=t.currentTabId||t.defaultCurrentTabId)!=null?n:null),o=ref(!1),s=ref(!1),l=ref(null),{getItems:u}=inject(COLLECTION_INJECTION_KEY$1,void 0),c=computed(()=>[{outline:"none"},t.style]),f=b=>{r(CURRENT_TAB_ID_CHANGE_EVT,b)},d=()=>{o.value=!0},v=composeEventHandlers(b=>{var T;(T=t.onMousedown)==null||T.call(t,b)},()=>{s.value=!0}),g=composeEventHandlers(b=>{var T;(T=t.onFocus)==null||T.call(t,b)},b=>{const T=!unref(s),{target:w,currentTarget:A}=b;if(w===A&&T&&!unref(o)){const M=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(A==null||A.dispatchEvent(M),!M.defaultPrevented){const L=u().filter(Y=>Y.focusable),O=L.find(Y=>Y.active),D=L.find(Y=>Y.id===unref(a)),z=[O,D,...L].filter(Boolean).map(Y=>Y.ref);focusFirst(z)}}s.value=!1}),y=composeEventHandlers(b=>{var T;(T=t.onBlur)==null||T.call(t,b)},()=>{o.value=!1}),S=(...b)=>{r("entryFocus",...b)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(a),loop:toRef(t,"loop"),tabIndex:computed(()=>unref(o)?-1:0),rovingFocusGroupRef:l,rovingFocusGroupRootStyle:c,orientation:toRef(t,"orientation"),dir:toRef(t,"dir"),onItemFocus:f,onItemShiftTab:d,onBlur:y,onFocus:g,onMousedown:v}),watch(()=>t.currentTabId,b=>{a.value=b??null}),useEventListener(l,ENTRY_FOCUS_EVT,S)}});function _sfc_render$b(t,r,n,a,o,s){return renderSlot(t.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc$1(_sfc_main$p,[["render",_sfc_render$b],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const _sfc_main$o=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl}});function _sfc_render$a(t,r,n,a,o,s){const l=resolveComponent("el-roving-focus-group-impl"),u=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(u,null,{default:withCtx(()=>[createVNode$1(l,normalizeProps(guardReactiveProps(t.$attrs)),{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc$1(_sfc_main$o,[["render",_sfc_render$a],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const _sfc_main$n=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:n,loop:a,onItemFocus:o,onItemShiftTab:s}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:l}=inject(COLLECTION_INJECTION_KEY$1,void 0),u=useId(),c=ref(null),f=composeEventHandlers(y=>{r("mousedown",y)},y=>{t.focusable?o(unref(u)):y.preventDefault()}),d=composeEventHandlers(y=>{r("focus",y)},()=>{o(unref(u))}),v=composeEventHandlers(y=>{r("keydown",y)},y=>{const{key:S,shiftKey:b,target:T,currentTarget:w}=y;if(S===EVENT_CODE.tab&&b){s();return}if(T!==w)return;const A=getFocusIntent(y);if(A){y.preventDefault();let L=l().filter(O=>O.focusable).map(O=>O.ref);switch(A){case"last":{L.reverse();break}case"prev":case"next":{A==="prev"&&L.reverse();const O=L.indexOf(w);L=a.value?reorderArray(L,O+1):L.slice(O+1);break}}nextTick(()=>{focusFirst(L)})}}),g=computed(()=>n.value===unref(u));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:c,tabIndex:computed(()=>unref(g)?0:-1),handleMousedown:f,handleFocus:d,handleKeydown:v}),{id:u,handleKeydown:v,handleFocus:d,handleMousedown:f}}});function _sfc_render$9(t,r,n,a,o,s){const l=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(l,{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$n,[["render",_sfc_render$9],["__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$m=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 n=getCurrentInstance(),a=useNamespace("dropdown"),{t:o}=useLocale(),s=ref(),l=ref(),u=ref(null),c=ref(null),f=ref(null),d=ref(null),v=ref(!1),g=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],y=computed(()=>({maxHeight:addUnit(t.maxHeight)})),S=computed(()=>[a.m(L.value)]),b=useId().value,T=computed(()=>t.id||b);watch([s,toRef(t,"trigger")],([Ce,Fe],[Ue])=>{var Pt,Dt,rr;const ur=isArray$6(Fe)?Fe:[Fe];(Pt=Ue==null?void 0:Ue.$el)!=null&&Pt.removeEventListener&&Ue.$el.removeEventListener("pointerenter",D),(Dt=Ce==null?void 0:Ce.$el)!=null&&Dt.removeEventListener&&Ce.$el.removeEventListener("pointerenter",D),(rr=Ce==null?void 0:Ce.$el)!=null&&rr.addEventListener&&ur.includes("hover")&&Ce.$el.addEventListener("pointerenter",D)},{immediate:!0}),onBeforeUnmount(()=>{var Ce,Fe;(Fe=(Ce=s.value)==null?void 0:Ce.$el)!=null&&Fe.removeEventListener&&s.value.$el.removeEventListener("pointerenter",D)});function w(){A()}function A(){var Ce;(Ce=u.value)==null||Ce.onClose()}function M(){var Ce;(Ce=u.value)==null||Ce.onOpen()}const L=useFormSize();function O(...Ce){r("command",...Ce)}function D(){var Ce,Fe;(Fe=(Ce=s.value)==null?void 0:Ce.$el)==null||Fe.focus()}function V(){}function z(){const Ce=unref(c);Ce==null||Ce.focus(),d.value=null}function Y(Ce){d.value=Ce}function ie(Ce){v.value||(Ce.preventDefault(),Ce.stopImmediatePropagation())}function j(){r("visible-change",!0)}function le(Ce){(Ce==null?void 0:Ce.type)==="keydown"&&c.value.focus()}function de(){r("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:c,role:computed(()=>t.role),triggerId:T,isUsingKeyboard:v,onItemEnter:V,onItemLeave:z}),provide("elDropdown",{instance:n,dropdownSize:L,handleClick:w,commandHandler:O,trigger:toRef(t,"trigger"),hideOnClick:toRef(t,"hideOnClick")}),{t:o,ns:a,scrollbar:f,wrapStyle:y,dropdownTriggerKls:S,dropdownSize:L,triggerId:T,triggerKeys:g,currentTabId:d,handleCurrentTabIdChange:Y,handlerMainButtonClick:Ce=>{r("click",Ce)},handleEntryFocus:ie,handleClose:A,handleOpen:M,handleBeforeShowTooltip:j,handleShowTooltip:le,handleBeforeHideTooltip:de,onFocusAfterTrapped:Ce=>{var Fe,Ue;Ce.preventDefault(),(Ue=(Fe=c.value)==null?void 0:Fe.focus)==null||Ue.call(Fe,{preventScroll:!0})},popperRef:u,contentRef:c,triggeringElementRef:s,referenceElementRef:l}}});function _sfc_render$8(t,r,n,a,o,s){var l;const u=resolveComponent("el-dropdown-collection"),c=resolveComponent("el-roving-focus-group"),f=resolveComponent("el-scrollbar"),d=resolveComponent("el-only-child"),v=resolveComponent("el-tooltip"),g=resolveComponent("el-button"),y=resolveComponent("arrow-down"),S=resolveComponent("el-icon"),b=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([t.ns.b(),t.ns.is("disabled",t.disabled)])},[createVNode$1(v,{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":(l=t.referenceElementRef)==null?void 0:l.$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$1(f,{ref:"scrollbar","wrap-style":t.wrapStyle,tag:"div","view-class":t.ns.e("list")},{default:withCtx(()=>[createVNode$1(c,{loop:t.loop,"current-tab-id":t.currentTabId,orientation:"horizontal",onCurrentTabIdChange:t.handleCurrentTabIdChange,onEntryFocus:t.handleEntryFocus},{default:withCtx(()=>[createVNode$1(u,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$1(d,{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(b,{key:0},{default:withCtx(()=>[createVNode$1(g,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$1(g,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$1(S,{class:normalizeClass(t.ns.e("icon"))},{default:withCtx(()=>[createVNode$1(y)]),_: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$m,[["render",_sfc_render$8],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const _sfc_main$l=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(t,{emit:r}){const n=useNamespace("dropdown"),{role:a}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:o}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:s}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:l,tabIndex:u,handleFocus:c,handleKeydown:f,handleMousedown:d}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),v=composeRefs(o,s,l),g=computed(()=>a.value==="menu"?"menuitem":a.value==="navigation"?"link":"button"),y=composeEventHandlers(S=>{const{code:b}=S;if(b===EVENT_CODE.enter||b===EVENT_CODE.space)return S.preventDefault(),S.stopImmediatePropagation(),r("clickimpl",S),!0},f);return{ns:n,itemRef:v,dataset:{[COLLECTION_ITEM_SIGN]:""},role:g,tabIndex:u,handleFocus:c,handleKeydown:y,handleMousedown:d}}}),_hoisted_1$f=["aria-disabled","tabindex","role"];function _sfc_render$7(t,r,n,a,o,s){const l=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]=u=>t.$emit("clickimpl",u)),onFocus:r[1]||(r[1]=(...u)=>t.handleFocus&&t.handleFocus(...u)),onKeydown:r[2]||(r[2]=withModifiers((...u)=>t.handleKeydown&&t.handleKeydown(...u),["self"])),onMousedown:r[3]||(r[3]=(...u)=>t.handleMousedown&&t.handleMousedown(...u)),onPointermove:r[4]||(r[4]=u=>t.$emit("pointermove",u)),onPointerleave:r[5]||(r[5]=u=>t.$emit("pointerleave",u))}),[t.icon?(openBlock(),createBlock(l,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot(t.$slots,"default")],16,_hoisted_1$f)],64)}var ElDropdownItemImpl=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$7],["__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$k=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(t,{emit:r,attrs:n}){const{elDropdown:a}=useDropdown(),o=getCurrentInstance(),s=ref(null),l=computed(()=>{var y,S;return(S=(y=unref(s))==null?void 0:y.textContent)!=null?S:""}),{onItemEnter:u,onItemLeave:c}=inject(DROPDOWN_INJECTION_KEY,void 0),f=composeEventHandlers(y=>(r("pointermove",y),y.defaultPrevented),whenMouse(y=>{if(t.disabled){c(y);return}const S=y.currentTarget;S===document.activeElement||S.contains(document.activeElement)||(u(y),y.defaultPrevented||S==null||S.focus())})),d=composeEventHandlers(y=>(r("pointerleave",y),y.defaultPrevented),whenMouse(y=>{c(y)})),v=composeEventHandlers(y=>{if(!t.disabled)return r("click",y),y.type!=="keydown"&&y.defaultPrevented},y=>{var S,b,T;if(t.disabled){y.stopImmediatePropagation();return}(S=a==null?void 0:a.hideOnClick)!=null&&S.value&&((b=a.handleClick)==null||b.call(a)),(T=a.commandHandler)==null||T.call(a,t.command,o,y)}),g=computed(()=>({...t,...n}));return{handleClick:v,handlePointerMove:f,handlePointerLeave:d,textContent:l,propsAndAttrs:g}}});function _sfc_render$6(t,r,n,a,o,s){var l;const u=resolveComponent("el-dropdown-item-impl"),c=resolveComponent("el-roving-focus-item"),f=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(f,{disabled:t.disabled,"text-value":(l=t.textValue)!=null?l:t.textContent},{default:withCtx(()=>[createVNode$1(c,{focusable:!t.disabled},{default:withCtx(()=>[createVNode$1(u,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$k,[["render",_sfc_render$6],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const _sfc_main$j=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(t){const r=useNamespace("dropdown"),{_elDropdownSize:n}=useDropdown(),a=n.value,{focusTrapRef:o,onKeydown:s}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:l,role:u,triggerId:c}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:f,getItems:d}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:v,rovingFocusGroupRootStyle:g,tabIndex:y,onBlur:S,onFocus:b,onMousedown:T}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:w}=inject(COLLECTION_INJECTION_KEY$1,void 0),A=computed(()=>[r.b("menu"),r.bm("menu",a==null?void 0:a.value)]),M=composeRefs(l,f,o,v,w),L=composeEventHandlers(D=>{var V;(V=t.onKeydown)==null||V.call(t,D)},D=>{const{currentTarget:V,code:z,target:Y}=D;if(V.contains(Y),EVENT_CODE.tab===z&&D.stopImmediatePropagation(),D.preventDefault(),Y!==unref(l)||!FIRST_LAST_KEYS.includes(z))return;const j=d().filter(le=>!le.disabled).map(le=>le.ref);LAST_KEYS.includes(z)&&j.reverse(),focusFirst(j)});return{size:a,rovingFocusGroupRootStyle:g,tabIndex:y,dropdownKls:A,role:u,triggerId:c,dropdownListWrapperRef:M,handleKeydown:D=>{L(D),s(D)},onBlur:S,onFocus:b,onMousedown:T}}}),_hoisted_1$e=["role","aria-labelledby"];function _sfc_render$5(t,r,n,a,o,s){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]=(...l)=>t.onBlur&&t.onBlur(...l)),onFocus:r[1]||(r[1]=(...l)=>t.onFocus&&t.onFocus(...l)),onKeydown:r[2]||(r[2]=withModifiers((...l)=>t.handleKeydown&&t.handleKeydown(...l),["self"])),onMousedown:r[3]||(r[3]=withModifiers((...l)=>t.onMousedown&&t.onMousedown(...l),["self"]))},[renderSlot(t.$slots,"default")],46,_hoisted_1$e)}var DropdownMenu=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$5],["__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);let SubMenu$1=class{constructor(r,n){this.parent=r,this.domNode=n,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,n=>{n.addEventListener("keydown",a=>{let o=!1;switch(a.code){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),o=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),o=!0;break}case EVENT_CODE.tab:{triggerEvent(r,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{o=!0,a.currentTarget.click();break}}return o&&(a.preventDefault(),a.stopPropagation()),!1})})}},MenuItem$1=class{constructor(r,n){this.domNode=r,this.submenu=null,this.submenu=null,this.init(n)}init(r){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${r}-menu`);n&&(this.submenu=new SubMenu$1(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",r=>{let n=!1;switch(r.code){case EVENT_CODE.down:{triggerEvent(r.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case EVENT_CODE.up:{triggerEvent(r.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case EVENT_CODE.tab:{triggerEvent(r.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{n=!0,r.currentTarget.click();break}}n&&r.preventDefault()})}},Menu$1=class{constructor(r,n){this.domNode=r,this.init(n)}init(r){const n=this.domNode.childNodes;Array.from(n).forEach(a=>{a.nodeType===1&&new MenuItem$1(a,r)})}};const _sfc_main$i=defineComponent({name:"ElMenuCollapseTransition",setup(){const t=useNamespace("menu");return{listeners:{onBeforeEnter:n=>n.style.opacity="0.2",onEnter(n,a){addClass(n,`${t.namespace.value}-opacity-transition`),n.style.opacity="1",a()},onAfterEnter(n){removeClass(n,`${t.namespace.value}-opacity-transition`),n.style.opacity=""},onBeforeLeave(n){n.dataset||(n.dataset={}),hasClass(n,t.m("collapse"))?(removeClass(n,t.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),addClass(n,t.m("collapse"))):(addClass(n,t.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),removeClass(n,t.m("collapse"))),n.style.width=`${n.scrollWidth}px`,n.style.overflow="hidden"},onLeave(n){addClass(n,"horizontal-collapse-transition"),n.style.width=`${n.dataset.scrollWidth}px`}}}}});function _sfc_render$4(t,r,n,a,o,s){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$i,[["render",_sfc_render$4],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function useMenu(t,r){const n=computed(()=>{let o=t.parent;const s=[r.value];for(;o.type.name!=="ElMenu";)o.props.index&&s.unshift(o.props.index),o=o.parent;return s});return{parentMenu:computed(()=>{let o=t.parent;for(;o&&!["ElMenu","ElSubMenu"].includes(o.type.name);)o=o.parent;return o}),indexPath:n}}function useMenuColor(t){return computed(()=>{const n=t.backgroundColor;return n?new TinyColor(n).shade(20).toString():""})}const useMenuCssVar=(t,r)=>{const n=useNamespace("menu");return computed(()=>n.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$2="ElSubMenu";var SubMenu=defineComponent({name:COMPONENT_NAME$2,props:subMenuProps,setup(t,{slots:r,expose:n}){useDeprecated({from:"popper-append-to-body",replacement:"teleported",scope:COMPONENT_NAME$2,version:"2.3.0",ref:"https://element-plus.org/en-US/component/menu.html#submenu-attributes"},computed(()=>t.popperAppendToBody!==void 0));const a=getCurrentInstance(),{indexPath:o,parentMenu:s}=useMenu(a,computed(()=>t.index)),l=useNamespace("menu"),u=useNamespace("sub-menu"),c=inject("rootMenu");c||throwError$1(COMPONENT_NAME$2,"can not inject root menu");const f=inject(`subMenu:${s.value.uid}`);f||throwError$1(COMPONENT_NAME$2,"can not inject sub menu");const d=ref({}),v=ref({});let g;const y=ref(!1),S=ref(),b=ref(null),T=computed(()=>j.value==="horizontal"&&A.value?"bottom-start":"right-start"),w=computed(()=>j.value==="horizontal"&&A.value||j.value==="vertical"&&!c.props.collapse?t.expandCloseIcon&&t.expandOpenIcon?D.value?t.expandOpenIcon:t.expandCloseIcon:arrow_down_default:t.collapseCloseIcon&&t.collapseOpenIcon?D.value?t.collapseOpenIcon:t.collapseCloseIcon:arrow_right_default),A=computed(()=>f.level===0),M=computed(()=>{var Dt;const rr=(Dt=t.teleported)!=null?Dt:t.popperAppendToBody;return rr===void 0?A.value:rr}),L=computed(()=>c.props.collapse?`${l.namespace.value}-zoom-in-left`:`${l.namespace.value}-zoom-in-top`),O=computed(()=>j.value==="horizontal"&&A.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","left-start","bottom-start","bottom-end","top-start","top-end"]),D=computed(()=>c.openedMenus.includes(t.index)),V=computed(()=>{let Dt=!1;return Object.values(d.value).forEach(rr=>{rr.active&&(Dt=!0)}),Object.values(v.value).forEach(rr=>{rr.active&&(Dt=!0)}),Dt}),z=computed(()=>c.props.backgroundColor||""),Y=computed(()=>c.props.activeTextColor||""),ie=computed(()=>c.props.textColor||""),j=computed(()=>c.props.mode),le=reactive({index:t.index,indexPath:o,active:V}),de=useMenuCssVar(c.props,f.level+1),xe=computed(()=>j.value!=="horizontal"?{color:ie.value}:{borderBottomColor:V.value?c.props.activeTextColor?Y.value:"":"transparent",color:V.value?Y.value:ie.value}),Ie=()=>{var Dt,rr,ur;return(ur=(rr=(Dt=b.value)==null?void 0:Dt.popperRef)==null?void 0:rr.popperInstanceRef)==null?void 0:ur.destroy()},Ce=Dt=>{Dt||Ie()},Fe=()=>{c.props.menuTrigger==="hover"&&c.props.mode==="horizontal"||c.props.collapse&&c.props.mode==="vertical"||t.disabled||c.handleSubMenuClick({index:t.index,indexPath:o.value,active:V.value})},Ue=(Dt,rr=t.showTimeout)=>{var ur;Dt.type!=="focus"&&(c.props.menuTrigger==="click"&&c.props.mode==="horizontal"||!c.props.collapse&&c.props.mode==="vertical"||t.disabled||(f.mouseInChild.value=!0,g==null||g(),{stop:g}=useTimeoutFn(()=>{c.openMenu(t.index,o.value)},rr),M.value&&((ur=s.value.vnode.el)==null||ur.dispatchEvent(new MouseEvent("mouseenter")))))},Pt=(Dt=!1)=>{var rr,ur;c.props.menuTrigger==="click"&&c.props.mode==="horizontal"||!c.props.collapse&&c.props.mode==="vertical"||(g==null||g(),f.mouseInChild.value=!1,{stop:g}=useTimeoutFn(()=>!y.value&&c.closeMenu(t.index,o.value),t.hideTimeout),M.value&&Dt&&((rr=a.parent)==null?void 0:rr.type.name)==="ElSubMenu"&&((ur=f.handleMouseleave)==null||ur.call(f,!0)))};watch(()=>c.props.collapse,Dt=>Ce(!!Dt));{const Dt=ur=>{v.value[ur.index]=ur},rr=ur=>{delete v.value[ur.index]};provide(`subMenu:${a.uid}`,{addSubMenu:Dt,removeSubMenu:rr,handleMouseleave:Pt,mouseInChild:y,level:f.level+1})}return n({opened:D}),onMounted(()=>{c.addSubMenu(le),f.addSubMenu(le)}),onBeforeUnmount(()=>{f.removeSubMenu(le),c.removeSubMenu(le)}),()=>{var Dt;const rr=[(Dt=r.title)==null?void 0:Dt.call(r),h(ElIcon,{class:u.e("icon-arrow"),style:{transform:D.value?t.expandCloseIcon&&t.expandOpenIcon||t.collapseCloseIcon&&t.collapseOpenIcon&&c.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$3(w.value)?h(a.appContext.components[w.value]):h(w.value)})],ur=c.isMenuPopup?h(ElTooltip,{ref:b,visible:D.value,effect:"light",pure:!0,offset:t.popperOffset,showArrow:!1,persistent:!0,popperClass:t.popperClass,placement:T.value,teleported:M.value,fallbackPlacements:O.value,transition:L.value,gpuAcceleration:!1},{content:()=>{var Sr;return h("div",{class:[l.m(j.value),l.m("popup-container"),t.popperClass],onMouseenter:_r=>Ue(_r,100),onMouseleave:()=>Pt(!0),onFocus:_r=>Ue(_r,100)},[h("ul",{class:[l.b(),l.m("popup"),l.m(`popup-${T.value}`)],style:de.value},[(Sr=r.default)==null?void 0:Sr.call(r)])])},default:()=>h("div",{class:u.e("title"),style:[xe.value,{backgroundColor:z.value}],onClick:Fe},rr)}):h(Fragment,{},[h("div",{class:u.e("title"),style:[xe.value,{backgroundColor:z.value}],ref:S,onClick:Fe},rr),h(_CollapseTransition,{},{default:()=>{var Sr;return withDirectives(h("ul",{role:"menu",class:[l.b(),l.m("inline")],style:de.value},[(Sr=r.default)==null?void 0:Sr.call(r)]),[[vShow,D.value]])}})]);return h("li",{class:[u.b(),u.is("active",V.value),u.is("opened",D.value),u.is("disabled",t.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:D.value,onMouseenter:Ue,onMouseleave:()=>Pt(!0),onFocus:Ue},[ur])}}});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$3(r)),menuEmits={close:(t,r)=>isString$3(t)&&checkIndexPath(r),open:(t,r)=>isString$3(t)&&checkIndexPath(r),select:(t,r,n,a)=>isString$3(t)&&checkIndexPath(r)&&isObject$6(n)&&(a===void 0||a instanceof Promise)};var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(t,{emit:r,slots:n,expose:a}){const o=getCurrentInstance(),s=o.appContext.config.globalProperties.$router,l=ref(),u=useNamespace("menu"),c=useNamespace("sub-menu"),f=ref(-1),d=ref(t.defaultOpeneds&&!t.collapse?t.defaultOpeneds.slice(0):[]),v=ref(t.defaultActive),g=ref({}),y=ref({}),S=computed(()=>t.mode==="horizontal"||t.mode==="vertical"&&t.collapse),b=()=>{const j=v.value&&g.value[v.value];if(!j||t.mode==="horizontal"||t.collapse)return;j.indexPath.forEach(de=>{const xe=y.value[de];xe&&T(de,xe.indexPath)})},T=(j,le)=>{d.value.includes(j)||(t.uniqueOpened&&(d.value=d.value.filter(de=>le.includes(de))),d.value.push(j),r("open",j,le))},w=j=>{const le=d.value.indexOf(j);le!==-1&&d.value.splice(le,1)},A=(j,le)=>{w(j),r("close",j,le)},M=({index:j,indexPath:le})=>{d.value.includes(j)?A(j,le):T(j,le)},L=j=>{(t.mode==="horizontal"||t.collapse)&&(d.value=[]);const{index:le,indexPath:de}=j;if(!(isNil(le)||isNil(de)))if(t.router&&s){const xe=j.route||le,Ie=s.push(xe).then(Ce=>(Ce||(v.value=le),Ce));r("select",le,de,{index:le,indexPath:de,route:xe},Ie)}else v.value=le,r("select",le,de,{index:le,indexPath:de})},O=j=>{const le=g.value,de=le[j]||v.value&&le[v.value]||le[t.defaultActive];de?v.value=de.index:v.value=j},D=()=>{var j,le;if(!l.value)return-1;const de=Array.from((le=(j=l.value)==null?void 0:j.childNodes)!=null?le:[]).filter(Dt=>Dt.nodeName!=="#comment"&&(Dt.nodeName!=="#text"||Dt.nodeValue)),xe=64,Ie=Number.parseInt(getComputedStyle(l.value).paddingLeft,10),Ce=Number.parseInt(getComputedStyle(l.value).paddingRight,10),Fe=l.value.clientWidth-Ie-Ce;let Ue=0,Pt=0;return de.forEach((Dt,rr)=>{Ue+=Dt.offsetWidth||0,Ue<=Fe-xe&&(Pt=rr+1)}),Pt===de.length?-1:Pt},V=(j,le=33.34)=>{let de;return()=>{de&&clearTimeout(de),de=setTimeout(()=>{j()},le)}};let z=!0;const Y=()=>{const j=()=>{f.value=-1,nextTick(()=>{f.value=D()})};z?j():V(j)(),z=!1};watch(()=>t.defaultActive,j=>{g.value[j]||(v.value=""),O(j)}),watch(()=>t.collapse,j=>{j&&(d.value=[])}),watch(g.value,b);let ie;watchEffect(()=>{t.mode==="horizontal"&&t.ellipsis?ie=useResizeObserver(l,Y).stop:ie==null||ie()});{const j=Ie=>{y.value[Ie.index]=Ie},le=Ie=>{delete y.value[Ie.index]};provide("rootMenu",reactive({props:t,openedMenus:d,items:g,subMenus:y,activeIndex:v,isMenuPopup:S,addMenuItem:Ie=>{g.value[Ie.index]=Ie},removeMenuItem:Ie=>{delete g.value[Ie.index]},addSubMenu:j,removeSubMenu:le,openMenu:T,closeMenu:A,handleMenuItemClick:L,handleSubMenuClick:M})),provide(`subMenu:${o.uid}`,{addSubMenu:j,removeSubMenu:le,mouseInChild:ref(!1),level:0})}return onMounted(()=>{t.mode==="horizontal"&&new Menu$1(o.vnode.el,u.namespace.value)}),a({open:le=>{const{indexPath:de}=y.value[le];de.forEach(xe=>T(xe,de))},close:w,handleResize:Y}),()=>{var j,le;let de=(le=(j=n.default)==null?void 0:j.call(n))!=null?le:[];const xe=[];if(t.mode==="horizontal"&&l.value){const Fe=flattedChildren(de),Ue=f.value===-1?Fe:Fe.slice(0,f.value),Pt=f.value===-1?[]:Fe.slice(f.value);Pt!=null&&Pt.length&&t.ellipsis&&(de=Ue,xe.push(h(SubMenu,{index:"sub-menu-more",class:c.e("hide-arrow")},{title:()=>h(ElIcon,{class:c.e("icon-more")},{default:()=>h(more_default)}),default:()=>Pt})))}const Ie=useMenuCssVar(t,0),Ce=h("ul",{key:String(t.collapse),role:"menubar",ref:l,style:Ie.value,class:{[u.b()]:!0,[u.m(t.mode)]:!0,[u.m("collapse")]:t.collapse}},[...de,...xe]);return t.collapseTransition&&t.mode==="vertical"?h(ElMenuCollapseTransition,()=>Ce):Ce}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:t=>isString$3(t.index)&&Array.isArray(t.indexPath)},COMPONENT_NAME$1="ElMenuItem",_sfc_main$h=defineComponent({name:COMPONENT_NAME$1,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup(t,{emit:r}){const n=getCurrentInstance(),a=inject("rootMenu"),o=useNamespace("menu"),s=useNamespace("menu-item");a||throwError$1(COMPONENT_NAME$1,"can not inject root menu");const{parentMenu:l,indexPath:u}=useMenu(n,toRef(t,"index")),c=inject(`subMenu:${l.value.uid}`);c||throwError$1(COMPONENT_NAME$1,"can not inject sub menu");const f=computed(()=>t.index===a.activeIndex),d=reactive({index:t.index,indexPath:u,active:f}),v=()=>{t.disabled||(a.handleMenuItemClick({index:t.index,indexPath:u.value,route:t.route}),r("click",d))};return onMounted(()=>{c.addSubMenu(d),a.addMenuItem(d)}),onBeforeUnmount(()=>{c.removeSubMenu(d),a.removeMenuItem(d)}),{parentMenu:l,rootMenu:a,active:f,nsMenu:o,nsMenuItem:s,handleClick:v}}});function _sfc_render$3(t,r,n,a,o,s){const l=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]=(...u)=>t.handleClick&&t.handleClick(...u))},[t.parentMenu.type.name==="ElMenu"&&t.rootMenu.props.collapse&&t.$slots.title?(openBlock(),createBlock(l,{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$h,[["render",_sfc_render$3],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const menuItemGroupProps={title:String},COMPONENT_NAME="ElMenuItemGroup",_sfc_main$g=defineComponent({name:COMPONENT_NAME,props:menuItemGroupProps,setup(){return{ns:useNamespace("menu-item-group")}}});function _sfc_render$2(t,r,n,a,o,s){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$g,[["render",_sfc_render$2],["__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),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__$1=defineComponent({name:"ElText"}),_sfc_main$f=defineComponent({...__default__$1,props:textProps,setup(t){const r=t,n=useFormSize(),a=useNamespace("text"),o=computed(()=>[a.b(),a.m(r.type),a.m(n.value),a.is("truncated",r.truncated)]);return(s,l)=>(openBlock(),createBlock(resolveDynamicComponent(s.tag),{class:normalizeClass(unref(o))},{default:withCtx(()=>[renderSlot(s.$slots,"default")]),_:3},8,["class"]))}});var Text=_export_sfc$1(_sfc_main$f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/text/src/text.vue"]]);const ElText=withInstall(Text);function createLoadingComponent(t){let r;const n=ref(!1),a=reactive({...t,originalPosition:"",originalOverflow:"",visible:!1});function o(g){a.text=g}function s(){const g=a.parent,y=v.ns;if(!g.vLoadingAddClassList){let S=g.getAttribute("loading-number");S=Number.parseInt(S)-1,S?g.setAttribute("loading-number",S.toString()):(removeClass(g,y.bm("parent","relative")),g.removeAttribute("loading-number")),removeClass(g,y.bm("parent","hidden"))}l(),d.unmount()}function l(){var g,y;(y=(g=v.$el)==null?void 0:g.parentNode)==null||y.removeChild(v.$el)}function u(){var g;t.beforeClose&&!t.beforeClose()||(n.value=!0,clearTimeout(r),r=window.setTimeout(c,400),a.visible=!1,(g=t.closed)==null||g.call(t))}function c(){if(!n.value)return;const g=a.parent;n.value=!1,g.vLoadingAddClassList=void 0,s()}const f=defineComponent({name:"ElLoading",setup(g,{expose:y}){const{ns:S,zIndex:b}=useGlobalComponentSettings("loading");return y({ns:S,zIndex:b}),()=>{const T=a.spinner||a.svg,w=h("svg",{class:"circular",viewBox:a.svgViewBox?a.svgViewBox:"0 0 50 50",...T?{innerHTML:T}:{}},[h("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),A=a.text?h("p",{class:S.b("text")},[a.text]):void 0;return h(Transition,{name:S.b("fade"),onAfterLeave:c},{default:withCtx(()=>[withDirectives(createVNode$1("div",{style:{backgroundColor:a.background||""},class:[S.b("mask"),a.customClass,a.fullscreen?"is-fullscreen":""]},[h("div",{class:S.b("spinner")},[w,A])]),[[vShow,a.visible]])])})}}}),d=createApp(f),v=d.mount(document.createElement("div"));return{...toRefs(a),setText:o,removeElLoadingChild:l,close:u,handleAfterLeave:c,vm:v,get $el(){return v.$el}}}let fullscreenInstance;const Loading=function(t={}){if(!isClient)return;const r=resolveOptions(t);if(r.fullscreen&&fullscreenInstance)return fullscreenInstance;const n=createLoadingComponent({...r,closed:()=>{var o;(o=r.closed)==null||o.call(r),r.fullscreen&&(fullscreenInstance=void 0)}});addStyle(r,r.parent,n),addClassList(r,r.parent,n),r.parent.vLoadingAddClassList=()=>addClassList(r,r.parent,n);let a=r.parent.getAttribute("loading-number");return a?a=`${Number.parseInt(a)+1}`:a="1",r.parent.setAttribute("loading-number",a),r.parent.appendChild(n.$el),nextTick(()=>n.visible.value=r.visible),r.fullscreen&&(fullscreenInstance=n),n},resolveOptions=t=>{var r,n,a,o;let s;return isString$3(t.target)?s=(r=document.querySelector(t.target))!=null?r:document.body:s=t.target||document.body,{parent:s===document.body||t.body?document.body:s,background:t.background||"",svg:t.svg||"",svgViewBox:t.svgViewBox||"",spinner:t.spinner||!1,text:t.text||"",fullscreen:s===document.body&&((n=t.fullscreen)!=null?n:!0),lock:(a=t.lock)!=null?a:!1,customClass:t.customClass||"",visible:(o=t.visible)!=null?o:!0,target:s}},addStyle=async(t,r,n)=>{const{nextZIndex:a}=n.vm.zIndex||n.vm._.exposed.zIndex,o={};if(t.fullscreen)n.originalPosition.value=getStyle$1(document.body,"position"),n.originalOverflow.value=getStyle$1(document.body,"overflow"),o.zIndex=a();else if(t.parent===document.body){n.originalPosition.value=getStyle$1(document.body,"position"),await nextTick();for(const s of["top","left"]){const l=s==="top"?"scrollTop":"scrollLeft";o[s]=`${t.target.getBoundingClientRect()[s]+document.body[l]+document.documentElement[l]-Number.parseInt(getStyle$1(document.body,`margin-${s}`),10)}px`}for(const s of["height","width"])o[s]=`${t.target.getBoundingClientRect()[s]}px`}else n.originalPosition.value=getStyle$1(r,"position");for(const[s,l]of Object.entries(o))n.$el.style[s]=l},addClassList=(t,r,n)=>{const a=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?removeClass(r,a.bm("parent","relative")):addClass(r,a.bm("parent","relative")),t.fullscreen&&t.lock?addClass(r,a.bm("parent","hidden")):removeClass(r,a.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance=(t,r)=>{var n,a,o,s;const l=r.instance,u=g=>isObject$6(r.value)?r.value[g]:void 0,c=g=>{const y=isString$3(g)&&(l==null?void 0:l[g])||g;return y&&ref(y)},f=g=>c(u(g)||t.getAttribute(`element-loading-${hyphenate(g)}`)),d=(n=u("fullscreen"))!=null?n:r.modifiers.fullscreen,v={text:f("text"),svg:f("svg"),svgViewBox:f("svgViewBox"),spinner:f("spinner"),background:f("background"),customClass:f("customClass"),fullscreen:d,target:(a=u("target"))!=null?a:d?void 0:t,body:(o=u("body"))!=null?o:r.modifiers.body,lock:(s=u("lock"))!=null?s:r.modifiers.lock};t[INSTANCE_KEY]={options:v,instance:Loading(v)}},updateOptions=(t,r)=>{for(const n of Object.keys(r))isRef(r[n])&&(r[n].value=t[n])},vLoading={mounted(t,r){r.value&&createInstance(t,r)},updated(t,r){const n=t[INSTANCE_KEY];r.oldValue!==r.value&&(r.value&&!r.oldValue?createInstance(t,r):r.value&&r.oldValue?isObject$6(r.value)&&updateOptions(r.value,n.options):n==null||n.instance.close())},unmounted(t){var r;(r=t[INSTANCE_KEY])==null||r.instance.close()}},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?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=t=>{const r=instances$2.findIndex(o=>o.id===t),n=instances$2[r];let a;return r>0&&(a=instances$2[r-1]),{current:n,prev:a}},getLastOffset=t=>{const{prev:r}=getInstance(t);return r?r.vm.exposed.bottom.value:0},getOffsetOrSpace=(t,r)=>instances$2.findIndex(a=>a.id===t)>0?20:r,_hoisted_1$d=["id"],_hoisted_2$5=["innerHTML"],__default__=defineComponent({name:"ElMessage"}),_sfc_main$e=defineComponent({...__default__,props:messageProps,emits:messageEmits,setup(t,{expose:r}){const n=t,{Close:a}=TypeComponents,{ns:o,zIndex:s}=useGlobalComponentSettings("message"),{currentZIndex:l,nextZIndex:u}=s,c=ref(),f=ref(!1),d=ref(0);let v;const g=computed(()=>n.type?n.type==="error"?"danger":n.type:"info"),y=computed(()=>{const V=n.type;return{[o.bm("icon",V)]:V&&TypeComponentsMap[V]}}),S=computed(()=>n.icon||TypeComponentsMap[n.type]||""),b=computed(()=>getLastOffset(n.id)),T=computed(()=>getOffsetOrSpace(n.id,n.offset)+b.value),w=computed(()=>d.value+T.value),A=computed(()=>({top:`${T.value}px`,zIndex:l.value}));function M(){n.duration!==0&&({stop:v}=useTimeoutFn(()=>{O()},n.duration))}function L(){v==null||v()}function O(){f.value=!1}function D({code:V}){V===EVENT_CODE.esc&&O()}return onMounted(()=>{M(),u(),f.value=!0}),watch(()=>n.repeatNum,()=>{L(),M()}),useEventListener(document,"keydown",D),useResizeObserver(c,()=>{d.value=c.value.getBoundingClientRect().height}),r({visible:f,bottom:w,close:O}),(V,z)=>(openBlock(),createBlock(Transition,{name:unref(o).b("fade"),onBeforeLeave:V.onClose,onAfterLeave:z[0]||(z[0]=Y=>V.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:V.id,ref_key:"messageRef",ref:c,class:normalizeClass([unref(o).b(),{[unref(o).m(V.type)]:V.type&&!V.icon},unref(o).is("center",V.center),unref(o).is("closable",V.showClose),V.customClass]),style:normalizeStyle$1(unref(A)),role:"alert",onMouseenter:L,onMouseleave:M},[V.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:V.repeatNum,type:unref(g),class:normalizeClass(unref(o).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(S)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(o).e("icon"),unref(y)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(S))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(V.$slots,"default",{},()=>[V.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(o).e("content")),innerHTML:V.message},null,10,_hoisted_2$5)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(o).e("content"))},toDisplayString$1(V.message),3))]),V.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(o).e("closeBtn")),onClick:withModifiers(O,["stop"])},{default:withCtx(()=>[createVNode$1(unref(a))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$d),[[vShow,f.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc$1(_sfc_main$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let seed=1;const normalizeOptions=t=>{const r=!t||isString$3(t)||isVNode$1(t)||isFunction$4(t)?{message:t}:t,n={...messageDefaults,...r};if(!n.appendTo)n.appendTo=document.body;else if(isString$3(n.appendTo)){let a=document.querySelector(n.appendTo);isElement(a)||(a=document.body),n.appendTo=a}return n},closeMessage=t=>{const r=instances$2.indexOf(t);if(r===-1)return;instances$2.splice(r,1);const{handler:n}=t;n.close()},createMessage=({appendTo:t,...r},n)=>{const a=`message_${seed++}`,o=r.onClose,s=document.createElement("div"),l={...r,id:a,onClose:()=>{o==null||o(),closeMessage(d)},onDestroy:()=>{render$1(null,s)}},u=createVNode$1(MessageConstructor,l,isFunction$4(l.message)||isVNode$1(l.message)?{default:isFunction$4(l.message)?l.message:()=>l.message}:null);u.appContext=n||message._context,render$1(u,s),t.appendChild(s.firstElementChild);const c=u.component,d={id:a,vnode:u,vm:c,handler:{close:()=>{c.exposed.visible.value=!1}},props:u.component.props};return d},message=(t={},r)=>{if(!isClient)return{close:()=>{}};if(isNumber$2(messageConfig.max)&&instances$2.length>=messageConfig.max)return{close:()=>{}};const n=normalizeOptions(t);if(n.grouping&&instances$2.length){const o=instances$2.find(({vnode:s})=>{var l;return((l=s.props)==null?void 0:l.message)===n.message});if(o)return o.props.repeatNum+=1,o.props.type=n.type,o.handler}const a=createMessage(n,r);return instances$2.push(a),a.handler};messageTypes.forEach(t=>{message[t]=(r={},n)=>{const a=normalizeOptions(r);return message({...a,type:t},n)}});function closeAll(t){for(const r of instances$2)(!t||t===r.props.type)&&r.handler.close()}message.closeAll=closeAll;message._context=null;const ElMessage=withInstallFunction(message,"$message");function error(t,r){ElMessage.error(t),console.error(...arguments)}const{loginInfo:loginInfo$1}=user(store),baseURL="http://127.0.0.1:3000/api",http=axios$1.create({baseURL,timeout:10*1e3});http.interceptors.request.use(function(t){return t.headers.token=loginInfo$1.token,t},function(t){return Promise.reject(t)});http.interceptors.response.use(function(t){return t.status!==200&&handleError(t.status),t},function(t){return handleError(null,t),Promise.reject(t)});function handleError(t,r){switch(t){case 400:error("请求参数错误",r);break;case 401:error("未登录或登录过期",r);break;case 403:error("没有权限访问",r);break;case 404:error("请求资源不存在",r);break;case 500:error("服务器内部错误",r);break;default:error(`请求失败:${t}`,r)}}Mock.mock(`${http.getUri()}/menu`,"get",function(){return getMenuData()});function getMenuData(){return[{path:"/",name:"Home",label:"首页",icon:"HomeFilled"},{label:"页面",icon:"User",children:[{label:"错误页面",children:[{path:"/403",name:"403",label:"403",icon:""},{path:"/404",name:"404",label:"404",icon:""},{path:"/500",name:"500",label:"500",icon:""}]}]},{label:"标签页测试",icon:"MessageBox",children:[{path:"/tabs-test/tabsTest1",name:"TabsTest1",label:"TabsTest1",icon:"FullScreen"},{path:"/tabs-test/tabsTest2",name:"TabsTest2",label:"TabsTest2",icon:"FullScreen"},{path:"/tabs-test/tabsTest3",name:"TabsTest3",label:"TabsTest3",icon:"FullScreen"},{path:"/tabs-test/tabsTest4",name:"TabsTest4",label:"TabsTest4",icon:"FullScreen"},{path:"/tabs-test/tabsTest5",name:"TabsTest5",label:"TabsTest5",icon:"FullScreen"}]},{label:"组件测试",icon:"FullScreen",children:[{label:"昼夜switch",path:"/ButtonTest",name:"ButtonTest",icon:"Open"},{label:"标签页组件",path:"/TabsTest",name:"TabsTest",icon:"More"},{label:"图片裁切组件",path:"/UploadImage",name:"UploadImage",icon:"UploadFilled"}]},{path:"",children:[{path:"",children:[{path:"",children:[{path:"",children:[{path:"",children:[{path:"",children:[{path:"",children:[{path:"",children:[{path:"",children:[{path:"",children:[{path:"",children:[{path:"/test/test1",name:"Test1",icon:"Link",id:33,label:"测试页1"},{path:"/test/test2",name:"Test2",icon:"Link",id:34,label:"测试页2"}],name:"",icon:"",id:24,label:"10级"}],name:"",icon:"",id:23,label:"9级"}],name:"",icon:"",id:22,label:"8级"}],name:"",icon:"",id:21,label:"7级"}],name:"",icon:"",id:20,label:"6级"}],name:"",icon:"",id:19,label:"5级"}],name:"",icon:"",id:18,label:"4级"}],name:"",icon:"",id:17,label:"3级"}],name:"",icon:"",id:16,label:"2级"}],name:"",icon:"",id:15,label:"1级"}],name:"",icon:"Menu",id:14,label:"无限分级"}]}Mock.setup({timeout:"200-1000"});const App_vue_vue_type_style_index_0_scoped_4be69257_lang="",_export_sfc=(t,r)=>{const n=t.__vccOpts||t;for(const[a,o]of r)n[a]=o;return n},_sfc_main$d={},_hoisted_1$c={class:"home"};function _sfc_render$1(t,r){const n=resolveComponent("router-view");return openBlock(),createElementBlock("div",_hoisted_1$c,[createVNode$1(n)])}const App=_export_sfc(_sfc_main$d,[["render",_sfc_render$1],["__scopeId","data-v-4be69257"]]),scriptRel="modulepreload",assetsURL=function(t,r){return new URL(t,r).href},seen={},__vitePreload=function t(r,n,a){if(!n||n.length===0)return r();const o=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=assetsURL(s,a),s in seen)return;seen[s]=!0;const l=s.endsWith(".css"),u=l?'[rel="stylesheet"]':"";if(!!a)for(let d=o.length-1;d>=0;d--){const v=o[d];if(v.href===s&&(!l||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${u}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":scriptRel,l||(f.as="script",f.crossOrigin=""),f.href=s,document.head.appendChild(f),l)return new Promise((d,v)=>{f.addEventListener("load",d),f.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>r()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})};/*! + * vue-router v4.2.2 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const isBrowser=typeof window<"u";function isESModule(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const assign$1=Object.assign;function applyToParams(t,r){const n={};for(const a in r){const o=r[a];n[a]=isArray$3(o)?o.map(t):t(o)}return n}const noop$1=()=>{},isArray$3=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=t=>t.replace(TRAILING_SLASH_RE,"");function parseURL(t,r,n="/"){let a,o={},s="",l="";const u=r.indexOf("#");let c=r.indexOf("?");return u=0&&(c=-1),c>-1&&(a=r.slice(0,c),s=r.slice(c+1,u>-1?u:r.length),o=t(s)),u>-1&&(a=a||r.slice(0,u),l=r.slice(u,r.length)),a=resolveRelativePath(a??r,n),{fullPath:a+(s&&"?")+s+l,path:a,query:o,hash:l}}function stringifyURL(t,r){const n=r.query?t(r.query):"";return r.path+(n&&"?")+n+(r.hash||"")}function stripBase(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function isSameRouteLocation(t,r,n){const a=r.matched.length-1,o=n.matched.length-1;return a>-1&&a===o&&isSameRouteRecord(r.matched[a],n.matched[o])&&isSameRouteLocationParams(r.params,n.params)&&t(r.query)===t(n.query)&&r.hash===n.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 n in t)if(!isSameRouteLocationParamsValue(t[n],r[n]))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((n,a)=>n===r[a]):t.length===1&&t[0]===r}function resolveRelativePath(t,r){if(t.startsWith("/"))return t;if(!t)return r;const n=r.split("/"),a=t.split("/"),o=a[a.length-1];(o===".."||o===".")&&a.push("");let s=n.length-1,l,u;for(l=0;l1&&s--;else break;return n.slice(0,s).join("/")+"/"+a.slice(l-(l===a.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){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 n=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:r.behavior,left:a.left-n.left-(r.left||0),top:a.top-n.top-(r.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(t){let r;if("el"in t){const n=t.el,a=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?a?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;r=getElementPosition(o,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:n,search:a,hash:o}=r,s=t.indexOf("#");if(s>-1){let u=o.includes(t.slice(s))?t.slice(s).length:1,c=o.slice(u);return c[0]!=="/"&&(c="/"+c),stripBase(c,"")}return stripBase(n,t)+a+o}function useHistoryListeners(t,r,n,a){let o=[],s=[],l=null;const u=({state:g})=>{const y=createCurrentLocation(t,location),S=n.value,b=r.value;let T=0;if(g){if(n.value=y,r.value=g,l&&l===S){l=null;return}T=b?g.position-b.position:0}else a(y);o.forEach(w=>{w(n.value,S,{delta:T,type:NavigationType.pop,direction:T?T>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function c(){l=n.value}function f(g){o.push(g);const y=()=>{const S=o.indexOf(g);S>-1&&o.splice(S,1)};return s.push(y),y}function d(){const{history:g}=window;g.state&&g.replaceState(assign$1({},g.state,{scroll:computeScrollPosition()}),"")}function v(){for(const g of s)g();s=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:c,listen:f,destroy:v}}function buildState(t,r,n,a=!1,o=!1){return{back:t,current:r,forward:n,replaced:a,position:window.history.length,scroll:o?computeScrollPosition():null}}function useHistoryStateNavigation(t){const{history:r,location:n}=window,a={value:createCurrentLocation(t,n)},o={value:r.state};o.value||s(a.value,{back:null,current:a.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function s(c,f,d){const v=t.indexOf("#"),g=v>-1?(n.host&&document.querySelector("base")?t:t.slice(v))+c:createBaseLocation()+t+c;try{r[d?"replaceState":"pushState"](f,"",g),o.value=f}catch(y){console.error(y),n[d?"replace":"assign"](g)}}function l(c,f){const d=assign$1({},r.state,buildState(o.value.back,c,o.value.forward,!0),f,{position:o.value.position});s(c,d,!0),a.value=c}function u(c,f){const d=assign$1({},o.value,r.state,{forward:c,scroll:computeScrollPosition()});s(d.current,d,!0);const v=assign$1({},buildState(a.value,c,null),{position:d.position+1},f);s(c,v,!1),a.value=c}return{location:a,state:o,push:u,replace:l}}function createWebHistory(t){t=normalizeBase(t);const r=useHistoryStateNavigation(t),n=useHistoryListeners(t,r.state,r.location,r.replace);function a(s,l=!0){l||n.pauseListeners(),history.go(s)}const o=assign$1({location:"",base:t,go:a,createHref:createHref.bind(null,t)},r,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>r.state.value}),o}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$1(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 n=assign$1({},BASE_PATH_PARSER_OPTIONS,r),a=[];let o=n.start?"^":"";const s=[];for(const f of t){const d=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let v=0;vr.length?r.length===1&&r[0]===40+40?1:-1:0}function comparePathParserScore(t,r){let n=0;const a=t.score,o=r.score;for(;n0&&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(y){throw new Error(`ERR (${n})/"${f}": ${y}`)}let n=0,a=n;const o=[];let s;function l(){s&&o.push(s),s=[]}let u=0,c,f="",d="";function v(){f&&(n===0?s.push({type:0,value:f}):n===1||n===2||n===3?(s.length>1&&(c==="*"||c==="+")&&r(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:f,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):r("Invalid state to consume buffer"),f="")}function g(){f+=c}for(;u{l(A)}:noop$1}function l(d){if(isRouteName(d)){const v=a.get(d);v&&(a.delete(d),n.splice(n.indexOf(v),1),v.children.forEach(l),v.alias.forEach(l))}else{const v=n.indexOf(d);v>-1&&(n.splice(v,1),d.record.name&&a.delete(d.record.name),d.children.forEach(l),d.alias.forEach(l))}}function u(){return n}function c(d){let v=0;for(;v=0&&(d.record.path!==n[v].record.path||!isRecordChildOf(d,n[v]));)v++;n.splice(v,0,d),d.record.name&&!isAliasRecord(d)&&a.set(d.record.name,d)}function f(d,v){let g,y={},S,b;if("name"in d&&d.name){if(g=a.get(d.name),!g)throw createRouterError(1,{location:d});b=g.record.name,y=assign$1(paramsFromLocation(v.params,g.keys.filter(A=>!A.optional).map(A=>A.name)),d.params&¶msFromLocation(d.params,g.keys.map(A=>A.name))),S=g.stringify(y)}else if("path"in d)S=d.path,g=n.find(A=>A.re.test(S)),g&&(y=g.parse(S),b=g.record.name);else{if(g=v.name?a.get(v.name):n.find(A=>A.re.test(v.path)),!g)throw createRouterError(1,{location:d,currentLocation:v});b=g.record.name,y=assign$1({},v.params,d.params),S=g.stringify(y)}const T=[];let w=g;for(;w;)T.unshift(w.record),w=w.parent;return{name:b,path:S,params:y,matched:T,meta:mergeMetaFields(T)}}return t.forEach(d=>s(d)),{addRoute:s,resolve:f,removeRoute:l,getRoutes:u,getRecordMatcher:o}}function paramsFromLocation(t,r){const n={};for(const a of r)a in t&&(n[a]=t[a]);return n}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={},n=t.props||!1;if("component"in t)r.default=n;else for(const a in t.components)r[a]=typeof n=="boolean"?n:n[a];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,n)=>assign$1(r,n.meta),{})}function mergeOptions(t,r){const n={};for(const a in t)n[a]=a in r?r[a]:t[a];return n}function isRecordChildOf(t,r){return r.children.some(n=>n===t||isRecordChildOf(t,n))}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 a=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;os&&encodeQueryValue(s)):[a&&encodeQueryValue(a)]).forEach(s=>{s!==void 0&&(r+=(r.length?"&":"")+n,s!=null&&(r+="="+s))})}return r}function normalizeQuery(t){const r={};for(const n in t){const a=t[n];a!==void 0&&(r[n]=isArray$3(a)?a.map(o=>o==null?null:""+o):a==null?a:""+a)}return r}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let t=[];function r(a){return t.push(a),()=>{const o=t.indexOf(a);o>-1&&t.splice(o,1)}}function n(){t=[]}return{add:r,list:()=>t,reset:n}}function guardToPromiseFn(t,r,n,a,o){const s=a&&(a.enterCallbacks[o]=a.enterCallbacks[o]||[]);return()=>new Promise((l,u)=>{const c=v=>{v===!1?u(createRouterError(4,{from:n,to:r})):v instanceof Error?u(v):isRouteLocation(v)?u(createRouterError(2,{from:r,to:v})):(s&&a.enterCallbacks[o]===s&&typeof v=="function"&&s.push(v),l())},f=t.call(a&&a.instances[o],r,n,c);let d=Promise.resolve(f);t.length<3&&(d=d.then(c)),d.catch(v=>u(v))})}function extractComponentsGuards(t,r,n,a){const o=[];for(const s of t)for(const l in s.components){let u=s.components[l];if(!(r!=="beforeRouteEnter"&&!s.instances[l]))if(isRouteComponent(u)){const f=(u.__vccOpts||u)[r];f&&o.push(guardToPromiseFn(f,n,a,s,l))}else{let c=u();o.push(()=>c.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${s.path}"`));const d=isESModule(f)?f.default:f;s.components[l]=d;const g=(d.__vccOpts||d)[r];return g&&guardToPromiseFn(g,n,a,s,l)()}))}}return o}function isRouteComponent(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function useLink(t){const r=inject(routerKey),n=inject(routeLocationKey),a=computed(()=>r.resolve(unref(t.to))),o=computed(()=>{const{matched:c}=a.value,{length:f}=c,d=c[f-1],v=n.matched;if(!d||!v.length)return-1;const g=v.findIndex(isSameRouteRecord.bind(null,d));if(g>-1)return g;const y=getOriginalPath(c[f-2]);return f>1&&getOriginalPath(d)===y&&v[v.length-1].path!==y?v.findIndex(isSameRouteRecord.bind(null,c[f-2])):g}),s=computed(()=>o.value>-1&&includesParams(n.params,a.value.params)),l=computed(()=>o.value>-1&&o.value===n.matched.length-1&&isSameRouteLocationParams(n.params,a.value.params));function u(c={}){return guardEvent(c)?r[unref(t.replace)?"replace":"push"](unref(t.to)).catch(noop$1):Promise.resolve()}return{route:a,href:computed(()=>a.value.href),isActive:s,isExactActive:l,navigate:u}}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 n=reactive(useLink(t)),{options:a}=inject(routerKey),o=computed(()=>({[getLinkClass(t.activeClass,a.linkActiveClass,"router-link-active")]:n.isActive,[getLinkClass(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=r.default&&r.default(n);return t.custom?s:h("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),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 n in r){const a=r[n],o=t[n];if(typeof a=="string"){if(a!==o)return!1}else if(!isArray$3(o)||o.length!==a.length||a.some((s,l)=>s!==o[l]))return!1}return!0}function getOriginalPath(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const getLinkClass=(t,r,n)=>t??r??n,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:n}){const a=inject(routerViewLocationKey),o=computed(()=>t.route||a.value),s=inject(viewDepthKey,0),l=computed(()=>{let f=unref(s);const{matched:d}=o.value;let v;for(;(v=d[f])&&!v.components;)f++;return f}),u=computed(()=>o.value.matched[l.value]);provide(viewDepthKey,computed(()=>l.value+1)),provide(matchedRouteKey,u),provide(routerViewLocationKey,o);const c=ref();return watch(()=>[c.value,u.value,t.name],([f,d,v],[g,y,S])=>{d&&(d.instances[v]=f,y&&y!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=y.leaveGuards),d.updateGuards.size||(d.updateGuards=y.updateGuards))),f&&d&&(!y||!isSameRouteRecord(d,y)||!g)&&(d.enterCallbacks[v]||[]).forEach(b=>b(f))},{flush:"post"}),()=>{const f=o.value,d=t.name,v=u.value,g=v&&v.components[d];if(!g)return normalizeSlot(n.default,{Component:g,route:f});const y=v.props[d],S=y?y===!0?f.params:typeof y=="function"?y(f):y:null,T=h(g,assign$1({},S,r,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(v.instances[d]=null)},ref:c}));return normalizeSlot(n.default,{Component:T,route:f})||T}}});function normalizeSlot(t,r){if(!t)return null;const n=t(r);return n.length===1?n[0]:n}const RouterView=RouterViewImpl;function createRouter(t){const r=createRouterMatcher(t.routes,t),n=t.parseQuery||parseQuery,a=t.stringifyQuery||stringifyQuery,o=t.history,s=useCallbacks(),l=useCallbacks(),u=useCallbacks(),c=shallowRef(START_LOCATION_NORMALIZED);let f=START_LOCATION_NORMALIZED;isBrowser&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=applyToParams.bind(null,jt=>""+jt),v=applyToParams.bind(null,encodeParam),g=applyToParams.bind(null,decode$1);function y(jt,ar){let sr,dr;return isRouteName(jt)?(sr=r.getRecordMatcher(jt),dr=ar):dr=jt,r.addRoute(dr,sr)}function S(jt){const ar=r.getRecordMatcher(jt);ar&&r.removeRoute(ar)}function b(){return r.getRoutes().map(jt=>jt.record)}function T(jt){return!!r.getRecordMatcher(jt)}function w(jt,ar){if(ar=assign$1({},ar||c.value),typeof jt=="string"){const _e=parseURL(n,jt,ar.path),ze=r.resolve({path:_e.path},ar),At=o.createHref(_e.fullPath);return assign$1(_e,ze,{params:g(ze.params),hash:decode$1(_e.hash),redirectedFrom:void 0,href:At})}let sr;if("path"in jt)sr=assign$1({},jt,{path:parseURL(n,jt.path,ar.path).path});else{const _e=assign$1({},jt.params);for(const ze in _e)_e[ze]==null&&delete _e[ze];sr=assign$1({},jt,{params:v(_e)}),ar.params=v(ar.params)}const dr=r.resolve(sr,ar),fr=jt.hash||"";dr.params=d(g(dr.params));const Ne=stringifyURL(a,assign$1({},jt,{hash:encodeHash(fr),path:dr.path})),ue=o.createHref(Ne);return assign$1({fullPath:Ne,hash:fr,query:a===stringifyQuery?normalizeQuery(jt.query):jt.query||{}},dr,{redirectedFrom:void 0,href:ue})}function A(jt){return typeof jt=="string"?parseURL(n,jt,c.value.path):assign$1({},jt)}function M(jt,ar){if(f!==jt)return createRouterError(8,{from:ar,to:jt})}function L(jt){return V(jt)}function O(jt){return L(assign$1(A(jt),{replace:!0}))}function D(jt){const ar=jt.matched[jt.matched.length-1];if(ar&&ar.redirect){const{redirect:sr}=ar;let dr=typeof sr=="function"?sr(jt):sr;return typeof dr=="string"&&(dr=dr.includes("?")||dr.includes("#")?dr=A(dr):{path:dr},dr.params={}),assign$1({query:jt.query,hash:jt.hash,params:"path"in dr?{}:jt.params},dr)}}function V(jt,ar){const sr=f=w(jt),dr=c.value,fr=jt.state,Ne=jt.force,ue=jt.replace===!0,_e=D(sr);if(_e)return V(assign$1(A(_e),{state:typeof _e=="object"?assign$1({},fr,_e.state):fr,force:Ne,replace:ue}),ar||sr);const ze=sr;ze.redirectedFrom=ar;let At;return!Ne&&isSameRouteLocation(a,dr,sr)&&(At=createRouterError(16,{to:ze,from:dr}),rr(dr,dr,!0,!1)),(At?Promise.resolve(At):ie(ze,dr)).catch(tr=>isNavigationFailure(tr)?isNavigationFailure(tr,2)?tr:Dt(tr):Ue(tr,ze,dr)).then(tr=>{if(tr){if(isNavigationFailure(tr,2))return V(assign$1({replace:ue},A(tr.to),{state:typeof tr.to=="object"?assign$1({},fr,tr.to.state):fr,force:Ne}),ar||ze)}else tr=le(ze,dr,!0,ue,fr);return j(ze,dr,tr),tr})}function z(jt,ar){const sr=M(jt,ar);return sr?Promise.reject(sr):Promise.resolve()}function Y(jt){const ar=_r.values().next().value;return ar&&typeof ar.runWithContext=="function"?ar.runWithContext(jt):jt()}function ie(jt,ar){let sr;const[dr,fr,Ne]=extractChangingRecords(jt,ar);sr=extractComponentsGuards(dr.reverse(),"beforeRouteLeave",jt,ar);for(const _e of dr)_e.leaveGuards.forEach(ze=>{sr.push(guardToPromiseFn(ze,jt,ar))});const ue=z.bind(null,jt,ar);return sr.push(ue),Cr(sr).then(()=>{sr=[];for(const _e of s.list())sr.push(guardToPromiseFn(_e,jt,ar));return sr.push(ue),Cr(sr)}).then(()=>{sr=extractComponentsGuards(fr,"beforeRouteUpdate",jt,ar);for(const _e of fr)_e.updateGuards.forEach(ze=>{sr.push(guardToPromiseFn(ze,jt,ar))});return sr.push(ue),Cr(sr)}).then(()=>{sr=[];for(const _e of jt.matched)if(_e.beforeEnter&&!ar.matched.includes(_e))if(isArray$3(_e.beforeEnter))for(const ze of _e.beforeEnter)sr.push(guardToPromiseFn(ze,jt,ar));else sr.push(guardToPromiseFn(_e.beforeEnter,jt,ar));return sr.push(ue),Cr(sr)}).then(()=>(jt.matched.forEach(_e=>_e.enterCallbacks={}),sr=extractComponentsGuards(Ne,"beforeRouteEnter",jt,ar),sr.push(ue),Cr(sr))).then(()=>{sr=[];for(const _e of l.list())sr.push(guardToPromiseFn(_e,jt,ar));return sr.push(ue),Cr(sr)}).catch(_e=>isNavigationFailure(_e,8)?_e:Promise.reject(_e))}function j(jt,ar,sr){for(const dr of u.list())Y(()=>dr(jt,ar,sr))}function le(jt,ar,sr,dr,fr){const Ne=M(jt,ar);if(Ne)return Ne;const ue=ar===START_LOCATION_NORMALIZED,_e=isBrowser?history.state:{};sr&&(dr||ue?o.replace(jt.fullPath,assign$1({scroll:ue&&_e&&_e.scroll},fr)):o.push(jt.fullPath,fr)),c.value=jt,rr(jt,ar,sr,ue),Dt()}let de;function xe(){de||(de=o.listen((jt,ar,sr)=>{if(!xr.listening)return;const dr=w(jt),fr=D(dr);if(fr){V(assign$1(fr,{replace:!0}),dr).catch(noop$1);return}f=dr;const Ne=c.value;isBrowser&&saveScrollPosition(getScrollKey(Ne.fullPath,sr.delta),computeScrollPosition()),ie(dr,Ne).catch(ue=>isNavigationFailure(ue,12)?ue:isNavigationFailure(ue,2)?(V(ue.to,dr).then(_e=>{isNavigationFailure(_e,20)&&!sr.delta&&sr.type===NavigationType.pop&&o.go(-1,!1)}).catch(noop$1),Promise.reject()):(sr.delta&&o.go(-sr.delta,!1),Ue(ue,dr,Ne))).then(ue=>{ue=ue||le(dr,Ne,!1),ue&&(sr.delta&&!isNavigationFailure(ue,8)?o.go(-sr.delta,!1):sr.type===NavigationType.pop&&isNavigationFailure(ue,20)&&o.go(-1,!1)),j(dr,Ne,ue)}).catch(noop$1)}))}let Ie=useCallbacks(),Ce=useCallbacks(),Fe;function Ue(jt,ar,sr){Dt(jt);const dr=Ce.list();return dr.length?dr.forEach(fr=>fr(jt,ar,sr)):console.error(jt),Promise.reject(jt)}function Pt(){return Fe&&c.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((jt,ar)=>{Ie.add([jt,ar])})}function Dt(jt){return Fe||(Fe=!jt,xe(),Ie.list().forEach(([ar,sr])=>jt?sr(jt):ar()),Ie.reset()),jt}function rr(jt,ar,sr,dr){const{scrollBehavior:fr}=t;if(!isBrowser||!fr)return Promise.resolve();const Ne=!sr&&getSavedScrollPosition(getScrollKey(jt.fullPath,0))||(dr||!sr)&&history.state&&history.state.scroll||null;return nextTick().then(()=>fr(jt,ar,Ne)).then(ue=>ue&&scrollToPosition(ue)).catch(ue=>Ue(ue,jt,ar))}const ur=jt=>o.go(jt);let Sr;const _r=new Set,xr={currentRoute:c,listening:!0,addRoute:y,removeRoute:S,hasRoute:T,getRoutes:b,resolve:w,options:t,push:L,replace:O,go:ur,back:()=>ur(-1),forward:()=>ur(1),beforeEach:s.add,beforeResolve:l.add,afterEach:u.add,onError:Ce.add,isReady:Pt,install(jt){const ar=this;jt.component("RouterLink",RouterLink),jt.component("RouterView",RouterView),jt.config.globalProperties.$router=ar,Object.defineProperty(jt.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(c)}),isBrowser&&!Sr&&c.value===START_LOCATION_NORMALIZED&&(Sr=!0,L(o.location).catch(fr=>{}));const sr={};for(const fr in START_LOCATION_NORMALIZED)sr[fr]=computed(()=>c.value[fr]);jt.provide(routerKey,ar),jt.provide(routeLocationKey,reactive(sr)),jt.provide(routerViewLocationKey,c);const dr=jt.unmount;_r.add(jt),jt.unmount=function(){_r.delete(jt),_r.size<1&&(f=START_LOCATION_NORMALIZED,de&&de(),de=null,c.value=START_LOCATION_NORMALIZED,Sr=!1,Fe=!1),dr()}}};function Cr(jt){return jt.reduce((ar,sr)=>ar.then(()=>Y(sr)),Promise.resolve())}return xr}function extractChangingRecords(t,r){const n=[],a=[],o=[],s=Math.max(r.matched.length,t.matched.length);for(let l=0;lisSameRouteRecord(f,u))?a.push(u):n.push(u));const c=t.matched[l];c&&(r.matched.find(f=>isSameRouteRecord(f,c))||o.push(c))}return[n,a,o]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const base$1="",elRow="",elCol="",elCard="",elAvatar="";/*! ***************************************************************************** +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(n,a){n.__proto__=a}||function(n,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(n[o]=a[o])},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 n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}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 n=r.browser,a=t.match(/Firefox\/([\d.]+)/),o=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),s=t.match(/Edge?\/([\d.]+)/),l=/micromessenger/i.test(t);a&&(n.firefox=!0,n.version=a[1]),o&&(n.ie=!0,n.version=o[1]),s&&(n.edge=!0,n.version=s[1],n.newEdge=+s[1].split(".")[0]>18),l&&(n.weChat=!0),r.svgSupported=typeof SVGRect<"u",r.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,r.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),r.domSupported=typeof document<"u";var u=document.documentElement.style;r.transform3dSupported=(n.ie&&"transition"in u||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in u)&&!("OTransition"in u),r.transformSupported=r.transform3dSupported||n.ie&&+n.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 n=0;n=0)u=l*n.length;else for(var c=0;c>1)%2;u.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[c]+":0",o[f]+":0",a[1-c]+":auto",o[1-f]+":auto",""].join("!important;"),t.appendChild(l),n.push(l)}return n}function preparePointerTransformer(t,r,n){for(var a=n?"invTrans":"trans",o=r[a],s=r.srcCoords,l=[],u=[],c=!0,f=0;f<4;f++){var d=t[f].getBoundingClientRect(),v=2*f,g=d.left,y=d.top;l.push(g,y),c=c&&s&&g===s[v]&&y===s[v+1],u.push(t[f].offsetLeft,t[f].offsetTop)}return c&&o?o:(r.srcCoords=l,r[a]=n?buildTransformer(u,l):buildTransformer(l,u))}function isCanvasEl(t){return t.nodeName.toUpperCase()==="CANVAS"}var replaceReg=/([&<>"'])/g,replaceMap={"&":"&","<":"<",">":">",'"':""","'":"'"};function encodeHTML(t){return t==null?"":(t+"").replace(replaceReg,function(r,n){return replaceMap[n]})}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,n,a){return n=n||{},a?calculateZrXY(t,r,n):firefoxNotSupportOffsetXY&&r.layerX!=null&&r.layerX!==r.offsetX?(n.zrX=r.layerX,n.zrY=r.layerY):r.offsetX!=null?(n.zrX=r.offsetX,n.zrY=r.offsetY):calculateZrXY(t,r,n),n}function calculateZrXY(t,r,n){if(env$1.domSupported&&t.getBoundingClientRect){var a=r.clientX,o=r.clientY;if(isCanvasEl(t)){var s=t.getBoundingClientRect();n.zrX=a-s.left,n.zrY=o-s.top;return}else if(transformCoordWithViewport(_calcOut,t,a,o)){n.zrX=_calcOut[0],n.zrY=_calcOut[1];return}}n.zrX=n.zrY=0}function getNativeEvent(t){return t||window.event}function normalizeEvent(t,r,n){if(r=getNativeEvent(r),r.zrX!=null)return r;var a=r.type,o=a&&a.indexOf("touch")>=0;if(o){var l=a!=="touchend"?r.targetTouches[0]:r.changedTouches[0];l&&clientToLocal(t,l,r,n)}else{clientToLocal(t,r,r,n);var s=getWheelDeltaMayPolyfill(r);r.zrDelta=s?s/120:-(r.detail||0)/3}var u=r.button;return r.which==null&&u!==void 0&&MOUSE_EVENT_REG.test(r.type)&&(r.which=u&1?1:u&2?3:u&4?2:0),r}function getWheelDeltaMayPolyfill(t){var r=t.wheelDelta;if(r)return r;var n=t.deltaX,a=t.deltaY;if(n==null||a==null)return r;var o=Math.abs(a!==0?a:n),s=a>0?-1:a<0?1:n>0?-1:1;return 3*o*s}function addEventListener(t,r,n,a){t.addEventListener(r,n,a)}function removeEventListener(t,r,n,a){t.removeEventListener(r,n,a)}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,n,a){return this._doTrack(r,n,a),this._recognize(r)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(r,n,a){var o=r.touches;if(o){for(var s={points:[],touches:[],target:n,event:r},l=0,u=o.length;l1&&a&&a.length>1){var s=dist(a)/dist(o);!isFinite(s)&&(s=1),r.pinchScale=s;var l=center$1(a);return r.pinchX=l[0],r.pinchY=l[1],{type:"pinch",target:t[0].target,event:r}}}}};function create$1(){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(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,n){var a=r[0]*n[0]+r[2]*n[1],o=r[1]*n[0]+r[3]*n[1],s=r[0]*n[2]+r[2]*n[3],l=r[1]*n[2]+r[3]*n[3],u=r[0]*n[4]+r[2]*n[5]+r[4],c=r[1]*n[4]+r[3]*n[5]+r[5];return t[0]=a,t[1]=o,t[2]=s,t[3]=l,t[4]=u,t[5]=c,t}function translate$1(t,r,n){return t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t[4]=r[4]+n[0],t[5]=r[5]+n[1],t}function rotate(t,r,n){var a=r[0],o=r[2],s=r[4],l=r[1],u=r[3],c=r[5],f=Math.sin(n),d=Math.cos(n);return t[0]=a*d+l*f,t[1]=-a*f+l*d,t[2]=o*d+u*f,t[3]=-o*f+d*u,t[4]=d*s+f*c,t[5]=d*c-f*s,t}function scale$1(t,r,n){var a=n[0],o=n[1];return t[0]=r[0]*a,t[1]=r[1]*o,t[2]=r[2]*a,t[3]=r[3]*o,t[4]=r[4]*a,t[5]=r[5]*o,t}function invert(t,r){var n=r[0],a=r[2],o=r[4],s=r[1],l=r[3],u=r[5],c=n*l-s*a;return c?(c=1/c,t[0]=l*c,t[1]=-s*c,t[2]=-a*c,t[3]=n*c,t[4]=(a*u-l*o)*c,t[5]=(s*o-n*u)*c,t):null}function clone$2(t){var r=create$1();return copy(r,t),r}var Point=function(){function t(r,n){this.x=r||0,this.y=n||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,n){return this.x=r,this.y=n,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,n){this.x+=r.x*n,this.y+=r.y*n},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 n=this.x-r.x,a=this.y-r.y;return Math.sqrt(n*n+a*a)},t.prototype.distanceSquare=function(r){var n=this.x-r.x,a=this.y-r.y;return n*n+a*a},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(r){if(r){var n=this.x,a=this.y;return this.x=r[0]*n+r[2]*a+r[4],this.y=r[1]*n+r[3]*a+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,n,a){r.x=n,r.y=a},t.copy=function(r,n){r.x=n.x,r.y=n.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,n){return r.x*n.x+r.y*n.y},t.add=function(r,n,a){r.x=n.x+a.x,r.y=n.y+a.y},t.sub=function(r,n,a){r.x=n.x-a.x,r.y=n.y-a.y},t.scale=function(r,n,a){r.x=n.x*a,r.y=n.y*a},t.scaleAndAdd=function(r,n,a,o){r.x=n.x+a.x*o,r.y=n.y+a.y*o},t.lerp=function(r,n,a,o){var s=1-o;r.x=s*n.x+o*a.x,r.y=s*n.y+o*a.y},t}();const Point$1=Point;var mathMin$a=Math.min,mathMax$a=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,n,a,o){a<0&&(r=r+a,a=-a),o<0&&(n=n+o,o=-o),this.x=r,this.y=n,this.width=a,this.height=o}return t.prototype.union=function(r){var n=mathMin$a(r.x,this.x),a=mathMin$a(r.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mathMax$a(r.x+r.width,this.x+this.width)-n:this.width=r.width,isFinite(this.y)&&isFinite(this.height)?this.height=mathMax$a(r.y+r.height,this.y+this.height)-a:this.height=r.height,this.x=n,this.y=a},t.prototype.applyTransform=function(r){t.applyTransform(this,this,r)},t.prototype.calculateTransform=function(r){var n=this,a=r.width/n.width,o=r.height/n.height,s=create$1();return translate$1(s,s,[-n.x,-n.y]),scale$1(s,s,[a,o]),translate$1(s,s,[r.x,r.y]),s},t.prototype.intersect=function(r,n){if(!r)return!1;r instanceof t||(r=t.create(r));var a=this,o=a.x,s=a.x+a.width,l=a.y,u=a.y+a.height,c=r.x,f=r.x+r.width,d=r.y,v=r.y+r.height,g=!(sS&&(S=M,bS&&(S=L,w=a.x&&r<=a.x+a.width&&n>=a.y&&n<=a.y+a.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,n){r.x=n.x,r.y=n.y,r.width=n.width,r.height=n.height},t.applyTransform=function(r,n,a){if(!a){r!==n&&t.copy(r,n);return}if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var o=a[0],s=a[3],l=a[4],u=a[5];r.x=n.x*o+l,r.y=n.y*s+u,r.width=n.width*o,r.height=n.height*s,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=n.x,lt.y=rt.y=n.y,rb.x=rt.x=n.x+n.width,rb.y=lb.y=n.y+n.height,lt.transform(a),rt.transform(a),rb.transform(a),lb.transform(a),r.x=mathMin$a(lt.x,rb.x,lb.x,rt.x),r.y=mathMin$a(lt.y,rb.y,lb.y,rt.y);var c=mathMax$a(lt.x,rb.x,lb.x,rt.x),f=mathMax$a(lt.y,rb.y,lb.y,rt.y);r.width=c-r.x,r.height=f-r.y},t}();const BoundingRect$1=BoundingRect;var SILENT="silent";function makeEventPacket(t,r,n){return{type:t,event:n,target:r.target,topTarget:r.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:stopEvent}}function stopEvent(){stop(this.event)}var EmptyProxy=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.handler=null,n}return r.prototype.dispose=function(){},r.prototype.setCursor=function(){},r}(Eventful$1),HoveredResult=function(){function t(r,n){this.x=r,this.y=n}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(n,a,o,s,l){var u=t.call(this)||this;return u._hovered=new HoveredResult(0,0),u.storage=n,u.painter=a,u.painterRoot=s,u._pointerSize=l,o=o||new EmptyProxy,u.proxy=null,u.setHandlerProxy(o),u._draggingMgr=new Draggable$1(u),u}return r.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(each$f(handlerNames,function(a){n.on&&n.on(a,this[a],this)},this),n.handler=this),this.proxy=n},r.prototype.mousemove=function(n){var a=n.zrX,o=n.zrY,s=isOutsideBoundary(this,a,o),l=this._hovered,u=l.target;u&&!u.__zr&&(l=this.findHover(l.x,l.y),u=l.target);var c=this._hovered=s?new HoveredResult(a,o):this.findHover(a,o),f=c.target,d=this.proxy;d.setCursor&&d.setCursor(f?f.cursor:"default"),u&&f!==u&&this.dispatchToElement(l,"mouseout",n),this.dispatchToElement(c,"mousemove",n),f&&f!==u&&this.dispatchToElement(c,"mouseover",n)},r.prototype.mouseout=function(n){var a=n.zrEventControl;a!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",n),a!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:n})},r.prototype.resize=function(){this._hovered=new HoveredResult(0,0)},r.prototype.dispatch=function(n,a){var o=this[n];o&&o.call(this,a)},r.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},r.prototype.setCursorStyle=function(n){var a=this.proxy;a.setCursor&&a.setCursor(n)},r.prototype.dispatchToElement=function(n,a,o){n=n||{};var s=n.target;if(!(s&&s.silent)){for(var l="on"+a,u=makeEventPacket(a,n,o);s&&(s[l]&&(u.cancelBubble=!!s[l].call(s,u)),s.trigger(a,u),s=s.__hostTarget?s.__hostTarget:s.parent,!u.cancelBubble););u.cancelBubble||(this.trigger(a,u),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(c){typeof c[l]=="function"&&c[l].call(c,u),c.trigger&&c.trigger(a,u)}))}},r.prototype.findHover=function(n,a,o){var s=this.storage.getDisplayList(),l=new HoveredResult(n,a);if(setHoverTarget(s,l,n,a,o),this._pointerSize&&!l.target){for(var u=[],c=this._pointerSize,f=c/2,d=new BoundingRect$1(n-f,a-f,c,c),v=s.length-1;v>=0;v--){var g=s[v];g!==o&&!g.ignore&&!g.ignoreCoarsePointer&&(!g.parent||!g.parent.ignoreCoarsePointer)&&(tmpRect$1.copy(g.getBoundingRect()),g.transform&&tmpRect$1.applyTransform(g.transform),tmpRect$1.intersect(d)&&u.push(g))}if(u.length)for(var y=4,S=Math.PI/12,b=Math.PI*2,T=0;T4)return;this._downPoint=null}this.dispatchToElement(s,t,r)}});function isHover(t,r,n){if(t[t.rectHover?"rectContain":"contain"](r,n)){for(var a=t,o=void 0,s=!1;a;){if(a.ignoreClip&&(s=!0),!s){var l=a.getClipPath();if(l&&!l.contain(r,n))return!1;a.silent&&(o=!0)}var u=a.__hostTarget;a=u||a.parent}return o?SILENT:!0}return!1}function setHoverTarget(t,r,n,a,o){for(var s=t.length-1;s>=0;s--){var l=t[s],u=void 0;if(l!==o&&!l.ignore&&(u=isHover(l,n,a))&&(!r.topTarget&&(r.topTarget=l),u!==SILENT)){r.target=l;break}}}function isOutsideBoundary(t,r,n){var a=t.painter;return r<0||r>a.getWidth()||n<0||n>a.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,n,a){var o=r+1;if(o===n)return 1;if(a(t[o++],t[r])<0){for(;o=0;)o++;return o-r}function reverseRun(t,r,n){for(n--;r>>1,o(s,t[c])<0?u=c:l=c+1;var f=a-l;switch(f){case 3:t[l+3]=t[l+2];case 2:t[l+2]=t[l+1];case 1:t[l+1]=t[l];break;default:for(;f>0;)t[l+f]=t[l+f-1],f--}t[l]=s}}function gallopLeft(t,r,n,a,o,s){var l=0,u=0,c=1;if(s(t,r[n+o])>0){for(u=a-o;c0;)l=c,c=(c<<1)+1,c<=0&&(c=u);c>u&&(c=u),l+=o,c+=o}else{for(u=o+1;cu&&(c=u);var f=l;l=o-c,c=o-f}for(l++;l>>1);s(t,r[n+d])>0?l=d+1:c=d}return c}function gallopRight(t,r,n,a,o,s){var l=0,u=0,c=1;if(s(t,r[n+o])<0){for(u=o+1;cu&&(c=u);var f=l;l=o-c,c=o-f}else{for(u=a-o;c=0;)l=c,c=(c<<1)+1,c<=0&&(c=u);c>u&&(c=u),l+=o,c+=o}for(l++;l>>1);s(t,r[n+d])<0?c=d:l=d+1}return c}function TimSort(t,r){var n=DEFAULT_MIN_GALLOPING,a,o,s=0;t.length;var l=[];a=[],o=[];function u(y,S){a[s]=y,o[s]=S,s+=1}function c(){for(;s>1;){var y=s-2;if(y>=1&&o[y-1]<=o[y]+o[y+1]||y>=2&&o[y-2]<=o[y]+o[y-1])o[y-1]o[y+1])break;d(y)}}function f(){for(;s>1;){var y=s-2;y>0&&o[y-1]=DEFAULT_MIN_GALLOPING||V>=DEFAULT_MIN_GALLOPING);if(z)break;O<0&&(O=0),O+=2}if(n=O,n<1&&(n=1),S===1){for(w=0;w=0;w--)t[D+w]=t[O+w];t[L]=l[M];return}for(var V=n;;){var z=0,Y=0,ie=!1;do if(r(l[M],t[A])<0){if(t[L--]=t[A--],z++,Y=0,--S===0){ie=!0;break}}else if(t[L--]=l[M--],Y++,z=0,--T===1){ie=!0;break}while((z|Y)=0;w--)t[D+w]=t[O+w];if(S===0){ie=!0;break}}if(t[L--]=l[M--],--T===1){ie=!0;break}if(Y=T-gallopLeft(t[A],l,0,T,T-1,r),Y!==0){for(L-=Y,M-=Y,T-=Y,D=L+1,O=M+1,w=0;w=DEFAULT_MIN_GALLOPING||Y>=DEFAULT_MIN_GALLOPING);if(ie)break;V<0&&(V=0),V+=2}if(n=V,n<1&&(n=1),T===1){for(L-=S,A-=S,D=L+1,O=A+1,w=S-1;w>=0;w--)t[D+w]=t[O+w];t[L]=l[M]}else{if(T===0)throw new Error;for(O=L-(T-1),w=0;wu&&(c=u),binaryInsertionSort(t,n,n+c,n+s,r),s=c}l.pushRun(n,s),l.mergeRuns(),o-=s,n+=s}while(o!==0);l.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,n){for(var a=0;a0&&(d.__clipPaths=[]),isNaN(d.z)&&(logInvalidZError(),d.z=0),isNaN(d.z2)&&(logInvalidZError(),d.z2=0),isNaN(d.zlevel)&&(logInvalidZError(),d.zlevel=0),this._displayList[this._displayListLen++]=d}var v=r.getDecalElement&&r.getDecalElement();v&&this._updateAndAddDisplayable(v,n,a);var g=r.getTextGuideLine();g&&this._updateAndAddDisplayable(g,n,a);var y=r.getTextContent();y&&this._updateAndAddDisplayable(y,n,a)}},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 n=0,a=r.length;n=0&&this._roots.splice(o,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,n=.1,a=.4;return t===0?0:t===1?1:(!n||n<1?(n=1,r=a/4):r=a*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/a)))},elasticOut:function(t){var r,n=.1,a=.4;return t===0?0:t===1?1:(!n||n<1?(n=1,r=a/4):r=a*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-r)*(2*Math.PI)/a)+1)},elasticInOut:function(t){var r,n=.1,a=.4;return t===0?0:t===1?1:(!n||n<1?(n=1,r=a/4):r=a*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/a)):n*Math.pow(2,-10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/a)*.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$4=1e-8,EPSILON_NUMERIC=1e-4,THREE_SQRT=mathSqrt$3(3),ONE_THIRD=1/3,_v0=create$2(),_v1=create$2(),_v2=create$2();function isAroundZero$1(t){return t>-EPSILON$4&&tEPSILON$4||t<-EPSILON$4}function cubicAt(t,r,n,a,o){var s=1-o;return s*s*(s*t+3*o*r)+o*o*(o*a+3*s*n)}function cubicDerivativeAt(t,r,n,a,o){var s=1-o;return 3*(((r-t)*s+2*(n-r)*o)*s+(a-n)*o*o)}function cubicRootAt(t,r,n,a,o,s){var l=a+3*(r-n)-t,u=3*(n-r*2+t),c=3*(r-t),f=t-o,d=u*u-3*l*c,v=u*c-9*l*f,g=c*c-3*u*f,y=0;if(isAroundZero$1(d)&&isAroundZero$1(v))if(isAroundZero$1(u))s[0]=0;else{var S=-c/u;S>=0&&S<=1&&(s[y++]=S)}else{var b=v*v-4*d*g;if(isAroundZero$1(b)){var T=v/d,S=-u/l+T,w=-T/2;S>=0&&S<=1&&(s[y++]=S),w>=0&&w<=1&&(s[y++]=w)}else if(b>0){var A=mathSqrt$3(b),M=d*u+1.5*l*(-v+A),L=d*u+1.5*l*(-v-A);M<0?M=-mathPow$2(-M,ONE_THIRD):M=mathPow$2(M,ONE_THIRD),L<0?L=-mathPow$2(-L,ONE_THIRD):L=mathPow$2(L,ONE_THIRD);var S=(-u-(M+L))/(3*l);S>=0&&S<=1&&(s[y++]=S)}else{var O=(2*d*u-3*l*v)/(2*mathSqrt$3(d*d*d)),D=Math.acos(O)/3,V=mathSqrt$3(d),z=Math.cos(D),S=(-u-2*V*z)/(3*l),w=(-u+V*(z+THREE_SQRT*Math.sin(D)))/(3*l),Y=(-u+V*(z-THREE_SQRT*Math.sin(D)))/(3*l);S>=0&&S<=1&&(s[y++]=S),w>=0&&w<=1&&(s[y++]=w),Y>=0&&Y<=1&&(s[y++]=Y)}}return y}function cubicExtrema(t,r,n,a,o){var s=6*n-12*r+6*t,l=9*r+3*a-3*t-9*n,u=3*r-3*t,c=0;if(isAroundZero$1(l)){if(isNotAroundZero$1(s)){var f=-u/s;f>=0&&f<=1&&(o[c++]=f)}}else{var d=s*s-4*l*u;if(isAroundZero$1(d))o[0]=-s/(2*l);else if(d>0){var v=mathSqrt$3(d),f=(-s+v)/(2*l),g=(-s-v)/(2*l);f>=0&&f<=1&&(o[c++]=f),g>=0&&g<=1&&(o[c++]=g)}}return c}function cubicSubdivide(t,r,n,a,o,s){var l=(r-t)*o+t,u=(n-r)*o+r,c=(a-n)*o+n,f=(u-l)*o+l,d=(c-u)*o+u,v=(d-f)*o+f;s[0]=t,s[1]=l,s[2]=f,s[3]=v,s[4]=v,s[5]=d,s[6]=c,s[7]=a}function cubicProjectPoint(t,r,n,a,o,s,l,u,c,f,d){var v,g=.005,y=1/0,S,b,T,w;_v0[0]=c,_v0[1]=f;for(var A=0;A<1;A+=.05)_v1[0]=cubicAt(t,n,o,l,A),_v1[1]=cubicAt(r,a,s,u,A),T=distSquare(_v0,_v1),T=0&&T=0&&f<=1&&(o[c++]=f)}}else{var d=l*l-4*s*u;if(isAroundZero$1(d)){var f=-l/(2*s);f>=0&&f<=1&&(o[c++]=f)}else if(d>0){var v=mathSqrt$3(d),f=(-l+v)/(2*s),g=(-l-v)/(2*s);f>=0&&f<=1&&(o[c++]=f),g>=0&&g<=1&&(o[c++]=g)}}return c}function quadraticExtremum(t,r,n){var a=t+n-2*r;return a===0?.5:(t-r)/a}function quadraticSubdivide(t,r,n,a,o){var s=(r-t)*a+t,l=(n-r)*a+r,u=(l-s)*a+s;o[0]=t,o[1]=s,o[2]=u,o[3]=u,o[4]=l,o[5]=n}function quadraticProjectPoint(t,r,n,a,o,s,l,u,c){var f,d=.005,v=1/0;_v0[0]=l,_v0[1]=u;for(var g=0;g<1;g+=.05){_v1[0]=quadraticAt$1(t,n,o,g),_v1[1]=quadraticAt$1(r,a,s,g);var y=distSquare(_v0,_v1);y=0&&y=1?1:cubicRootAt(0,a,s,1,c,u)&&cubicAt(0,o,l,1,u[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,n){if(this._inited||(this._startTime=r+this._delay,this._inited=!0),this._paused){this._pausedTime+=n;return}var a=this._life,o=r-this._startTime-this._pausedTime,s=o/a;s<0&&(s=0),s=Math.min(s,1);var l=this.easingFunc,u=l?l(s):s;if(this.onframe(u),s===1)if(this.loop){var c=o%a;this._startTime=r-c,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$1(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 n=new Entry(r);return this.insertEntry(n),n},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 n=r.prev,a=r.next;n?n.next=a:this.head=a,a?a.prev=n:this.tail=n,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,n){var a=this._list,o=this._map,s=null;if(o[r]==null){var l=a.len(),u=this._lastRemovedEntry;if(l>=this._maxSize&&l>0){var c=a.head;a.remove(c),delete o[c.key],s=c.value,this._lastRemovedEntry=c}u?u.value=n:u=new Entry(n),u.key=r,a.insertEntry(u),o[r]=u}return s},t.prototype.get=function(r){var n=this._map[r],a=this._list;if(n!=null)return n!==a.tail&&(a.remove(n),a.insertEntry(n)),n.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,n){return n<0?n+=1:n>1&&(n-=1),n*6<1?t+(r-t)*n*6:n*2<1?r:n*3<2?t+(r-t)*(2/3-n)*6:t}function lerpNumber(t,r,n){return t+(r-t)*n}function setRgba(t,r,n,a,o){return t[0]=r,t[1]=n,t[2]=a,t[3]=o,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 n=colorCache.get(t);if(n)return copyRgba(r,n);t=t+"";var a=t.replace(/ /g,"").toLowerCase();if(a in kCSSColorTable)return copyRgba(r,kCSSColorTable[a]),putToCache(t,r),r;var o=a.length;if(a.charAt(0)==="#"){if(o===4||o===5){var s=parseInt(a.slice(1,4),16);if(!(s>=0&&s<=4095)){setRgba(r,0,0,0,1);return}return setRgba(r,(s&3840)>>4|(s&3840)>>8,s&240|(s&240)>>4,s&15|(s&15)<<4,o===5?parseInt(a.slice(4),16)/15:1),putToCache(t,r),r}else if(o===7||o===9){var s=parseInt(a.slice(1,7),16);if(!(s>=0&&s<=16777215)){setRgba(r,0,0,0,1);return}return setRgba(r,(s&16711680)>>16,(s&65280)>>8,s&255,o===9?parseInt(a.slice(7),16)/255:1),putToCache(t,r),r}return}var l=a.indexOf("("),u=a.indexOf(")");if(l!==-1&&u+1===o){var c=a.substr(0,l),f=a.substr(l+1,u-(l+1)).split(","),d=1;switch(c){case"rgba":if(f.length!==4)return f.length===3?setRgba(r,+f[0],+f[1],+f[2],1):setRgba(r,0,0,0,1);d=parseCssFloat(f.pop());case"rgb":if(f.length>=3)return setRgba(r,parseCssInt(f[0]),parseCssInt(f[1]),parseCssInt(f[2]),f.length===3?d:parseCssFloat(f[3])),putToCache(t,r),r;setRgba(r,0,0,0,1);return;case"hsla":if(f.length!==4){setRgba(r,0,0,0,1);return}return f[3]=parseCssFloat(f[3]),hsla2rgba(f,r),putToCache(t,r),r;case"hsl":if(f.length!==3){setRgba(r,0,0,0,1);return}return hsla2rgba(f,r),putToCache(t,r),r;default:return}}setRgba(r,0,0,0,1)}}function hsla2rgba(t,r){var n=(parseFloat(t[0])%360+360)%360/360,a=parseCssFloat(t[1]),o=parseCssFloat(t[2]),s=o<=.5?o*(a+1):o+a-o*a,l=o*2-s;return r=r||[],setRgba(r,clampCssByte(cssHueToRgb(l,s,n+1/3)*255),clampCssByte(cssHueToRgb(l,s,n)*255),clampCssByte(cssHueToRgb(l,s,n-1/3)*255),1),t.length===4&&(r[3]=t[3]),r}function rgba2hsla(t){if(t){var r=t[0]/255,n=t[1]/255,a=t[2]/255,o=Math.min(r,n,a),s=Math.max(r,n,a),l=s-o,u=(s+o)/2,c,f;if(l===0)c=0,f=0;else{u<.5?f=l/(s+o):f=l/(2-s-o);var d=((s-r)/6+l/2)/l,v=((s-n)/6+l/2)/l,g=((s-a)/6+l/2)/l;r===s?c=g-v:n===s?c=1/3+d-g:a===s&&(c=2/3+v-d),c<0&&(c+=1),c>1&&(c-=1)}var y=[c*360,f,u];return t[3]!=null&&y.push(t[3]),y}}function lift(t,r){var n=parse$1(t);if(n){for(var a=0;a<3;a++)r<0?n[a]=n[a]*(1-r)|0:n[a]=(255-n[a])*r+n[a]|0,n[a]>255?n[a]=255:n[a]<0&&(n[a]=0);return stringify(n,n.length===4?"rgba":"rgb")}}function fastLerp(t,r,n){if(!(!(r&&r.length)||!(t>=0&&t<=1))){n=n||[];var a=t*(r.length-1),o=Math.floor(a),s=Math.ceil(a),l=r[o],u=r[s],c=a-o;return n[0]=clampCssByte(lerpNumber(l[0],u[0],c)),n[1]=clampCssByte(lerpNumber(l[1],u[1],c)),n[2]=clampCssByte(lerpNumber(l[2],u[2],c)),n[3]=clampCssFloat(lerpNumber(l[3],u[3],c)),n}}function lerp(t,r,n){if(!(!(r&&r.length)||!(t>=0&&t<=1))){var a=t*(r.length-1),o=Math.floor(a),s=Math.ceil(a),l=parse$1(r[o]),u=parse$1(r[s]),c=a-o,f=stringify([clampCssByte(lerpNumber(l[0],u[0],c)),clampCssByte(lerpNumber(l[1],u[1],c)),clampCssByte(lerpNumber(l[2],u[2],c)),clampCssFloat(lerpNumber(l[3],u[3],c))],"rgba");return n?{color:f,leftIndex:o,rightIndex:s,value:a}:f}}function modifyHSL(t,r,n,a){var o=parse$1(t);if(t)return o=rgba2hsla(o),r!=null&&(o[0]=clampCssAngle(r)),n!=null&&(o[1]=parseCssFloat(n)),a!=null&&(o[2]=parseCssFloat(a)),stringify(hsla2rgba(o),"rgba")}function modifyAlpha(t,r){var n=parse$1(t);if(n&&r!=null)return n[3]=clampCssFloat(r),stringify(n,"rgba")}function stringify(t,r){if(!(!t||!t.length)){var n=t[0]+","+t[1]+","+t[2];return(r==="rgba"||r==="hsva"||r==="hsla")&&(n+=","+t[3]),r+"("+n+")"}}function lum(t,r){var n=parse$1(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*r:0}var mathRound$1=Math.round;function normalizeColor(t){var r;if(!t||t==="transparent")t="none";else if(typeof t=="string"&&t.indexOf("rgba")>-1){var n=parse$1(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",r=n[3])}return{color:t,opacity:r??1}}var EPSILON$3=1e-4;function isAroundZero(t){return t-EPSILON$3}function round3(t){return mathRound$1(t*1e3)/1e3}function round4(t){return mathRound$1(t*1e4)/1e4}function getMatrixStr(t){return"matrix("+round3(t[0])+","+round3(t[1])+","+round3(t[2])+","+round3(t[3])+","+round4(t[4])+","+round4(t[5])+")"}var TEXT_ALIGN_TO_ANCHOR={left:"start",right:"end",center:"middle",middle:"middle"};function adjustTextY$1(t,r,n){return n==="top"?t+=r/2:n==="bottom"&&(t-=r/2),t}function hasShadow(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function getShadowKey(t){var r=t.style,n=t.getGlobalScale();return[r.shadowColor,(r.shadowBlur||0).toFixed(2),(r.shadowOffsetX||0).toFixed(2),(r.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function isImagePattern(t){return t&&!!t.image}function isSVGPattern(t){return t&&!!t.svgElement}function isPattern(t){return isImagePattern(t)||isSVGPattern(t)}function isLinearGradient(t){return t.type==="linear"}function isRadialGradient(t){return t.type==="radial"}function isGradient(t){return t&&(t.type==="linear"||t.type==="radial")}function getIdURL(t){return"url(#"+t+")"}function getPathPrecision(t){var r=t.getGlobalScale(),n=Math.max(r[0],r[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function getSRTTransformString(t){var r=t.x||0,n=t.y||0,a=(t.rotation||0)*RADIAN_TO_DEGREE,o=retrieve2(t.scaleX,1),s=retrieve2(t.scaleY,1),l=t.skewX||0,u=t.skewY||0,c=[];return(r||n)&&c.push("translate("+r+"px,"+n+"px)"),a&&c.push("rotate("+a+")"),(o!==1||s!==1)&&c.push("scale("+o+","+s+")"),(l||u)&&c.push("skew("+mathRound$1(l*RADIAN_TO_DEGREE)+"deg, "+mathRound$1(u*RADIAN_TO_DEGREE)+"deg)"),c.join(" ")}var encodeBase64=function(){return env$1.hasGlobalWindow&&isFunction$1(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}}(),arraySlice=Array.prototype.slice;function interpolateNumber$1(t,r,n){return(r-t)*n+t}function interpolate1DArray(t,r,n,a){for(var o=r.length,s=0;sa?r:t,s=Math.min(n,a),l=o[s-1]||{color:[0,0,0,0],offset:0},u=s;ul;if(u)a.length=l;else for(var c=s;c=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(r,n,a){this._needsSort=!0;var o=this.keyframes,s=o.length,l=!1,u=VALUE_TYPE_UNKOWN,c=n;if(isArrayLike(n)){var f=guessArrayDim(n);u=f,(f===1&&!isNumber$1(n[0])||f===2&&!isNumber$1(n[0][0]))&&(l=!0)}else if(isNumber$1(n)&&!eqNaN(n))u=VALUE_TYPE_NUMBER;else if(isString$1(n))if(!isNaN(+n))u=VALUE_TYPE_NUMBER;else{var d=parse$1(n);d&&(c=d,u=VALUE_TYPE_COLOR)}else if(isGradientObject(n)){var v=extend({},c);v.colorStops=map$1(n.colorStops,function(y){return{offset:y.offset,color:parse$1(y.color)}}),isLinearGradient(n)?u=VALUE_TYPE_LINEAR_GRADIENT:isRadialGradient(n)&&(u=VALUE_TYPE_RADIAL_GRADIENT),c=v}s===0?this.valType=u:(u!==this.valType||u===VALUE_TYPE_UNKOWN)&&(l=!0),this.discrete=this.discrete||l;var g={time:r,value:c,rawValue:n,percent:0};return a&&(g.easing=a,g.easingFunc=isFunction$1(a)?a:easingFuncs$1[a]||createCubicEasingFunc(a)),o.push(g),g},t.prototype.prepare=function(r,n){var a=this.keyframes;this._needsSort&&a.sort(function(b,T){return b.time-T.time});for(var o=this.valType,s=a.length,l=a[s-1],u=this.discrete,c=isArrayValueType(o),f=isGradientValueType(o),d=0;d=0&&!(l[d].percent<=n);d--);d=g(d,u-2)}else{for(d=v;dn);d++);d=g(d-1,u-2)}S=l[d+1],y=l[d]}if(y&&S){this._lastFr=d,this._lastFrP=n;var T=S.percent-y.percent,w=T===0?1:g((n-y.percent)/T,1);S.easingFunc&&(w=S.easingFunc(w));var A=a?this._additiveValue:f?tmpRgba:r[c];if((isArrayValueType(s)||f)&&!A&&(A=this._additiveValue=[]),this.discrete)r[c]=w<1?y.rawValue:S.rawValue;else if(isArrayValueType(s))s===VALUE_TYPE_1D_ARRAY?interpolate1DArray(A,y[o],S[o],w):interpolate2DArray(A,y[o],S[o],w);else if(isGradientValueType(s)){var M=y[o],L=S[o],O=s===VALUE_TYPE_LINEAR_GRADIENT;r[c]={type:O?"linear":"radial",x:interpolateNumber$1(M.x,L.x,w),y:interpolateNumber$1(M.y,L.y,w),colorStops:map$1(M.colorStops,function(V,z){var Y=L.colorStops[z];return{offset:interpolateNumber$1(V.offset,Y.offset,w),color:rgba2String(interpolate1DArray([],V.color,Y.color,w))}}),global:L.global},O?(r[c].x2=interpolateNumber$1(M.x2,L.x2,w),r[c].y2=interpolateNumber$1(M.y2,L.y2,w)):r[c].r=interpolateNumber$1(M.r,L.r,w)}else if(f)interpolate1DArray(A,y[o],S[o],w),a||(r[c]=rgba2String(A));else{var D=interpolateNumber$1(y[o],S[o],w);a?this._additiveValue=D:r[c]=D}a&&this._addToTarget(r)}}},t.prototype._addToTarget=function(r){var n=this.valType,a=this.propName,o=this._additiveValue;n===VALUE_TYPE_NUMBER?r[a]=r[a]+o:n===VALUE_TYPE_COLOR?(parse$1(r[a],tmpRgba),add1DArray(tmpRgba,tmpRgba,o,1),r[a]=rgba2String(tmpRgba)):n===VALUE_TYPE_1D_ARRAY?add1DArray(r[a],r[a],o,1):n===VALUE_TYPE_2D_ARRAY&&add2DArray(r[a],r[a],o,1)},t}(),Animator=function(){function t(r,n,a,o){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=r,this._loop=n,n&&o){logError("Can' use additive animation on looped animation.");return}this._additiveAnimators=o,this._allowDiscrete=a}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,n,a){return this.whenWithKeys(r,n,keys(n),a)},t.prototype.whenWithKeys=function(r,n,a,o){for(var s=this._tracks,l=0;l0&&c.addKeyframe(0,cloneValue(f),o),this._trackKeys.push(u)}c.addKeyframe(r,cloneValue(n[u]),o)}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 n=r.length,a=0;a0)){this._started=1;for(var n=this,a=[],o=this._maxTime||0,s=0;s1){var u=l.pop();s.addKeyframe(u.time,r[o]),s.prepare(this._maxTime,s.getAdditiveTrack())}}}},t}();function getTime(){return new Date().getTime()}var Animation=function(t){__extends(r,t);function r(n){var a=t.call(this)||this;return a._running=!1,a._time=0,a._pausedTime=0,a._pauseStart=0,a._paused=!1,n=n||{},a.stage=n.stage||{},a}return r.prototype.addClip=function(n){n.animation&&this.removeClip(n),this._head?(this._tail.next=n,n.prev=this._tail,n.next=null,this._tail=n):this._head=this._tail=n,n.animation=this},r.prototype.addAnimator=function(n){n.animation=this;var a=n.getClip();a&&this.addClip(a)},r.prototype.removeClip=function(n){if(n.animation){var a=n.prev,o=n.next;a?a.next=o:this._head=o,o?o.prev=a:this._tail=a,n.next=n.prev=n.animation=null}},r.prototype.removeAnimator=function(n){var a=n.getClip();a&&this.removeClip(a),n.animation=null},r.prototype.update=function(n){for(var a=getTime()-this._pausedTime,o=a-this._time,s=this._head;s;){var l=s.next,u=s.step(a,o);u&&(s.ondestroy(),this.removeClip(s)),s=l}this._time=a,n||(this.trigger("frame",o),this.stage.update&&this.stage.update())},r.prototype._startLoop=function(){var n=this;this._running=!0;function a(){n._running&&(requestAnimationFrame$2(a),!n._paused&&n.update())}requestAnimationFrame$2(a)},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 n=this._head;n;){var a=n.next;n.prev=n.next=n.animation=null,n=a}this._head=this._tail=null},r.prototype.isFinished=function(){return this._head==null},r.prototype.animate=function(n,a){a=a||{},this.start();var o=new Animator(n,a.loop);return this.addAnimator(o),o},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"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},a=map$1(t,function(o){var s=o.replace("mouse","pointer");return n.hasOwnProperty(s)?s:o});return{mouse:t,touch:r,pointer:a}}(),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 n=r,a=!1;n&&n.nodeType!==9&&!(a=n.domBelongToZr||n!==r&&n===t.painterRoot);)n=n.parentNode;return a}var FakeGlobalEvent=function(){function t(r,n){this.stopPropagation=noop,this.stopImmediatePropagation=noop,this.preventDefault=noop,this.type=n.type,this.target=this.currentTarget=r.dom,this.pointerType=n.pointerType,this.clientX=n.clientX,this.clientY=n.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.__lastTouchMomentEPSILON$2||t<-EPSILON$2}var scaleTmp=[],tmpTransform=[],originTransform=create$1(),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,n=this.needLocalTransform(),a=this.transform;if(!(n||r)){a&&mIdentity(a);return}a=a||create$1(),n?this.getLocalTransform(a):mIdentity(a),r&&(n?mul(a,r,a):copy(a,r)),this.transform=a,this._resolveGlobalScaleRatio(a)},t.prototype._resolveGlobalScaleRatio=function(r){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(scaleTmp);var a=scaleTmp[0]<0?-1:1,o=scaleTmp[1]<0?-1:1,s=((scaleTmp[0]-a)*n+a)/scaleTmp[0]||0,l=((scaleTmp[1]-o)*n+o)/scaleTmp[1]||0;r[0]*=s,r[1]*=s,r[2]*=l,r[3]*=l}this.invTransform=this.invTransform||create$1(),invert(this.invTransform,r)},t.prototype.getComputedTransform=function(){for(var r=this,n=[];r;)n.push(r),r=r.parent;for(;r=n.pop();)r.updateTransform();return this.transform},t.prototype.setLocalTransform=function(r){if(r){var n=r[0]*r[0]+r[1]*r[1],a=r[2]*r[2]+r[3]*r[3],o=Math.atan2(r[1],r[0]),s=Math.PI/2+o-Math.atan2(r[3],r[2]);a=Math.sqrt(a)*Math.cos(s),n=Math.sqrt(n),this.skewX=s,this.skewY=0,this.rotation=-o,this.x=+r[4],this.y=+r[5],this.scaleX=n,this.scaleY=a,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var r=this.parent,n=this.transform;r&&r.transform&&(mul(tmpTransform,r.invTransform,n),n=tmpTransform);var a=this.originX,o=this.originY;(a||o)&&(originTransform[4]=a,originTransform[5]=o,mul(tmpTransform,n,originTransform),tmpTransform[4]-=a,tmpTransform[5]-=o,n=tmpTransform),this.setLocalTransform(n)}},t.prototype.getGlobalScale=function(r){var n=this.transform;return r=r||[],n?(r[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),r[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(r[0]=-r[0]),n[3]<0&&(r[1]=-r[1]),r):(r[0]=1,r[1]=1,r)},t.prototype.transformCoordToLocal=function(r,n){var a=[r,n],o=this.invTransform;return o&&applyTransform$1(a,a,o),a},t.prototype.transformCoordToGlobal=function(r,n){var a=[r,n],o=this.transform;return o&&applyTransform$1(a,a,o),a},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,n){n=n||[];var a=r.originX||0,o=r.originY||0,s=r.scaleX,l=r.scaleY,u=r.anchorX,c=r.anchorY,f=r.rotation||0,d=r.x,v=r.y,g=r.skewX?Math.tan(r.skewX):0,y=r.skewY?Math.tan(-r.skewY):0;if(a||o||u||c){var S=a+u,b=o+c;n[4]=-S*s-g*b*l,n[5]=-b*l-y*S*s}else n[4]=n[5]=0;return n[0]=s,n[3]=l,n[1]=y*s,n[2]=g*l,f&&rotate(n,n,f),n[4]+=a+d,n[5]+=o+v,n},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 n=0;n=0?parseFloat(t)/100*r:parseFloat(t):t}function calculateTextPosition(t,r,n){var a=r.position||"inside",o=r.distance!=null?r.distance:5,s=n.height,l=n.width,u=s/2,c=n.x,f=n.y,d="left",v="top";if(a instanceof Array)c+=parsePercent$1(a[0],n.width),f+=parsePercent$1(a[1],n.height),d=null,v=null;else switch(a){case"left":c-=o,f+=u,d="right",v="middle";break;case"right":c+=o+l,f+=u,v="middle";break;case"top":c+=l/2,f-=o,d="center",v="bottom";break;case"bottom":c+=l/2,f+=s+o,d="center";break;case"inside":c+=l/2,f+=u,d="center",v="middle";break;case"insideLeft":c+=o,f+=u,v="middle";break;case"insideRight":c+=l-o,f+=u,d="right",v="middle";break;case"insideTop":c+=l/2,f+=o,d="center";break;case"insideBottom":c+=l/2,f+=s-o,d="center",v="bottom";break;case"insideTopLeft":c+=o,f+=o;break;case"insideTopRight":c+=l-o,f+=o,d="right";break;case"insideBottomLeft":c+=o,f+=s-o,v="bottom";break;case"insideBottomRight":c+=l-o,f+=s-o,d="right",v="bottom";break}return t=t||{},t.x=c,t.y=f,t.align=d,t.verticalAlign=v,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,n,a){switch(this.draggable){case"horizontal":n=0;break;case"vertical":r=0;break}var o=this.transform;o||(o=this.transform=[1,0,0,1,0,0]),o[4]+=r,o[5]+=n,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 n=this._textContent;if(n&&(!n.ignore||r)){this.textConfig||(this.textConfig={});var a=this.textConfig,o=a.local,s=n.innerTransformable,l=void 0,u=void 0,c=!1;s.parent=o?this:null;var f=!1;if(s.copyTransform(n),a.position!=null){var d=tmpBoundingRect;a.layoutRect?d.copy(a.layoutRect):d.copy(this.getBoundingRect()),o||d.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tmpTextPosCalcRes,a,d):calculateTextPosition(tmpTextPosCalcRes,a,d),s.x=tmpTextPosCalcRes.x,s.y=tmpTextPosCalcRes.y,l=tmpTextPosCalcRes.align,u=tmpTextPosCalcRes.verticalAlign;var v=a.origin;if(v&&a.rotation!=null){var g=void 0,y=void 0;v==="center"?(g=d.width*.5,y=d.height*.5):(g=parsePercent$1(v[0],d.width),y=parsePercent$1(v[1],d.height)),f=!0,s.originX=-s.x+g+(o?0:d.x),s.originY=-s.y+y+(o?0:d.y)}}a.rotation!=null&&(s.rotation=a.rotation);var S=a.offset;S&&(s.x+=S[0],s.y+=S[1],f||(s.originX=-S[0],s.originY=-S[1]));var b=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,T=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),w=void 0,A=void 0,M=void 0;b&&this.canBeInsideText()?(w=a.insideFill,A=a.insideStroke,(w==null||w==="auto")&&(w=this.getInsideTextFill()),(A==null||A==="auto")&&(A=this.getInsideTextStroke(w),M=!0)):(w=a.outsideFill,A=a.outsideStroke,(w==null||w==="auto")&&(w=this.getOutsideFill()),(A==null||A==="auto")&&(A=this.getOutsideStroke(w),M=!0)),w=w||"#000",(w!==T.fill||A!==T.stroke||M!==T.autoStroke||l!==T.align||u!==T.verticalAlign)&&(c=!0,T.fill=w,T.stroke=A,T.autoStroke=M,T.align=l,T.verticalAlign=u,n.setDefaultTextStyle(T)),n.__dirty|=REDRAW_BIT,c&&n.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 n=this.__zr&&this.__zr.getBackgroundColor(),a=typeof n=="string"&&parse$1(n);a||(a=[255,255,255,1]);for(var o=a[3],s=this.__zr.isDarkMode(),l=0;l<3;l++)a[l]=a[l]*o+(s?0:255)*(1-o);return a[3]=1,stringify(a,"rgba")},t.prototype.traverse=function(r,n){},t.prototype.attrKV=function(r,n){r==="textConfig"?this.setTextConfig(n):r==="textContent"?this.setTextContent(n):r==="clipPath"?this.setClipPath(n):r==="extra"?(this.extra=this.extra||{},extend(this.extra,n)):this[r]=n},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(r,n){if(typeof r=="string")this.attrKV(r,n);else if(isObject$4(r))for(var a=r,o=keys(a),s=0;s0},t.prototype.getState=function(r){return this.states[r]},t.prototype.ensureState=function(r){var n=this.states;return n[r]||(n[r]={}),n[r]},t.prototype.clearStates=function(r){this.useState(PRESERVED_NORMAL_STATE,!1,r)},t.prototype.useState=function(r,n,a,o){var s=r===PRESERVED_NORMAL_STATE,l=this.hasState();if(!(!l&&s)){var u=this.currentStates,c=this.stateTransition;if(!(indexOf(u,r)>=0&&(n||u.length===1))){var f;if(this.stateProxy&&!s&&(f=this.stateProxy(r)),f||(f=this.states&&this.states[r]),!f&&!s){logError("State "+r+" not exists.");return}s||this.saveCurrentToNormalState(f);var d=!!(f&&f.hoverLayer||o);d&&this._toggleHoverLayerFlag(!0),this._applyStateObj(r,f,this._normalState,n,!a&&!this.__inHover&&c&&c.duration>0,c);var v=this._textContent,g=this._textGuide;return v&&v.useState(r,n,a,d),g&&g.useState(r,n,a,d),s?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(r):this.currentStates=[r],this._updateAnimationTargets(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT),f}}},t.prototype.useStates=function(r,n,a){if(!r.length)this.clearStates();else{var o=[],s=this.currentStates,l=r.length,u=l===s.length;if(u){for(var c=0;c0,S);var b=this._textContent,T=this._textGuide;b&&b.useStates(r,n,g),T&&T.useStates(r,n,g),this._updateAnimationTargets(),this.currentStates=r.slice(),this.markRedraw(),!g&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT)}},t.prototype._updateAnimationTargets=function(){for(var r=0;r=0){var a=this.currentStates.slice();a.splice(n,1),this.useStates(a)}},t.prototype.replaceState=function(r,n,a){var o=this.currentStates.slice(),s=indexOf(o,r),l=indexOf(o,n)>=0;s>=0?l?o.splice(s,1):o[s]=n:a&&!l&&o.push(n),this.useStates(o)},t.prototype.toggleState=function(r,n){n?this.useState(r,!0):this.removeState(r)},t.prototype._mergeStates=function(r){for(var n={},a,o=0;o=0&&s.splice(l,1)}),this.animators.push(r),a&&a.animation.addAnimator(r),a&&a.wakeUp()},t.prototype.updateDuringAnimation=function(r){this.markRedraw()},t.prototype.stopAnimation=function(r,n){for(var a=this.animators,o=a.length,s=[],l=0;l0&&n.during&&s[0].during(function(S,b){n.during(b)});for(var g=0;g0||o.force&&!l.length){var z=void 0,Y=void 0,ie=void 0;if(u){Y={},g&&(z={});for(var L=0;L=0&&(o.splice(s,0,n),this._doAdd(n))}return this},r.prototype.replace=function(n,a){var o=indexOf(this._children,n);return o>=0&&this.replaceAt(a,o),this},r.prototype.replaceAt=function(n,a){var o=this._children,s=o[a];if(n&&n!==this&&n.parent!==this&&n!==s){o[a]=n,s.parent=null;var l=this.__zr;l&&s.removeSelfFromZr(l),this._doAdd(n)}return this},r.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var a=this.__zr;a&&a!==n.__zr&&n.addSelfToZr(a),a&&a.refresh()},r.prototype.remove=function(n){var a=this.__zr,o=this._children,s=indexOf(o,n);return s<0?this:(o.splice(s,1),n.parent=null,a&&n.removeSelfFromZr(a),a&&a.refresh(),this)},r.prototype.removeAll=function(){for(var n=this._children,a=this.__zr,o=0;o0&&(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,n){return this.handler.findHover(r,n)},t.prototype.on=function(r,n,a){return this.handler.on(r,n,a),this},t.prototype.off=function(r,n){this.handler.off(r,n)},t.prototype.trigger=function(r,n){this.handler.trigger(r,n)},t.prototype.clear=function(){for(var r=this.storage.getRoots(),n=0;n0){if(t<=o)return l;if(t>=s)return u}else{if(t>=o)return l;if(t<=s)return u}else{if(t===o)return l;if(t===s)return u}return(t-o)/c*f+l}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$1(t)?_trim(t).match(/%$/)?parseFloat(t)/100*r:parseFloat(t):t==null?NaN:+t}function round$3(t,r,n){return r==null&&(r=10),r=Math.min(Math.max(0,r),ROUND_SUPPORTED_PRECISION_MAX),t=(+t).toFixed(r),n?t:+t}function asc$2(t){return t.sort(function(r,n){return r-n}),t}function getPrecision(t){if(t=+t,isNaN(t))return 0;if(t>1e-14){for(var r=1,n=0;n<15;n++,r*=10)if(Math.round(t*r)/r===t)return n}return getPrecisionSafe(t)}function getPrecisionSafe(t){var r=t.toString().toLowerCase(),n=r.indexOf("e"),a=n>0?+r.slice(n+1):0,o=n>0?n:r.length,s=r.indexOf("."),l=s<0?0:o-1-s;return Math.max(0,l-a)}function getPixelPrecision(t,r){var n=Math.log,a=Math.LN10,o=Math.floor(n(t[1]-t[0])/a),s=Math.round(n(Math.abs(r[1]-r[0]))/a),l=Math.min(Math.max(-o+s,0),20);return isFinite(l)?l:20}function getPercentSeats(t,r){var n=reduce(t,function(y,S){return y+(isNaN(S)?0:S)},0);if(n===0)return[];for(var a=Math.pow(10,r),o=map$1(t,function(y){return(isNaN(y)?0:y)/n*a*100}),s=a*100,l=map$1(o,function(y){return Math.floor(y)}),u=reduce(l,function(y,S){return y+S},0),c=map$1(o,function(y,S){return y-l[S]});uf&&(f=c[v],d=v);++l[d],c[d]=0,++u}return map$1(l,function(y){return y/a})}function addSafe(t,r){var n=Math.max(getPrecision(t),getPrecision(r)),a=t+r;return n>ROUND_SUPPORTED_PRECISION_MAX?a:round$3(a,n)}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=10&&r++,r}function nice(t,r){var n=quantityExponent(t),a=Math.pow(10,n),o=t/a,s;return r?o<1.5?s=1:o<2.5?s=2:o<4?s=3:o<7?s=5:s=10:o<1?s=1:o<2?s=2:o<3?s=3:o<5?s=5:s=10,t=s*a,n>=-20?+t.toFixed(n<0?-n:0):t}function quantile(t,r){var n=(t.length-1)*r+1,a=Math.floor(n),o=+t[a-1],s=n-a;return s?o+s*(t[a]-o):o}function reformIntervals(t){t.sort(function(c,f){return u(c,f,0)?-1:1});for(var r=-1/0,n=1,a=0;a=0||s&&indexOf(s,c)<0)){var f=a.getShallow(c,r);f!=null&&(l[t[u][0]]=f)}}return l}}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,n){return getAreaStyle(this,r,n)},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,n,a,o){if(t)if(typeof t=="string"){if(r&&r.__zrImageSrc===t||!n)return r;var s=globalImageCache.get(t),l={hostEl:n,cb:a,cbPayload:o};return s?(r=s.image,!isImageReady(r)&&s.pending.push(l)):(r=platformApi.loadImage(t,imageOnLoad,imageOnLoad),r.__zrImageSrc=t,globalImageCache.put(t,r.__cachedImgObj={image:r,pending:[l]})),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=l;c++)u-=l;var f=getWidth(n,r);return f>u&&(n="",f=0),u=t-f,o.ellipsis=n,o.ellipsisWidth=f,o.contentWidth=u,o.containerWidth=t,o}function truncateSingleLine(t,r){var n=r.containerWidth,a=r.font,o=r.contentWidth;if(!n)return"";var s=getWidth(t,a);if(s<=n)return t;for(var l=0;;l++){if(s<=o||l>=r.maxIterations){t+=r.ellipsis;break}var u=l===0?estimateLength(t,o,r.ascCharWidth,r.cnCharWidth):s>0?Math.floor(t.length*o/s):0;t=t.substr(0,u),s=getWidth(t,a)}return t===""&&(t=r.placeholder),t}function estimateLength(t,r,n,a){for(var o=0,s=0,l=t.length;sy&&f){var S=Math.floor(y/u);v=v.slice(0,S)}if(t&&s&&d!=null)for(var b=prepareTruncateOptions(d,o,r.ellipsis,{minChar:r.truncateMinChar,placeholder:r.placeholder}),T=0;Tu&&pushTokens(n,t.substring(u,f),r,l),pushTokens(n,c[2],r,l,c[1]),u=STYLE_REG.lastIndex}uo){O>0?(A.tokens=A.tokens.slice(0,O),T(A,L,M),n.lines=n.lines.slice(0,w+1)):n.lines=n.lines.slice(0,w);break e}var le=V.width,de=le==null||le==="auto";if(typeof le=="string"&&le.charAt(le.length-1)==="%")D.percentWidth=le,d.push(D),D.contentWidth=getWidth(D.text,ie);else{if(de){var xe=V.backgroundColor,Ie=xe&&xe.image;Ie&&(Ie=findExistImage(Ie),isImageReady(Ie)&&(D.width=Math.max(D.width,Ie.width*j/Ie.height)))}var Ce=S&&a!=null?a-L:null;Ce!=null&&Ce0&&S+a.accumWidth>a.width&&(d=r.split(` +`),f=!0),a.accumWidth=S}else{var b=wrapText(r,c,a.width,a.breakAll,a.accumWidth);a.accumWidth=b.accumWidth+y,v=b.linesWidths,d=b.lines}}else d=r.split(` +`);for(var T=0;T=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,n,a,o){for(var s=[],l=[],u="",c="",f=0,d=0,v=0;vn:o+d+y>n){d?(u||c)&&(S?(u||(u=c,c="",f=0,d=f),s.push(u),l.push(d-f),c+=g,f+=y,u="",d=f):(c&&(u+=c,c="",f=0),s.push(u),l.push(d),u=g,d=y)):S?(s.push(c),l.push(f),c=g,f=y):(s.push(g),l.push(y));continue}d+=y,S?(c+=g,f+=y):(c&&(u+=c,c="",f=0),u+=g)}return!s.length&&!u&&(u=t,c="",f=0),c&&(u+=c),u&&(s.push(u),l.push(d)),s.length===1&&(d+=o),{accumWidth:d,lines:s,linesWidths:l}}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(n){return t.call(this,n)||this}return r.prototype._init=function(n){for(var a=keys(n),o=0;o1e-4){u[0]=t-n,u[1]=r-a,c[0]=t+n,c[1]=r+a;return}if(start[0]=mathCos$4(o)*n+t,start[1]=mathSin$4(o)*a+r,end[0]=mathCos$4(s)*n+t,end[1]=mathSin$4(s)*a+r,f(u,start,end),d(c,start,end),o=o%PI2$8,o<0&&(o=o+PI2$8),s=s%PI2$8,s<0&&(s=s+PI2$8),o>s&&!l?s+=PI2$8:oo&&(extremity[0]=mathCos$4(y)*n+t,extremity[1]=mathSin$4(y)*a+r,f(u,extremity,u),d(c,extremity,c))}var CMD$4={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},tmpOutX=[],tmpOutY=[],min=[],max=[],min2=[],max2=[],mathMin$8=Math.min,mathMax$8=Math.max,mathCos$3=Math.cos,mathSin$3=Math.sin,mathAbs$2=Math.abs,PI$8=Math.PI,PI2$7=PI$8*2,hasTypedArray=typeof Float32Array<"u",tmpAngles=[];function modPI2(t){var r=Math.round(t/PI$8*1e8)/1e8;return r%2*PI$8}function normalizeArcAngles(t,r){var n=modPI2(t[0]);n<0&&(n+=PI2$7);var a=n-t[0],o=t[1];o+=a,!r&&o-n>=PI2$7?o=n+PI2$7:r&&n-o>=PI2$7?o=n-PI2$7:!r&&n>o?o=n+(PI2$7-modPI2(n-o)):r&&n0&&(this._ux=mathAbs$2(a/devicePixelRatio/r)||0,this._uy=mathAbs$2(a/devicePixelRatio/n)||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,n){return this._drawPendingPt(),this.addData(CMD$4.M,r,n),this._ctx&&this._ctx.moveTo(r,n),this._x0=r,this._y0=n,this._xi=r,this._yi=n,this},t.prototype.lineTo=function(r,n){var a=mathAbs$2(r-this._xi),o=mathAbs$2(n-this._yi),s=a>this._ux||o>this._uy;if(this.addData(CMD$4.L,r,n),this._ctx&&s&&this._ctx.lineTo(r,n),s)this._xi=r,this._yi=n,this._pendingPtDist=0;else{var l=a*a+o*o;l>this._pendingPtDist&&(this._pendingPtX=r,this._pendingPtY=n,this._pendingPtDist=l)}return this},t.prototype.bezierCurveTo=function(r,n,a,o,s,l){return this._drawPendingPt(),this.addData(CMD$4.C,r,n,a,o,s,l),this._ctx&&this._ctx.bezierCurveTo(r,n,a,o,s,l),this._xi=s,this._yi=l,this},t.prototype.quadraticCurveTo=function(r,n,a,o){return this._drawPendingPt(),this.addData(CMD$4.Q,r,n,a,o),this._ctx&&this._ctx.quadraticCurveTo(r,n,a,o),this._xi=a,this._yi=o,this},t.prototype.arc=function(r,n,a,o,s,l){this._drawPendingPt(),tmpAngles[0]=o,tmpAngles[1]=s,normalizeArcAngles(tmpAngles,l),o=tmpAngles[0],s=tmpAngles[1];var u=s-o;return this.addData(CMD$4.A,r,n,a,a,o,u,0,l?0:1),this._ctx&&this._ctx.arc(r,n,a,o,s,l),this._xi=mathCos$3(s)*a+r,this._yi=mathSin$3(s)*a+n,this},t.prototype.arcTo=function(r,n,a,o,s){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(r,n,a,o,s),this},t.prototype.rect=function(r,n,a,o){return this._drawPendingPt(),this._ctx&&this._ctx.rect(r,n,a,o),this.addData(CMD$4.R,r,n,a,o),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$4.Z);var r=this._ctx,n=this._x0,a=this._y0;return r&&r.closePath(),this._xi=n,this._yi=a,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 n=r.length;!(this.data&&this.data.length===n)&&hasTypedArray&&(this.data=new Float32Array(n));for(var a=0;ad.length&&(this._expandData(),d=this.data);for(var v=0;v0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var r=[],n=0;n11&&(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,n=0,a=0,o=0,s=0,l;for(l=0;la||mathAbs$2(M)>o||g===n-1)&&(b=Math.sqrt(A*A+M*M),s=T,l=w);break}case CMD$4.C:{var L=r[g++],O=r[g++],T=r[g++],w=r[g++],D=r[g++],V=r[g++];b=cubicLength(s,l,L,O,T,w,D,V,10),s=D,l=V;break}case CMD$4.Q:{var L=r[g++],O=r[g++],T=r[g++],w=r[g++];b=quadraticLength(s,l,L,O,T,w,10),s=T,l=w;break}case CMD$4.A:var z=r[g++],Y=r[g++],ie=r[g++],j=r[g++],le=r[g++],de=r[g++],xe=de+le;g+=1,r[g++],S&&(u=mathCos$3(le)*ie+z,c=mathSin$3(le)*j+Y),b=mathMax$8(ie,j)*mathMin$8(PI2$7,Math.abs(de)),s=mathCos$3(xe)*ie+z,l=mathSin$3(xe)*j+Y;break;case CMD$4.R:{u=s=r[g++],c=l=r[g++];var Ie=r[g++],Ce=r[g++];b=Ie*2+Ce*2;break}case CMD$4.Z:{var A=u-s,M=c-l;b=Math.sqrt(A*A+M*M),s=u,l=c;break}}b>=0&&(f[v++]=b,d+=b)}return this._pathLen=d,d},t.prototype.rebuildPath=function(r,n){var a=this.data,o=this._ux,s=this._uy,l=this._len,u,c,f,d,v,g,y=n<1,S,b,T=0,w=0,A,M=0,L,O;if(!(y&&(this._pathSegLen||this._calculateLength(),S=this._pathSegLen,b=this._pathLen,A=n*b,!A)))e:for(var D=0;D0&&(r.lineTo(L,O),M=0),V){case CMD$4.M:u=f=a[D++],c=d=a[D++],r.moveTo(f,d);break;case CMD$4.L:{v=a[D++],g=a[D++];var Y=mathAbs$2(v-f),ie=mathAbs$2(g-d);if(Y>o||ie>s){if(y){var j=S[w++];if(T+j>A){var le=(A-T)/j;r.lineTo(f*(1-le)+v*le,d*(1-le)+g*le);break e}T+=j}r.lineTo(v,g),f=v,d=g,M=0}else{var de=Y*Y+ie*ie;de>M&&(L=v,O=g,M=de)}break}case CMD$4.C:{var xe=a[D++],Ie=a[D++],Ce=a[D++],Fe=a[D++],Ue=a[D++],Pt=a[D++];if(y){var j=S[w++];if(T+j>A){var le=(A-T)/j;cubicSubdivide(f,xe,Ce,Ue,le,tmpOutX),cubicSubdivide(d,Ie,Fe,Pt,le,tmpOutY),r.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}T+=j}r.bezierCurveTo(xe,Ie,Ce,Fe,Ue,Pt),f=Ue,d=Pt;break}case CMD$4.Q:{var xe=a[D++],Ie=a[D++],Ce=a[D++],Fe=a[D++];if(y){var j=S[w++];if(T+j>A){var le=(A-T)/j;quadraticSubdivide(f,xe,Ce,le,tmpOutX),quadraticSubdivide(d,Ie,Fe,le,tmpOutY),r.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}T+=j}r.quadraticCurveTo(xe,Ie,Ce,Fe),f=Ce,d=Fe;break}case CMD$4.A:var Dt=a[D++],rr=a[D++],ur=a[D++],Sr=a[D++],_r=a[D++],xr=a[D++],Cr=a[D++],jt=!a[D++],ar=ur>Sr?ur:Sr,sr=mathAbs$2(ur-Sr)>.001,dr=_r+xr,fr=!1;if(y){var j=S[w++];T+j>A&&(dr=_r+xr*(A-T)/j,fr=!0),T+=j}if(sr&&r.ellipse?r.ellipse(Dt,rr,ur,Sr,Cr,_r,dr,jt):r.arc(Dt,rr,ar,_r,dr,jt),fr)break e;z&&(u=mathCos$3(_r)*ur+Dt,c=mathSin$3(_r)*Sr+rr),f=mathCos$3(dr)*ur+Dt,d=mathSin$3(dr)*Sr+rr;break;case CMD$4.R:u=f=a[D],c=d=a[D+1],v=a[D++],g=a[D++];var Ne=a[D++],ue=a[D++];if(y){var j=S[w++];if(T+j>A){var _e=A-T;r.moveTo(v,g),r.lineTo(v+mathMin$8(_e,Ne),g),_e-=Ne,_e>0&&r.lineTo(v+Ne,g+mathMin$8(_e,ue)),_e-=ue,_e>0&&r.lineTo(v+mathMax$8(Ne-_e,0),g+ue),_e-=Ne,_e>0&&r.lineTo(v,g+mathMax$8(ue-_e,0));break e}T+=j}r.rect(v,g,Ne,ue);break;case CMD$4.Z:if(y){var j=S[w++];if(T+j>A){var le=(A-T)/j;r.lineTo(f*(1-le)+u*le,d*(1-le)+c*le);break e}T+=j}r.closePath(),f=u,d=c}}},t.prototype.clone=function(){var r=new t,n=this.data;return r.data=n.slice?n.slice():Array.prototype.slice.call(n),r._len=this._len,r},t.CMD=CMD$4,t.initDefaultProps=function(){var r=t.prototype;r._saveData=!0,r._ux=0,r._uy=0,r._pendingPtDist=0,r._version=0}(),t}();function containStroke$4(t,r,n,a,o,s,l){if(o===0)return!1;var u=o,c=0,f=t;if(l>r+u&&l>a+u||lt+u&&s>n+u||sr+v&&d>a+v&&d>s+v&&d>u+v||dt+v&&f>n+v&&f>o+v&&f>l+v||fr+f&&c>a+f&&c>s+f||ct+f&&u>n+f&&u>o+f||un||d+fo&&(o+=PI2$5);var g=Math.atan2(c,u);return g<0&&(g+=PI2$5),g>=a&&g<=o||g+PI2$5>=a&&g+PI2$5<=o}function windingLine(t,r,n,a,o,s){if(s>r&&s>a||so?u:0}var CMD$3=PathProxy.CMD,PI2$4=Math.PI*2,EPSILON$1=1e-4;function isAroundEqual$1(t,r){return Math.abs(t-r)r&&f>a&&f>s&&f>u||f1&&swapExtrema(),y=cubicAt(r,a,s,u,extrema[0]),g>1&&(S=cubicAt(r,a,s,u,extrema[1]))),g===2?Tr&&u>a&&u>s||u=0&&f<=1){for(var d=0,v=quadraticAt$1(r,a,s,f),g=0;gn||u<-n)return 0;var c=Math.sqrt(n*n-u*u);roots[0]=-c,roots[1]=c;var f=Math.abs(a-o);if(f<1e-4)return 0;if(f>=PI2$4-1e-4){a=0,o=PI2$4;var d=s?1:-1;return l>=roots[0]+t&&l<=roots[1]+t?d:0}if(a>o){var v=a;a=o,o=v}a<0&&(a+=PI2$4,o+=PI2$4);for(var g=0,y=0;y<2;y++){var S=roots[y];if(S+t>l){var b=Math.atan2(u,S),d=s?1:-1;b<0&&(b=PI2$4+b),(b>=a&&b<=o||b+PI2$4>=a&&b+PI2$4<=o)&&(b>Math.PI/2&&b1&&(n||(u+=windingLine(c,f,d,v,a,o))),T&&(c=s[S],f=s[S+1],d=c,v=f),b){case CMD$3.M:d=s[S++],v=s[S++],c=d,f=v;break;case CMD$3.L:if(n){if(containStroke$4(c,f,s[S],s[S+1],r,a,o))return!0}else u+=windingLine(c,f,s[S],s[S+1],a,o)||0;c=s[S++],f=s[S++];break;case CMD$3.C:if(n){if(containStroke$3(c,f,s[S++],s[S++],s[S++],s[S++],s[S],s[S+1],r,a,o))return!0}else u+=windingCubic(c,f,s[S++],s[S++],s[S++],s[S++],s[S],s[S+1],a,o)||0;c=s[S++],f=s[S++];break;case CMD$3.Q:if(n){if(containStroke$2(c,f,s[S++],s[S++],s[S],s[S+1],r,a,o))return!0}else u+=windingQuadratic(c,f,s[S++],s[S++],s[S],s[S+1],a,o)||0;c=s[S++],f=s[S++];break;case CMD$3.A:var w=s[S++],A=s[S++],M=s[S++],L=s[S++],O=s[S++],D=s[S++];S+=1;var V=!!(1-s[S++]);g=Math.cos(O)*M+w,y=Math.sin(O)*L+A,T?(d=g,v=y):u+=windingLine(c,f,g,y,a,o);var z=(a-w)*L/M+w;if(n){if(containStroke$1(w,A,L,O,O+D,V,r,z,o))return!0}else u+=windingArc(w,A,L,O,O+D,V,z,o);c=Math.cos(O+D)*M+w,f=Math.sin(O+D)*L+A;break;case CMD$3.R:d=c=s[S++],v=f=s[S++];var Y=s[S++],ie=s[S++];if(g=d+Y,y=v+ie,n){if(containStroke$4(d,v,g,v,r,a,o)||containStroke$4(g,v,g,y,r,a,o)||containStroke$4(g,y,d,y,r,a,o)||containStroke$4(d,y,d,v,r,a,o))return!0}else u+=windingLine(g,v,g,y,a,o),u+=windingLine(d,y,d,v,a,o);break;case CMD$3.Z:if(n){if(containStroke$4(c,f,d,v,r,a,o))return!0}else u+=windingLine(c,f,d,v,a,o);c=d,f=v;break}}return!n&&!isAroundEqual$1(f,v)&&(u+=windingLine(c,f,d,v,a,o)||0),u!==0}function contain$2(t,r,n){return containPath(t,0,!1,r,n)}function containStroke(t,r,n,a){return containPath(t,r,!0,n,a)}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(n){return t.call(this,n)||this}return r.prototype.update=function(){var n=this;t.prototype.update.call(this);var a=this.style;if(a.decal){var o=this._decalEl=this._decalEl||new r;o.buildPath===r.prototype.buildPath&&(o.buildPath=function(c){n.buildPath(c,n.shape)}),o.silent=!0;var s=o.style;for(var l in a)s[l]!==a[l]&&(s[l]=a[l]);s.fill=a.fill?a.decal:null,s.decal=null,s.shadowColor=null,a.strokeFirst&&(s.stroke=null);for(var u=0;u.5?DARK_LABEL_COLOR:a>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if(n)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},r.prototype.getInsideTextStroke=function(n){var a=this.style.fill;if(isString$1(a)){var o=this.__zr,s=!!(o&&o.isDarkMode()),l=lum(n,0)0))},r.prototype.hasFill=function(){var n=this.style,a=n.fill;return a!=null&&a!=="none"},r.prototype.getBoundingRect=function(){var n=this._rect,a=this.style,o=!n;if(o){var s=!1;this.path||(s=!0,this.createPathProxy());var l=this.path;(s||this.__dirty&SHAPE_CHANGED_BIT)&&(l.beginPath(),this.buildPath(l,this.shape,!1),this.pathUpdated()),n=l.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var u=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||o){u.copy(n);var c=a.strokeNoScale?this.getLineScale():1,f=a.lineWidth;if(!this.hasFill()){var d=this.strokeContainThreshold;f=Math.max(f,d??4)}c>1e-10&&(u.width+=f/c,u.height+=f/c,u.x-=f/c/2,u.y-=f/c/2)}return u}return n},r.prototype.contain=function(n,a){var o=this.transformCoordToLocal(n,a),s=this.getBoundingRect(),l=this.style;if(n=o[0],a=o[1],s.contain(n,a)){var u=this.path;if(this.hasStroke()){var c=l.lineWidth,f=l.strokeNoScale?this.getLineScale():1;if(f>1e-10&&(this.hasFill()||(c=Math.max(c,this.strokeContainThreshold)),containStroke(u,c/f,n,a)))return!0}if(this.hasFill())return contain$2(u,n,a)}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(n){return this.animate("shape",n)},r.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},r.prototype.attrKV=function(n,a){n==="shape"?this.setShape(a):t.prototype.attrKV.call(this,n,a)},r.prototype.setShape=function(n,a){var o=this.shape;return o||(o=this.shape={}),typeof n=="string"?o[n]=a:extend(o,n),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},r.prototype.createStyle=function(n){return createObject(DEFAULT_PATH_STYLE,n)},r.prototype._innerSaveToNormal=function(n){t.prototype._innerSaveToNormal.call(this,n);var a=this._normalState;n.shape&&!a.shape&&(a.shape=extend({},this.shape))},r.prototype._applyStateObj=function(n,a,o,s,l,u){t.prototype._applyStateObj.call(this,n,a,o,s,l,u);var c=!(a&&s),f;if(a&&a.shape?l?s?f=a.shape:(f=extend({},o.shape),extend(f,a.shape)):(f=extend({},s?this.shape:o.shape),extend(f,a.shape)):c&&(f=o.shape),f)if(l){this.shape=extend({},this.shape);for(var d={},v=keys(f),g=0;g0},r.prototype.hasFill=function(){var n=this.style,a=n.fill;return a!=null&&a!=="none"},r.prototype.createStyle=function(n){return createObject(DEFAULT_TSPAN_STYLE,n)},r.prototype.setBoundingRect=function(n){this._rect=n},r.prototype.getBoundingRect=function(){var n=this.style;if(!this._rect){var a=n.text;a!=null?a+="":a="";var o=getBoundingRect(a,n.font,n.textAlign,n.textBaseline);if(o.x+=n.x||0,o.y+=n.y||0,this.hasStroke()){var s=n.lineWidth;o.x-=s/2,o.y-=s/2,o.width+=s,o.height+=s}this._rect=o}return this._rect},r.initDefaultProps=function(){var n=r.prototype;n.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$1(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(n){return createObject(DEFAULT_IMAGE_STYLE,n)},r.prototype._getSize=function(n){var a=this.style,o=a[n];if(o!=null)return o;var s=isImageLike$1(a.image)?a.image:this.__image;if(!s)return 0;var l=n==="width"?"height":"width",u=a[l];return u==null?s[n]:s[n]/s[l]*u},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 n=this.style;return this._rect||(this._rect=new BoundingRect$1(n.x||0,n.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 n=r.x,a=r.y,o=r.width,s=r.height,l=r.r,u,c,f,d;o<0&&(n=n+o,o=-o),s<0&&(a=a+s,s=-s),typeof l=="number"?u=c=f=d=l:l instanceof Array?l.length===1?u=c=f=d=l[0]:l.length===2?(u=f=l[0],c=d=l[1]):l.length===3?(u=l[0],c=d=l[1],f=l[2]):(u=l[0],c=l[1],f=l[2],d=l[3]):u=c=f=d=0;var v;u+c>o&&(v=u+c,u*=o/v,c*=o/v),f+d>o&&(v=f+d,f*=o/v,d*=o/v),c+f>s&&(v=c+f,c*=s/v,f*=s/v),u+d>s&&(v=u+d,u*=s/v,d*=s/v),t.moveTo(n+u,a),t.lineTo(n+o-c,a),c!==0&&t.arc(n+o-c,a+c,c,-Math.PI/2,0),t.lineTo(n+o,a+s-f),f!==0&&t.arc(n+o-f,a+s-f,f,0,Math.PI/2),t.lineTo(n+d,a+s),d!==0&&t.arc(n+d,a+s-d,d,Math.PI/2,Math.PI),t.lineTo(n,a+u),u!==0&&t.arc(n+u,a+u,u,Math.PI,Math.PI*1.5)}var round$2=Math.round;function subPixelOptimizeLine$1(t,r,n){if(r){var a=r.x1,o=r.x2,s=r.y1,l=r.y2;t.x1=a,t.x2=o,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u&&(round$2(a*2)===round$2(o*2)&&(t.x1=t.x2=subPixelOptimize$1(a,u,!0)),round$2(s*2)===round$2(l*2)&&(t.y1=t.y2=subPixelOptimize$1(s,u,!0))),t}}function subPixelOptimizeRect$1(t,r,n){if(r){var a=r.x,o=r.y,s=r.width,l=r.height;t.x=a,t.y=o,t.width=s,t.height=l;var u=n&&n.lineWidth;return u&&(t.x=subPixelOptimize$1(a,u,!0),t.y=subPixelOptimize$1(o,u,!0),t.width=Math.max(subPixelOptimize$1(a+s,u,!1)-t.x,s===0?0:1),t.height=Math.max(subPixelOptimize$1(o+l,u,!1)-t.y,l===0?0:1)),t}}function subPixelOptimize$1(t,r,n){if(!r)return t;var a=round$2(t*2);return(a+round$2(r))%2===0?a/2:(a+(n?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$2=function(t){__extends(r,t);function r(n){return t.call(this,n)||this}return r.prototype.getDefaultShape=function(){return new RectShape},r.prototype.buildPath=function(n,a){var o,s,l,u;if(this.subPixelOptimize){var c=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,a,this.style);o=c.x,s=c.y,l=c.width,u=c.height,c.r=a.r,a=c}else o=a.x,s=a.y,l=a.width,u=a.height;a.r?buildPath$2(n,a):n.rect(o,s,l,u)},r.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},r}(Path$1);Rect$2.prototype.type="rect";const Rect$3=Rect$2;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(n){var a=t.call(this)||this;return a.type="text",a._children=[],a._defaultStyle=DEFAULT_RICH_TEXT_COLOR,a.attr(n),a}return r.prototype.childrenRef=function(){return this._children},r.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n0,le=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),de=l.calculatedLineHeight,xe=0;xe=0&&(xe=D[de],xe.align==="right");)this._placeToken(xe,n,z,w,le,"right",M),Y-=xe.width,le-=xe.width,de--;for(j+=(s-(j-T)-(A-le)-Y)/2;ie<=de;)xe=D[ie],this._placeToken(xe,n,z,w,j+xe.width/2,"center",M),j+=xe.width,ie++;w+=z}},r.prototype._placeToken=function(n,a,o,s,l,u,c){var f=a.rich[n.styleName]||{};f.text=n.text;var d=n.verticalAlign,v=s+o/2;d==="top"?v=s+n.height/2:d==="bottom"&&(v=s+o-n.height/2);var g=!n.isLineHolder&&needDrawBackground(f);g&&this._renderBackground(f,a,u==="right"?l-n.width:u==="center"?l-n.width/2:l,v-n.height/2,n.width,n.height);var y=!!f.backgroundColor,S=n.textPadding;S&&(l=getTextXForPadding(l,u,S),v-=n.height/2-S[0]-n.innerHeight/2);var b=this._getOrCreateChild(TSpan$1),T=b.createStyle();b.useStyle(T);var w=this._defaultStyle,A=!1,M=0,L=getFill("fill"in f?f.fill:"fill"in a?a.fill:(A=!0,w.fill)),O=getStroke("stroke"in f?f.stroke:"stroke"in a?a.stroke:!y&&!c&&(!w.autoStroke||A)?(M=DEFAULT_STROKE_LINE_WIDTH,w.stroke):null),D=f.textShadowBlur>0||a.textShadowBlur>0;T.text=n.text,T.x=l,T.y=v,D&&(T.shadowBlur=f.textShadowBlur||a.textShadowBlur||0,T.shadowColor=f.textShadowColor||a.textShadowColor||"transparent",T.shadowOffsetX=f.textShadowOffsetX||a.textShadowOffsetX||0,T.shadowOffsetY=f.textShadowOffsetY||a.textShadowOffsetY||0),T.textAlign=u,T.textBaseline="middle",T.font=n.font||DEFAULT_FONT,T.opacity=retrieve3(f.opacity,a.opacity,1),setSeparateFont(T,f),O&&(T.lineWidth=retrieve3(f.lineWidth,a.lineWidth,M),T.lineDash=retrieve2(f.lineDash,a.lineDash),T.lineDashOffset=a.lineDashOffset||0,T.stroke=O),L&&(T.fill=L);var V=n.contentWidth,z=n.contentHeight;b.setBoundingRect(new BoundingRect$1(adjustTextX(T.x,V,T.textAlign),adjustTextY(T.y,z,T.textBaseline),V,z))},r.prototype._renderBackground=function(n,a,o,s,l,u){var c=n.backgroundColor,f=n.borderWidth,d=n.borderColor,v=c&&c.image,g=c&&!v,y=n.borderRadius,S=this,b,T;if(g||n.lineHeight||f&&d){b=this._getOrCreateChild(Rect$3),b.useStyle(b.createStyle()),b.style.fill=null;var w=b.shape;w.x=o,w.y=s,w.width=l,w.height=u,w.r=y,b.dirtyShape()}if(g){var A=b.style;A.fill=c||null,A.fillOpacity=retrieve2(n.fillOpacity,1)}else if(v){T=this._getOrCreateChild(ZRImage$1),T.onload=function(){S.dirtyStyle()};var M=T.style;M.image=c.image,M.x=o,M.y=s,M.width=l,M.height=u}if(f&&d){var A=b.style;A.lineWidth=f,A.stroke=d,A.strokeOpacity=retrieve2(n.strokeOpacity,1),A.lineDash=n.borderDash,A.lineDashOffset=n.borderDashOffset||0,b.strokeContainThreshold=0,b.hasFill()&&b.hasStroke()&&(A.strokeFirst=!0,A.lineWidth*=2)}var L=(b||T).style;L.shadowBlur=n.shadowBlur||0,L.shadowColor=n.shadowColor||"transparent",L.shadowOffsetX=n.shadowOffsetX||0,L.shadowOffsetY=n.shadowOffsetY||0,L.opacity=retrieve3(n.opacity,a.opacity,1)},r.makeFont=function(n){var a="";return hasSeparateFont(n)&&(a=[n.fontStyle,n.fontWeight,parseFontSize(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),a&&trim$1(a)||n.textFont||n.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 n=0;n=0,s=!1;if(t instanceof Path$1){var l=getSavedStates(t),u=o&&l.selectFill||l.normalFill,c=o&&l.selectStroke||l.normalStroke;if(hasFillOrStroke(u)||hasFillOrStroke(c)){a=a||{};var f=a.style||{};f.fill==="inherit"?(s=!0,a=extend({},a),f=extend({},f),f.fill=u):!hasFillOrStroke(f.fill)&&hasFillOrStroke(u)?(s=!0,a=extend({},a),f=extend({},f),f.fill=liftColor(u)):!hasFillOrStroke(f.stroke)&&hasFillOrStroke(c)&&(s||(a=extend({},a),f=extend({},f)),f.stroke=liftColor(c)),a.style=f}}if(a&&a.z2==null){s||(a=extend({},a));var d=t.z2EmphasisLift;a.z2=t.z2+(d??Z2_EMPHASIS_LIFT)}return a}function createSelectDefaultState(t,r,n){if(n&&n.z2==null){n=extend({},n);var a=t.z2SelectLift;n.z2=t.z2+(a??Z2_SELECT_LIFT)}return n}function createBlurDefaultState(t,r,n){var a=indexOf(t.currentStates,r)>=0,o=t.style.opacity,s=a?null:getFromStateStyle(t,["opacity"],r,{opacity:1});n=n||{};var l=n.style||{};return l.opacity==null&&(n=extend({},n),l=extend({opacity:a?o:s.opacity*.1},l),n.style=l),n}function elementStateProxy(t,r){var n=this.states[t];if(this.style){if(t==="emphasis")return createEmphasisDefaultState(this,t,r,n);if(t==="blur")return createBlurDefaultState(this,t,n);if(t==="select")return createSelectDefaultState(this,t,n)}return n}function setDefaultStateProxy(t){t.stateProxy=elementStateProxy;var r=t.getTextContent(),n=t.getTextGuideLine();r&&(r.stateProxy=elementStateProxy),n&&(n.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(),n=[],a=[];r.eachComponent(function(o,s){var l=getComponentStates(s),u=o==="series",c=u?t.getViewOfSeriesModel(s):t.getViewOfComponentModel(s);!u&&a.push(c),l.isBlured&&(c.group.traverse(function(f){singleLeaveBlur(f)}),u&&n.push(s)),l.isBlured=!1}),each$f(a,function(o){o&&o.toggleBlurSeries&&o.toggleBlurSeries(n,!1,r)})}function blurSeries(t,r,n,a){var o=a.getModel();n=n||"coordinateSystem";function s(f,d){for(var v=0;v0){var u={dataIndex:l,seriesIndex:n.seriesIndex};s!=null&&(u.dataType=s),r.push(u)}})}),r}function enableHoverEmphasis(t,r,n){setAsHighDownDispatcher(t,!0),traverseUpdateState(t,setDefaultStateProxy),enableHoverFocus(t,r,n)}function disableHoverEmphasis(t){setAsHighDownDispatcher(t,!1)}function toggleHoverEmphasis(t,r,n,a){a?disableHoverEmphasis(t):enableHoverEmphasis(t,r,n)}function enableHoverFocus(t,r,n){var a=getECData(t);r!=null?(a.focus=r,a.blurScope=n):a.focus&&(a.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(t,r,n,a){n=n||"itemStyle";for(var o=0;o1&&(l*=mathSqrt$1(S),u*=mathSqrt$1(S));var b=(o===s?-1:1)*mathSqrt$1((l*l*(u*u)-l*l*(y*y)-u*u*(g*g))/(l*l*(y*y)+u*u*(g*g)))||0,T=b*l*y/u,w=b*-u*g/l,A=(t+n)/2+mathCos$2(v)*T-mathSin$2(v)*w,M=(r+a)/2+mathSin$2(v)*T+mathCos$2(v)*w,L=vAngle([1,0],[(g-T)/l,(y-w)/u]),O=[(g-T)/l,(y-w)/u],D=[(-1*g-T)/l,(-1*y-w)/u],V=vAngle(O,D);if(vRatio(O,D)<=-1&&(V=PI$7),vRatio(O,D)>=1&&(V=0),V<0){var z=Math.round(V/PI$7*1e6)/1e6;V=PI$7*2+z%2*PI$7}d.addData(f,A,M,l,u,L,V,v,s)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,numberReg$1=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString(t){var r=new PathProxy;if(!t)return r;var n=0,a=0,o=n,s=a,l,u=PathProxy.CMD,c=t.match(commandReg);if(!c)return r;for(var f=0;fxe*xe+Ie*Ie&&(z=ie,Y=j),{cx:z,cy:Y,x0:-d,y0:-v,x1:z*(o/O-1),y1:Y*(o/O-1)}}function normalizeCornerRadius(t){var r;if(isArray$2(t)){var n=t.length;if(!n)return t;n===1?r=[t[0],t[0],0,0]:n===2?r=[t[0],t[0],t[1],t[1]]:n===3?r=t.concat(t[2]):r=t}else r=[t,t,t,t];return r}function buildPath$1(t,r){var n,a=mathMax$7(r.r,0),o=mathMax$7(r.r0||0,0),s=a>0,l=o>0;if(!(!s&&!l)){if(s||(a=o,o=0),o>a){var u=a;a=o,o=u}var c=r.startAngle,f=r.endAngle;if(!(isNaN(c)||isNaN(f))){var d=r.cx,v=r.cy,g=!!r.clockwise,y=mathAbs$1(f-c),S=y>PI2$3&&y%PI2$3;if(S>e&&(y=S),!(a>e))t.moveTo(d,v);else if(y>PI2$3-e)t.moveTo(d+a*mathCos$1(c),v+a*mathSin$1(c)),t.arc(d,v,a,c,f,!g),o>e&&(t.moveTo(d+o*mathCos$1(f),v+o*mathSin$1(f)),t.arc(d,v,o,f,c,g));else{var b=void 0,T=void 0,w=void 0,A=void 0,M=void 0,L=void 0,O=void 0,D=void 0,V=void 0,z=void 0,Y=void 0,ie=void 0,j=void 0,le=void 0,de=void 0,xe=void 0,Ie=a*mathCos$1(c),Ce=a*mathSin$1(c),Fe=o*mathCos$1(f),Ue=o*mathSin$1(f),Pt=y>e;if(Pt){var Dt=r.cornerRadius;Dt&&(n=normalizeCornerRadius(Dt),b=n[0],T=n[1],w=n[2],A=n[3]);var rr=mathAbs$1(a-o)/2;if(M=mathMin$7(rr,w),L=mathMin$7(rr,A),O=mathMin$7(rr,b),D=mathMin$7(rr,T),Y=V=mathMax$7(M,L),ie=z=mathMax$7(O,D),(V>e||z>e)&&(j=a*mathCos$1(f),le=a*mathSin$1(f),de=o*mathCos$1(c),xe=o*mathSin$1(c),ye){var sr=mathMin$7(w,Y),dr=mathMin$7(A,Y),fr=computeCornerTangents(de,xe,Ie,Ce,a,sr,g),Ne=computeCornerTangents(j,le,Fe,Ue,a,dr,g);t.moveTo(d+fr.cx+fr.x0,v+fr.cy+fr.y0),Y0&&t.arc(d+fr.cx,v+fr.cy,sr,mathATan2(fr.y0,fr.x0),mathATan2(fr.y1,fr.x1),!g),t.arc(d,v,a,mathATan2(fr.cy+fr.y1,fr.cx+fr.x1),mathATan2(Ne.cy+Ne.y1,Ne.cx+Ne.x1),!g),dr>0&&t.arc(d+Ne.cx,v+Ne.cy,dr,mathATan2(Ne.y1,Ne.x1),mathATan2(Ne.y0,Ne.x0),!g))}else t.moveTo(d+Ie,v+Ce),t.arc(d,v,a,c,f,!g);if(!(o>e)||!Pt)t.lineTo(d+Fe,v+Ue);else if(ie>e){var sr=mathMin$7(b,ie),dr=mathMin$7(T,ie),fr=computeCornerTangents(Fe,Ue,j,le,o,-dr,g),Ne=computeCornerTangents(Ie,Ce,de,xe,o,-sr,g);t.lineTo(d+fr.cx+fr.x0,v+fr.cy+fr.y0),ie0&&t.arc(d+fr.cx,v+fr.cy,dr,mathATan2(fr.y0,fr.x0),mathATan2(fr.y1,fr.x1),!g),t.arc(d,v,o,mathATan2(fr.cy+fr.y1,fr.cx+fr.x1),mathATan2(Ne.cy+Ne.y1,Ne.cx+Ne.x1),g),sr>0&&t.arc(d+Ne.cx,v+Ne.cy,sr,mathATan2(Ne.y1,Ne.x1),mathATan2(Ne.y0,Ne.x0),!g))}else t.lineTo(d+Fe,v+Ue),t.arc(d,v,o,f,c,g)}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(n){return t.call(this,n)||this}return r.prototype.getDefaultShape=function(){return new SectorShape},r.prototype.buildPath=function(n,a){buildPath$1(n,a)},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(n){return t.call(this,n)||this}return r.prototype.getDefaultShape=function(){return new RingShape},r.prototype.buildPath=function(n,a){var o=a.cx,s=a.cy,l=Math.PI*2;n.moveTo(o+a.r,s),n.arc(o,s,a.r,0,l,!1),n.moveTo(o+a.r0,s),n.arc(o,s,a.r0,0,l,!0)},r}(Path$1);Ring.prototype.type="ring";const Ring$1=Ring;function smoothBezier(t,r,n,a){var o=[],s=[],l=[],u=[],c,f,d,v;if(a){d=[1/0,1/0],v=[-1/0,-1/0];for(var g=0,y=t.length;g=2){if(a){var s=smoothBezier(o,a,n,r.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(n?l:l-1);u++){var c=s[u*2],f=s[u*2+1],d=o[(u+1)%l];t.bezierCurveTo(c[0],c[1],f[0],f[1],d[0],d[1])}}else{t.moveTo(o[0][0],o[0][1]);for(var u=1,v=o.length;uextent2[1]){if(u=!1,s)return u;var d=Math.abs(extent2[0]-extent[1]),v=Math.abs(extent[0]-extent2[1]);Math.min(d,v)>o.len()&&(d0){var v=d.duration,g=d.delay,y=d.easing,S={duration:v,delay:g||0,easing:y,done:s,force:!!s||!!l,setToFinal:!f,scope:t,during:l};u?r.animateFrom(n,S):r.animateTo(n,S)}else r.stopAnimation(),!u&&r.attr(n),l&&l(1),s&&s()}function updateProps$1(t,r,n,a,o,s){animateOrSetProps("update",t,r,n,a,o,s)}function initProps(t,r,n,a,o,s){animateOrSetProps("enter",t,r,n,a,o,s)}function isElementRemoved(t){if(!t.__zr)return!0;for(var r=0;rMath.abs(s[1])?s[0]>0?"right":"left":s[1]>0?"bottom":"top"}function isNotGroup(t){return!t.isGroup}function isPath$1(t){return t.shape!=null}function groupTransition(t,r,n){if(!t||!r)return;function a(l){var u={};return l.traverse(function(c){isNotGroup(c)&&c.anid&&(u[c.anid]=c)}),u}function o(l){var u={x:l.x,y:l.y,rotation:l.rotation};return isPath$1(l)&&(u.shape=extend({},l.shape)),u}var s=a(t);r.traverse(function(l){if(isNotGroup(l)&&l.anid){var u=s[l.anid];if(u){var c=o(l);l.attr(o(u)),updateProps$1(l,c,n,getECData(l).dataIndex)}}})}function clipPointsByRect(t,r){return map$1(t,function(n){var a=n[0];a=mathMax$6(a,r.x),a=mathMin$6(a,r.x+r.width);var o=n[1];return o=mathMax$6(o,r.y),o=mathMin$6(o,r.y+r.height),[a,o]})}function clipRectByRect(t,r){var n=mathMax$6(t.x,r.x),a=mathMin$6(t.x+t.width,r.x+r.width),o=mathMax$6(t.y,r.y),s=mathMin$6(t.y+t.height,r.y+r.height);if(a>=n&&s>=o)return{x:n,y:o,width:a-n,height:s-o}}function createIcon(t,r,n){var a=extend({rectHover:!0},r),o=a.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return t.indexOf("image://")===0?(o.image=t.slice(8),defaults(o,n),new ZRImage$1(a)):makePath(t.replace("path://",""),a,n,"center")}function linePolygonIntersect(t,r,n,a,o){for(var s=0,l=o[o.length-1];s1)return!1;var T=crossProduct2d$1(y,S,d,v)/g;return!(T<0||T>1)}function crossProduct2d$1(t,r,n,a){return t*a-n*r}function nearZero(t){return t<=1e-6&&t>=-1e-6}function setTooltipConfig(t){var r=t.itemTooltipOption,n=t.componentModel,a=t.itemName,o=isString$1(r)?{formatter:r}:r,s=n.mainType,l=n.componentIndex,u={componentType:s,name:a,$vars:["name"]};u[s+"Index"]=l;var c=t.formatterParamsExtra;c&&each$f(keys(c),function(d){hasOwn$1(u,d)||(u[d]=c[d],u.$vars.push(d))});var f=getECData(t.el);f.componentMainType=s,f.componentIndex=l,f.tooltipConfig={name:a,option:defaults({content:a,formatterParams:u},o)}}function traverseElement(t,r){var n;t.isGroup&&(n=r(t)),n||t.traverse(r)}function traverseElements(t,r){if(t)if(isArray$2(t))for(var n=0;n=0&&u.push(c)}),u}}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$1=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$1}():DEFAULT_LOCALE$1;function registerLocale(t,r){t=t.toUpperCase(),localeModels[t]=new Model$1(r),localeStorage[t]=r}function createLocaleObject(t){if(isString$1(t)){var r=localeStorage[t.toUpperCase()]||{};return t===LOCALE_ZH||t===LOCALE_EN?clone$4(r):merge(clone$4(r),clone$4(localeStorage[DEFAULT_LOCALE$1]),!1)}else return merge(clone$4(t),clone$4(localeStorage[DEFAULT_LOCALE$1]),!1)}function getLocaleModel(t){return localeModels[t]}function getDefaultLocaleModel(){return localeModels[DEFAULT_LOCALE$1]}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(t,r,n,a){var o=parseDate(t),s=o[fullYearGetterName(n)](),l=o[monthGetterName(n)]()+1,u=Math.floor((l-1)/3)+1,c=o[dateGetterName(n)](),f=o["get"+(n?"UTC":"")+"Day"](),d=o[hoursGetterName(n)](),v=(d-1)%12+1,g=o[minutesGetterName(n)](),y=o[secondsGetterName(n)](),S=o[millisecondsGetterName(n)](),b=a instanceof Model$1?a:getLocaleModel(a||SYSTEM_LANG)||getDefaultLocaleModel(),T=b.getModel("time"),w=T.get("month"),A=T.get("monthAbbr"),M=T.get("dayOfWeek"),L=T.get("dayOfWeekAbbr");return(r||"").replace(/{yyyy}/g,s+"").replace(/{yy}/g,s%100+"").replace(/{Q}/g,u+"").replace(/{MMMM}/g,w[l-1]).replace(/{MMM}/g,A[l-1]).replace(/{MM}/g,pad(l,2)).replace(/{M}/g,l+"").replace(/{dd}/g,pad(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,M[f]).replace(/{ee}/g,L[f]).replace(/{e}/g,f+"").replace(/{HH}/g,pad(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,pad(v+"",2)).replace(/{h}/g,v+"").replace(/{mm}/g,pad(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,pad(y,2)).replace(/{s}/g,y+"").replace(/{SSS}/g,pad(S,3)).replace(/{S}/g,S+"")}function leveledFormat(t,r,n,a,o){var s=null;if(isString$1(n))s=n;else if(isFunction$1(n))s=n(t.value,r,{level:t.level});else{var l=extend({},defaultLeveledFormatter);if(t.level>0)for(var u=0;u=0;--u)if(c[f]){s=c[f];break}s=s||l.none}if(isArray$2(s)){var v=t.level==null?0:t.level>=0?t.level:s.length+t.level;v=Math.min(v,s.length-1),s=s[v]}}return format(new Date(t.value),s,o,a)}function getUnitFromValue(t,r){var n=parseDate(t),a=n[monthGetterName(r)]()+1,o=n[dateGetterName(r)](),s=n[hoursGetterName(r)](),l=n[minutesGetterName(r)](),u=n[secondsGetterName(r)](),c=n[millisecondsGetterName(r)](),f=c===0,d=f&&u===0,v=d&&l===0,g=v&&s===0,y=g&&o===1,S=y&&a===1;return S?"year":y?"month":g?"day":v?"hour":d?"minute":f?"second":"millisecond"}function getUnitValue(t,r,n){var a=isNumber$1(t)?parseDate(t):t;switch(r=r||getUnitFromValue(t,n),r){case"year":return a[fullYearGetterName(n)]();case"half-year":return a[monthGetterName(n)]()>=6?1:0;case"quarter":return Math.floor((a[monthGetterName(n)]()+1)/4);case"month":return a[monthGetterName(n)]();case"day":return a[dateGetterName(n)]();case"half-day":return a[hoursGetterName(n)]()/24;case"hour":return a[hoursGetterName(n)]();case"minute":return a[minutesGetterName(n)]();case"second":return a[secondsGetterName(n)]();case"millisecond":return a[millisecondsGetterName(n)]()}}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 addCommas(t){if(!isNumeric(t))return isString$1(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(n,a){return a.toUpperCase()}),r&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable(t,r,n){var a="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function o(d){return d&&trim$1(d)?d:"-"}function s(d){return!!(d!=null&&!isNaN(d)&&isFinite(d))}var l=r==="time",u=t instanceof Date;if(l||u){var c=l?parseDate(t):t;if(isNaN(+c)){if(u)return"-"}else return format(c,a,n)}if(r==="ordinal")return isStringSafe(t)?o(t):isNumber$1(t)&&s(t)?t+"":"-";var f=numericToNumber(t);return s(f)?addCommas(f):isStringSafe(t)?o(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,n){isArray$2(r)||(r=[r]);var a=r.length;if(!a)return"";for(var o=r[0].$vars||[],s=0;s':'';var l=n.markerId||"markerX";return{renderMode:s,content:"{"+l+"|} ",style:o==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}}function convertToColorString(t,r){return r=r||"transparent",isString$1(t)?t:isObject$4(t)&&t.colorStops&&(t.colorStops[0]||{}).color||r}function windowOpen(t,r){if(r==="_blank"||r==="blank"){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,r)}var each$e=each$f,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout(t,r,n,a,o){var s=0,l=0;a==null&&(a=1/0),o==null&&(o=1/0);var u=0;r.eachChild(function(c,f){var d=c.getBoundingRect(),v=r.childAt(f+1),g=v&&v.getBoundingRect(),y,S;if(t==="horizontal"){var b=d.width+(g?-g.x+d.x:0);y=s+b,y>a||c.newline?(s=0,y=b,l+=u+n,u=d.height):u=Math.max(u,d.height)}else{var T=d.height+(g?-g.y+d.y:0);S=l+T,S>o||c.newline?(s+=u+n,l=0,S=T,u=d.width):u=Math.max(u,d.width)}c.newline||(c.x=s,c.y=l,c.markRedraw(),t==="horizontal"?s=y+n:l=S+n)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getAvailableSize(t,r,n){var a=r.width,o=r.height,s=parsePercent(t.left,a),l=parsePercent(t.top,o),u=parsePercent(t.right,a),c=parsePercent(t.bottom,o);return(isNaN(s)||isNaN(parseFloat(t.left)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.right)))&&(u=a),(isNaN(l)||isNaN(parseFloat(t.top)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.bottom)))&&(c=o),n=normalizeCssArray(n||0),{width:Math.max(u-s-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}}function getLayoutRect(t,r,n){n=normalizeCssArray(n||0);var a=r.width,o=r.height,s=parsePercent(t.left,a),l=parsePercent(t.top,o),u=parsePercent(t.right,a),c=parsePercent(t.bottom,o),f=parsePercent(t.width,a),d=parsePercent(t.height,o),v=n[2]+n[0],g=n[1]+n[3],y=t.aspect;switch(isNaN(f)&&(f=a-u-g-s),isNaN(d)&&(d=o-c-v-l),y!=null&&(isNaN(f)&&isNaN(d)&&(y>a/o?f=a*.8:d=o*.8),isNaN(f)&&(f=y*d),isNaN(d)&&(d=f/y)),isNaN(s)&&(s=a-u-f-g),isNaN(l)&&(l=o-c-d-v),t.left||t.right){case"center":s=a/2-f/2-n[3];break;case"right":s=a-f-g;break}switch(t.top||t.bottom){case"middle":case"center":l=o/2-d/2-n[0];break;case"bottom":l=o-d-v;break}s=s||0,l=l||0,isNaN(f)&&(f=a-g-s-(u||0)),isNaN(d)&&(d=o-v-l-(c||0));var S=new BoundingRect$1(s+n[3],l+n[0],f,d);return S.margin=n,S}function positionElement(t,r,n,a,o,s){var l=!o||!o.hv||o.hv[0],u=!o||!o.hv||o.hv[1],c=o&&o.boundingMode||"all";if(s=s||t,s.x=t.x,s.y=t.y,!l&&!u)return!1;var f;if(c==="raw")f=t.type==="group"?new BoundingRect$1(0,0,+r.width||0,+r.height||0):t.getBoundingRect();else if(f=t.getBoundingRect(),t.needLocalTransform()){var d=t.getLocalTransform();f=f.clone(),f.applyTransform(d)}var v=getLayoutRect(defaults({width:f.width,height:f.height},r),n,a),g=l?v.x-f.x:0,y=u?v.y-f.y:0;return c==="raw"?(s.x=g,s.y=y):(s.x+=g,s.y+=y),s===t&&t.markRedraw(),!0}function sizeCalculable(t,r){return t[HV_NAMES[r][0]]!=null||t[HV_NAMES[r][1]]!=null&&t[HV_NAMES[r][2]]!=null}function fetchLayoutMode(t){var r=t.layoutMode||t.constructor.layoutMode;return isObject$4(r)?r:r?{type:r}:null}function mergeLayoutParam(t,r,n){var a=n&&n.ignoreSize;!isArray$2(a)&&(a=[a,a]);var o=l(HV_NAMES[0],0),s=l(HV_NAMES[1],1);f(HV_NAMES[0],t,o),f(HV_NAMES[1],t,s);function l(d,v){var g={},y=0,S={},b=0,T=2;if(each$e(d,function(M){S[M]=t[M]}),each$e(d,function(M){u(r,M)&&(g[M]=S[M]=r[M]),c(g,M)&&y++,c(S,M)&&b++}),a[v])return c(r,d[1])?S[d[2]]=null:c(r,d[2])&&(S[d[1]]=null),S;if(b===T||!y)return S;if(y>=T)return g;for(var w=0;w=0;c--)u=merge(u,o[c],!0);a.defaultOption=u}return a.defaultOption},r.prototype.getReferringComponents=function(n,a){var o=n+"Index",s=n+"Id";return queryReferringComponents(this.ecModel,n,{index:this.get(o,!0),id:this.get(s,!0)},a)},r.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},r.prototype.getZLevelKey=function(){return""},r.prototype.setZLevel=function(n){this.option.zlevel=n},r.protoInitialize=function(){var n=r.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0}(),r}(Model$1);mountExtend(ComponentModel,Model$1);enableClassManagement(ComponentModel);enableSubTypeDefaulter(ComponentModel);enableTopologicalTravel(ComponentModel,getDependencies);function getDependencies(t){var r=[];return each$f(ComponentModel.getClassesByMainType(t),function(n){r=r.concat(n.dependencies||n.prototype.dependencies||[])}),r=map$1(r,function(n){return parseClassType(n).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,n){var a={},o=querySeriesUpstreamDatasetModel(r);if(!o||!t)return a;var s=[],l=[],u=r.ecModel,c=innerGlobalModel(u).datasetMap,f=o.uid+"_"+n.seriesLayoutBy,d,v;t=t.slice(),each$f(t,function(b,T){var w=isObject$4(b)?b:t[T]={name:b};w.type==="ordinal"&&d==null&&(d=T,v=S(w)),a[w.name]=[]});var g=c.get(f)||c.set(f,{categoryWayDim:v,valueWayDim:0});each$f(t,function(b,T){var w=b.name,A=S(b);if(d==null){var M=g.valueWayDim;y(a[w],M,A),y(l,M,A),g.valueWayDim+=A}else if(d===T)y(a[w],0,A),y(s,0,A);else{var M=g.categoryWayDim;y(a[w],M,A),y(l,M,A),g.categoryWayDim+=A}});function y(b,T,w){for(var A=0;Ar)return t[a];return t[n-1]}function getFromPalette(t,r,n,a,o,s,l){s=s||t;var u=r(s),c=u.paletteIdx||0,f=u.paletteNameMap=u.paletteNameMap||{};if(f.hasOwnProperty(o))return f[o];var d=l==null||!a?n:getNearestPalette(a,l);if(d=d||n,!(!d||!d.length)){var v=d[c];return o&&(f[o]=v),u.paletteIdx=(c+1)%d.length,v}}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(n,a,o,s,l,u){s=s||{},this.option=null,this._theme=new Model$1(s),this._locale=new Model$1(l),this._optionManager=u},r.prototype.setOption=function(n,a,o){var s=normalizeSetOptionInput(a);this._optionManager.setOption(n,o,s),this._resetOption(null,s)},r.prototype.resetOption=function(n,a){return this._resetOption(n,normalizeSetOptionInput(a))},r.prototype._resetOption=function(n,a){var o=!1,s=this._optionManager;if(!n||n==="recreate"){var l=s.mountOption(n==="recreate");!this.option||n==="recreate"?initBase(this,l):(this.restoreData(),this._mergeOption(l,a)),o=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var u=s.getTimelineOption(this);u&&(o=!0,this._mergeOption(u,a))}if(!n||n==="recreate"||n==="media"){var c=s.getMediaOption(this);c.length&&each$f(c,function(f){o=!0,this._mergeOption(f,a)},this)}return o},r.prototype.mergeOption=function(n){this._mergeOption(n,null)},r.prototype._mergeOption=function(n,a){var o=this.option,s=this._componentsMap,l=this._componentsCount,u=[],c=createHashMap(),f=a&&a.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$f(n,function(v,g){v!=null&&(ComponentModel$1.hasClass(g)?g&&(u.push(g),c.set(g,!0)):o[g]=o[g]==null?clone$4(v):merge(o[g],v,!0))}),f&&f.each(function(v,g){ComponentModel$1.hasClass(g)&&!c.get(g)&&(u.push(g),c.set(g,!0))}),ComponentModel$1.topologicalTravel(u,ComponentModel$1.getAllClassMainTypes(),d,this);function d(v){var g=concatInternalOptions(this,v,normalizeToArray(n[v])),y=s.get(v),S=y?f&&f.get(v)?"replaceMerge":"normalMerge":"replaceAll",b=mappingToExists(y,g,S);setComponentTypeToKeyInfo(b,v,ComponentModel$1),o[v]=null,s.set(v,null),l.set(v,0);var T=[],w=[],A=0,M;each$f(b,function(L,O){var D=L.existing,V=L.newOption;if(!V)D&&(D.mergeOption({},this),D.optionUpdated({},!1));else{var z=v==="series",Y=ComponentModel$1.getClass(v,L.keyInfo.subType,!z);if(!Y)return;if(v==="tooltip"){if(M)return;M=!0}if(D&&D.constructor===Y)D.name=L.keyInfo.name,D.mergeOption(V,this),D.optionUpdated(V,!1);else{var ie=extend({componentIndex:O},L.keyInfo);D=new Y(V,this,this,ie),extend(D,ie),L.brandNew&&(D.__requireNewView=!0),D.init(V,this,this),D.optionUpdated(null,!0)}}D?(T.push(D.option),w.push(D),A++):(T.push(void 0),w.push(void 0))},this),o[v]=T,s.set(v,w),l.set(v,A),v==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},r.prototype.getOption=function(){var n=clone$4(this.option);return each$f(n,function(a,o){if(ComponentModel$1.hasClass(o)){for(var s=normalizeToArray(a),l=s.length,u=!1,c=l-1;c>=0;c--)s[c]&&!isComponentIdInternal(s[c])?u=!0:(s[c]=null,!u&&l--);s.length=l,n[o]=s}}),delete n[OPTION_INNER_KEY],n},r.prototype.getTheme=function(){return this._theme},r.prototype.getLocaleModel=function(){return this._locale},r.prototype.setUpdatePayload=function(n){this._payload=n},r.prototype.getUpdatePayload=function(){return this._payload},r.prototype.getComponent=function(n,a){var o=this._componentsMap.get(n);if(o){var s=o[a||0];if(s)return s;if(a==null){for(var l=0;l=r:n==="max"?t<=r:t===r}function indicesEquals(t,r){return t.join(",")===r.join(",")}const OptionManager$1=OptionManager;var each$d=each$f,isObject$3=isObject$4,POSSIBLE_STYLES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(t){var r=t&&t.itemStyle;if(r)for(var n=0,a=POSSIBLE_STYLES.length;n=0;T--){var w=t[T];if(u||(S=w.data.rawIndexOf(w.stackedByDimension,y)),S>=0){var A=w.data.getByRawIndex(w.stackResultDimension,S);if(c==="all"||c==="positive"&&A>0||c==="negative"&&A<0||c==="samesign"&&g>=0&&A>0||c==="samesign"&&g<=0&&A<0){g=addSafe(g,A),b=A;break}}}return a[0]=g,a[1]=b,a})})}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 n=this.dimensionsDefine=r.dimensionsDefine;if(n)for(var a=0;ab&&(b=M)}y[0]=S,y[1]=b}},o=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=(r={},r[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:s},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:s},r[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(l){var u=this._data;each$f(l,function(c,f){for(var d=u[f]||(u[f]=[]),v=0;v<(c||[]).length;v++)d.push(c[v])})}},r[SOURCE_FORMAT_ORIGINAL]={appendData:s},r[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(l){this._data=l},clean:function(){this._offset+=this.count(),this._data=null}},r);function s(l){for(var u=0;u=0&&(b=l.interpolatedValue[T])}return b!=null?b+"":""})}},t.prototype.getRawValue=function(r,n){return retrieveRawValue(this.getData(n),r)},t.prototype.formatTooltip=function(r,n,a){},t}();function normalizeTooltipFormatResult(t){var r,n;return isObject$4(t)?t.type&&(n=t):r=t,{text:r,frag:n}}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 n=this._upstream,a=r&&r.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var s;this._plan&&!a&&(s=this._plan(this.context));var l=d(this._modBy),u=this._modDataCount||0,c=d(r&&r.modBy),f=r&&r.modDataCount||0;(l!==c||u!==f)&&(s="reset");function d(A){return!(A>=1)&&(A=1),A}var v;(this._dirty||s==="reset")&&(this._dirty=!1,v=this._doReset(a)),this._modBy=c,this._modDataCount=f;var g=r&&r.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var y=this._dueIndex,S=Math.min(g!=null?this._dueIndex+g:1/0,this._dueEnd);if(!a&&(v||y1&&a>0?u:l}};return s;function l(){return r=t?null:cr},gte:function(t,r){return t>=r}},FilterOrderComparator=function(){function t(r,n){if(!isNumber$1(n)){var a="";throwError(a)}this._opFn=ORDER_COMPARISON_OP_MAP[r],this._rvalFloat=numericToNumber(n)}return t.prototype.evaluate=function(r){return isNumber$1(r)?this._opFn(r,this._rvalFloat):this._opFn(numericToNumber(r),this._rvalFloat)},t}(),SortOrderComparator=function(){function t(r,n){var a=r==="desc";this._resultLT=a?1:-1,n==null&&(n=a?"min":"max"),this._incomparable=n==="min"?-1/0:1/0}return t.prototype.evaluate=function(r,n){var a=isNumber$1(r)?r:numericToNumber(r),o=isNumber$1(n)?n:numericToNumber(n),s=isNaN(a),l=isNaN(o);if(s&&(a=this._incomparable),l&&(o=this._incomparable),s&&l){var u=isString$1(r),c=isString$1(n);u&&(a=c?r:0),c&&(o=u?n:0)}return ao?-this._resultLT:0},t}(),FilterEqualityComparator=function(){function t(r,n){this._rval=n,this._isEQ=r,this._rvalTypeof=typeof n,this._rvalFloat=numericToNumber(n)}return t.prototype.evaluate=function(r){var n=r===this._rval;if(!n){var a=typeof r;a!==this._rvalTypeof&&(a==="number"||this._rvalTypeof==="number")&&(n=numericToNumber(r)===this._rvalFloat)}return this._isEQ?n:!n},t}();function createFilterComparator(t,r){return t==="eq"||t==="ne"?new FilterEqualityComparator(t==="eq",r):hasOwn$1(ORDER_COMPARISON_OP_MAP,t)?new FilterOrderComparator(t,r):null}var 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,n){},t.prototype.retrieveValueFromItem=function(r,n){},t.prototype.convertValue=function(r,n){return parseDataValue(r,n)},t}();function createExternalSource(t,r){var n=new ExternalSource,a=t.data,o=n.sourceFormat=t.sourceFormat,s=t.startIndex,l="";t.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError(l);var u=[],c={},f=t.dimensionsDefine;if(f)each$f(f,function(b,T){var w=b.name,A={index:T,name:w,displayName:b.displayName};if(u.push(A),w!=null){var M="";hasOwn$1(c,w)&&throwError(M),c[w]=A}});else for(var d=0;d65535?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,n,a,o){var s=dataCtors[n||"float"];if(o){var l=t[r],u=l&&l.length;if(u!==a){for(var c=new s(a),f=0;fT[1]&&(T[1]=b)}return this._rawCount=this._count=c,{start:u,end:c}},t.prototype._initDataFromProvider=function(r,n,a){for(var o=this._provider,s=this._chunks,l=this._dimensions,u=l.length,c=this._rawExtent,f=map$1(l,function(A){return A.property}),d=0;dw[1]&&(w[1]=T)}}!o.persistent&&o.clean&&o.clean(),this._rawCount=this._count=n,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(r,n){if(!(n>=0&&n=0&&n=this._rawCount||r<0)return-1;if(!this._indices)return r;var n=this._indices,a=n[r];if(a!=null&&ar)s=l-1;else return l}return-1},t.prototype.indicesOfNearest=function(r,n,a){var o=this._chunks,s=o[r],l=[];if(!s)return l;a==null&&(a=1/0);for(var u=1/0,c=-1,f=0,d=0,v=this.count();d=0&&c<0)&&(u=S,c=y,f=0),y===c&&(l[f++]=d))}return l.length=f,l},t.prototype.getIndices=function(){var r,n=this._indices;if(n){var a=n.constructor,o=this._count;if(a===Array){r=new a(o);for(var s=0;s=v&&A<=g||isNaN(A))&&(c[f++]=b),b++}S=!0}else if(s===2){for(var T=y[o[0]],M=y[o[1]],L=r[o[1]][0],O=r[o[1]][1],w=0;w=v&&A<=g||isNaN(A))&&(D>=L&&D<=O||isNaN(D))&&(c[f++]=b),b++}S=!0}}if(!S)if(s===1)for(var w=0;w=v&&A<=g||isNaN(A))&&(c[f++]=V)}else for(var w=0;wr[ie][1])&&(z=!1)}z&&(c[f++]=n.getRawIndex(w))}return fw[1]&&(w[1]=T)}}}},t.prototype.lttbDownSample=function(r,n){var a=this.clone([r],!0),o=a._chunks,s=o[r],l=this.count(),u=0,c=Math.floor(1/n),f=this.getRawIndex(0),d,v,g,y=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(l/c)+2)*2,l));y[u++]=f;for(var S=1;Sd&&(d=v,g=L)}j>0&&jd-S&&(c=d-S,u.length=c);for(var b=0;bv[1]&&(v[1]=w),g[y++]=A}return s._count=y,s._indices=g,s._updateGetRawIdx(),s},t.prototype.each=function(r,n){if(this._count)for(var a=r.length,o=this._chunks,s=0,l=this.count();sc&&(c=v)}return l=[u,c],this._extent[r]=l,l},t.prototype.getRawDataItem=function(r){var n=this.getRawIndex(r);if(this._provider.persistent)return this._provider.getItem(n);for(var a=[],o=this._chunks,s=0;s=0?this._indices[r]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function r(n,a,o,s){return parseDataValue(n[s],this._dimensions[s])}defaultDimValueGetters={arrayRows:r,objectRows:function(n,a,o,s){return parseDataValue(n[a],this._dimensions[s])},keyedColumns:r,original:function(n,a,o,s){var l=n&&(n.value==null?n:n.value);return parseDataValue(l instanceof Array?l[s]:l,this._dimensions[s])},typedArray:function(n,a,o,s){return n[s]}}}(),t}(),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,n){this._sourceList=r,this._upstreamSignList=n,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,n=this._getUpstreamSourceManagers(),a=!!n.length,o,s;if(isSeries(r)){var l=r,u=void 0,c=void 0,f=void 0;if(a){var d=n[0];d.prepareSource(),f=d.getSource(),u=f.data,c=f.sourceFormat,s=[d._getVersionSign()]}else u=l.get("data",!0),c=isTypedArray(u)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,s=[];var v=this._getSourceMetaRawOption()||{},g=f&&f.metaRawOption||{},y=retrieve2(v.seriesLayoutBy,g.seriesLayoutBy)||null,S=retrieve2(v.sourceHeader,g.sourceHeader),b=retrieve2(v.dimensions,g.dimensions),T=y!==g.seriesLayoutBy||!!S!=!!g.sourceHeader||b;o=T?[createSource(u,{seriesLayoutBy:y,sourceHeader:S,dimensions:b},c)]:[]}else{var w=r;if(a){var A=this._applyTransform(n);o=A.sourceList,s=A.upstreamSignList}else{var M=w.get("source",!0);o=[createSource(M,this._getSourceMetaRawOption(),null)],s=[]}}this._setLocalSource(o,s)},t.prototype._applyTransform=function(r){var n=this._sourceHost,a=n.get("transform",!0),o=n.get("fromTransformResult",!0);if(o!=null){var s="";r.length!==1&&doThrow(s)}var l,u=[],c=[];return each$f(r,function(f){f.prepareSource();var d=f.getSource(o||0),v="";o!=null&&!d&&doThrow(v),u.push(d),c.push(f._getVersionSign())}),a?l=applyDataTransform(a,u,{datasetIndex:n.componentIndex}):o!=null&&(l=[cloneSourceShallow(u[0])]),{sourceList:l,upstreamSignList:c}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var r=this._getUpstreamSourceManagers(),n=0;n1||n>0&&!t.noHeader;return each$f(t.blocks,function(o){var s=getBlockGapLevel(o);s>=r&&(r=s+ +(a&&(!s||isSectionFragment(o)&&!o.noHeader)))}),r}return 0}function buildSection(t,r,n,a){var o=r.noHeader,s=getGap(getBlockGapLevel(r)),l=[],u=r.blocks||[];assert(!u||isArray$2(u)),u=u||[];var c=t.orderMode;if(r.sortBlocks&&c){u=u.slice();var f={valueAsc:"asc",valueDesc:"desc"};if(hasOwn$1(f,c)){var d=new SortOrderComparator(f[c],null);u.sort(function(S,b){return d.evaluate(S.sortParam,b.sortParam)})}else c==="seriesDesc"&&u.reverse()}each$f(u,function(S,b){var T=r.valueFormatter,w=getBuilder(S)(T?extend(extend({},t),{valueFormatter:T}):t,S,b>0?s.html:0,a);w!=null&&l.push(w)});var v=t.renderMode==="richText"?l.join(s.richText):wrapBlockHTML(l.join(""),o?n:s.html);if(o)return v;var g=makeValueReadable(r.header,"ordinal",t.useUTC),y=getTooltipTextStyle(a,t.renderMode).nameStyle;return t.renderMode==="richText"?wrapInlineNameRichText(t,g,y)+s.richText+v:wrapBlockHTML('
'+encodeHTML(g)+"
"+v,n)}function buildNameValue(t,r,n,a){var o=t.renderMode,s=r.noName,l=r.noValue,u=!r.markerType,c=r.name,f=t.useUTC,d=r.valueFormatter||t.valueFormatter||function(L){return L=isArray$2(L)?L:[L],map$1(L,function(O,D){return makeValueReadable(O,isArray$2(y)?y[D]:y,f)})};if(!(s&&l)){var v=u?"":t.markupStyleCreator.makeTooltipMarker(r.markerType,r.markerColor||"#333",o),g=s?"":makeValueReadable(c,"ordinal",f),y=r.valueType,S=l?[]:d(r.value),b=!u||!s,T=!u&&s,w=getTooltipTextStyle(a,o),A=w.nameStyle,M=w.valueStyle;return o==="richText"?(u?"":v)+(s?"":wrapInlineNameRichText(t,g,A))+(l?"":wrapInlineValueRichText(t,S,b,T,M)):wrapBlockHTML((u?"":v)+(s?"":wrapInlineNameHTML(g,!u,A))+(l?"":wrapInlineValueHTML(S,b,T,M)),n)}}function buildTooltipMarkup(t,r,n,a,o,s){if(t){var l=getBuilder(t),u={useUTC:o,renderMode:n,orderMode:a,markupStyleCreator:r,valueFormatter:t.valueFormatter};return l(u,t,0,s)}}function getGap(t){return{html:HTML_GAPS[t],richText:RICH_TEXT_GAPS[t]}}function wrapBlockHTML(t,r){var n='
',a="margin: "+r+"px 0 0";return'
'+t+n+"
"}function wrapInlineNameHTML(t,r,n){var a=r?"margin-left:2px":"";return''+encodeHTML(t)+""}function wrapInlineValueHTML(t,r,n,a){var o=n?"10px":"20px",s=r?"float:right;margin-left:"+o:"";return t=isArray$2(t)?t:[t],''+map$1(t,function(l){return encodeHTML(l)}).join("  ")+""}function wrapInlineNameRichText(t,r,n){return t.markupStyleCreator.wrapRichTextStyle(r,n)}function wrapInlineValueRichText(t,r,n,a,o){var s=[o],l=a?10:20;return n&&s.push({padding:[0,0,0,l],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(isArray$2(r)?r.join(" "):r,s)}function retrieveVisualColorForTooltipMarker(t,r){var n=t.getData().getItemVisual(r,"style"),a=n[t.visualDrawType];return convertToColorString(a)}function getPaddingFromTooltipModel(t,r){var n=t.get("padding");return n??(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,n,a){var o=a==="richText"?this._generateStyleName():null,s=getTooltipMarker({color:n,type:r,renderMode:a,markerId:o});return isString$1(s)?s:(this.richTextStyles[o]=s.style,s.content)},t.prototype.wrapRichTextStyle=function(r,n){var a={};isArray$2(n)?each$f(n,function(s){return extend(a,s)}):extend(a,n);var o=this._generateStyleName();return this.richTextStyles[o]=a,"{"+o+"|"+r+"}"},t}();function defaultSeriesFormatTooltip(t){var r=t.series,n=t.dataIndex,a=t.multipleSeries,o=r.getData(),s=o.mapDimensionsAll("defaultedTooltip"),l=s.length,u=r.getRawValue(n),c=isArray$2(u),f=retrieveVisualColorForTooltipMarker(r,n),d,v,g,y;if(l>1||c&&!l){var S=formatTooltipArrayValue(u,r,n,s,f);d=S.inlineValues,v=S.inlineValueTypes,g=S.blocks,y=S.inlineValues[0]}else if(l){var b=o.getDimensionInfo(s[0]);y=d=retrieveRawValue(o,n,s[0]),v=b.type}else y=d=c?u[0]:u;var T=isNameSpecified(r),w=T&&r.name||"",A=o.getName(n),M=a?w:A;return createTooltipMarkup("section",{header:w,noHeader:a||!T,sortParam:y,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:f,name:M,noName:!trim$1(M),value:d,valueType:v})].concat(g||[])})}function formatTooltipArrayValue(t,r,n,a,o){var s=r.getData(),l=reduce(t,function(v,g,y){var S=s.getDimensionInfo(y);return v=v||S&&S.tooltip!==!1&&S.displayName!=null},!1),u=[],c=[],f=[];a.length?each$f(a,function(v){d(retrieveRawValue(s,n,v),v)}):each$f(t,d);function d(v,g){var y=s.getDimensionInfo(g);!y||y.otherDims.tooltip===!1||(l?f.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:o,name:y.displayName,value:v,valueType:y.type})):(u.push(v),c.push(y.type)))}return{inlineValues:u,inlineValueTypes:c,blocks:f}}var inner$k=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 n=t!==null&&t.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return r.prototype.init=function(n,a,o){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,o);var s=inner$k(this).sourceManager=new SourceManager(this);s.prepareSource();var l=this.getInitialData(n,o);wrapData(l,this),this.dataTask.context.data=l,inner$k(this).dataBeforeProcessed=l,autoSeriesName(this),this._initSelectedMapFromData(l)},r.prototype.mergeDefaultAndTheme=function(n,a){var o=fetchLayoutMode(this),s=o?getLayoutParams(n):{},l=this.subType;ComponentModel$1.hasClass(l)&&(l+="Series"),merge(n,a.getTheme().get(this.subType)),merge(n,this.getDefaultOption()),defaultEmphasis(n,"label",["show"]),this.fillDataTextStyle(n.data),o&&mergeLayoutParam(n,s,o)},r.prototype.mergeOption=function(n,a){n=merge(this.option,n,!0),this.fillDataTextStyle(n.data);var o=fetchLayoutMode(this);o&&mergeLayoutParam(this.option,n,o);var s=inner$k(this).sourceManager;s.dirty(),s.prepareSource();var l=this.getInitialData(n,a);wrapData(l,this),this.dataTask.dirty(),this.dataTask.context.data=l,inner$k(this).dataBeforeProcessed=l,autoSeriesName(this),this._initSelectedMapFromData(l)},r.prototype.fillDataTextStyle=function(n){if(n&&!isTypedArray(n))for(var a=["show"],o=0;othis.getShallow("animationThreshold")&&(a=!1),!!a},r.prototype.restoreData=function(){this.dataTask.dirty()},r.prototype.getColorFromPalette=function(n,a,o){var s=this.ecModel,l=PaletteMixin.prototype.getColorFromPalette.call(this,n,a,o);return l||(l=s.getColorFromPalette(n,a,o)),l},r.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},r.prototype.getProgressive=function(){return this.get("progressive")},r.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},r.prototype.select=function(n,a){this._innerSelect(this.getData(a),n)},r.prototype.unselect=function(n,a){var o=this.option.selectedMap;if(o){var s=this.option.selectedMode,l=this.getData(a);if(s==="series"||o==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var u=0;u=0&&o.push(l)}return o},r.prototype.isSelected=function(n,a){var o=this.option.selectedMap;if(!o)return!1;var s=this.getData(a);return(o==="all"||o[getSelectionKey(s,n)])&&!s.getItemModel(n).get(["select","disabled"])},r.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},r.prototype._innerSelect=function(n,a){var o,s,l=this.option,u=l.selectedMode,c=a.length;if(!(!u||!c)){if(u==="series")l.selectedMap="all";else if(u==="multiple"){isObject$4(l.selectedMap)||(l.selectedMap={});for(var f=l.selectedMap,d=0;d0&&this._innerSelect(n,a)}},r.registerClass=function(n){return ComponentModel$1.registerClass(n)},r.protoInitialize=function(){var n=r.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.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(),n=r.mapDimensionsAll("seriesName"),a=[];return each$f(n,function(o){var s=r.getDimensionInfo(o);s.displayName&&a.push(s.displayName)}),a.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$f(concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,curry$1(onDataChange,r))})}function onDataChange(t,r){var n=getCurrentTask(t);return n&&n.setOutputEnd((r||this).count()),r}function getCurrentTask(t){var r=(t.ecModel||{}).scheduler,n=r&&r.getPipeline(t.uid);if(n){var a=n.currentTask;if(a){var o=a.agentStubMap;o&&(a=o.get(t.uid))}return a}}const SeriesModel$1=SeriesModel;var ComponentView=function(){function t(){this.group=new Group$4,this.uid=getUID("viewComponent")}return t.prototype.init=function(r,n){},t.prototype.render=function(r,n,a,o){},t.prototype.dispose=function(r,n){},t.prototype.updateView=function(r,n,a,o){},t.prototype.updateLayout=function(r,n,a,o){},t.prototype.updateVisual=function(r,n,a,o){},t.prototype.toggleBlurSeries=function(r,n,a){},t.prototype.eachRendered=function(r){var n=this.group;n&&n.traverse(r)},t}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);const ComponentView$1=ComponentView;function createRenderPlanner(){var t=makeInner();return function(r){var n=t(r),a=r.pipelineContext,o=!!n.large,s=!!n.progressiveRender,l=n.large=!!(a&&a.large),u=n.progressiveRender=!!(a&&a.progressiveRender);return(o!==l||s!==u)&&"reset"}}var inner$j=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function t(){this.group=new Group$4,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return t.prototype.init=function(r,n){},t.prototype.render=function(r,n,a,o){},t.prototype.highlight=function(r,n,a,o){var s=r.getData(o&&o.dataType);s&&toggleHighlight(s,o,"emphasis")},t.prototype.downplay=function(r,n,a,o){var s=r.getData(o&&o.dataType);s&&toggleHighlight(s,o,"normal")},t.prototype.remove=function(r,n){this.group.removeAll()},t.prototype.dispose=function(r,n){},t.prototype.updateView=function(r,n,a,o){this.render(r,n,a,o)},t.prototype.updateLayout=function(r,n,a,o){this.render(r,n,a,o)},t.prototype.updateVisual=function(r,n,a,o){this.render(r,n,a,o)},t.prototype.eachRendered=function(r){traverseElements(this.group,r)},t.markUpdateMethod=function(r,n){inner$j(r).updateMethod=n},t.protoInitialize=function(){var r=t.prototype;r.type="chart"}(),t}();function elSetState(t,r,n){t&&isHighDownDispatcher(t)&&(r==="emphasis"?enterEmphasis:leaveEmphasis)(t,n)}function toggleHighlight(t,r,n){var a=queryDataIndex(t,r),o=r&&r.highlightKey!=null?getHighlightDigit(r.highlightKey):null;a!=null?each$f(normalizeToArray(a),function(s){elSetState(t.getItemGraphicEl(s),n,o)}):t.eachItemGraphicEl(function(s){elSetState(s,n,o)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan(t){return renderPlanner(t.model)}function renderTaskReset(t){var r=t.model,n=t.ecModel,a=t.api,o=t.payload,s=r.pipelineContext.progressiveRender,l=t.view,u=o&&inner$j(o).updateMethod,c=s?"incrementalPrepareRender":u&&l[u]?u:"render";return c!=="render"&&l[c](r,n,a,o),progressMethodMap[c]}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,n){var a,o=0,s=0,l=null,u,c,f,d;r=r||0;function v(){s=new Date().getTime(),l=null,t.apply(c,f||[])}var g=function(){for(var y=[],S=0;S=0?v():l=setTimeout(v,-u),o=a};return g.clear=function(){l&&(clearTimeout(l),l=null)},g.debounceNextCall=function(y){d=y},g}function createOrUpdate(t,r,n,a){var o=t[r];if(o){var s=o[ORIGIN_METHOD]||o,l=o[THROTTLE_TYPE],u=o[RATE];if(u!==n||l!==a){if(n==null||!a)return t[r]=s;o=t[r]=throttle(s,n,a==="debounce"),o[ORIGIN_METHOD]=s,o[THROTTLE_TYPE]=a,o[RATE]=n}return o}}function clear$1(t,r){var n=t[r];n&&n[ORIGIN_METHOD]&&(n.clear&&n.clear(),t[r]=n[ORIGIN_METHOD])}var inner$i=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 n=t.visualStyleMapper||defaultStyleMappers[r];return n||(console.warn("Unknown style type '"+r+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey(t,r){var n=t.visualDrawType||defaultColorKey[r];return n||(console.warn("Unknown style type '"+r+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){var n=t.getData(),a=t.visualStyleAccessPath||"itemStyle",o=t.getModel(a),s=getStyleMapper(t,a),l=s(o),u=o.getShallow("decal");u&&(n.setVisual("decal",u),u.dirty=!0);var c=getDefaultColorKey(t,a),f=l[c],d=isFunction$1(f)?f:null,v=l.fill==="auto"||l.stroke==="auto";if(!l[c]||d||v){var g=t.getColorFromPalette(t.name,null,r.getSeriesCount());l[c]||(l[c]=g,n.setVisual("colorFromPalette",!0)),l.fill=l.fill==="auto"||isFunction$1(l.fill)?g:l.fill,l.stroke=l.stroke==="auto"||isFunction$1(l.stroke)?g:l.stroke}if(n.setVisual("style",l),n.setVisual("drawType",c),!r.isSeriesFiltered(t)&&d)return n.setVisual("colorFromPalette",!1),{dataEach:function(y,S){var b=t.getDataParams(S),T=extend({},l);T[c]=d(b),y.setItemVisual(S,"style",T)}}}},sharedModel=new Model$1,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){if(!(t.ignoreStyleOnData||r.isSeriesFiltered(t))){var n=t.getData(),a=t.visualStyleAccessPath||"itemStyle",o=getStyleMapper(t,a),s=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(l,u){var c=l.getRawDataItem(u);if(c&&c[a]){sharedModel.option=c[a];var f=o(sharedModel),d=l.ensureUniqueItemVisual(u,"style");extend(d,f),sharedModel.option.decal&&(l.setItemVisual(u,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),s in f&&l.setItemVisual(u,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(t){var r=createHashMap();t.eachSeries(function(n){var a=n.getColorBy();if(!n.isColorBySeries()){var o=n.type+"-"+a,s=r.get(o);s||(s={},r.set(o,s)),inner$i(n).scope=s}}),t.eachSeries(function(n){if(!(n.isColorBySeries()||t.isSeriesFiltered(n))){var a=n.getRawData(),o={},s=n.getData(),l=inner$i(n).scope,u=n.visualStyleAccessPath||"itemStyle",c=getDefaultColorKey(n,u);s.each(function(f){var d=s.getRawIndex(f);o[d]=f}),a.each(function(f){var d=o[f],v=s.getItemVisual(d,"colorFromPalette");if(v){var g=s.ensureUniqueItemVisual(d,"style"),y=a.getName(f)||f+"",S=a.count();g[c]=n.getColorFromPalette(y,l,S)}})}})}},PI$5=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 n=new Group$4,a=new Rect$3({style:{fill:r.maskColor},zlevel:r.zlevel,z:1e4});n.add(a);var o=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}),s=new Rect$3({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:r.zlevel,z:10001});n.add(s);var l;return r.showSpinner&&(l=new Arc$1({shape:{startAngle:-PI$5/2,endAngle:-PI$5/2+.1,r:r.spinnerRadius},style:{stroke:r.color,lineCap:"round",lineWidth:r.lineWidth},zlevel:r.zlevel,z:10001}),l.animateShape(!0).when(1e3,{endAngle:PI$5*3/2}).start("circularInOut"),l.animateShape(!0).when(1e3,{startAngle:PI$5*3/2}).delay(300).start("circularInOut"),n.add(l)),n.resize=function(){var u=o.getBoundingRect().width,c=r.showSpinner?r.spinnerRadius:0,f=(t.getWidth()-c*2-(r.showSpinner&&u?10:0)-u)/2-(r.showSpinner&&u?0:5+u/2)+(r.showSpinner?0:u/2)+(u?0:c),d=t.getHeight()/2;r.showSpinner&&l.setShape({cx:f,cy:d}),s.setShape({x:f-c,y:d-c,width:c*2,height:c*2}),a.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var Scheduler=function(){function t(r,n,a,o){this._stageTaskMap=createHashMap(),this.ecInstance=r,this.api=n,a=this._dataProcessorHandlers=a.slice(),o=this._visualHandlers=o.slice(),this._allHandlers=a.concat(o)}return t.prototype.restoreData=function(r,n){r.restoreData(n),this._stageTaskMap.each(function(a){var o=a.overallTask;o&&o.dirty()})},t.prototype.getPerformArgs=function(r,n){if(r.__pipeline){var a=this._pipelineMap.get(r.__pipeline.id),o=a.context,s=!n&&a.progressiveEnabled&&(!o||o.progressiveRender)&&r.__idxInPipeline>a.blockIndex,l=s?a.step:null,u=o&&o.modDataCount,c=u!=null?Math.ceil(u/l):null;return{step:l,modBy:c,modDataCount:u}}},t.prototype.getPipeline=function(r){return this._pipelineMap.get(r)},t.prototype.updateStreamModes=function(r,n){var a=this._pipelineMap.get(r.uid),o=r.getData(),s=o.count(),l=a.progressiveEnabled&&n.incrementalPrepareRender&&s>=a.threshold,u=r.get("large")&&s>=r.get("largeThreshold"),c=r.get("progressiveChunkMode")==="mod"?s:null;r.pipelineContext=a.context={progressiveRender:l,modDataCount:c,large:u}},t.prototype.restorePipelines=function(r){var n=this,a=n._pipelineMap=createHashMap();r.eachSeries(function(o){var s=o.getProgressive(),l=o.uid;a.set(l,{id:l,head:null,tail:null,threshold:o.getProgressiveThreshold(),progressiveEnabled:s&&!(o.preventIncremental&&o.preventIncremental()),blockIndex:-1,step:Math.round(s||700),count:0}),n._pipe(o,o.dataTask)})},t.prototype.prepareStageTasks=function(){var r=this._stageTaskMap,n=this.api.getModel(),a=this.api;each$f(this._allHandlers,function(o){var s=r.get(o.uid)||r.set(o.uid,{}),l="";assert(!(o.reset&&o.overallReset),l),o.reset&&this._createSeriesStageTask(o,s,n,a),o.overallReset&&this._createOverallStageTask(o,s,n,a)},this)},t.prototype.prepareView=function(r,n,a,o){var s=r.renderTask,l=s.context;l.model=n,l.ecModel=a,l.api=o,s.__block=!r.incrementalPrepareRender,this._pipe(n,s)},t.prototype.performDataProcessorTasks=function(r,n){this._performStageTasks(this._dataProcessorHandlers,r,n,{block:!0})},t.prototype.performVisualTasks=function(r,n,a){this._performStageTasks(this._visualHandlers,r,n,a)},t.prototype._performStageTasks=function(r,n,a,o){o=o||{};var s=!1,l=this;each$f(r,function(c,f){if(!(o.visualType&&o.visualType!==c.visualType)){var d=l._stageTaskMap.get(c.uid),v=d.seriesTaskMap,g=d.overallTask;if(g){var y,S=g.agentStubMap;S.each(function(T){u(o,T)&&(T.dirty(),y=!0)}),y&&g.dirty(),l.updatePayload(g,a);var b=l.getPerformArgs(g,o.block);S.each(function(T){T.perform(b)}),g.perform(b)&&(s=!0)}else v&&v.each(function(T,w){u(o,T)&&T.dirty();var A=l.getPerformArgs(T,o.block);A.skip=!c.performRawSeries&&n.isSeriesFiltered(T.context.model),l.updatePayload(T,a),T.perform(A)&&(s=!0)})}});function u(c,f){return c.setDirty&&(!c.dirtyMap||c.dirtyMap.get(f.__pipeline.id))}this.unfinished=s||this.unfinished},t.prototype.performSeriesTasks=function(r){var n;r.eachSeries(function(a){n=a.dataTask.perform()||n}),this.unfinished=n||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(r){var n=r.tail;do{if(n.__block){r.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},t.prototype.updatePayload=function(r,n){n!=="remain"&&(r.context.payload=n)},t.prototype._createSeriesStageTask=function(r,n,a,o){var s=this,l=n.seriesTaskMap,u=n.seriesTaskMap=createHashMap(),c=r.seriesType,f=r.getTargetSeries;r.createOnAllSeries?a.eachRawSeries(d):c?a.eachRawSeriesByType(c,d):f&&f(a,o).each(d);function d(v){var g=v.uid,y=u.set(g,l&&l.get(g)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));y.context={model:v,ecModel:a,api:o,useClearVisual:r.isVisual&&!r.isLayout,plan:r.plan,reset:r.reset,scheduler:s},s._pipe(v,y)}},t.prototype._createOverallStageTask=function(r,n,a,o){var s=this,l=n.overallTask=n.overallTask||createTask({reset:overallTaskReset});l.context={ecModel:a,api:o,overallReset:r.overallReset,scheduler:s};var u=l.agentStubMap,c=l.agentStubMap=createHashMap(),f=r.seriesType,d=r.getTargetSeries,v=!0,g=!1,y="";assert(!r.createOnAllSeries,y),f?a.eachRawSeriesByType(f,S):d?d(a,o).each(S):(v=!1,each$f(a.getSeries(),S));function S(b){var T=b.uid,w=c.set(T,u&&u.get(T)||(g=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));w.context={model:b,overallProgress:v},w.agent=l,w.__block=v,s._pipe(b,w)}g&&l.dirty()},t.prototype._pipe=function(r,n){var a=r.uid,o=this._pipelineMap.get(a);!o.head&&(o.head=n),o.tail&&o.tail.pipe(n),o.tail=n,n.__idxInPipeline=o.count++,n.__pipeline=o},t.wrapStageHandler=function(r,n){return isFunction$1(r)&&(r={overallReset:r,seriesType:detectSeriseType(r)}),r.uid=getUID("stageHandler"),n&&(r.visualType=n),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$1(r,function(n,a){return makeSeriesTaskProgress(a)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(t){return function(r,n){var a=n.data,o=n.resetDefines[t];if(o&&o.dataEach)for(var s=r.start;s0&&y===f.length-g.length){var S=f.slice(0,y);S!=="data"&&(n.mainType=S,n[g.toLowerCase()]=c,d=!0)}}u.hasOwnProperty(f)&&(a[f]=c,d=!0),d||(o[f]=c)})}return{cptQuery:n,dataQuery:a,otherQuery:o}},t.prototype.filter=function(r,n){var a=this.eventInfo;if(!a)return!0;var o=a.targetEl,s=a.packedEvent,l=a.model,u=a.view;if(!l||!u)return!0;var c=n.cptQuery,f=n.dataQuery;return d(c,l,"mainType")&&d(c,l,"subType")&&d(c,l,"index","componentIndex")&&d(c,l,"name")&&d(c,l,"id")&&d(f,s,"name")&&d(f,s,"dataIndex")&&d(f,s,"dataType")&&(!u.filterForExposedEvent||u.filterForExposedEvent(r,n.otherQuery,o,s));function d(v,g,y,S){return v[y]==null||g[S||y]===v[y]}},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 n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),!t.hasSymbolVisual)return;for(var a={},o={},s=!1,l=0;l=0&&isSafeNum(c)?c:.5;var f=t.createRadialGradient(l,u,0,l,u,c);return f}function getCanvasGradient(t,r,n){for(var a=r.type==="radial"?createRadialGradient(t,r,n):createLinearGradient(t,r,n),o=r.colorStops,s=0;s0)?null:t==="dashed"?[4*r,2*r]:t==="dotted"?[r]:isNumber$1(t)?[t]:isArray$2(t)?t:null}function getLineDash(t){var r=t.style,n=r.lineDash&&r.lineWidth>0&&normalizeLineDash(r.lineDash,r.lineWidth),a=r.lineDashOffset;if(n){var o=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;o&&o!==1&&(n=map$1(n,function(s){return s/o}),a/=o)}return[n,a]}var pathProxyForDraw=new PathProxy(!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 n=t.globalAlpha;t.globalAlpha=r.fillOpacity*r.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function doStrokePath(t,r){if(r.strokeOpacity!=null&&r.strokeOpacity!==1){var n=t.globalAlpha;t.globalAlpha=r.strokeOpacity*r.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function createCanvasPattern(t,r,n){var a=createOrUpdateImage(r.image,r.__image,n);if(isImageReady(a)){var o=t.createPattern(a,r.repeat||"repeat");if(typeof DOMMatrix=="function"&&o&&o.setTransform){var s=new DOMMatrix;s.translateSelf(r.x||0,r.y||0),s.rotateSelf(0,0,(r.rotation||0)*RADIAN_TO_DEGREE),s.scaleSelf(r.scaleX||1,r.scaleY||1),o.setTransform(s)}return o}}function brushPath(t,r,n,a){var o,s=styleHasStroke(n),l=styleHasFill(n),u=n.strokePercent,c=u<1,f=!r.path;(!r.silent||c)&&f&&r.createPathProxy();var d=r.path||pathProxyForDraw,v=r.__dirty;if(!a){var g=n.fill,y=n.stroke,S=l&&!!g.colorStops,b=s&&!!y.colorStops,T=l&&!!g.image,w=s&&!!y.image,A=void 0,M=void 0,L=void 0,O=void 0,D=void 0;(S||b)&&(D=r.getBoundingRect()),S&&(A=v?getCanvasGradient(t,g,D):r.__canvasFillGradient,r.__canvasFillGradient=A),b&&(M=v?getCanvasGradient(t,y,D):r.__canvasStrokeGradient,r.__canvasStrokeGradient=M),T&&(L=v||!r.__canvasFillPattern?createCanvasPattern(t,g,r):r.__canvasFillPattern,r.__canvasFillPattern=L),w&&(O=v||!r.__canvasStrokePattern?createCanvasPattern(t,y,r):r.__canvasStrokePattern,r.__canvasStrokePattern=L),S?t.fillStyle=A:T&&(L?t.fillStyle=L:l=!1),b?t.strokeStyle=M:w&&(O?t.strokeStyle=O:s=!1)}var V=r.getGlobalScale();d.setScale(V[0],V[1],r.segmentIgnoreThreshold);var z,Y;t.setLineDash&&n.lineDash&&(o=getLineDash(r),z=o[0],Y=o[1]);var ie=!0;(f||v&SHAPE_CHANGED_BIT)&&(d.setDPR(t.dpr),c?d.setContext(null):(d.setContext(t),ie=!1),d.reset(),r.buildPath(d,r.shape,a),d.toStatic(),r.pathUpdated()),ie&&d.rebuildPath(t,c?u:1),z&&(t.setLineDash(z),t.lineDashOffset=Y),a||(n.strokeFirst?(s&&doStrokePath(t,n),l&&doFillPath(t,n)):(l&&doFillPath(t,n),s&&doStrokePath(t,n))),z&&t.setLineDash([])}function brushImage(t,r,n){var a=r.__image=createOrUpdateImage(n.image,r.__image,r,r.onload);if(!(!a||!isImageReady(a))){var o=n.x||0,s=n.y||0,l=r.getWidth(),u=r.getHeight(),c=a.width/a.height;if(l==null&&u!=null?l=u*c:u==null&&l!=null?u=l/c:l==null&&u==null&&(l=a.width,u=a.height),n.sWidth&&n.sHeight){var f=n.sx||0,d=n.sy||0;t.drawImage(a,f,d,n.sWidth,n.sHeight,o,s,l,u)}else if(n.sx&&n.sy){var f=n.sx,d=n.sy,v=l-f,g=u-d;t.drawImage(a,f,d,v,g,o,s,l,u)}else t.drawImage(a,o,s,l,u)}}function brushText(t,r,n){var a,o=n.text;if(o!=null&&(o+=""),o){t.font=n.font||DEFAULT_FONT,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var s=void 0,l=void 0;t.setLineDash&&n.lineDash&&(a=getLineDash(r),s=a[0],l=a[1]),s&&(t.setLineDash(s),t.lineDashOffset=l),n.strokeFirst?(styleHasStroke(n)&&t.strokeText(o,n.x,n.y),styleHasFill(n)&&t.fillText(o,n.x,n.y)):(styleHasFill(n)&&t.fillText(o,n.x,n.y),styleHasStroke(n)&&t.strokeText(o,n.x,n.y)),s&&t.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(t,r,n,a,o){var s=!1;if(!a&&(n=n||{},r===n))return!1;if(a||r.opacity!==n.opacity){flushPathDrawn(t,o),s=!0;var l=Math.max(Math.min(r.opacity,1),0);t.globalAlpha=isNaN(l)?DEFAULT_COMMON_STYLE.opacity:l}(a||r.blend!==n.blend)&&(s||(flushPathDrawn(t,o),s=!0),t.globalCompositeOperation=r.blend||DEFAULT_COMMON_STYLE.blend);for(var u=0;u0&&n.unfinished);n.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(n,a,o){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var s,l,u;if(isObject$4(a)&&(o=a.lazyUpdate,s=a.silent,l=a.replaceMerge,u=a.transition,a=a.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||a){var c=new OptionManager$1(this._api),f=this._theme,d=this._model=new GlobalModel$1;d.scheduler=this._scheduler,d.ssr=this._ssr,d.init(null,null,null,f,this._locale,c)}this._model.setOption(n,{replaceMerge:l},optionPreprocessorFuncs);var v={seriesTransition:u,optionChanged:!0};if(o)this[PENDING_UPDATE]={silent:s,updateParams:v},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare(this),updateMethods.update.call(this,null,v)}catch(g){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,g}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,s),triggerUpdatedEvent.call(this,s)}}},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(n){return this.renderToCanvas(n)},r.prototype.renderToCanvas=function(n){n=n||{};var a=this._zr.painter;return a.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},r.prototype.renderToSVGString=function(n){n=n||{};var a=this._zr.painter;return a.renderToString({useViewBox:n.useViewBox})},r.prototype.getSvgDataURL=function(){if(env$1.svgSupported){var n=this._zr,a=n.storage.getDisplayList();return each$f(a,function(o){o.stopAnimation(null,!0)}),n.painter.toDataURL()}},r.prototype.getDataURL=function(n){if(this._disposed){this.id;return}n=n||{};var a=n.excludeComponents,o=this._model,s=[],l=this;each$f(a,function(c){o.eachComponent({mainType:c},function(f){var d=l._componentsMap[f.__viewId];d.group.ignore||(s.push(d),d.group.ignore=!0)})});var u=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return each$f(s,function(c){c.group.ignore=!1}),u},r.prototype.getConnectedDataURL=function(n){if(this._disposed){this.id;return}var a=n.type==="svg",o=this.group,s=Math.min,l=Math.max,u=1/0;if(connectedGroups[o]){var c=u,f=u,d=-u,v=-u,g=[],y=n&&n.pixelRatio||this.getDevicePixelRatio();each$f(instances,function(M,L){if(M.group===o){var O=a?M.getZr().painter.getSvgDom().innerHTML:M.renderToCanvas(clone$4(n)),D=M.getDom().getBoundingClientRect();c=s(D.left,c),f=s(D.top,f),d=l(D.right,d),v=l(D.bottom,v),g.push({dom:O,left:D.left,top:D.top})}}),c*=y,f*=y,d*=y,v*=y;var S=d-c,b=v-f,T=platformApi.createCanvas(),w=init$2(T,{renderer:a?"svg":"canvas"});if(w.resize({width:S,height:b}),a){var A="";return each$f(g,function(M){var L=M.left-c,O=M.top-f;A+=''+M.dom+""}),w.painter.getSvgRoot().innerHTML=A,n.connectedBackgroundColor&&w.painter.setBackgroundColor(n.connectedBackgroundColor),w.refreshImmediately(),w.painter.toDataURL()}else return n.connectedBackgroundColor&&w.add(new Rect$3({shape:{x:0,y:0,width:S,height:b},style:{fill:n.connectedBackgroundColor}})),each$f(g,function(M){var L=new ZRImage$1({style:{x:M.left*y-c,y:M.top*y-f,image:M.dom}});w.add(L)}),w.refreshImmediately(),T.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},r.prototype.convertToPixel=function(n,a){return doConvertPixel(this,"convertToPixel",n,a)},r.prototype.convertFromPixel=function(n,a){return doConvertPixel(this,"convertFromPixel",n,a)},r.prototype.containPixel=function(n,a){if(this._disposed){this.id;return}var o=this._model,s,l=parseFinder$1(o,n);return each$f(l,function(u,c){c.indexOf("Models")>=0&&each$f(u,function(f){var d=f.coordinateSystem;if(d&&d.containPoint)s=s||!!d.containPoint(a);else if(c==="seriesModels"){var v=this._chartsMap[f.__viewId];v&&v.containPoint&&(s=s||v.containPoint(a,f))}},this)},this),!!s},r.prototype.getVisual=function(n,a){var o=this._model,s=parseFinder$1(o,n,{defaultMainType:"series"}),l=s.seriesModel,u=l.getData(),c=s.hasOwnProperty("dataIndexInside")?s.dataIndexInside:s.hasOwnProperty("dataIndex")?u.indexOfRawIndex(s.dataIndex):null;return c!=null?getItemVisualFromData(u,c,a):getVisualFromData(u,a)},r.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},r.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},r.prototype._initEvents=function(){var n=this;each$f(MOUSE_EVENT_NAMES,function(a){var o=function(s){var l=n.getModel(),u=s.target,c,f=a==="globalout";if(f?c={}:u&&findEventDispatcher(u,function(S){var b=getECData(S);if(b&&b.dataIndex!=null){var T=b.dataModel||l.getSeriesByIndex(b.seriesIndex);return c=T&&T.getDataParams(b.dataIndex,b.dataType)||{},!0}else if(b.eventData)return c=extend({},b.eventData),!0},!0),c){var d=c.componentType,v=c.componentIndex;(d==="markLine"||d==="markPoint"||d==="markArea")&&(d="series",v=c.seriesIndex);var g=d&&v!=null&&l.getComponent(d,v),y=g&&n[g.mainType==="series"?"_chartsMap":"_componentsMap"][g.__viewId];c.event=s,c.type=a,n._$eventProcessor.eventInfo={targetEl:u,packedEvent:c,model:g,view:y},n.trigger(a,c)}};o.zrEventfulCallAtLast=!0,n._zr.on(a,o,n)}),each$f(eventActionMap,function(a,o){n._messageCenter.on(o,function(s){this.trigger(o,s)},n)}),each$f(["selectchanged"],function(a){n._messageCenter.on(a,function(o){this.trigger(a,o)},n)}),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 n=this.getDom();n&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var a=this,o=a._api,s=a._model;each$f(a._componentsViews,function(l){l.dispose(s,o)}),each$f(a._chartsViews,function(l){l.dispose(s,o)}),a._zr.dispose(),a._dom=a._model=a._chartsMap=a._componentsMap=a._chartsViews=a._componentsViews=a._scheduler=a._api=a._zr=a._throttledZrFlush=a._theme=a._coordSysMgr=a._messageCenter=null,delete instances[a.id]},r.prototype.resize=function(n){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize(n);var a=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!a){var o=a.resetOption("media"),s=n&&n.silent;this[PENDING_UPDATE]&&(s==null&&(s=this[PENDING_UPDATE].silent),o=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{o&&prepare(this),updateMethods.update.call(this,{type:"resize",animation:extend({duration:0},n&&n.animation)})}catch(l){throw this[IN_MAIN_PROCESS_KEY]=!1,l}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,s),triggerUpdatedEvent.call(this,s)}}},r.prototype.showLoading=function(n,a){if(this._disposed){this.id;return}if(isObject$4(n)&&(a=n,n=""),n=n||"default",this.hideLoading(),!!loadingEffects[n]){var o=loadingEffects[n](this._api,a),s=this._zr;this._loadingFX=o,s.add(o)}},r.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},r.prototype.makeActionFromEvent=function(n){var a=extend({},n);return a.type=eventActionMap[n.type],a},r.prototype.dispatchAction=function(n,a){if(this._disposed){this.id;return}if(isObject$4(a)||(a={silent:!!a}),!!actions[n.type]&&this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push(n);return}var o=a.silent;doDispatchAction.call(this,n,o);var s=a.flush;s?this._zr.flush():s!==!1&&env$1.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,o),triggerUpdatedEvent.call(this,o)}},r.prototype.updateLabelLayout=function(){lifecycle$1.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},r.prototype.appendData=function(n){if(this._disposed){this.id;return}var a=n.seriesIndex,o=this.getModel(),s=o.getSeriesByIndex(a);s.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},r.internalField=function(){prepare=function(v){var g=v._scheduler;g.restorePipelines(v._model),g.prepareStageTasks(),prepareView(v,!0),prepareView(v,!1),g.plan()},prepareView=function(v,g){for(var y=v._model,S=v._scheduler,b=g?v._componentsViews:v._chartsViews,T=g?v._componentsMap:v._chartsMap,w=v._zr,A=v._api,M=0;Mg.get("hoverLayerThreshold")&&!env$1.node&&!env$1.worker&&g.eachSeries(function(T){if(!T.preventUsingHoverLayer){var w=v._chartsMap[T.__viewId];w.__alive&&w.eachRendered(function(A){A.states.emphasis&&(A.states.emphasis.hoverLayer=!0)})}})}function l(v,g){var y=v.get("blendMode")||null;g.eachRendered(function(S){S.isGroup||(S.style.blend=y)})}function u(v,g){if(!v.preventAutoZ){var y=v.get("z")||0,S=v.get("zlevel")||0;g.eachRendered(function(b){return c(b,y,S,-1/0),!0})}}function c(v,g,y,S){var b=v.getTextContent(),T=v.getTextGuideLine(),w=v.isGroup;if(w)for(var A=v.childrenRef(),M=0;M0?{duration:b,delay:y.get("delay"),easing:y.get("easing")}:null;g.eachRendered(function(w){if(w.states&&w.states.emphasis){if(isElementRemoved(w))return;if(w instanceof Path$1&&savePathStates(w),w.__dirty){var A=w.prevStates;A&&w.useStates(A)}if(S){w.stateTransition=T;var M=w.getTextContent(),L=w.getTextGuideLine();M&&(M.stateTransition=T),L&&(L.stateTransition=T)}w.__dirty&&o(w)}})}createExtensionAPI=function(v){return new(function(g){__extends(y,g);function y(){return g!==null&&g.apply(this,arguments)||this}return y.prototype.getCoordinateSystems=function(){return v._coordSysMgr.getCoordinateSystems()},y.prototype.getComponentByElement=function(S){for(;S;){var b=S.__ecComponentInfo;if(b!=null)return v._model.getComponent(b.mainType,b.index);S=S.parent}},y.prototype.enterEmphasis=function(S,b){enterEmphasis(S,b),markStatusToUpdate(v)},y.prototype.leaveEmphasis=function(S,b){leaveEmphasis(S,b),markStatusToUpdate(v)},y.prototype.enterBlur=function(S){enterBlur(S),markStatusToUpdate(v)},y.prototype.leaveBlur=function(S){leaveBlur(S),markStatusToUpdate(v)},y.prototype.enterSelect=function(S){enterSelect(S),markStatusToUpdate(v)},y.prototype.leaveSelect=function(S){leaveSelect(S),markStatusToUpdate(v)},y.prototype.getModel=function(){return v.getModel()},y.prototype.getViewOfComponentModel=function(S){return v.getViewOfComponentModel(S)},y.prototype.getViewOfSeriesModel=function(S){return v.getViewOfSeriesModel(S)},y}(ExtensionAPI$1))(v)},enableConnect=function(v){function g(y,S){for(var b=0;b=0)){registeredTasks.push(n);var s=Scheduler$1.wrapStageHandler(n,o);s.__prio=r,s.__raw=n,t.push(s)}}function registerLoading(t,r){loadingEffects[t]=r}function registerMap$1(t,r,n){var a=getImpl("registerMap");a&&a(t,r,n)}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);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 extensions=[],extensionRegisters={registerPreprocessor,registerProcessor,registerPostInit,registerPostUpdate,registerUpdateLifecycle,registerAction,registerCoordinateSystem,registerLayout,registerVisual,registerTransform,registerLoading,registerMap:registerMap$1,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(t){if(isArray$2(t)){each$f(t,function(r){use(r)});return}indexOf(extensions,t)>=0||(extensions.push(t),isFunction$1(t)&&(t={install:t}),t.install(extensionRegisters))}function dataIndexMapValueLength(t){return t==null?0:t.length||1}function defaultKeyGetter(t){return t}var DataDiffer=function(){function t(r,n,a,o,s,l){this._old=r,this._new=n,this._oldKeyGetter=a||defaultKeyGetter,this._newKeyGetter=o||defaultKeyGetter,this.context=s,this._diffModeMultiple=l==="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,n=this._new,a={},o=new Array(r.length),s=new Array(n.length);this._initIndexMap(r,null,o,"_oldKeyGetter"),this._initIndexMap(n,a,s,"_newKeyGetter");for(var l=0;l1){var d=c.shift();c.length===1&&(a[u]=c[0]),this._update&&this._update(d,l)}else f===1?(a[u]=null,this._update&&this._update(c,l)):this._remove&&this._remove(l)}this._performRestAdd(s,a)},t.prototype._executeMultiple=function(){var r=this._old,n=this._new,a={},o={},s=[],l=[];this._initIndexMap(r,a,s,"_oldKeyGetter"),this._initIndexMap(n,o,l,"_newKeyGetter");for(var u=0;u1&&g===1)this._updateManyToOne&&this._updateManyToOne(d,f),o[c]=null;else if(v===1&&g>1)this._updateOneToMany&&this._updateOneToMany(d,f),o[c]=null;else if(v===1&&g===1)this._update&&this._update(d,f),o[c]=null;else if(v>1&&g>1)this._updateManyToMany&&this._updateManyToMany(d,f),o[c]=null;else if(v>1)for(var y=0;y1)for(var u=0;u30}var isObject$2=isObject$4,map=map$1,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,n){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 a,o=!1;isSeriesDataSchema(r)?(a=r.dimensions,this._dimOmitted=r.isDimensionOmitted(),this._schema=r):(o=!0,a=r),a=a||["x","y"];for(var s={},l=[],u={},c=!1,f={},d=0;d=n)){var a=this._store,o=a.getProvider();this._updateOrdinalMeta();var s=this._nameList,l=this._idList,u=o.getSource().sourceFormat,c=u===SOURCE_FORMAT_ORIGINAL;if(c&&!o.pure)for(var f=[],d=r;d0},t.prototype.ensureUniqueItemVisual=function(r,n){var a=this._itemVisuals,o=a[r];o||(o=a[r]={});var s=o[n];return s==null&&(s=this.getVisual(n),isArray$2(s)?s=s.slice():isObject$2(s)&&(s=extend({},s)),o[n]=s),s},t.prototype.setItemVisual=function(r,n,a){var o=this._itemVisuals[r]||{};this._itemVisuals[r]=o,isObject$2(n)?extend(o,n):o[n]=a},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(r,n){isObject$2(r)?extend(this._layout,r):this._layout[r]=n},t.prototype.getLayout=function(r){return this._layout[r]},t.prototype.getItemLayout=function(r){return this._itemLayouts[r]},t.prototype.setItemLayout=function(r,n,a){this._itemLayouts[r]=a?extend(this._itemLayouts[r]||{},n):n},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(r,n){var a=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(a,this.dataType,r,n),this._graphicEls[r]=n},t.prototype.getItemGraphicEl=function(r){return this._graphicEls[r]},t.prototype.eachItemGraphicEl=function(r,n){each$f(this._graphicEls,function(a,o){a&&r&&r.call(n,a,o)})},t.prototype.cloneShallow=function(r){return r||(r=new t(this._schema?this._schema:map(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties(r,this),r._store=this._store,r},t.prototype.wrapMethod=function(r,n){var a=this[r];isFunction$1(a)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(r),this[r]=function(){var o=a.apply(this,arguments);return n.apply(this,[o].concat(slice(arguments)))})},t.internalField=function(){prepareInvertedIndex=function(r){var n=r._invertedIndicesMap;each$f(n,function(a,o){var s=r._dimInfos[o],l=s.ordinalMeta,u=r._store;if(l){a=n[o]=new CtorInt32Array(l.categories.length);for(var c=0;c1&&(c+="__ec__"+d),o[n]=c}}}(),t}();const SeriesData$1=SeriesData;function prepareSeriesDataSchema(t,r){isSourceInstance(t)||(t=createSourceFromSeriesDataOption(t)),r=r||{};var n=r.coordDimensions||[],a=r.dimensionsDefine||t.dimensionsDefine||[],o=createHashMap(),s=[],l=getDimCount(t,n,a,r.dimensionsCount),u=r.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(l),c=a===t.dimensionsDefine,f=c?ensureSourceDimNameMap(t):createDimNameMap(a),d=r.encodeDefine;!d&&r.encodeDefaulter&&(d=r.encodeDefaulter(t,l));for(var v=createHashMap(d),g=new CtorInt32Array$1(l),y=0;y0&&(a.name=o+(s-1)),s++,r.set(o,s)}}function getDimCount(t,r,n,a){var o=Math.max(t.dimensionsDetectedCount||1,r.length,n.length,a||0);return each$f(r,function(s){var l;isObject$4(s)&&(l=s.dimsDef)&&(o=Math.max(o,l.length))}),o}function genCoordDimName(t,r,n){if(n||r.hasKey(t)){for(var a=0;r.hasKey(t+a);)a++;t+=a}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"),n=new CoordSysInfo(r),a=fetchers[r];if(a)return a(t,n,n.axisMap,n.categoryAxisMap),n}var fetchers={cartesian2d:function(t,r,n,a){var o=t.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],s=t.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];r.coordSysDims=["x","y"],n.set("x",o),n.set("y",s),isCategory(o)&&(a.set("x",o),r.firstCategoryDimIndex=0),isCategory(s)&&(a.set("y",s),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=1))},singleAxis:function(t,r,n,a){var o=t.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];r.coordSysDims=["single"],n.set("single",o),isCategory(o)&&(a.set("single",o),r.firstCategoryDimIndex=0)},polar:function(t,r,n,a){var o=t.getReferringComponents("polar",SINGLE_REFERRING).models[0],s=o.findAxisModel("radiusAxis"),l=o.findAxisModel("angleAxis");r.coordSysDims=["radius","angle"],n.set("radius",s),n.set("angle",l),isCategory(s)&&(a.set("radius",s),r.firstCategoryDimIndex=0),isCategory(l)&&(a.set("angle",l),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=1))},geo:function(t,r,n,a){r.coordSysDims=["lng","lat"]},parallel:function(t,r,n,a){var o=t.ecModel,s=o.getComponent("parallel",t.get("parallelIndex")),l=r.coordSysDims=s.dimensions.slice();each$f(s.parallelAxisIndex,function(u,c){var f=o.getComponent("parallelAxis",u),d=l[c];n.set(d,f),isCategory(f)&&(a.set(d,f),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=c))})}};function isCategory(t){return t.get("type")==="category"}function enableDataStack(t,r,n){n=n||{};var a=n.byIndex,o=n.stackedCoordDimension,s,l,u;isLegacyDimensionsInput(r)?s=r:(l=r.schema,s=l.dimensions,u=r.store);var c=!!(t&&t.get("stack")),f,d,v,g;if(each$f(s,function(A,M){isString$1(A)&&(s[M]=A={name:A}),c&&!A.isExtraCoord&&(!a&&!f&&A.ordinalMeta&&(f=A),!d&&A.type!=="ordinal"&&A.type!=="time"&&(!o||o===A.coordDim)&&(d=A))}),d&&!a&&!f&&(a=!0),d){v="__\0ecstackresult_"+t.id,g="__\0ecstackedover_"+t.id,f&&(f.createInvertedIndices=!0);var y=d.coordDim,S=d.type,b=0;each$f(s,function(A){A.coordDim===y&&b++});var T={name:v,coordDim:y,coordDimIndex:b,type:S,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:s.length},w={name:g,coordDim:g,coordDimIndex:b+1,type:S,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:s.length+1};l?(u&&(T.storeDimIndex=u.ensureCalculationDimension(g,S),w.storeDimIndex=u.ensureCalculationDimension(v,S)),l.appendCalculationDimension(T),l.appendCalculationDimension(w)):(s.push(T),s.push(w))}return{stackedDimension:d&&d.name,stackedByDimension:f&&f.name,isStackedByIndex:a,stackedOverDimension:g,stackResultDimension:v}}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 n=t.get("coordinateSystem"),a=CoordinateSystem.get(n),o;return r&&r.coordSysDims&&(o=map$1(r.coordSysDims,function(s){var l={name:s},u=r.axisMap.get(s);if(u){var c=u.get("type");l.type=getDimensionTypeByAxis(c)}return l})),o||(o=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),o}function injectOrdinalMeta(t,r,n){var a,o;return n&&each$f(t,function(s,l){var u=s.coordDim,c=n.categoryAxisMap.get(u);c&&(a==null&&(a=l),s.ordinalMeta=c.getOrdinalMeta(),r&&(s.createInvertedIndices=!0)),s.otherDims.itemName!=null&&(o=!0)}),!o&&a!=null&&(t[a].otherDims.itemName=0),a}function createSeriesData(t,r,n){n=n||{};var a=r.getSourceManager(),o,s=!1;t?(s=!0,o=createSourceFromSeriesDataOption(t)):(o=a.getSource(),s=o.sourceFormat===SOURCE_FORMAT_ORIGINAL);var l=getCoordSysInfoBySeries(r),u=getCoordSysDimDefs(r,l),c=n.useEncodeDefaulter,f=isFunction$1(c)?c:c?curry$1(makeSeriesEncodeForAxisCoordSys,u,r):null,d={coordDimensions:u,generateCoord:n.generateCoord,encodeDefine:r.getEncode(),encodeDefaulter:f,canOmitUnusedDimensions:!s},v=prepareSeriesDataSchema(o,d),g=injectOrdinalMeta(v.dimensions,n.createInvertedIndices,l),y=s?null:a.getSharedDataStore(v),S=enableDataStack(r,{schema:v,store:y}),b=new SeriesData$1(v,r);b.setCalculationInfo(S);var T=g!=null&&isNeedCompleteOrdinalData(o)?function(w,A,M,L){return L===g?M:this.defaultDimValueGetter(w,A,M,L)}:null;return b.hasItemOption=!1,b.initData(s?o:y,null,T),b}function isNeedCompleteOrdinalData(t){if(t.sourceFormat===SOURCE_FORMAT_ORIGINAL){var r=firstDataNotNull(t.data||[]);return!isArray$2(getDataItemValue(r))}}function firstDataNotNull(t){for(var r=0;rn[1]&&(n[1]=r[1])},t.prototype.unionExtentFromData=function(r,n){this.unionExtent(r.getApproximateExtent(n))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(r,n){var a=this._extent;isNaN(r)||(a[0]=r),isNaN(n)||(a[1]=n)},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 n=r.option,a=n.data,o=a&&map$1(a,getName);return new t({categories:o,needCollect:!o,deduplication:n.dedplication!==!1})},t.prototype.getOrdinal=function(r){return this._getOrCreateMap().get(r)},t.prototype.parseAndCollect=function(r){var n,a=this._needCollect;if(!isString$1(r)&&!a)return r;if(a&&!this._deduplication)return n=this.categories.length,this.categories[n]=r,n;var o=this._getOrCreateMap();return n=o.get(r),n==null&&(a?(n=this.categories.length,this.categories[n]=r,o.set(r,n)):n=NaN),n},t.prototype._getOrCreateMap=function(){return this._map||(this._map=createHashMap(this.categories))},t}();function getName(t){return isObject$4(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,n,a){var o={},s=t[1]-t[0],l=o.interval=nice(s/r,!0);n!=null&&la&&(l=o.interval=a);var u=o.intervalPrecision=getIntervalPrecision(l),c=o.niceTickExtent=[round$3(Math.ceil(t[0]/l)*l,u),round$3(Math.floor(t[1]/l)*l,u)];return fixExtent(c,t),o}function increaseInterval(t){var r=Math.pow(10,quantityExponent(t)),n=t/r;return n?n===2?n=3:n===3?n=5:n*=2:n=1,round$3(n*r)}function getIntervalPrecision(t){return getPrecision(t)+2}function clamp(t,r,n){t[r]=Math.max(Math.min(t[r],n[1]),n[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$2(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(n){var a=t.call(this,n)||this;a.type="ordinal";var o=a.getSetting("ordinalMeta");return o||(o=new OrdinalMeta$1({})),isArray$2(o)&&(o=new OrdinalMeta$1({categories:map$1(o,function(s){return isObject$4(s)?s.value:s})})),a._ordinalMeta=o,a._extent=a.getSetting("extent")||[0,o.categories.length-1],a}return r.prototype.parse=function(n){return n==null?NaN:isString$1(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},r.prototype.contain=function(n){return n=this.parse(n),contain$1(n,this._extent)&&this._ordinalMeta.categories[n]!=null},r.prototype.normalize=function(n){return n=this._getTickNumber(this.parse(n)),normalize$2(n,this._extent)},r.prototype.scale=function(n){return n=Math.round(scale(n,this._extent)),this.getRawOrdinalNumber(n)},r.prototype.getTicks=function(){for(var n=[],a=this._extent,o=a[0];o<=a[1];)n.push({value:o}),o++;return n},r.prototype.getMinorTicks=function(n){},r.prototype.setSortInfo=function(n){if(n==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var a=n.ordinalNumbers,o=this._ordinalNumbersByTick=[],s=this._ticksByOrdinalNumber=[],l=0,u=this._ordinalMeta.categories.length,c=Math.min(u,a.length);l=0&&n=0&&n=n},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$3,IntervalScale=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return r.prototype.parse=function(n){return n},r.prototype.contain=function(n){return contain$1(n,this._extent)},r.prototype.normalize=function(n){return normalize$2(n,this._extent)},r.prototype.scale=function(n){return scale(n,this._extent)},r.prototype.setExtent=function(n,a){var o=this._extent;isNaN(n)||(o[0]=parseFloat(n)),isNaN(a)||(o[1]=parseFloat(a))},r.prototype.unionExtent=function(n){var a=this._extent;n[0]a[1]&&(a[1]=n[1]),this.setExtent(a[0],a[1])},r.prototype.getInterval=function(){return this._interval},r.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision(n)},r.prototype.getTicks=function(n){var a=this._interval,o=this._extent,s=this._niceExtent,l=this._intervalPrecision,u=[];if(!a)return u;var c=1e4;o[0]c)return[];var d=u.length?u[u.length-1].value:s[1];return o[1]>d&&(n?u.push({value:roundNumber(d+a,l)}):u.push({value:o[1]})),u},r.prototype.getMinorTicks=function(n){for(var a=this.getTicks(!0),o=[],s=this.getExtent(),l=1;ls[0]&&y0&&(s=s===null?u:Math.min(s,u))}n[a]=s}}return n}function makeColumnLayout(t){var r=getValueAxesMinGaps(t),n=[];return each$f(t,function(a){var o=a.coordinateSystem,s=o.getBaseAxis(),l=s.getExtent(),u;if(s.type==="category")u=s.getBandWidth();else if(s.type==="value"||s.type==="time"){var c=s.dim+"_"+s.index,f=r[c],d=Math.abs(l[1]-l[0]),v=s.scale.getExtent(),g=Math.abs(v[1]-v[0]);u=f?d/g*f:d}else{var y=a.getData();u=Math.abs(l[1]-l[0])/y.count()}var S=parsePercent(a.get("barWidth"),u),b=parsePercent(a.get("barMaxWidth"),u),T=parsePercent(a.get("barMinWidth")||(isInLargeMode(a)?.5:1),u),w=a.get("barGap"),A=a.get("barCategoryGap");n.push({bandWidth:u,barWidth:S,barMaxWidth:b,barMinWidth:T,barGap:w,barCategoryGap:A,axisKey:getAxisKey$1(s),stackId:getSeriesStackId$1(a)})}),doCalBarWidthAndOffset(n)}function doCalBarWidthAndOffset(t){var r={};each$f(t,function(a,o){var s=a.axisKey,l=a.bandWidth,u=r[s]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},c=u.stacks;r[s]=u;var f=a.stackId;c[f]||u.autoWidthCount++,c[f]=c[f]||{width:0,maxWidth:0};var d=a.barWidth;d&&!c[f].width&&(c[f].width=d,d=Math.min(u.remainedWidth,d),u.remainedWidth-=d);var v=a.barMaxWidth;v&&(c[f].maxWidth=v);var g=a.barMinWidth;g&&(c[f].minWidth=g);var y=a.barGap;y!=null&&(u.gap=y);var S=a.barCategoryGap;S!=null&&(u.categoryGap=S)});var n={};return each$f(r,function(a,o){n[o]={};var s=a.stacks,l=a.bandWidth,u=a.categoryGap;if(u==null){var c=keys(s).length;u=Math.max(35-c*4,15)+"%"}var f=parsePercent(u,l),d=parsePercent(a.gap,1),v=a.remainedWidth,g=a.autoWidthCount,y=(v-f)/(g+(g-1)*d);y=Math.max(y,0),each$f(s,function(w){var A=w.maxWidth,M=w.minWidth;if(w.width){var L=w.width;A&&(L=Math.min(L,A)),M&&(L=Math.max(L,M)),w.width=L,v-=L+d*L,g--}else{var L=y;A&&AL&&(L=M),L!==y&&(w.width=L,v-=L+d*L,g--)}}),y=(v-f)/(g+(g-1)*d),y=Math.max(y,0);var S=0,b;each$f(s,function(w,A){w.width||(w.width=y),b=w,S+=w.width*(1+d)}),b&&(S-=b.width*d);var T=-S/2;each$f(s,function(w,A){n[o][A]=n[o][A]||{bandWidth:l,offset:T,width:w.width},T+=w.width*(1+d)})}),n}function retrieveColumnLayout(t,r,n){if(t&&r){var a=t[getAxisKey$1(r)];return a!=null&&n!=null?a[getSeriesStackId$1(n)]:a}}function layout$3(t,r){var n=prepareLayoutBarSeries(t,r),a=makeColumnLayout(n);each$f(n,function(o){var s=o.getData(),l=o.coordinateSystem,u=l.getBaseAxis(),c=getSeriesStackId$1(o),f=a[getAxisKey$1(u)][c],d=f.offset,v=f.width;s.setLayout({bandWidth:f.bandWidth,offset:d,size:v})})}function createProgressiveLayout(t){return{seriesType:t,plan:createRenderPlanner(),reset:function(r){if(isOnCartesian(r)){var n=r.getData(),a=r.coordinateSystem,o=a.getBaseAxis(),s=a.getOtherAxis(o),l=n.getDimensionIndex(n.mapDimension(s.dim)),u=n.getDimensionIndex(n.mapDimension(o.dim)),c=r.get("showBackground",!0),f=n.mapDimension(s.dim),d=n.getCalculationInfo("stackResultDimension"),v=isDimensionStacked(n,f)&&!!n.getCalculationInfo("stackedOnSeries"),g=s.isHorizontal(),y=getValueAxisStart(o,s),S=isInLargeMode(r),b=r.get("barMinHeight")||0,T=d&&n.getDimensionIndex(d),w=n.getLayout("size"),A=n.getLayout("offset");return{progress:function(M,L){for(var O=M.count,D=S&&createFloat32Array(O*3),V=S&&c&&createFloat32Array(O*3),z=S&&createFloat32Array(O),Y=a.master.getRect(),ie=g?Y.width:Y.height,j,le=L.getStore(),de=0;(j=M.next())!=null;){var xe=le.get(v?T:l,j),Ie=le.get(u,j),Ce=y,Fe=void 0;v&&(Fe=+xe-le.get(l,j));var Ue=void 0,Pt=void 0,Dt=void 0,rr=void 0;if(g){var ur=a.dataToPoint([xe,Ie]);if(v){var Sr=a.dataToPoint([Fe,Ie]);Ce=Sr[0]}Ue=Ce,Pt=ur[1]+A,Dt=ur[0]-Ce,rr=w,Math.abs(Dt)>>1;t[o][1]o&&(this._approxInterval=o);var u=scaleIntervals.length,c=Math.min(bisect(scaleIntervals,this._approxInterval,0,u),u-1);this._interval=scaleIntervals[c][1],this._minLevelUnit=scaleIntervals[Math.max(c-1,0)][0]},r.prototype.parse=function(n){return isNumber$1(n)?n:+parseDate(n)},r.prototype.contain=function(n){return contain$1(this.parse(n),this._extent)},r.prototype.normalize=function(n){return normalize$2(this.parse(n),this._extent)},r.prototype.scale=function(n){return scale(n,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,n,a){var o=parseDate(r),s=parseDate(n),l=function(S){return getUnitValue(o,S,a)===getUnitValue(s,S,a)},u=function(){return l("year")},c=function(){return u()&&l("month")},f=function(){return c()&&l("day")},d=function(){return f()&&l("hour")},v=function(){return d()&&l("minute")},g=function(){return v()&&l("second")},y=function(){return g()&&l("millisecond")};switch(t){case"year":return u();case"month":return c();case"day":return f();case"hour":return d();case"minute":return v();case"second":return g();case"millisecond":return y()}}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,n){var a=new Date(t);switch(getPrimaryTimeUnit(r)){case"year":case"month":a[monthSetterName(n)](0);case"day":a[dateSetterName(n)](1);case"hour":a[hoursSetterName(n)](0);case"minute":a[minutesSetterName(n)](0);case"second":a[secondsSetterName(n)](0),a[millisecondsSetterName(n)](0)}return a.getTime()}function getIntervalTicks(t,r,n,a){var o=1e4,s=timeUnits,l=0;function u(ie,j,le,de,xe,Ie,Ce){for(var Fe=new Date(j),Ue=j,Pt=Fe[de]();Ue1&&Ie===0&&le.unshift({value:le[0].value-Ue})}}for(var Ie=0;Ie=a[0]&&A<=a[1]&&v++)}var M=(a[1]-a[0])/r;if(v>M*1.5&&g>M/1.5||(f.push(T),v>M||t===s[y]))break}d=[]}}}for(var L=filter(map$1(f,function(ie){return filter(ie,function(j){return j.value>=a[0]&&j.value<=a[1]&&!j.notAdd})}),function(ie){return ie.length>0}),O=[],D=L.length-1,y=0;y0;)s*=10;var u=[round$3(mathCeil$1(a[0]/s)*s),round$3(mathFloor$1(a[1]/s)*s)];this._interval=s,this._niceExtent=u}},r.prototype.calcNiceExtent=function(n){intervalScaleProto.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},r.prototype.parse=function(n){return n},r.prototype.contain=function(n){return n=mathLog$1(n)/mathLog$1(this.base),contain$1(n,this._extent)},r.prototype.normalize=function(n){return n=mathLog$1(n)/mathLog$1(this.base),normalize$2(n,this._extent)},r.prototype.scale=function(n){return n=scale(n,this._extent),mathPow$1(this.base,n)},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,n,a){this._prepareParams(r,n,a)}return t.prototype._prepareParams=function(r,n,a){a[1]0&&c>0&&!f&&(u=0),u<0&&c<0&&!d&&(c=0));var g=this._determinedMin,y=this._determinedMax;return g!=null&&(u=g,f=!0),y!=null&&(c=y,d=!0),{min:u,max:c,minFixed:f,maxFixed:d,isBlank:v}},t.prototype.modifyDataMinMax=function(r,n){this[DATA_MIN_MAX_ATTR[r]]=n},t.prototype.setDeterminedMinMax=function(r,n){var a=DETERMINED_MIN_MAX_ATTR[r];this[a]=n},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,n){var a=t.rawExtentInfo;return a||(a=new ScaleRawExtentInfo(t,r,n),t.rawExtentInfo=a,a)}function parseAxisModelMinMax(t,r){return r==null?null:eqNaN(r)?NaN:t.parse(r)}function getScaleExtent(t,r){var n=t.type,a=ensureScaleRawExtentInfo(t,r,t.getExtent()).calculate();t.setBlank(a.isBlank);var o=a.min,s=a.max,l=r.ecModel;if(l&&n==="time"){var u=prepareLayoutBarSeries("bar",l),c=!1;if(each$f(u,function(v){c=c||v.getBaseAxis()===r.axis}),c){var f=makeColumnLayout(u),d=adjustScaleForOverflow(o,s,r,f);o=d.min,s=d.max}}return{extent:[o,s],fixMin:a.minFixed,fixMax:a.maxFixed}}function adjustScaleForOverflow(t,r,n,a){var o=n.axis.getExtent(),s=o[1]-o[0],l=retrieveColumnLayout(a,n.axis);if(l===void 0)return{min:t,max:r};var u=1/0;each$f(l,function(y){u=Math.min(y.offset,u)});var c=-1/0;each$f(l,function(y){c=Math.max(y.offset+y.width,c)}),u=Math.abs(u),c=Math.abs(c);var f=u+c,d=r-t,v=1-(u+c)/s,g=d/v-d;return r+=g*(c/f),t-=g*(u/f),{min:t,max:r}}function niceScaleExtent(t,r){var n=r,a=getScaleExtent(t,n),o=a.extent,s=n.get("splitNumber");t instanceof LogScale$1&&(t.base=n.get("logBase"));var l=t.type,u=n.get("interval"),c=l==="interval"||l==="time";t.setExtent(o[0],o[1]),t.calcNiceExtent({splitNumber:s,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:c?n.get("minInterval"):null,maxInterval:c?n.get("maxInterval"):null}),u!=null&&t.setInterval&&t.setInterval(u)}function createScaleByModel$1(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(),n=r[0],a=r[1];return!(n>0&&a>0||n<0&&a<0)}function makeLabelFormatter(t){var r=t.getLabelModel().get("formatter"),n=t.type==="category"?t.scale.getExtent()[0]:null;return t.scale.type==="time"?function(a){return function(o,s){return t.scale.getFormattedLabel(o,s,a)}}(r):isString$1(r)?function(a){return function(o){var s=t.scale.getLabel(o),l=a.replace("{value}",s??"");return l}}(r):isFunction$1(r)?function(a){return function(o,s){return n!=null&&(s=o.value-n),a(getAxisRawValue(t,o),s,o.level!=null?{level:o.level}:null)}}(r):function(a){return t.scale.getLabel(a)}}function getAxisRawValue(t,r){return t.type==="category"?t.scale.getLabel(r):r.value}function estimateLabelUnionRect(t){var r=t.model,n=t.scale;if(!(!r.get(["axisLabel","show"])||n.isBlank())){var a,o,s=n.getExtent();n instanceof OrdinalScale$1?o=n.count():(a=n.getTicks(),o=a.length);var l=t.getLabelModel(),u=makeLabelFormatter(t),c,f=1;o>40&&(f=Math.ceil(o/40));for(var d=0;dt[1]&&(t[1]=o[1])})}var AxisModelCommonMixin=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var r=this.option;return!r.scale},t.prototype.getCoordSysModel=function(){},t}(),EPSILON=1e-8;function isAroundEqual(t,r){return Math.abs(t-r)o&&(a=l,o=c)}if(a)return centroid$1(a.exterior);var f=this.getBoundingRect();return[f.x+f.width/2,f.y+f.height/2]},r.prototype.getBoundingRect=function(n){var a=this._rect;if(a&&!n)return a;var o=[1/0,1/0],s=[-1/0,-1/0],l=this.geometries;return each$f(l,function(u){u.type==="polygon"?updateBBoxFromPoints(u.exterior,o,s,n):each$f(u.points,function(c){updateBBoxFromPoints(c,o,s,n)})}),isFinite(o[0])&&isFinite(o[1])&&isFinite(s[0])&&isFinite(s[1])||(o[0]=o[1]=s[0]=s[1]=0),a=new BoundingRect$1(o[0],o[1],s[0]-o[0],s[1]-o[1]),n||(this._rect=a),a},r.prototype.contain=function(n){var a=this.getBoundingRect(),o=this.geometries;if(!a.contain(n[0],n[1]))return!1;e:for(var s=0,l=o.length;s>1^-(u&1),c=c>>1^-(c&1),u+=o,c+=s,o=u,s=c,a.push([u/n,c/n])}return a}function parseGeoJSON(t,r){return t=decode(t),map$1(filter(t.features,function(n){return n.geometry&&n.properties&&n.geometry.coordinates.length>0}),function(n){var a=n.properties,o=n.geometry,s=[];switch(o.type){case"Polygon":var l=o.coordinates;s.push(new GeoJSONPolygonGeometry(l[0],l.slice(1)));break;case"MultiPolygon":each$f(o.coordinates,function(c){c[0]&&s.push(new GeoJSONPolygonGeometry(c[0],c.slice(1)))});break;case"LineString":s.push(new GeoJSONLineStringGeometry([o.coordinates]));break;case"MultiLineString":s.push(new GeoJSONLineStringGeometry(o.coordinates))}var u=new GeoJSONRegion(a[r||"name"],s,a.cp);return u.properties=a,u})}var inner$g=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$1(t.scale.getTicks(),function(n){return n.value})}}function makeCategoryLabels(t){var r=t.getLabelModel(),n=makeCategoryLabelsActually(t,r);return!r.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function makeCategoryLabelsActually(t,r){var n=getListCache(t,"labels"),a=getOptionCategoryInterval(r),o=listCacheGet(n,a);if(o)return o;var s,l;return isFunction$1(a)?s=makeLabelsByCustomizedCategoryInterval(t,a):(l=a==="auto"?makeAutoCategoryInterval(t):a,s=makeLabelsByNumericCategoryInterval(t,l)),listCacheSet(n,a,{labels:s,labelCategoryInterval:l})}function makeCategoryTicks(t,r){var n=getListCache(t,"ticks"),a=getOptionCategoryInterval(r),o=listCacheGet(n,a);if(o)return o;var s,l;if((!r.get("show")||t.scale.isBlank())&&(s=[]),isFunction$1(a))s=makeLabelsByCustomizedCategoryInterval(t,a,!0);else if(a==="auto"){var u=makeCategoryLabelsActually(t,t.getLabelModel());l=u.labelCategoryInterval,s=map$1(u.labels,function(c){return c.tickValue})}else l=a,s=makeLabelsByNumericCategoryInterval(t,l,!0);return listCacheSet(n,a,{ticks:s,tickCategoryInterval:l})}function makeRealNumberLabels(t){var r=t.scale.getTicks(),n=makeLabelFormatter(t);return{labels:map$1(r,function(a,o){return{level:a.level,formattedLabel:n(a,o),rawLabel:t.scale.getLabel(a),tickValue:a.value}})}}function getListCache(t,r){return inner$g(t)[r]||(inner$g(t)[r]=[])}function listCacheGet(t,r){for(var n=0;n40&&(u=Math.max(1,Math.floor(l/40)));for(var c=s[0],f=t.dataToCoord(c+1)-t.dataToCoord(c),d=Math.abs(f*Math.cos(a)),v=Math.abs(f*Math.sin(a)),g=0,y=0;c<=s[1];c+=u){var S=0,b=0,T=getBoundingRect(n({value:c}),r.font,"center","top");S=T.width*1.3,b=T.height*1.3,g=Math.max(g,S,7),y=Math.max(y,b,7)}var w=g/d,A=y/v;isNaN(w)&&(w=1/0),isNaN(A)&&(A=1/0);var M=Math.max(0,Math.floor(Math.min(w,A))),L=inner$g(t.model),O=t.getExtent(),D=L.lastAutoInterval,V=L.lastTickCount;return D!=null&&V!=null&&Math.abs(D-M)<=1&&Math.abs(V-l)<=1&&D>M&&L.axisExtent0===O[0]&&L.axisExtent1===O[1]?M=D:(L.lastTickCount=l,L.lastAutoInterval=M,L.axisExtent0=O[0],L.axisExtent1=O[1]),M}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,n){var a=makeLabelFormatter(t),o=t.scale,s=o.getExtent(),l=t.getLabelModel(),u=[],c=Math.max((r||0)+1,1),f=s[0],d=o.count();f!==0&&c>1&&d/c>2&&(f=Math.round(Math.ceil(f/c)*c));var v=shouldShowAllLabels(t),g=l.get("showMinLabel")||v,y=l.get("showMaxLabel")||v;g&&f!==s[0]&&b(s[0]);for(var S=f;S<=s[1];S+=c)b(S);y&&S-c!==s[1]&&b(s[1]);function b(T){var w={value:T};u.push(n?T:{formattedLabel:a(w),rawLabel:o.getLabel(w),tickValue:T})}return u}function makeLabelsByCustomizedCategoryInterval(t,r,n){var a=t.scale,o=makeLabelFormatter(t),s=[];return each$f(a.getTicks(),function(l){var u=a.getLabel(l),c=l.value;r(l.value,u)&&s.push(n?c:{formattedLabel:o(l),rawLabel:u,tickValue:c})}),s}var NORMALIZED_EXTENT=[0,1],Axis=function(){function t(r,n,a){this.onBand=!1,this.inverse=!1,this.dim=r,this.scale=n,this._extent=a||[0,0]}return t.prototype.contain=function(r){var n=this._extent,a=Math.min(n[0],n[1]),o=Math.max(n[0],n[1]);return r>=a&&r<=o},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,n){var a=this._extent;a[0]=r,a[1]=n},t.prototype.dataToCoord=function(r,n){var a=this._extent,o=this.scale;return r=o.normalize(r),this.onBand&&o.type==="ordinal"&&(a=a.slice(),fixExtentWithBands(a,o.count())),linearMap$2(r,NORMALIZED_EXTENT,a,n)},t.prototype.coordToData=function(r,n){var a=this._extent,o=this.scale;this.onBand&&o.type==="ordinal"&&(a=a.slice(),fixExtentWithBands(a,o.count()));var s=linearMap$2(r,a,NORMALIZED_EXTENT,n);return this.scale.scale(s)},t.prototype.pointToData=function(r,n){},t.prototype.getTicksCoords=function(r){r=r||{};var n=r.tickModel||this.getTickModel(),a=createAxisTicks(this,n),o=a.ticks,s=map$1(o,function(u){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(u):u),tickValue:u}},this),l=n.get("alignWithLabel");return fixOnBandTicksCoords(this,s,l,r.clamp),s},t.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var r=this.model.getModel("minorTick"),n=r.get("splitNumber");n>0&&n<100||(n=5);var a=this.scale.getMinorTicks(n),o=map$1(a,function(s){return map$1(s,function(l){return{coord:this.dataToCoord(l),tickValue:l}},this)},this);return o},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,n=this.scale.getExtent(),a=n[1]-n[0]+(this.onBand?1:0);a===0&&(a=1);var o=Math.abs(r[1]-r[0]);return Math.abs(o)/a},t.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},t}();function fixExtentWithBands(t,r){var n=t[1]-t[0],a=r,o=n/a/2;t[0]+=o,t[1]-=o}function fixOnBandTicksCoords(t,r,n,a){var o=r.length;if(!t.onBand||n||!o)return;var s=t.getExtent(),l,u;if(o===1)r[0].coord=s[0],l=r[1]={coord:s[0]};else{var c=r[o-1].tickValue-r[0].tickValue,f=(r[o-1].coord-r[0].coord)/c;each$f(r,function(y){y.coord-=f/2});var d=t.scale.getExtent();u=1+d[1]-r[o-1].tickValue,l={coord:r[o-1].coord+f*u},r.push(l)}var v=s[0]>s[1];g(r[0].coord,s[0])&&(a?r[0].coord=s[0]:r.shift()),a&&g(s[0],r[0].coord)&&r.unshift({coord:s[0]}),g(s[1],l.coord)&&(a?l.coord=s[1]:r.pop()),a&&g(l.coord,s[1])&&r.push({coord:s[1]});function g(y,S){return y=round$3(y),S=round$3(S),v?y>S:yo&&(o+=PI2$2);var y=Math.atan2(u,l);if(y<0&&(y+=PI2$2),y>=a&&y<=o||y+PI2$2>=a&&y+PI2$2<=o)return c[0]=d,c[1]=v,f-n;var S=n*Math.cos(a)+t,b=n*Math.sin(a)+r,T=n*Math.cos(o)+t,w=n*Math.sin(o)+r,A=(S-l)*(S-l)+(b-u)*(b-u),M=(T-l)*(T-l)+(w-u)*(w-u);return A0){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 n=dir.len(),a=dir2.len();if(!(n<.001||a<.001)){dir.scale(1/n),dir2.scale(1/a);var o=dir.dot(dir2),s=Math.cos(r);if(s1&&Point$1.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(t[1])}}}}function limitSurfaceAngle(t,r,n){if(n<=180&&n>0){n=n/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 a=dir.len(),o=dir2.len();if(!(a<.001||o<.001)){dir.scale(1/a),dir2.scale(1/o);var s=dir.dot(r),l=Math.cos(n);if(s=c)Point$1.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,u/Math.tan(Math.PI/2-d));var v=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(v))return;v<0?Point$1.copy(tmpProjPoint,pt1):v>1&&Point$1.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray(t[1])}}}}function setLabelLineState(t,r,n,a){var o=n==="normal",s=o?t:t.ensureState(n);s.ignore=r;var l=a.get("smooth");l&&l===!0&&(l=.3),s.shape=s.shape||{},l>0&&(s.shape.smooth=l);var u=a.getModel("lineStyle").getLineStyle();o?t.useStyle(u):s.style=u}function buildLabelLinePath(t,r){var n=r.smooth,a=r.points;if(a)if(t.moveTo(a[0][0],a[0][1]),n>0&&a.length>=3){var o=dist$1(a[0],a[1]),s=dist$1(a[1],a[2]);if(!o||!s){t.lineTo(a[1][0],a[1][1]),t.lineTo(a[2][0],a[2][1]);return}var l=Math.min(o,s)*n,u=lerp$1([],a[1],a[0],l/o),c=lerp$1([],a[1],a[2],l/s),f=lerp$1([],u,c,.5);t.bezierCurveTo(u[0],u[1],u[0],u[1],f[0],f[1]),t.bezierCurveTo(c[0],c[1],c[0],c[1],a[2][0],a[2][1])}else for(var d=1;d0&&s&&O(-d/l,0,l);var b=t[0],T=t[l-1],w,A;M(),w<0&&D(-w,.8),A<0&&D(A,.8),M(),L(w,A,1),L(A,w,-1),M(),w<0&&V(-w),A<0&&V(A);function M(){w=b.rect[r]-a,A=o-T.rect[r]-T.rect[n]}function L(z,Y,ie){if(z<0){var j=Math.min(Y,-z);if(j>0){O(j*ie,0,l);var le=j+z;le<0&&D(-le*ie,1)}else D(-z*ie,1)}}function O(z,Y,ie){z!==0&&(f=!0);for(var j=Y;j0)for(var le=0;le0;le--){var Ce=ie[le-1]*Ie;O(-Ce,le,l)}}}function V(z){var Y=z<0?-1:1;z=Math.abs(z);for(var ie=Math.ceil(z/(l-1)),j=0;j0?O(ie,0,j+1):O(-ie,l-j-1,l),z-=ie,z<=0)return}return f}function shiftLayoutOnX(t,r,n,a){return shiftLayout(t,"x","width",r,n,a)}function shiftLayoutOnY(t,r,n,a){return shiftLayout(t,"y","height",r,n,a)}function hideOverlap(t){var r=[];t.sort(function(b,T){return T.priority-b.priority});var n=new BoundingRect$1(0,0,0,0);function a(b){if(!b.ignore){var T=b.ensureState("emphasis");T.ignore==null&&(T.ignore=!1)}b.ignore=!0}for(var o=0;o=0&&a.attr(s.oldLayoutSelect),indexOf(g,"emphasis")>=0&&a.attr(s.oldLayoutEmphasis)),updateProps$1(a,f,n,c)}else if(a.attr(f),!labelInner(a).valueAnimation){var v=retrieve2(a.style.opacity,1);a.style.opacity=0,initProps(a,{style:{opacity:v}},n,c)}if(s.oldLayout=f,a.states.select){var y=s.oldLayoutSelect={};extendWithKeys(y,f,LABEL_LAYOUT_PROPS),extendWithKeys(y,a.states.select,LABEL_LAYOUT_PROPS)}if(a.states.emphasis){var S=s.oldLayoutEmphasis={};extendWithKeys(S,f,LABEL_LAYOUT_PROPS),extendWithKeys(S,a.states.emphasis,LABEL_LAYOUT_PROPS)}animateLabelValue(a,c,d,n,n)}if(o&&!o.ignore&&!o.invisible){var s=labelLineAnimationStore(o),l=s.oldLayout,b={points:o.shape.points};l?(o.attr({shape:l}),updateProps$1(o,{shape:b},n)):(o.setShape(b),o.style.strokePercent=0,initProps(o,{style:{strokePercent:1}},n)),s.oldLayout=b}},t}();const LabelManager$1=LabelManager;var getLabelManager=makeInner();function installLabelLayout(t){t.registerUpdateLifecycle("series:beforeupdate",function(r,n,a){var o=getLabelManager(n).labelManager;o||(o=getLabelManager(n).labelManager=new LabelManager$1),o.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(r,n,a){var o=getLabelManager(n).labelManager;a.updatedSeries.forEach(function(s){o.addLabelsOfSeries(n.getViewOfSeriesModel(s))}),o.updateLayoutConfig(n),o.layout(n),o.processLabelsOverall()})}var mathSin=Math.sin,mathCos=Math.cos,PI$4=Math.PI,PI2$1=Math.PI*2,degree=180/PI$4,SVGPathRebuilder=function(){function t(){}return t.prototype.reset=function(r){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,r||4)},t.prototype.moveTo=function(r,n){this._add("M",r,n)},t.prototype.lineTo=function(r,n){this._add("L",r,n)},t.prototype.bezierCurveTo=function(r,n,a,o,s,l){this._add("C",r,n,a,o,s,l)},t.prototype.quadraticCurveTo=function(r,n,a,o){this._add("Q",r,n,a,o)},t.prototype.arc=function(r,n,a,o,s,l){this.ellipse(r,n,a,a,0,o,s,l)},t.prototype.ellipse=function(r,n,a,o,s,l,u,c){var f=u-l,d=!c,v=Math.abs(f),g=isAroundZero(v-PI2$1)||(d?f>=PI2$1:-f>=PI2$1),y=f>0?f%PI2$1:f%PI2$1+PI2$1,S=!1;g?S=!0:isAroundZero(v)?S=!1:S=y>=PI$4==!!d;var b=r+a*mathCos(l),T=n+o*mathSin(l);this._start&&this._add("M",b,T);var w=Math.round(s*degree);if(g){var A=1/this._p,M=(d?1:-1)*(PI2$1-A);this._add("A",a,o,w,1,+d,r+a*mathCos(l+M),n+o*mathSin(l+M)),A>.01&&this._add("A",a,o,w,0,+d,b,T)}else{var L=r+a*mathCos(u),O=n+o*mathSin(u);this._add("A",a,o,w,+S,+d,L,O)}},t.prototype.rect=function(r,n,a,o){this._add("M",r,n),this._add("l",a,0),this._add("l",0,o),this._add("l",-a,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(r,n,a,o,s,l,u,c,f){for(var d=[],v=this._p,g=1;g"}function createElementClose(t){return""}function vNodeToString(t,r){r=r||{};var n=r.newline?` +`:"";function a(o){var s=o.children,l=o.tag,u=o.attrs,c=o.text;return createElementOpen(l,u)+(l!=="style"?encodeHTML(c):c||"")+(s?""+n+map$1(s,function(f){return a(f)}).join(n)+n:"")+createElementClose(l)}return a(t)}function getCssString(t,r,n){n=n||{};var a=n.newline?` +`:"",o=" {"+a,s=a+"}",l=map$1(keys(t),function(c){return c+o+map$1(keys(t[c]),function(f){return f+":"+t[c][f]+";"}).join(a)+s}).join(a),u=map$1(keys(r),function(c){return"@keyframes "+c+o+map$1(keys(r[c]),function(f){return f+o+map$1(keys(r[c][f]),function(d){var v=r[c][f][d];return d==="d"&&(v='path("'+v+'")'),d+":"+v+";"}).join(a)+s}).join(a)+s}).join(a);return!l&&!u?"":[""].join(a)}function createBrushScope(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function createSVGVNode(t,r,n,a){return createVNode("svg","root",{width:t,height:r,xmlns:SVGNS,"xmlns:xlink":XLINKNS,version:"1.1",baseProfile:"full",viewBox:a?"0 0 "+t+" "+r:!1},n)}var EASING_MAP={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},transformOriginKey="transform-origin";function buildPathString(t,r,n){var a=extend({},t.shape);extend(a,r),t.buildPath(n,a);var o=new SVGPathRebuilder$1;return o.reset(getPathPrecision(t)),n.rebuildPath(o,1),o.generateStr(),o.getStr()}function setTransformOrigin(t,r){var n=r.originX,a=r.originY;(n||a)&&(t[transformOriginKey]=n+"px "+a+"px")}var ANIMATE_STYLE_MAP={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function addAnimation(t,r){var n=r.zrId+"-ani-"+r.cssAnimIdx++;return r.cssAnims[n]=t,n}function createCompoundPathCSSAnimation(t,r,n){var a=t.shape.paths,o={},s,l;if(each$f(a,function(c){var f=createBrushScope(n.zrId);f.animation=!0,createCSSAnimation(c,{},f,!0);var d=f.cssAnims,v=f.cssNodes,g=keys(d),y=g.length;if(y){l=g[y-1];var S=d[l];for(var b in S){var T=S[b];o[b]=o[b]||{d:""},o[b].d+=T.d||""}for(var w in v){var A=v[w].animation;A.indexOf(l)>=0&&(s=A)}}}),!!s){r.d=!1;var u=addAnimation(o,n);return s.replace(l,u)}}function getEasingFunc(t){return isString$1(t)?EASING_MAP[t]?"cubic-bezier("+EASING_MAP[t]+")":createCubicEasingFunc(t)?t:"":""}function createCSSAnimation(t,r,n,a){var o=t.animators,s=o.length,l=[];if(t instanceof CompoundPath$1){var u=createCompoundPathCSSAnimation(t,r,n);if(u)l.push(u);else if(!s)return}else if(!s)return;for(var c={},f=0;f0}).length){var jt=addAnimation(V,n);return jt+" "+A[0]+" both"}}for(var T in c){var u=b(c[T]);u&&l.push(u)}if(l.length){var w=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+w]={animation:l.join(",")},r.class=w}}var round$1=Math.round;function isImageLike(t){return t&&isString$1(t.src)}function isCanvasLike(t){return t&&isFunction$1(t.toDataURL)}function setStyleAttrs(t,r,n,a){mapStyleToAttrs(function(o,s){var l=o==="fill"||o==="stroke";l&&isGradient(s)?setGradient(r,t,o,a):l&&isPattern(s)?setPattern(n,t,o,a):t[o]=s},r,n,!1),setShadow(n,t,a)}function noRotateScale(t){return isAroundZero(t[0]-1)&&isAroundZero(t[1])&&isAroundZero(t[2])&&isAroundZero(t[3]-1)}function noTranslate(t){return isAroundZero(t[4])&&isAroundZero(t[5])}function setTransform(t,r,n){if(r&&!(noTranslate(r)&&noRotateScale(r))){var a=n?10:1e4;t.transform=noRotateScale(r)?"translate("+round$1(r[4]*a)/a+" "+round$1(r[5]*a)/a+")":getMatrixStr(r)}}function convertPolyShape(t,r,n){for(var a=t.points,o=[],s=0;s"u"){var T="Image width/height must been given explictly in svg-ssr renderer.";assert(g,T),assert(y,T)}else if(g==null||y==null){var w=function(ie,j){if(ie){var le=ie.elm,de=g||j.width,xe=y||j.height;ie.tag==="pattern"&&(f?(xe=1,de/=s.width):d&&(de=1,xe/=s.height)),ie.attrs.width=de,ie.attrs.height=xe,le&&(le.setAttribute("width",de),le.setAttribute("height",xe))}},A=createOrUpdateImage(S,null,t,function(ie){c||w(D,ie),w(v,ie)});A&&A.width&&A.height&&(g=g||A.width,y=y||A.height)}v=createVNode("image","img",{href:S,width:g,height:y}),l.width=g,l.height=y}else o.svgElement&&(v=clone$4(o.svgElement),l.width=o.svgWidth,l.height=o.svgHeight);if(v){var M,L;c?M=L=1:f?(L=1,M=l.width/s.width):d?(M=1,L=l.height/s.height):l.patternUnits="userSpaceOnUse",M!=null&&!isNaN(M)&&(l.width=M),L!=null&&!isNaN(L)&&(l.height=L);var O=getSRTTransformString(o);O&&(l.patternTransform=O);var D=createVNode("pattern","",l,[v]),V=vNodeToString(D),z=a.patternCache,Y=z[V];Y||(Y=a.zrId+"-p"+a.patternIdx++,z[V]=Y,l.id=Y,D=a.defs[Y]=createVNode("pattern",Y,l,[v])),r[n]=getIdURL(Y)}}function setClipPath(t,r,n){var a=n.clipPathCache,o=n.defs,s=a[t.id];if(!s){s=n.zrId+"-c"+n.clipPathIdx++;var l={id:s};a[t.id]=s,o[s]=createVNode("clipPath",s,l,[brushSVGPath(t,n)])}r["clip-path"]=getIdURL(s)}function createTextNode$1(t){return document.createTextNode(t)}function insertBefore(t,r,n){t.insertBefore(r,n)}function removeChild(t,r){t.removeChild(r)}function appendChild(t,r){t.appendChild(r)}function parentNode(t){return t.parentNode}function nextSibling(t){return t.nextSibling}function setTextContent(t,r){t.textContent=r}var colonChar=58,xChar=120,emptyNode=createVNode("","");function isUndef(t){return t===void 0}function isDef(t){return t!==void 0}function createKeyToOldIdx(t,r,n){for(var a={},o=r;o<=n;++o){var s=t[o].key;s!==void 0&&(a[s]=o)}return a}function sameVnode(t,r){var n=t.key===r.key,a=t.tag===r.tag;return a&&n}function createElm(t){var r,n=t.children,a=t.tag;if(isDef(a)){var o=t.elm=createElement(a);if(updateAttrs(emptyNode,t),isArray$2(n))for(r=0;rs?(S=n[c+1]==null?null:n[c+1].elm,addVnodes(t,S,n,o,c)):removeVnodes(t,r,a,s))}function patchVnode(t,r){var n=r.elm=t.elm,a=t.children,o=r.children;t!==r&&(updateAttrs(t,r),isUndef(r.text)?isDef(a)&&isDef(o)?a!==o&&updateChildren(n,a,o):isDef(o)?(isDef(t.text)&&setTextContent(n,""),addVnodes(n,null,o,0,o.length-1)):isDef(a)?removeVnodes(n,a,0,a.length-1):isDef(t.text)&&setTextContent(n,""):t.text!==r.text&&(isDef(a)&&removeVnodes(n,a,0,a.length-1),setTextContent(n,r.text)))}function patch(t,r){if(sameVnode(t,r))patchVnode(t,r);else{var n=t.elm,a=parentNode(n);createElm(r),a!==null&&(insertBefore(a,r.elm,nextSibling(n)),removeVnodes(a,[t],0,0))}return r}var svgId=0,SVGPainter=function(){function t(r,n,a){if(this.type="svg",this.refreshHover=createMethodNotSupport(),this.configLayer=createMethodNotSupport(),this.storage=n,this._opts=a=extend({},a),this.root=r,this._id="zr"+svgId++,this._oldVNode=createSVGVNode(a.width,a.height),r&&!a.ssr){var o=this._viewport=document.createElement("div");o.style.cssText="position:relative;overflow:hidden";var s=this._svgDom=this._oldVNode.elm=createElement("svg");updateAttrs(null,this._oldVNode),o.appendChild(s),r.appendChild(o)}this.resize(a.width,a.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var r=this.getViewportRoot();if(r)return{offsetLeft:r.offsetLeft||0,offsetTop:r.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var r=this.renderToVNode({willUpdate:!0});r.attrs.style="position:absolute;left:0;top:0;user-select:none",patch(this._oldVNode,r),this._oldVNode=r}},t.prototype.renderOneToVNode=function(r){return brush(r,createBrushScope(this._id))},t.prototype.renderToVNode=function(r){r=r||{};var n=this.storage.getDisplayList(!0),a=this._width,o=this._height,s=createBrushScope(this._id);s.animation=r.animation,s.willUpdate=r.willUpdate,s.compress=r.compress;var l=[],u=this._bgVNode=createBackgroundVNode(a,o,this._backgroundColor,s);u&&l.push(u);var c=r.compress?null:this._mainVNode=createVNode("g","main",{},[]);this._paintList(n,s,c?c.children:l),c&&l.push(c);var f=map$1(keys(s.defs),function(g){return s.defs[g]});if(f.length&&l.push(createVNode("defs","defs",{},f)),r.animation){var d=getCssString(s.cssNodes,s.cssAnims,{newline:!0});if(d){var v=createVNode("style","stl",{},[],d);l.push(v)}}return createSVGVNode(a,o,l,r.useViewBox)},t.prototype.renderToString=function(r){return r=r||{},vNodeToString(this.renderToVNode({animation:retrieve2(r.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:retrieve2(r.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(r){this._backgroundColor=r},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(r,n,a){for(var o=r.length,s=[],l=0,u,c,f=0,d=0;d=0&&!(g&&c&&g[b]===c[b]);b--);for(var T=S-1;T>b;T--)l--,u=s[l-1];for(var w=b+1;w=u)}}for(var v=this.__startIndex;v15)break}}xe.prevElClipPaths&&w.restore()};if(A)if(A.length===0)z=T.__endIndex;else for(var ie=y.dpr,j=0;j0&&r>o[0]){for(c=0;cr);c++);u=a[o[c]]}if(o.splice(c+1,0,r),a[r]=n,!n.virtual)if(u){var f=u.dom;f.nextSibling?l.insertBefore(n.dom,f.nextSibling):l.appendChild(n.dom)}else l.firstChild?l.insertBefore(n.dom,l.firstChild):l.appendChild(n.dom);n.__painter=this}},t.prototype.eachLayer=function(r,n){for(var a=this._zlevelList,o=0;o0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),d.__builtin__||logError("ZLevel "+f+" has been used by unkown layer "+d.id),d!==s&&(d.__used=!0,d.__startIndex!==c&&(d.__dirty=!0),d.__startIndex=c,d.incremental?d.__drawIndex=-1:d.__drawIndex=c,n(c),s=d),o.__dirty&REDRAW_BIT&&!o.__inHover&&(d.__dirty=!0,d.incremental&&d.__drawIndex<0&&(d.__drawIndex=c))}n(c),this.eachBuiltinLayer(function(v,g){!v.__used&&v.getElementCount()>0&&(v.__dirty=!0,v.__startIndex=v.__endIndex=v.__drawIndex=0),v.__dirty&&v.__drawIndex<0&&(v.__drawIndex=v.__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$f(this._layers,function(n){n.setUnpainted()})},t.prototype.configLayer=function(r,n){if(n){var a=this._layerConfig;a[r]?merge(a[r],n,!0):a[r]=n;for(var o=0;o-1&&(f.style.stroke=f.style.fill,f.style.fill="#fff",f.style.lineWidth=2),a},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 n=t.mapDimensionsAll("defaultedLabel"),a=n.length;if(a===1){var o=retrieveRawValue(t,r,n[0]);return o!=null?o+"":null}else if(a){for(var s=[],l=0;l=0&&a.push(r[s])}return a.join(" ")}var Symbol$1=function(t){__extends(r,t);function r(n,a,o,s){var l=t.call(this)||this;return l.updateData(n,a,o,s),l}return r.prototype._createSymbol=function(n,a,o,s,l){this.removeAll();var u=createSymbol$1(n,-1,-1,2,2,null,l);u.attr({z2:100,culling:!0,scaleX:s[0]/2,scaleY:s[1]/2}),u.drift=driftSymbol,this._symbolType=n,this.add(u)},r.prototype.stopSymbolAnimation=function(n){this.childAt(0).stopAnimation(null,n)},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(n,a){var o=this.childAt(0);o.zlevel=n,o.z=a},r.prototype.setDraggable=function(n,a){var o=this.childAt(0);o.draggable=n,o.cursor=!a&&n?"move":o.cursor},r.prototype.updateData=function(n,a,o,s){this.silent=!1;var l=n.getItemVisual(a,"symbol")||"circle",u=n.hostModel,c=r.getSymbolSize(n,a),f=l!==this._symbolType,d=s&&s.disableAnimation;if(f){var v=n.getItemVisual(a,"symbolKeepAspect");this._createSymbol(l,n,a,c,v)}else{var g=this.childAt(0);g.silent=!1;var y={scaleX:c[0]/2,scaleY:c[1]/2};d?g.attr(y):updateProps$1(g,y,u,a),saveOldStyle(g)}if(this._updateCommon(n,a,c,o,s),f){var g=this.childAt(0);if(!d){var y={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:g.style.opacity}};g.scaleX=g.scaleY=0,g.style.opacity=0,initProps(g,y,u,a)}}d&&this.childAt(0).stopAnimation("leave")},r.prototype._updateCommon=function(n,a,o,s,l){var u=this.childAt(0),c=n.hostModel,f,d,v,g,y,S,b,T,w;if(s&&(f=s.emphasisItemStyle,d=s.blurItemStyle,v=s.selectItemStyle,g=s.focus,y=s.blurScope,b=s.labelStatesModels,T=s.hoverScale,w=s.cursorStyle,S=s.emphasisDisabled),!s||n.hasItemOption){var A=s&&s.itemModel?s.itemModel:n.getItemModel(a),M=A.getModel("emphasis");f=M.getModel("itemStyle").getItemStyle(),v=A.getModel(["select","itemStyle"]).getItemStyle(),d=A.getModel(["blur","itemStyle"]).getItemStyle(),g=M.get("focus"),y=M.get("blurScope"),S=M.get("disabled"),b=getLabelStatesModels(A),T=M.getShallow("scale"),w=A.getShallow("cursor")}var L=n.getItemVisual(a,"symbolRotate");u.attr("rotation",(L||0)*Math.PI/180||0);var O=normalizeSymbolOffset(n.getItemVisual(a,"symbolOffset"),o);O&&(u.x=O[0],u.y=O[1]),w&&u.attr("cursor",w);var D=n.getItemVisual(a,"style"),V=D.fill;if(u instanceof ZRImage$1){var z=u.style;u.useStyle(extend({image:z.image,x:z.x,y:z.y,width:z.width,height:z.height},D))}else u.__isEmptyBrush?u.useStyle(extend({},D)):u.useStyle(D),u.style.decal=null,u.setColor(V,l&&l.symbolInnerColor),u.style.strokeNoScale=!0;var Y=n.getItemVisual(a,"liftZ"),ie=this._z2;Y!=null?ie==null&&(this._z2=u.z2,u.z2+=Y):ie!=null&&(u.z2=ie,this._z2=null);var j=l&&l.useNameLabel;setLabelStyle(u,b,{labelFetcher:c,labelDataIndex:a,defaultText:le,inheritColor:V,defaultOpacity:D.opacity});function le(Ie){return j?n.getName(Ie):getDefaultLabel(n,Ie)}this._sizeX=o[0]/2,this._sizeY=o[1]/2;var de=u.ensureState("emphasis");de.style=f,u.ensureState("select").style=v,u.ensureState("blur").style=d;var xe=T==null||T===!0?Math.max(1.1,3/this._sizeY):isFinite(T)&&T>0?+T:1;de.scaleX=this._sizeX*xe,de.scaleY=this._sizeY*xe,this.setSymbolScale(1),toggleHoverEmphasis(this,g,y,S)},r.prototype.setSymbolScale=function(n){this.scaleX=this.scaleY=n},r.prototype.fadeOut=function(n,a,o){var s=this.childAt(0),l=getECData(this).dataIndex,u=o&&o.animation;if(this.silent=s.silent=!0,o&&o.fadeLabel){var c=s.getTextContent();c&&removeElement(c,{style:{opacity:0}},a,{dataIndex:l,removeOpt:u,cb:function(){s.removeTextContent()}})}else s.removeTextContent();removeElement(s,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:l,cb:n,removeOpt:u})},r.getSymbolSize=function(n,a){return normalizeSymbolSize(n.getItemVisual(a,"symbolSize"))},r}(Group$4);function driftSymbol(t,r){this.parent.drift(t,r)}const SymbolClz=Symbol$1;function symbolNeedsDraw$1(t,r,n,a){return r&&!isNaN(r[0])&&!isNaN(r[1])&&!(a.isIgnore&&a.isIgnore(n))&&!(a.clipShape&&!a.clipShape.contain(r[0],r[1]))&&t.getItemVisual(n,"symbol")!=="none"}function normalizeUpdateOpt(t){return t!=null&&!isObject$4(t)&&(t={isIgnore:t}),t||{}}function makeSeriesScope$2(t){var r=t.hostModel,n=r.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:r.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:r.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:getLabelStatesModels(r),cursorStyle:r.get("cursor")}}var SymbolDraw=function(){function t(r){this.group=new Group$4,this._SymbolCtor=r||SymbolClz}return t.prototype.updateData=function(r,n){this._progressiveEls=null,n=normalizeUpdateOpt(n);var a=this.group,o=r.hostModel,s=this._data,l=this._SymbolCtor,u=n.disableAnimation,c=makeSeriesScope$2(r),f={disableAnimation:u},d=n.getSymbolPoint||function(v){return r.getItemLayout(v)};s||a.removeAll(),r.diff(s).add(function(v){var g=d(v);if(symbolNeedsDraw$1(r,g,v,n)){var y=new l(r,v,c,f);y.setPosition(g),r.setItemGraphicEl(v,y),a.add(y)}}).update(function(v,g){var y=s.getItemGraphicEl(g),S=d(v);if(!symbolNeedsDraw$1(r,S,v,n)){a.remove(y);return}var b=r.getItemVisual(v,"symbol")||"circle",T=y&&y.getSymbolType&&y.getSymbolType();if(!y||T&&T!==b)a.remove(y),y=new l(r,v,c,f),y.setPosition(S);else{y.updateData(r,v,c,f);var w={x:S[0],y:S[1]};u?y.attr(w):updateProps$1(y,w,o)}a.add(y),r.setItemGraphicEl(v,y)}).remove(function(v){var g=s.getItemGraphicEl(v);g&&g.fadeOut(function(){a.remove(g)},o)}).execute(),this._getSymbolPoint=d,this._data=r},t.prototype.updateLayout=function(){var r=this,n=this._data;n&&n.eachItemGraphicEl(function(a,o){var s=r._getSymbolPoint(o);a.setPosition(s),a.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(r){this._seriesScope=makeSeriesScope$2(r),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(r,n,a){this._progressiveEls=[],a=normalizeUpdateOpt(a);function o(c){c.isGroup||(c.incremental=!0,c.ensureState("emphasis").hoverLayer=!0)}for(var s=r.start;s0?n=a[0]:a[1]<0&&(n=a[1]),n}function getStackedOnPoint(t,r,n,a){var o=NaN;t.stacked&&(o=n.get(n.getCalculationInfo("stackedOverDimension"),a)),isNaN(o)&&(o=t.valueStart);var s=t.baseDataOffset,l=[];return l[s]=n.get(t.baseDim,a),l[1-s]=o,r.dataToPoint(l)}function diffData(t,r){var n=[];return r.diff(t).add(function(a){n.push({cmd:"+",idx:a})}).update(function(a,o){n.push({cmd:"=",idx:o,idx1:a})}).remove(function(a){n.push({cmd:"-",idx:a})}).execute(),n}function lineAnimationDiff(t,r,n,a,o,s,l,u){for(var c=diffData(t,r),f=[],d=[],v=[],g=[],y=[],S=[],b=[],T=prepareDataCoordInfo(o,r,l),w=t.getLayout("points")||[],A=r.getLayout("points")||[],M=0;M=o||b<0)break;if(isPointNull$1(w,A)){if(c){b+=s;continue}break}if(b===n)t[s>0?"moveTo":"lineTo"](w,A),v=w,g=A;else{var M=w-f,L=A-d;if(M*M+L*L<.5){b+=s;continue}if(l>0){for(var O=b+s,D=r[O*2],V=r[O*2+1];D===w&&V===A&&T=a||isPointNull$1(D,V))y=w,S=A;else{ie=D-f,j=V-d;var xe=w-f,Ie=D-w,Ce=A-d,Fe=V-A,Ue=void 0,Pt=void 0;if(u==="x"){Ue=Math.abs(xe),Pt=Math.abs(Ie);var Dt=ie>0?1:-1;y=w-Dt*Ue*l,S=A,le=w+Dt*Pt*l,de=A}else if(u==="y"){Ue=Math.abs(Ce),Pt=Math.abs(Fe);var rr=j>0?1:-1;y=w,S=A-rr*Ue*l,le=w,de=A+rr*Pt*l}else Ue=Math.sqrt(xe*xe+Ce*Ce),Pt=Math.sqrt(Ie*Ie+Fe*Fe),Y=Pt/(Pt+Ue),y=w-ie*l*(1-Y),S=A-j*l*(1-Y),le=w+ie*l*Y,de=A+j*l*Y,le=mathMin$5(le,mathMax$5(D,w)),de=mathMin$5(de,mathMax$5(V,A)),le=mathMax$5(le,mathMin$5(D,w)),de=mathMax$5(de,mathMin$5(V,A)),ie=le-w,j=de-A,y=w-ie*Ue/Pt,S=A-j*Ue/Pt,y=mathMin$5(y,mathMax$5(f,w)),S=mathMin$5(S,mathMax$5(d,A)),y=mathMax$5(y,mathMin$5(f,w)),S=mathMax$5(S,mathMin$5(d,A)),ie=w-y,j=A-S,le=w+ie*Pt/Ue,de=A+j*Pt/Ue}t.bezierCurveTo(v,g,y,S,w,A),v=le,g=de}else t.lineTo(w,A)}f=w,d=A,b+=s}return T}var ECPolylineShape=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),ECPolyline=function(t){__extends(r,t);function r(n){var a=t.call(this,n)||this;return a.type="ec-polyline",a}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new ECPolylineShape},r.prototype.buildPath=function(n,a){var o=a.points,s=0,l=o.length/2;if(a.connectNulls){for(;l>0&&isPointNull$1(o[l*2-2],o[l*2-1]);l--);for(;s=0){var L=f?(S-c)*M+c:(y-u)*M+u;return f?[n,L]:[L,n]}u=y,c=S;break;case l.C:y=s[v++],S=s[v++],b=s[v++],T=s[v++],w=s[v++],A=s[v++];var O=f?cubicRootAt(u,y,b,w,n,d):cubicRootAt(c,S,T,A,n,d);if(O>0)for(var D=0;D=0){var L=f?cubicAt(c,S,T,A,V):cubicAt(u,y,b,w,V);return f?[n,L]:[L,n]}}u=w,c=A;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(n){var a=t.call(this,n)||this;return a.type="ec-polygon",a}return r.prototype.getDefaultShape=function(){return new ECPolygonShape},r.prototype.buildPath=function(n,a){var o=a.points,s=a.stackedOnPoints,l=0,u=o.length/2,c=a.smoothMonotone;if(a.connectNulls){for(;u>0&&isPointNull$1(o[u*2-2],o[u*2-1]);u--);for(;lr){s?n.push(l(s,c,r)):o&&n.push(l(o,c,0),l(o,c,r));break}else o&&(n.push(l(o,c,0)),o=null),n.push(c),s=c}return n}function getVisualGradient(t,r,n){var a=t.getVisual("visualMeta");if(!(!a||!a.length||!t.count())&&r.type==="cartesian2d"){for(var o,s,l=a.length-1;l>=0;l--){var u=t.getDimensionInfo(a[l].dimension);if(o=u&&u.coordDim,o==="x"||o==="y"){s=a[l];break}}if(s){var c=r.getAxis(o),f=map$1(s.stops,function(M){return{coord:c.toGlobalCoord(c.dataToCoord(M.value)),color:M.color}}),d=f.length,v=s.outerColors.slice();d&&f[0].coord>f[d-1].coord&&(f.reverse(),v.reverse());var g=clipColorStops(f,o==="x"?n.getWidth():n.getHeight()),y=g.length;if(!y&&d)return f[0].coord<0?v[1]?v[1]:f[d-1].color:v[0]?v[0]:f[0].color;var S=10,b=g[0].coord-S,T=g[y-1].coord+S,w=T-b;if(w<.001)return"transparent";each$f(g,function(M){M.offset=(M.coord-b)/w}),g.push({offset:y?g[y-1].offset:.5,color:v[1]||"transparent"}),g.unshift({offset:y?g[0].offset:.5,color:v[0]||"transparent"});var A=new LinearGradient$1(0,0,0,0,g,!0);return A[o]=b,A[o+"2"]=T,A}}}function getIsIgnoreFunc(t,r,n){var a=t.get("showAllSymbol"),o=a==="auto";if(!(a&&!o)){var s=n.getAxesByScale("ordinal")[0];if(s&&!(o&&canShowAllSymbolForCategory(s,r))){var l=r.mapDimension(s.dim),u={};return each$f(s.getViewLabels(),function(c){var f=s.scale.getRawOrdinalNumber(c.tickValue);u[f]=1}),function(c){return!u.hasOwnProperty(r.get(l,c))}}}}function canShowAllSymbolForCategory(t,r){var n=t.getExtent(),a=Math.abs(n[1]-n[0])/t.scale.count();isNaN(a)&&(a=0);for(var o=r.count(),s=Math.max(1,Math.round(o/5)),l=0;la)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,n){for(var a=t.length/2,o=n==="x"?0:1,s,l,u=0,c=-1,f=0;f=r||s>=r&&l<=r){c=f;break}u=f,s=l}return{range:[u,c],t:(r-s)/(l-s)}}function anyStateShowEndLabel(t){if(t.get(["endLabel","show"]))return!0;for(var r=0;r0&&n.get(["emphasis","lineStyle","width"])==="bolder"){var Dt=b.getState("emphasis").style;Dt.lineWidth=+b.style.lineWidth+1}getECData(b).seriesIndex=n.seriesIndex,toggleHoverEmphasis(b,Fe,Ue,Pt);var rr=getSmooth(n.get("smooth")),ur=n.get("smoothMonotone");if(b.setShape({smooth:rr,smoothMonotone:ur,connectNulls:z}),T){var Sr=c.getCalculationInfo("stackedOnSeries"),_r=0;T.useStyle(defaults(d.getAreaStyle(),{fill:de,opacity:.7,lineJoin:"bevel",decal:c.getVisual("style").decal})),Sr&&(_r=getSmooth(Sr.get("smooth"))),T.setShape({smooth:rr,stackedOnSmooth:_r,smoothMonotone:ur,connectNulls:z}),setStatesStylesFromModel(T,n,"areaStyle"),getECData(T).seriesIndex=n.seriesIndex,toggleHoverEmphasis(T,Fe,Ue,Pt)}var xr=function(Cr){s._changePolyState(Cr)};c.eachItemGraphicEl(function(Cr){Cr&&(Cr.onHoverStateChange=xr)}),this._polyline.onHoverStateChange=xr,this._data=c,this._coordSys=l,this._stackedOnPoints=D,this._points=v,this._step=j,this._valueOrigin=L,n.get("triggerLineEvent")&&(this.packEventData(n,b),T&&this.packEventData(n,T))},r.prototype.packEventData=function(n,a){getECData(a).eventData={componentType:"series",componentSubType:"line",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"line"}},r.prototype.highlight=function(n,a,o,s){var l=n.getData(),u=queryDataIndex(l,s);if(this._changePolyState("emphasis"),!(u instanceof Array)&&u!=null&&u>=0){var c=l.getLayout("points"),f=l.getItemGraphicEl(u);if(!f){var d=c[u*2],v=c[u*2+1];if(isNaN(d)||isNaN(v)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(d,v))return;var g=n.get("zlevel")||0,y=n.get("z")||0;f=new SymbolClz(l,u),f.x=d,f.y=v,f.setZ(g,y);var S=f.getSymbolPath().getTextContent();S&&(S.zlevel=g,S.z=y,S.z2=this._polyline.z2+1),f.__temp=!0,l.setItemGraphicEl(u,f),f.stopSymbolAnimation(!0),this.group.add(f)}f.highlight()}else ChartView$1.prototype.highlight.call(this,n,a,o,s)},r.prototype.downplay=function(n,a,o,s){var l=n.getData(),u=queryDataIndex(l,s);if(this._changePolyState("normal"),u!=null&&u>=0){var c=l.getItemGraphicEl(u);c&&(c.__temp?(l.setItemGraphicEl(u,null),this.group.remove(c)):c.downplay())}else ChartView$1.prototype.downplay.call(this,n,a,o,s)},r.prototype._changePolyState=function(n){var a=this._polygon;setStatesFlag(this._polyline,n),a&&setStatesFlag(a,n)},r.prototype._newPolyline=function(n){var a=this._polyline;return a&&this._lineGroup.remove(a),a=new ECPolyline({shape:{points:n},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(a),this._polyline=a,a},r.prototype._newPolygon=function(n,a){var o=this._polygon;return o&&this._lineGroup.remove(o),o=new ECPolygon({shape:{points:n,stackedOnPoints:a},segmentIgnoreThreshold:2}),this._lineGroup.add(o),this._polygon=o,o},r.prototype._initSymbolLabelAnimation=function(n,a,o){var s,l,u=a.getBaseAxis(),c=u.inverse;a.type==="cartesian2d"?(s=u.isHorizontal(),l=!1):a.type==="polar"&&(s=u.dim==="angle",l=!0);var f=n.hostModel,d=f.get("animationDuration");isFunction$1(d)&&(d=d(null));var v=f.get("animationDelay")||0,g=isFunction$1(v)?v(null):v;n.eachItemGraphicEl(function(y,S){var b=y;if(b){var T=[y.x,y.y],w=void 0,A=void 0,M=void 0;if(o)if(l){var L=o,O=a.pointToCoord(T);s?(w=L.startAngle,A=L.endAngle,M=-O[1]/180*Math.PI):(w=L.r0,A=L.r,M=O[0])}else{var D=o;s?(w=D.x,A=D.x+D.width,M=y.x):(w=D.y+D.height,A=D.y,M=y.y)}var V=A===w?0:(M-w)/(A-w);c&&(V=1-V);var z=isFunction$1(v)?v(S):d*V+g,Y=b.getSymbolPath(),ie=Y.getTextContent();b.attr({scaleX:0,scaleY:0}),b.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:z}),ie&&ie.animateFrom({style:{opacity:0}},{duration:300,delay:z}),Y.disableLabelAnimation=!0}})},r.prototype._initOrUpdateEndLabel=function(n,a,o){var s=n.getModel("endLabel");if(anyStateShowEndLabel(n)){var l=n.getData(),u=this._polyline,c=l.getLayout("points");if(!c){u.removeTextContent(),this._endLabel=null;return}var f=this._endLabel;f||(f=this._endLabel=new ZRText$1({z2:200}),f.ignoreClip=!0,u.setTextContent(this._endLabel),u.disableLabelAnimation=!0);var d=getLastIndexNotNull(c);d>=0&&(setLabelStyle(u,getLabelStatesModels(n,"endLabel"),{inheritColor:o,labelFetcher:n,labelDataIndex:d,defaultText:function(v,g,y){return y!=null?getDefaultInterpolatedLabel(l,y):getDefaultLabel(l,v)},enableTextSetter:!0},getEndLabelStateSpecified(s,a)),u.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},r.prototype._endLabelOnDuring=function(n,a,o,s,l,u,c){var f=this._endLabel,d=this._polyline;if(f){n<1&&s.originalX==null&&(s.originalX=f.x,s.originalY=f.y);var v=o.getLayout("points"),g=o.hostModel,y=g.get("connectNulls"),S=u.get("precision"),b=u.get("distance")||0,T=c.getBaseAxis(),w=T.isHorizontal(),A=T.inverse,M=a.shape,L=A?w?M.x:M.y+M.height:w?M.x+M.width:M.y,O=(w?b:0)*(A?-1:1),D=(w?0:-b)*(A?-1:1),V=w?"x":"y",z=getIndexRange(v,L,V),Y=z.range,ie=Y[1]-Y[0],j=void 0;if(ie>=1){if(ie>1&&!y){var le=getPointAtIndex(v,Y[0]);f.attr({x:le[0]+O,y:le[1]+D}),l&&(j=g.getRawValue(Y[0]))}else{var le=d.getPointOn(L,V);le&&f.attr({x:le[0]+O,y:le[1]+D});var de=g.getRawValue(Y[0]),xe=g.getRawValue(Y[1]);l&&(j=interpolateRawValues(o,S,de,xe,z.t))}s.lastFrameIndex=Y[0]}else{var Ie=n===1||s.lastFrameIndex>0?Y[0]:0,le=getPointAtIndex(v,Ie);l&&(j=g.getRawValue(Ie)),f.attr({x:le[0]+O,y:le[1]+D})}l&&labelInner(f).setLabelText(j)}},r.prototype._doUpdateAnimation=function(n,a,o,s,l,u,c){var f=this._polyline,d=this._polygon,v=n.hostModel,g=lineAnimationDiff(this._data,n,this._stackedOnPoints,a,this._coordSys,o,this._valueOrigin),y=g.current,S=g.stackedOnCurrent,b=g.next,T=g.stackedOnNext;if(l&&(y=turnPointsIntoStep(g.current,o,l,c),S=turnPointsIntoStep(g.stackedOnCurrent,o,l,c),b=turnPointsIntoStep(g.next,o,l,c),T=turnPointsIntoStep(g.stackedOnNext,o,l,c)),getBoundingDiff(y,b)>3e3||d&&getBoundingDiff(S,T)>3e3){f.stopAnimation(),f.setShape({points:b}),d&&(d.stopAnimation(),d.setShape({points:b,stackedOnPoints:T}));return}f.shape.__points=g.current,f.shape.points=y;var w={shape:{points:b}};g.current!==y&&(w.shape.__points=g.next),f.stopAnimation(),updateProps$1(f,w,v),d&&(d.setShape({points:y,stackedOnPoints:S}),d.stopAnimation(),updateProps$1(d,{shape:{stackedOnPoints:T}},v),f.shape.points!==d.shape.points&&(d.shape.points=f.shape.points));for(var A=[],M=g.status,L=0;Lr&&(r=t[n]);return isFinite(r)?r:NaN},min:function(t){for(var r=1/0,n=0;n10&&l.type==="cartesian2d"&&s){var c=l.getBaseAxis(),f=l.getOtherAxis(c),d=c.getExtent(),v=a.getDevicePixelRatio(),g=Math.abs(d[1]-d[0])*(v||1),y=Math.round(u/g);if(isFinite(y)&&y>1){s==="lttb"&&r.setData(o.lttbDownSample(o.mapDimension(f.dim),1/y));var S=void 0;isString$1(s)?S=samplers[s]:isFunction$1(s)&&(S=s),S&&r.setData(o.downSample(o.mapDimension(f.dim),1/y,S,indexSampler))}}}}}function install$Q(t){t.registerChartView(LineView$1),t.registerSeriesModel(LineSeries),t.registerLayout(pointsLayout("line",!0)),t.registerVisual({seriesType:"line",reset:function(r){var n=r.getData(),a=r.getModel("lineStyle").getLineStyle();a&&!a.stroke&&(a.stroke=n.getVisual("style").fill),n.setVisual("legendLineStyle",a)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))}var BaseBarSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.getInitialData=function(n,a){return createSeriesData(null,this,{useEncodeDefaulter:!0})},r.prototype.getMarkerPosition=function(n,a,o){var s=this.coordinateSystem;if(s&&s.clampData){var l=s.clampData(n),u=s.dataToPoint(l);if(o)each$f(s.getAxes(),function(g,y){if(g.type==="category"&&a!=null){var S=g.getTicksCoords(),b=l[y],T=a[y]==="x1"||a[y]==="y1";if(T&&(b+=1),S.length<2)return;if(S.length===2){u[y]=g.toGlobalCoord(g.getExtent()[T?1:0]);return}for(var w=void 0,A=void 0,M=1,L=0;Lb){A=(O+w)/2;break}L===1&&(M=D-S[0].tickValue)}A==null&&(w?w&&(A=S[S.length-1].coord):A=S[0].coord),u[y]=g.toGlobalCoord(A)}});else{var c=this.getData(),f=c.getLayout("offset"),d=c.getLayout("size"),v=s.getBaseAxis().isHorizontal()?0:1;u[v]+=f+d/2}return u}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 n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}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 n=this.get("progressiveThreshold"),a=this.get("largeThreshold");return a>n&&(n=a),n},r.prototype.brushSelector=function(n,a,o){return o.rect(a.getItemLayout(n))},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(n){var a=t.call(this,n)||this;return a.type="sausage",a}return r.prototype.getDefaultShape=function(){return new SausageShape},r.prototype.buildPath=function(n,a){var o=a.cx,s=a.cy,l=Math.max(a.r0||0,0),u=Math.max(a.r,0),c=(u-l)*.5,f=l+c,d=a.startAngle,v=a.endAngle,g=a.clockwise,y=Math.PI*2,S=g?v-dMath.PI/2&&du)return!0;u=v}return!1},r.prototype._isOrderDifferentInView=function(n,a){for(var o=a.scale,s=o.getExtent(),l=Math.max(0,s[0]),u=Math.min(s[1],o.getOrdinalMeta().categories.length-1);l<=u;++l)if(n.ordinalNumbers[l]!==o.getRawOrdinalNumber(l))return!0},r.prototype._updateSortWithinSameData=function(n,a,o,s){if(this._isOrderChangedWithinSameData(n,a,o)){var l=this._dataSort(n,o,a);this._isOrderDifferentInView(l,o)&&(this._removeOnRenderedListener(s),s.dispatchAction({type:"changeAxisOrder",componentType:o.dim+"Axis",axisId:o.index,sortInfo:l}))}},r.prototype._dispatchInitSort=function(n,a,o){var s=a.baseAxis,l=this._dataSort(n,s,function(u){return n.get(n.mapDimension(a.otherAxis.dim),u)});o.dispatchAction({type:"changeAxisOrder",componentType:s.dim+"Axis",isInitSort:!0,axisId:s.index,sortInfo:l})},r.prototype.remove=function(n,a){this._clear(this._model),this._removeOnRenderedListener(a)},r.prototype.dispose=function(n,a){this._removeOnRenderedListener(a)},r.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},r.prototype._clear=function(n){var a=this.group,o=this._data;n&&n.isAnimationEnabled()&&o&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],o.eachItemGraphicEl(function(s){removeElementWithFadeOut(s,n,getECData(s).dataIndex)})):a.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 n=r.width<0?-1:1,a=r.height<0?-1:1;n<0&&(r.x+=r.width,r.width=-r.width),a<0&&(r.y+=r.height,r.height=-r.height);var o=t.x+t.width,s=t.y+t.height,l=mathMax$4(r.x,t.x),u=mathMin$4(r.x+r.width,o),c=mathMax$4(r.y,t.y),f=mathMin$4(r.y+r.height,s),d=uo?u:l,r.y=v&&c>s?f:c,r.width=d?0:u-l,r.height=v?0:f-c,n<0&&(r.x+=r.width,r.width=-r.width),a<0&&(r.y+=r.height,r.height=-r.height),d||v},polar:function(t,r){var n=r.r0<=r.r?1:-1;if(n<0){var a=r.r;r.r=r.r0,r.r0=a}var o=mathMin$4(r.r,t.r),s=mathMax$4(r.r0,t.r0);r.r=o,r.r0=s;var l=o-s<0;if(n<0){var a=r.r;r.r=r.r0,r.r0=a}return l}},elementCreator={cartesian2d:function(t,r,n,a,o,s,l,u,c){var f=new Rect$3({shape:extend({},a),z2:1});if(f.__dataIndex=n,f.name="item",s){var d=f.shape,v=o?"height":"width";d[v]=0}return f},polar:function(t,r,n,a,o,s,l,u,c){var f=!o&&c?Sausage:Sector$1,d=new f({shape:a,z2:1});d.name="item";var v=createPolarPositionMapping(o);if(d.calculateTextPosition=createSectorCalculateTextPosition(v,{isRoundCap:f===Sausage}),s){var g=d.shape,y=o?"r":"endAngle",S={};g[y]=o?a.r0:a.startAngle,S[y]=a[y],(u?updateProps$1:initProps)(d,{shape:S},s)}return d}};function shouldRealtimeSort(t,r){var n=t.get("realtimeSort",!0),a=r.getBaseAxis();if(n&&a.type==="category"&&r.type==="cartesian2d")return{baseAxis:a,otherAxis:r.getOtherAxis(a)}}function updateRealtimeAnimation(t,r,n,a,o,s,l,u){var c,f;s?(f={x:a.x,width:a.width},c={y:a.y,height:a.height}):(f={y:a.y,height:a.height},c={x:a.x,width:a.width}),u||(l?updateProps$1:initProps)(n,{shape:c},r,o,null);var d=r?t.baseAxis.model:null;(l?updateProps$1:initProps)(n,{shape:f},d,o)}function checkPropertiesNotValid(t,r){for(var n=0;n0?1:-1,l=a.height>0?1:-1;return{x:a.x+s*o/2,y:a.y+l*o/2,width:a.width-s*o,height:a.height-l*o}},polar:function(t,r,n){var a=t.getItemLayout(r);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function isZeroOnPolar(t){return t.startAngle!=null&&t.endAngle!=null&&t.startAngle===t.endAngle}function createPolarPositionMapping(t){return function(r){var n=r?"Arc":"Angle";return function(a){switch(a){case"start":case"insideStart":case"end":case"insideEnd":return a+n;default:return a}}}(t)}function updateStyle(t,r,n,a,o,s,l,u){var c=r.getItemVisual(n,"style");if(u){if(!s.get("roundCap")){var d=t.shape,v=getSectorCornerRadius(a.getModel("itemStyle"),d,!0);extend(d,v),t.setShape(d)}}else{var f=a.get(["itemStyle","borderRadius"])||0;t.setShape("r",f)}t.useStyle(c);var g=a.getShallow("cursor");g&&t.attr("cursor",g);var y=u?l?o.r>=o.r0?"endArc":"startArc":o.endAngle>=o.startAngle?"endAngle":"startAngle":l?o.height>=0?"bottom":"top":o.width>=0?"right":"left",S=getLabelStatesModels(a);setLabelStyle(t,S,{labelFetcher:s,labelDataIndex:n,defaultText:getDefaultLabel(s.getData(),n),inheritColor:c.fill,defaultOpacity:c.opacity,defaultOutsidePosition:y});var b=t.getTextContent();if(u&&b){var T=a.get(["label","position"]);t.textConfig.inside=T==="middle"?!0:null,setSectorTextRotation(t,T==="outside"?y:T,createPolarPositionMapping(l),a.get(["label","rotate"]))}setLabelValueAnimation(b,S,s.getRawValue(n),function(A){return getDefaultInterpolatedLabel(r,A)});var w=a.getModel(["emphasis"]);toggleHoverEmphasis(t,w.get("focus"),w.get("blurScope"),w.get("disabled")),setStatesStylesFromModel(t,a),isZeroOnPolar(o)&&(t.style.fill="none",t.style.stroke="none",each$f(t.states,function(A){A.style&&(A.style.fill=A.style.stroke="none")}))}function getLineWidth(t,r){var n=t.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var a=t.get(["itemStyle","borderWidth"])||0,o=isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),s=isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height);return Math.min(a,o,s)}var LagePathShape=function(){function t(){}return t}(),LargePath=function(t){__extends(r,t);function r(n){var a=t.call(this,n)||this;return a.type="largeBar",a}return r.prototype.getDefaultShape=function(){return new LagePathShape},r.prototype.buildPath=function(n,a){for(var o=a.points,s=this.baseDimIdx,l=1-this.baseDimIdx,u=[],c=[],f=this.barWidth,d=0;d=0?n:null},30,!1);function largePathFindDataIndex(t,r,n){for(var a=t.baseDimIdx,o=1-a,s=t.shape.points,l=t.largeDataIndices,u=[],c=[],f=t.barWidth,d=0,v=s.length/3;d=u[0]&&r<=u[0]+c[0]&&n>=u[1]&&n<=u[1]+c[1])return l[d]}return-1}function createBackgroundShape(t,r,n){if(isCoordinateSystemType(n,"cartesian2d")){var a=r,o=n.getArea();return{x:t?a.x:o.x,y:t?o.y:a.y,width:t?a.width:o.width,height:t?o.height:a.height}}else{var o=n.getArea(),s=r;return{cx:o.cx,cy:o.cy,r0:t?o.r0:s.r0,r:t?o.r:s.r,startAngle:t?s.startAngle:0,endAngle:t?s.endAngle:Math.PI*2}}}function createBackgroundEl(t,r,n){var a=t.type==="polar"?Sector$1:Rect$3;return new a({shape:createBackgroundShape(r,n,t),silent:!0,z2:0})}const BarView$1=BarView;function install$P(t){t.registerChartView(BarView$1),t.registerSeriesModel(BarSeries),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"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,n){var a=r.componentType||"series";n.eachComponent({mainType:a,query:r},function(o){r.sortInfo&&o.axis.setCategorySortInfo(r.sortInfo)})})}var PI2=Math.PI*2,RADIAN$2=Math.PI/180;function getViewRect$5(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function getBasicPieLayout(t,r){var n=getViewRect$5(t,r),a=t.get("center"),o=t.get("radius");isArray$2(o)||(o=[0,o]);var s=parsePercent(n.width,r.getWidth()),l=parsePercent(n.height,r.getHeight()),u=Math.min(s,l),c=parsePercent(o[0],u/2),f=parsePercent(o[1],u/2),d,v,g=t.coordinateSystem;if(g){var y=g.dataToPoint(a);d=y[0]||0,v=y[1]||0}else isArray$2(a)||(a=[a,a]),d=parsePercent(a[0],s)+n.x,v=parsePercent(a[1],l)+n.y;return{cx:d,cy:v,r0:c,r:f}}function pieLayout(t,r,n){r.eachSeriesByType(t,function(a){var o=a.getData(),s=o.mapDimension("value"),l=getViewRect$5(a,n),u=getBasicPieLayout(a,n),c=u.cx,f=u.cy,d=u.r,v=u.r0,g=-a.get("startAngle")*RADIAN$2,y=a.get("minAngle")*RADIAN$2,S=0;o.each(s,function(ie){!isNaN(ie)&&S++});var b=o.getSum(s),T=Math.PI/(b||S)*2,w=a.get("clockwise"),A=a.get("roseType"),M=a.get("stillShowZeroSum"),L=o.getDataExtent(s);L[0]=0;var O=PI2,D=0,V=g,z=w?1:-1;if(o.setLayout({viewRect:l,r:d}),o.each(s,function(ie,j){var le;if(isNaN(ie)){o.setItemLayout(j,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:w,cx:c,cy:f,r0:v,r:A?NaN:d});return}A!=="area"?le=b===0&&M?T:ie*T:le=PI2/S,len?w:T,O=Math.abs(M.label.y-n);if(O>=L.maxY){var D=M.label.x-r-M.len2*o,V=a+M.len,z=Math.abs(D)t.unconstrainedWidth?null:y:null;a.setStyle("width",S)}var b=a.getBoundingRect();s.width=b.width;var T=(a.style.margin||0)+2.1;s.height=b.height+T,s.y-=(s.height-v)/2}}}function isPositionCenter(t){return t.position==="center"}function pieLabelLayout(t){var r=t.getData(),n=[],a,o,s=!1,l=(t.get("minShowLabelAngle")||0)*RADIAN$1,u=r.getLayout("viewRect"),c=r.getLayout("r"),f=u.width,d=u.x,v=u.y,g=u.height;function y(D){D.ignore=!0}function S(D){if(!D.ignore)return!0;for(var V in D.states)if(D.states[V].ignore===!1)return!0;return!1}r.each(function(D){var V=r.getItemGraphicEl(D),z=V.shape,Y=V.getTextContent(),ie=V.getTextGuideLine(),j=r.getItemModel(D),le=j.getModel("label"),de=le.get("position")||j.get(["emphasis","label","position"]),xe=le.get("distanceToLabelLine"),Ie=le.get("alignTo"),Ce=parsePercent(le.get("edgeDistance"),f),Fe=le.get("bleedMargin"),Ue=j.getModel("labelLine"),Pt=Ue.get("length");Pt=parsePercent(Pt,f);var Dt=Ue.get("length2");if(Dt=parsePercent(Dt,f),Math.abs(z.endAngle-z.startAngle)0?"right":"left":ur>0?"left":"right"}var ze=Math.PI,At=0,tr=le.get("rotate");if(isNumber$1(tr))At=tr*(ze/180);else if(de==="center")At=0;else if(tr==="radial"||tr===!0){var hr=ur<0?-rr+ze:-rr;At=hr}else if(tr==="tangential"&&de!=="outside"&&de!=="outer"){var pr=Math.atan2(ur,Sr);pr<0&&(pr=ze*2+pr);var mr=Sr>0;mr&&(pr=ze+pr),At=pr-ze}if(s=!!At,Y.x=_r,Y.y=xr,Y.rotation=At,Y.setStyle({verticalAlign:"middle"}),ar){Y.setStyle({align:jt});var nr=Y.states.select;nr&&(nr.x+=Y.x,nr.y+=Y.y)}else{var ir=Y.getBoundingRect().clone();ir.applyTransform(Y.getComputedTransform());var er=(Y.style.margin||0)+2.1;ir.y-=er/2,ir.height+=er,n.push({label:Y,labelLine:ie,position:de,len:Pt,len2:Dt,minTurnAngle:Ue.get("minTurnAngle"),maxSurfaceAngle:Ue.get("maxSurfaceAngle"),surfaceNormal:new Point$1(ur,Sr),linePoints:Cr,textAlign:jt,labelDistance:xe,labelAlignTo:Ie,edgeDistance:Ce,bleedMargin:Fe,rect:ir,unconstrainedWidth:ir.width,labelStyleWidth:Y.style.width})}V.setTextConfig({inside:ar})}}),!s&&t.get("avoidLabelOverlap")&&avoidOverlap(n,a,o,c,f,g,d,v);for(var b=0;b0){for(var d=l.getItemLayout(0),v=1;isNaN(d&&d.startAngle)&&v=s.r0}},r.type="pie",r}(ChartView$1);const PieView$1=PieView;function createSeriesDataSimply(t,r,n){r=isArray$2(r)&&{coordDimensions:r}||extend({encodeDefine:t.getEncode()},r);var a=t.getSource(),o=prepareSeriesDataSchema(a,r).dimensions,s=new SeriesData$1(o,t);return s.initData(a,n),s}var LegendVisualProvider=function(){function t(r,n){this._getDataWithEncodedVisual=r,this._getRawData=n}return t.prototype.getAllNames=function(){var r=this._getRawData();return r.mapArray(r.getName)},t.prototype.containName=function(r){var n=this._getRawData();return n.indexOfName(r)>=0},t.prototype.indexOfName=function(r){var n=this._getDataWithEncodedVisual();return n.indexOfName(r)},t.prototype.getItemVisual=function(r,n){var a=this._getDataWithEncodedVisual();return a.getItemVisual(r,n)},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(n){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider$1(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(n)},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(n){var a=this.getData(),o=innerData(a),s=o.seats;if(!s){var l=[];a.each(a.mapDimension("value"),function(c){l.push(c)}),s=o.seats=getPercentSeats(l,a.hostModel.get("percentPrecision"))}var u=t.prototype.getDataParams.call(this,n);return u.percent=s[n]||0,u.$vars.push("percent"),u},r.prototype._defaultLabelLine=function(n){defaultEmphasis(n,"labelLine",["show"]);var a=n.labelLine,o=n.emphasis.labelLine;a.show=a.show&&n.label.show,o.show=o.show&&n.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,n){var a=r.getData();a.filterSelf(function(o){var s=a.mapDimension("value"),l=a.get(s,o);return!(isNumber$1(l)&&!isNaN(l)&&l<0)})}}}function install$O(t){t.registerChartView(PieView$1),t.registerSeriesModel(PieSeriesModel$1),createLegacyDataSelectAction("pie",t.registerAction),t.registerLayout(curry$1(pieLayout,"pie")),t.registerProcessor(dataFilter$1("pie")),t.registerProcessor(negativeDataFilter("pie"))}var ScatterSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.hasSymbolVisual=!0,n}return r.prototype.getInitialData=function(n,a){return createSeriesData(null,this,{useEncodeDefaulter:!0})},r.prototype.getProgressive=function(){var n=this.option.progressive;return n??(this.option.large?5e3:this.get("progressive"))},r.prototype.getProgressiveThreshold=function(){var n=this.option.progressiveThreshold;return n??(this.option.large?1e4:this.get("progressiveThreshold"))},r.prototype.brushSelector=function(n,a,o){return o.point(a.getItemLayout(n))},r.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},r.type="series.scatter",r.dependencies=["grid","polar","geo","singleAxis","calendar"],r.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},r}(SeriesModel$1);const ScatterSeriesModel$1=ScatterSeriesModel;var BOOST_SIZE_THRESHOLD=4,LargeSymbolPathShape=function(){function t(){}return t}(),LargeSymbolPath=function(t){__extends(r,t);function r(n){var a=t.call(this,n)||this;return a._off=0,a.hoverDataIdx=-1,a}return r.prototype.getDefaultShape=function(){return new LargeSymbolPathShape},r.prototype.reset=function(){this.notClear=!1,this._off=0},r.prototype.buildPath=function(n,a){var o=a.points,s=a.size,l=this.symbolProxy,u=l.shape,c=n.getContext?n.getContext():n,f=c&&s[0]=0;f--){var d=f*2,v=s[d]-u/2,g=s[d+1]-c/2;if(n>=v&&a>=g&&n<=v+u&&a<=g+c)return f}return-1},r.prototype.contain=function(n,a){var o=this.transformCoordToLocal(n,a),s=this.getBoundingRect();if(n=o[0],a=o[1],s.contain(n,a)){var l=this.hoverDataIdx=this.findDataIndex(n,a);return l>=0}return this.hoverDataIdx=-1,!1},r.prototype.getBoundingRect=function(){var n=this._rect;if(!n){for(var a=this.shape,o=a.points,s=a.size,l=s[0],u=s[1],c=1/0,f=1/0,d=-1/0,v=-1/0,g=0;g=0&&(f.dataIndex=v+(r.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();const LargeSymbolDraw$1=LargeSymbolDraw;var ScatterView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.render=function(n,a,o){var s=n.getData(),l=this._updateSymbolDraw(s,n);l.updateData(s,{clipShape:this._getClipShape(n)}),this._finished=!0},r.prototype.incrementalPrepareRender=function(n,a,o){var s=n.getData(),l=this._updateSymbolDraw(s,n);l.incrementalPrepareUpdate(s),this._finished=!1},r.prototype.incrementalRender=function(n,a,o){this._symbolDraw.incrementalUpdate(n,a.getData(),{clipShape:this._getClipShape(a)}),this._finished=n.end===a.getData().count()},r.prototype.updateTransform=function(n,a,o){var s=n.getData();if(this.group.dirty(),!this._finished||s.count()>1e4)return{update:!0};var l=pointsLayout("").reset(n,a,o);l.progress&&l.progress({start:0,end:s.count(),count:s.count()},s),this._symbolDraw.updateLayout(s)},r.prototype.eachRendered=function(n){this._symbolDraw&&this._symbolDraw.eachRendered(n)},r.prototype._getClipShape=function(n){var a=n.coordinateSystem,o=a&&a.getArea&&a.getArea();return n.get("clip",!0)?o:null},r.prototype._updateSymbolDraw=function(n,a){var o=this._symbolDraw,s=a.pipelineContext,l=s.large;return(!o||l!==this._isLargeDraw)&&(o&&o.remove(),o=this._symbolDraw=l?new LargeSymbolDraw$1:new SymbolDraw$1,this._isLargeDraw=l,this.group.removeAll()),this.group.add(o.group),o},r.prototype.remove=function(n,a){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},r.prototype.dispose=function(){},r.type="scatter",r}(ChartView$1);const ScatterView$1=ScatterView;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,n,a){each$f(AXIS_TYPES,function(o,s){var l=merge(merge({},axisDefault[s],!0),a,!0),u=function(c){__extends(f,c);function f(){var d=c!==null&&c.apply(this,arguments)||this;return d.type=r+"Axis."+s,d}return f.prototype.mergeDefaultAndTheme=function(d,v){var g=fetchLayoutMode(this),y=g?getLayoutParams(d):{},S=v.getTheme();merge(d,S.get(s+"Axis")),merge(d,this.getDefaultOption()),d.type=getAxisType(d),g&&mergeLayoutParam(d,y,g)},f.prototype.optionUpdated=function(){var d=this.option;d.type==="category"&&(this.__ordinalMeta=OrdinalMeta$1.createByAxisModel(this))},f.prototype.getCategories=function(d){var v=this.option;if(v.type==="category")return d?v.data:this.__ordinalMeta.categories},f.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},f.type=r+"Axis."+s,f.defaultOption=l,f}(n);t.registerComponentModel(u)}),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$1(this._dimList,function(r){return this._axes[r]},this)},t.prototype.getAxesByScale=function(r){return r=r.toLowerCase(),filter(this.getAxes(),function(n){return n.scale.type===r})},t.prototype.addAxis=function(r){var n=r.dim;this._axes[n]=r,this._dimList.push(n)},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 n=t!==null&&t.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=cartesian2DDimensions,n}return r.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,a=this.getAxis("y").scale;if(!(!canCalculateAffineTransform(n)||!canCalculateAffineTransform(a))){var o=n.getExtent(),s=a.getExtent(),l=this.dataToPoint([o[0],s[0]]),u=this.dataToPoint([o[1],s[1]]),c=o[1]-o[0],f=s[1]-s[0];if(!(!c||!f)){var d=(u[0]-l[0])/c,v=(u[1]-l[1])/f,g=l[0]-o[0]*d,y=l[1]-s[0]*v,S=this._transform=[d,0,0,v,g,y];this._invTransform=invert([],S)}}},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},r.prototype.containPoint=function(n){var a=this.getAxis("x"),o=this.getAxis("y");return a.contain(a.toLocalCoord(n[0]))&&o.contain(o.toLocalCoord(n[1]))},r.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},r.prototype.containZone=function(n,a){var o=this.dataToPoint(n),s=this.dataToPoint(a),l=this.getArea(),u=new BoundingRect$1(o[0],o[1],s[0]-o[0],s[1]-o[1]);return l.intersect(u)},r.prototype.dataToPoint=function(n,a,o){o=o||[];var s=n[0],l=n[1];if(this._transform&&s!=null&&isFinite(s)&&l!=null&&isFinite(l))return applyTransform$1(o,n,this._transform);var u=this.getAxis("x"),c=this.getAxis("y");return o[0]=u.toGlobalCoord(u.dataToCoord(s,a)),o[1]=c.toGlobalCoord(c.dataToCoord(l,a)),o},r.prototype.clampData=function(n,a){var o=this.getAxis("x").scale,s=this.getAxis("y").scale,l=o.getExtent(),u=s.getExtent(),c=o.parse(n[0]),f=s.parse(n[1]);return a=a||[],a[0]=Math.min(Math.max(Math.min(l[0],l[1]),c),Math.max(l[0],l[1])),a[1]=Math.min(Math.max(Math.min(u[0],u[1]),f),Math.max(u[0],u[1])),a},r.prototype.pointToData=function(n,a){var o=[];if(this._invTransform)return applyTransform$1(o,n,this._invTransform);var s=this.getAxis("x"),l=this.getAxis("y");return o[0]=s.coordToData(s.toLocalCoord(n[0]),a),o[1]=l.coordToData(l.toLocalCoord(n[1]),a),o},r.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},r.prototype.getArea=function(){var n=this.getAxis("x").getGlobalExtent(),a=this.getAxis("y").getGlobalExtent(),o=Math.min(n[0],n[1]),s=Math.min(a[0],a[1]),l=Math.max(n[0],n[1])-o,u=Math.max(a[0],a[1])-s;return new BoundingRect$1(o,s,l,u)},r}(Cartesian$1),Axis2D=function(t){__extends(r,t);function r(n,a,o,s,l){var u=t.call(this,n,a,o)||this;return u.index=0,u.type=s||"value",u.position=l||"bottom",u}return r.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},r.prototype.getGlobalExtent=function(n){var a=this.getExtent();return a[0]=this.toGlobalCoord(a[0]),a[1]=this.toGlobalCoord(a[1]),n&&a[0]>a[1]&&a.reverse(),a},r.prototype.pointToData=function(n,a){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),a)},r.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},r}(Axis$1);const Axis2D$1=Axis2D;function layout$2(t,r,n){n=n||{};var a=t.coordinateSystem,o=r.axis,s={},l=o.getAxesOnZeroOf()[0],u=o.position,c=l?"onZero":u,f=o.dim,d=a.getRect(),v=[d.x,d.x+d.width,d.y,d.y+d.height],g={left:0,right:1,top:0,bottom:1,onZero:2},y=r.get("offset")||0,S=f==="x"?[v[2]-y,v[3]+y]:[v[0]-y,v[1]+y];if(l){var b=l.toGlobalCoord(l.dataToCoord(0));S[g.onZero]=Math.max(Math.min(b,S[1]),S[0])}s.position=[f==="y"?S[g[c]]:v[0],f==="x"?S[g[c]]:v[3]],s.rotation=Math.PI/2*(f==="x"?0:1);var T={top:-1,bottom:1,left:-1,right:1};s.labelDirection=s.tickDirection=s.nameDirection=T[u],s.labelOffset=l?S[g[u]]-S[g.onZero]:0,r.get(["axisTick","inside"])&&(s.tickDirection=-s.tickDirection),retrieve(n.labelInside,r.get(["axisLabel","inside"]))&&(s.labelDirection=-s.labelDirection);var w=r.get(["axisLabel","rotate"]);return s.labelRotate=c==="top"?-w:w,s.z2=1,s}function isCartesian2DSeries(t){return t.get("coordinateSystem")==="cartesian2d"}function findAxisModels(t){var r={xAxisModel:null,yAxisModel:null};return each$f(r,function(n,a){var o=a.replace(/Model$/,""),s=t.getReferringComponents(o,SINGLE_REFERRING).models[0];r[a]=s}),r}var mathLog=Math.log;function alignScaleTicks(t,r,n){var a=IntervalScale$1.prototype,o=a.getTicks.call(n),s=a.getTicks.call(n,!0),l=o.length-1,u=a.getInterval.call(n),c=getScaleExtent(t,r),f=c.extent,d=c.fixMin,v=c.fixMax;if(t.type==="log"){var g=mathLog(t.base);f=[mathLog(f[0])/g,mathLog(f[1])/g]}t.setExtent(f[0],f[1]),t.calcNiceExtent({splitNumber:l,fixMin:d,fixMax:v});var y=a.getExtent.call(t);d&&(f[0]=y[0]),v&&(f[1]=y[1]);var S=a.getInterval.call(t),b=f[0],T=f[1];if(d&&v)S=(T-b)/l;else if(d)for(T=f[0]+S*l;Tf[0]&&isFinite(b)&&isFinite(f[0]);)S=increaseInterval(S),b=f[1]-S*l;else{var w=t.getTicks().length-1;w>l&&(S=increaseInterval(S));var A=S*l;T=Math.ceil(f[1]/S)*S,b=round$3(T-A),b<0&&f[0]>=0?(b=0,T=round$3(A)):T>0&&f[1]<=0&&(T=0,b=-round$3(A))}var M=(o[0].value-s[0].value)/u,L=(o[l].value-s[l].value)/u;a.setExtent.call(t,b+S*M,T+S*L),a.setInterval.call(t,S),(M||L)&&a.setNiceExtent.call(t,b+S,T-S)}var Grid=function(){function t(r,n,a){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,this._initCartesian(r,n,a),this.model=r}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(r,n){var a=this._axesMap;this._updateScale(r,this.model);function o(l){var u,c=keys(l),f=c.length;if(f){for(var d=[],v=f-1;v>=0;v--){var g=+c[v],y=l[g],S=y.model,b=y.scale;isIntervalOrLogScale(b)&&S.get("alignTicks")&&S.get("interval")==null?d.push(y):(niceScaleExtent(b,S),isIntervalOrLogScale(b)&&(u=y))}d.length&&(u||(u=d.pop(),niceScaleExtent(u.scale,u.model)),each$f(d,function(T){alignScaleTicks(T.scale,T.model,u.scale)}))}}o(a.x),o(a.y);var s={};each$f(a.x,function(l){fixAxisOnZero(a,"y",l,s)}),each$f(a.y,function(l){fixAxisOnZero(a,"x",l,s)}),this.resize(this.model,n)},t.prototype.resize=function(r,n,a){var o=r.getBoxLayoutParams(),s=!a&&r.get("containLabel"),l=getLayoutRect(o,{width:n.getWidth(),height:n.getHeight()});this._rect=l;var u=this._axesList;c(),s&&(each$f(u,function(f){if(!f.model.get(["axisLabel","inside"])){var d=estimateLabelUnionRect(f);if(d){var v=f.isHorizontal()?"height":"width",g=f.model.get(["axisLabel","margin"]);l[v]-=d[v]+g,f.position==="top"?l.y+=d.height+g:f.position==="left"&&(l.x+=d.width+g)}}}),c()),each$f(this._coordsList,function(f){f.calcAffineTransform()});function c(){each$f(u,function(f){var d=f.isHorizontal(),v=d?[0,l.width]:[0,l.height],g=f.inverse?1:0;f.setExtent(v[g],v[1-g]),updateAxisTransform(f,d?l.x:l.y)})}},t.prototype.getAxis=function(r,n){var a=this._axesMap[r];if(a!=null)return a[n||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(r,n){if(r!=null&&n!=null){var a="x"+r+"y"+n;return this._coordsMap[a]}isObject$4(r)&&(n=r.yAxisIndex,r=r.xAxisIndex);for(var o=0,s=this._coordsList;o0?"top":"bottom",s="center"):isRadianAroundZero(o-PI$3)?(l=a>0?"bottom":"top",s="center"):(l="middle",o>0&&o0?"right":"left":s=a>0?"left":"right"),{rotation:o,textAlign:s,textVerticalAlign:l}},t.makeAxisEventDataBase=function(r){var n={componentType:r.mainType,componentIndex:r.componentIndex};return n[r.mainType+"Index"]=r.componentIndex,n},t.isLabelSilent=function(r){var n=r.get("tooltip");return r.get("silent")||!(r.get("triggerEvent")||n&&n.show)},t}(),builders={axisLine:function(t,r,n,a){var o=r.get(["axisLine","show"]);if(o==="auto"&&t.handleAutoShown&&(o=t.handleAutoShown("axisLine")),!!o){var s=r.axis.getExtent(),l=a.transform,u=[s[0],0],c=[s[1],0],f=u[0]>c[0];l&&(applyTransform$1(u,u,l),applyTransform$1(c,c,l));var d=extend({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),v=new Line$3({shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:d,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(v.shape,v.style.lineWidth),v.anid="line",n.add(v);var g=r.get(["axisLine","symbol"]);if(g!=null){var y=r.get(["axisLine","symbolSize"]);isString$1(g)&&(g=[g,g]),(isString$1(y)||isNumber$1(y))&&(y=[y,y]);var S=normalizeSymbolOffset(r.get(["axisLine","symbolOffset"])||0,y),b=y[0],T=y[1];each$f([{rotate:t.rotation+Math.PI/2,offset:S[0],r:0},{rotate:t.rotation-Math.PI/2,offset:S[1],r:Math.sqrt((u[0]-c[0])*(u[0]-c[0])+(u[1]-c[1])*(u[1]-c[1]))}],function(w,A){if(g[A]!=="none"&&g[A]!=null){var M=createSymbol$1(g[A],-b/2,-T/2,b,T,d.stroke,!0),L=w.r+w.offset,O=f?c:u;M.attr({rotation:w.rotate,x:O[0]+L*Math.cos(t.rotation),y:O[1]-L*Math.sin(t.rotation),silent:!0,z2:11}),n.add(M)}})}}},axisTickLabel:function(t,r,n,a){var o=buildAxisMajorTicks(n,a,r,t),s=buildAxisLabel(n,a,r,t);if(fixMinMaxLabelShow(r,s,o),buildAxisMinorTicks(n,a,r,t.tickDirection),r.get(["axisLabel","hideOverlap"])){var l=prepareLayoutList(map$1(s,function(u){return{label:u,priority:u.z2,defaultAttr:{ignore:u.ignore}}}));hideOverlap(l)}},axisName:function(t,r,n,a){var o=retrieve(t.axisName,r.get("name"));if(o){var s=r.get("nameLocation"),l=t.nameDirection,u=r.getModel("nameTextStyle"),c=r.get("nameGap")||0,f=r.axis.getExtent(),d=f[0]>f[1]?-1:1,v=[s==="start"?f[0]-d*c:s==="end"?f[1]+d*c:(f[0]+f[1])/2,isNameLocationCenter(s)?t.labelOffset+l*c:0],g,y=r.get("nameRotate");y!=null&&(y=y*PI$3/180);var S;isNameLocationCenter(s)?g=AxisBuilder.innerTextLayout(t.rotation,y??t.rotation,l):(g=endTextLayout(t.rotation,s,y||0,f),S=t.axisNameAvailableWidth,S!=null&&(S=Math.abs(S/Math.sin(g.rotation)),!isFinite(S)&&(S=null)));var b=u.getFont(),T=r.get("nameTruncate",!0)||{},w=T.ellipsis,A=retrieve(t.nameTruncateMaxWidth,T.maxWidth,S),M=new ZRText$1({x:v[0],y:v[1],rotation:g.rotation,silent:AxisBuilder.isLabelSilent(r),style:createTextStyle(u,{text:o,font:b,overflow:"truncate",width:A,ellipsis:w,fill:u.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:u.get("align")||g.textAlign,verticalAlign:u.get("verticalAlign")||g.textVerticalAlign}),z2:1});if(setTooltipConfig({el:M,componentModel:r,itemName:o}),M.__fullText=o,M.anid="name",r.get("triggerEvent")){var L=AxisBuilder.makeAxisEventDataBase(r);L.targetType="axisName",L.name=o,getECData(M).eventData=L}a.add(M),M.updateTransform(),n.add(M),M.decomposeTransform()}}};function endTextLayout(t,r,n,a){var o=remRadian(n-t),s,l,u=a[0]>a[1],c=r==="start"&&!u||r!=="start"&&u;return isRadianAroundZero(o-PI$3/2)?(l=c?"bottom":"top",s="center"):isRadianAroundZero(o-PI$3*1.5)?(l=c?"top":"bottom",s="center"):(l="middle",oPI$3/2?s=c?"left":"right":s=c?"right":"left"),{rotation:o,textAlign:s,textVerticalAlign:l}}function fixMinMaxLabelShow(t,r,n){if(!shouldShowAllLabels(t.axis)){var a=t.get(["axisLabel","showMinLabel"]),o=t.get(["axisLabel","showMaxLabel"]);r=r||[],n=n||[];var s=r[0],l=r[1],u=r[r.length-1],c=r[r.length-2],f=n[0],d=n[1],v=n[n.length-1],g=n[n.length-2];a===!1?(ignoreEl(s),ignoreEl(f)):isTwoLabelOverlapped(s,l)&&(a?(ignoreEl(l),ignoreEl(d)):(ignoreEl(s),ignoreEl(f))),o===!1?(ignoreEl(u),ignoreEl(v)):isTwoLabelOverlapped(c,u)&&(o?(ignoreEl(c),ignoreEl(g)):(ignoreEl(u),ignoreEl(v)))}}function ignoreEl(t){t&&(t.ignore=!0)}function isTwoLabelOverlapped(t,r){var n=t&&t.getBoundingRect().clone(),a=r&&r.getBoundingRect().clone();if(!(!n||!a)){var o=identity([]);return rotate(o,o,-t.rotation),n.applyTransform(mul([],o,t.getLocalTransform())),a.applyTransform(mul([],o,r.getLocalTransform())),n.intersect(a)}}function isNameLocationCenter(t){return t==="middle"||t==="center"}function createTicks(t,r,n,a,o){for(var s=[],l=[],u=[],c=0;c=0||t===r}function fixValue(t){var r=getAxisInfo$1(t);if(r){var n=r.axisPointerModel,a=r.axis.scale,o=n.option,s=n.get("status"),l=n.get("value");l!=null&&(l=a.parse(l));var u=isHandleTrigger(n);s==null&&(o.status=u?"show":"hide");var c=a.getExtent().slice();c[0]>c[1]&&c.reverse(),(l==null||l>c[1])&&(l=c[1]),l0&&!S.min?S.min=0:S.min!=null&&S.min<0&&!S.max&&(S.max=0);var b=c;S.color!=null&&(b=defaults({color:S.color},c));var T=merge(clone$4(S),{boundaryGap:n,splitNumber:a,scale:o,axisLine:s,axisTick:l,axisLabel:u,name:S.text,showName:f,nameLocation:"end",nameGap:v,nameTextStyle:b,triggerEvent:g},!1);if(isString$1(d)){var w=T.name;T.name=d.replace("{value}",w??"")}else isFunction$1(d)&&(T.name=d(T.name,T));var A=new Model$1(T,null,this.ecModel);return mixin(A,AxisModelCommonMixin.prototype),A.mainType="radar",A.componentIndex=this.componentIndex,A},this);this._indicatorModels=y},r.prototype.getIndicatorModels=function(){return this._indicatorModels},r.type="radar",r.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:merge({lineStyle:{color:"#bbb"}},valueAxisDefault.axisLine),axisLabel:defaultsShow(valueAxisDefault.axisLabel,!1),axisTick:defaultsShow(valueAxisDefault.axisTick,!1),splitLine:defaultsShow(valueAxisDefault.splitLine,!0),splitArea:defaultsShow(valueAxisDefault.splitArea,!0),indicator:[]},r}(ComponentModel$1);const RadarModel$1=RadarModel;var axisBuilderAttrs$2=["axisLine","axisTickLabel","axisName"],RadarView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.render=function(n,a,o){var s=this.group;s.removeAll(),this._buildAxes(n),this._buildSplitLineAndArea(n)},r.prototype._buildAxes=function(n){var a=n.coordinateSystem,o=a.getIndicatorAxes(),s=map$1(o,function(l){var u=l.model.get("showName")?l.name:"",c=new AxisBuilder$1(l.model,{axisName:u,position:[a.cx,a.cy],rotation:l.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return c});each$f(s,function(l){each$f(axisBuilderAttrs$2,l.add,l),this.group.add(l.getGroup())},this)},r.prototype._buildSplitLineAndArea=function(n){var a=n.coordinateSystem,o=a.getIndicatorAxes();if(!o.length)return;var s=n.get("shape"),l=n.getModel("splitLine"),u=n.getModel("splitArea"),c=l.getModel("lineStyle"),f=u.getModel("areaStyle"),d=l.get("show"),v=u.get("show"),g=c.get("color"),y=f.get("color"),S=isArray$2(g)?g:[g],b=isArray$2(y)?y:[y],T=[],w=[];function A(Ie,Ce,Fe){var Ue=Fe%Ce.length;return Ie[Ue]=Ie[Ue]||[],Ue}if(s==="circle")for(var M=o[0].getTicksCoords(),L=a.cx,O=a.cy,D=0;D3?1.4:l>1?1.2:1.1,d=s>0?f:1/f;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",n,{scale:d,originX:u,originY:c,isAvailableBehavior:null})}if(o){var v=Math.abs(s),g=(s>0?1:-1)*(v>3?.4:v>1?.15:.05);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",n,{scrollDelta:g,originX:u,originY:c,isAvailableBehavior:null})}}},r.prototype._pinchHandler=function(n){if(!isTaken(this._zr,"globalPan")){var a=n.pinchScale>1?1.1:1/1.1;checkPointerAndTrigger(this,"zoom",null,n,{scale:a,originX:n.pinchX,originY:n.pinchY,isAvailableBehavior:null})}},r}(Eventful$1);function checkPointerAndTrigger(t,r,n,a,o){t.pointerChecker&&t.pointerChecker(a,o.originX,o.originY)&&(stop(a.event),trigger$1(t,r,n,a,o))}function trigger$1(t,r,n,a,o){o.isAvailableBehavior=bind$1(isAvailableBehavior,null,n,a),t.trigger(r,o)}function isAvailableBehavior(t,r,n){var a=n[t];return!t||a&&(!isString$1(a)||r.event[a+"Key"])}const RoamController$1=RoamController;function updateViewOnPan(t,r,n){var a=t.target;a.x+=r,a.y+=n,a.dirty()}function updateViewOnZoom(t,r,n,a){var o=t.target,s=t.zoomLimit,l=t.zoom=t.zoom||1;if(l*=r,s){var u=s.min||0,c=s.max||1/0;l=Math.max(Math.min(c,l),u)}var f=l/t.zoom;t.zoom=l,o.x-=(n-o.x)*(f-1),o.y-=(a-o.y)*(f-1),o.scaleX*=f,o.scaleY*=f,o.dirty()}var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement(t,r,n){var a=r.getComponentByElement(t.topTarget),o=a&&a.coordinateSystem;return a&&a!==n&&!IRRELEVANT_EXCLUDES.hasOwnProperty(a.mainType)&&o&&o.model!==n}function parseXML(t){if(isString$1(t)){var r=new DOMParser;t=r.parseFromString(t,"text/xml")}var n=t;for(n.nodeType===9&&(n=n.firstChild);n.nodeName.toLowerCase()!=="svg"||n.nodeType!==1;)n=n.nextSibling;return n}var nodeParsers,INHERITABLE_STYLE_ATTRIBUTES_MAP={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS=keys(INHERITABLE_STYLE_ATTRIBUTES_MAP),SELF_STYLE_ATTRIBUTES_MAP={"alignment-baseline":"textBaseline","stop-color":"stopColor"},SELF_STYLE_ATTRIBUTES_MAP_KEYS=keys(SELF_STYLE_ATTRIBUTES_MAP),SVGParser=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(r,n){n=n||{};var a=parseXML(r);this._defsUsePending=[];var o=new Group$4;this._root=o;var s=[],l=a.getAttribute("viewBox")||"",u=parseFloat(a.getAttribute("width")||n.width),c=parseFloat(a.getAttribute("height")||n.height);isNaN(u)&&(u=null),isNaN(c)&&(c=null),parseAttributes(a,o,null,!0,!1);for(var f=a.firstChild;f;)this._parseNode(f,o,s,null,!1,!1),f=f.nextSibling;applyDefs(this._defs,this._defsUsePending),this._defsUsePending=[];var d,v;if(l){var g=splitNumberSequence(l);g.length>=4&&(d={x:parseFloat(g[0]||0),y:parseFloat(g[1]||0),width:parseFloat(g[2]),height:parseFloat(g[3])})}if(d&&u!=null&&c!=null&&(v=makeViewBoxTransform(d,{x:0,y:0,width:u,height:c}),!n.ignoreViewBox)){var y=o;o=new Group$4,o.add(y),y.scaleX=y.scaleY=v.scale,y.x=v.x,y.y=v.y}return!n.ignoreRootClip&&u!=null&&c!=null&&o.setClipPath(new Rect$3({shape:{x:0,y:0,width:u,height:c}})),{root:o,width:u,height:c,viewBoxRect:d,viewBoxTransform:v,named:s}},t.prototype._parseNode=function(r,n,a,o,s,l){var u=r.nodeName.toLowerCase(),c,f=o;if(u==="defs"&&(s=!0),u==="text"&&(l=!0),u==="defs"||u==="switch")c=n;else{if(!s){var d=nodeParsers[u];if(d&&hasOwn$1(nodeParsers,u)){c=d.call(this,r,n);var v=r.getAttribute("name");if(v){var g={name:v,namedFrom:null,svgNodeTagLower:u,el:c};a.push(g),u==="g"&&(f=g)}else o&&a.push({name:o.name,namedFrom:o,svgNodeTagLower:u,el:c});n.add(c)}}var y=paintServerParsers[u];if(y&&hasOwn$1(paintServerParsers,u)){var S=y.call(this,r),b=r.getAttribute("id");b&&(this._defs[b]=S)}}if(c&&c.isGroup)for(var T=r.firstChild;T;)T.nodeType===1?this._parseNode(T,c,a,f,s,l):T.nodeType===3&&l&&this._parseText(T,c),T=T.nextSibling},t.prototype._parseText=function(r,n){var a=new TSpan$1({style:{text:r.textContent},silent:!0,x:this._textX||0,y:this._textY||0});inheritStyle(n,a),parseAttributes(r,a,this._defsUsePending,!1,!1),applyTextAlignment(a,n);var o=a.style,s=o.fontSize;s&&s<9&&(o.fontSize=9,a.scaleX*=s/9,a.scaleY*=s/9);var l=(o.fontSize||o.fontFamily)&&[o.fontStyle,o.fontWeight,(o.fontSize||12)+"px",o.fontFamily||"sans-serif"].join(" ");o.font=l;var u=a.getBoundingRect();return this._textX+=u.width,n.add(a),a},t.internalField=function(){nodeParsers={g:function(r,n){var a=new Group$4;return inheritStyle(n,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a},rect:function(r,n){var a=new Rect$3;return inheritStyle(n,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({x:parseFloat(r.getAttribute("x")||"0"),y:parseFloat(r.getAttribute("y")||"0"),width:parseFloat(r.getAttribute("width")||"0"),height:parseFloat(r.getAttribute("height")||"0")}),a.silent=!0,a},circle:function(r,n){var a=new Circle$1;return inheritStyle(n,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(r.getAttribute("cx")||"0"),cy:parseFloat(r.getAttribute("cy")||"0"),r:parseFloat(r.getAttribute("r")||"0")}),a.silent=!0,a},line:function(r,n){var a=new Line$3;return inheritStyle(n,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({x1:parseFloat(r.getAttribute("x1")||"0"),y1:parseFloat(r.getAttribute("y1")||"0"),x2:parseFloat(r.getAttribute("x2")||"0"),y2:parseFloat(r.getAttribute("y2")||"0")}),a.silent=!0,a},ellipse:function(r,n){var a=new Ellipse$1;return inheritStyle(n,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(r.getAttribute("cx")||"0"),cy:parseFloat(r.getAttribute("cy")||"0"),rx:parseFloat(r.getAttribute("rx")||"0"),ry:parseFloat(r.getAttribute("ry")||"0")}),a.silent=!0,a},polygon:function(r,n){var a=r.getAttribute("points"),o;a&&(o=parsePoints(a));var s=new Polygon$1({shape:{points:o||[]},silent:!0});return inheritStyle(n,s),parseAttributes(r,s,this._defsUsePending,!1,!1),s},polyline:function(r,n){var a=r.getAttribute("points"),o;a&&(o=parsePoints(a));var s=new Polyline$3({shape:{points:o||[]},silent:!0});return inheritStyle(n,s),parseAttributes(r,s,this._defsUsePending,!1,!1),s},image:function(r,n){var a=new ZRImage$1;return inheritStyle(n,a),parseAttributes(r,a,this._defsUsePending,!1,!1),a.setStyle({image:r.getAttribute("xlink:href")||r.getAttribute("href"),x:+r.getAttribute("x"),y:+r.getAttribute("y"),width:+r.getAttribute("width"),height:+r.getAttribute("height")}),a.silent=!0,a},text:function(r,n){var a=r.getAttribute("x")||"0",o=r.getAttribute("y")||"0",s=r.getAttribute("dx")||"0",l=r.getAttribute("dy")||"0";this._textX=parseFloat(a)+parseFloat(s),this._textY=parseFloat(o)+parseFloat(l);var u=new Group$4;return inheritStyle(n,u),parseAttributes(r,u,this._defsUsePending,!1,!0),u},tspan:function(r,n){var a=r.getAttribute("x"),o=r.getAttribute("y");a!=null&&(this._textX=parseFloat(a)),o!=null&&(this._textY=parseFloat(o));var s=r.getAttribute("dx")||"0",l=r.getAttribute("dy")||"0",u=new Group$4;return inheritStyle(n,u),parseAttributes(r,u,this._defsUsePending,!1,!0),this._textX+=parseFloat(s),this._textY+=parseFloat(l),u},path:function(r,n){var a=r.getAttribute("d")||"",o=createFromString(a);return inheritStyle(n,o),parseAttributes(r,o,this._defsUsePending,!1,!1),o.silent=!0,o}}}(),t}(),paintServerParsers={lineargradient:function(t){var r=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),a=parseInt(t.getAttribute("x2")||"10",10),o=parseInt(t.getAttribute("y2")||"0",10),s=new LinearGradient$1(r,n,a,o);return parsePaintServerUnit(t,s),parseGradientColorStops(t,s),s},radialgradient:function(t){var r=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),a=parseInt(t.getAttribute("r")||"0",10),o=new RadialGradient$1(r,n,a);return parsePaintServerUnit(t,o),parseGradientColorStops(t,o),o}};function parsePaintServerUnit(t,r){var n=t.getAttribute("gradientUnits");n==="userSpaceOnUse"&&(r.global=!0)}function parseGradientColorStops(t,r){for(var n=t.firstChild;n;){if(n.nodeType===1&&n.nodeName.toLocaleLowerCase()==="stop"){var a=n.getAttribute("offset"),o=void 0;a&&a.indexOf("%")>0?o=parseInt(a,10)/100:a?o=parseFloat(a):o=0;var s={};parseInlineStyle(n,s,s);var l=s.stopColor||n.getAttribute("stop-color")||"#000000";r.colorStops.push({offset:o,color:l})}n=n.nextSibling}}function inheritStyle(t,r){t&&t.__inheritedStyle&&(r.__inheritedStyle||(r.__inheritedStyle={}),defaults(r.__inheritedStyle,t.__inheritedStyle))}function parsePoints(t){for(var r=splitNumberSequence(t),n=[],a=0;a0;s-=2){var l=a[s],u=a[s-1],c=splitNumberSequence(l);switch(o=o||create$1(),u){case"translate":translate$1(o,o,[parseFloat(c[0]),parseFloat(c[1]||"0")]);break;case"scale":scale$1(o,o,[parseFloat(c[0]),parseFloat(c[1]||c[0])]);break;case"rotate":rotate(o,o,-parseFloat(c[0])*DEGREE_TO_ANGLE);break;case"skewX":var f=Math.tan(parseFloat(c[0])*DEGREE_TO_ANGLE);mul(o,[1,0,f,1,0,0],o);break;case"skewY":var d=Math.tan(parseFloat(c[0])*DEGREE_TO_ANGLE);mul(o,[1,d,0,1,0,0],o);break;case"matrix":o[0]=parseFloat(c[0]),o[1]=parseFloat(c[1]),o[2]=parseFloat(c[2]),o[3]=parseFloat(c[3]),o[4]=parseFloat(c[4]),o[5]=parseFloat(c[5]);break}}r.setLocalTransform(o)}}var styleRegex=/([^\s:;]+)\s*:\s*([^:;]+)/g;function parseInlineStyle(t,r,n){var a=t.getAttribute("style");if(a){styleRegex.lastIndex=0;for(var o;(o=styleRegex.exec(a))!=null;){var s=o[1],l=hasOwn$1(INHERITABLE_STYLE_ATTRIBUTES_MAP,s)?INHERITABLE_STYLE_ATTRIBUTES_MAP[s]:null;l&&(r[l]=o[2]);var u=hasOwn$1(SELF_STYLE_ATTRIBUTES_MAP,s)?SELF_STYLE_ATTRIBUTES_MAP[s]:null;u&&(n[u]=o[2])}}}function parseAttributeStyle(t,r,n){for(var a=0;a0,T={api:a,geo:c,mapOrGeoModel:r,data:u,isVisualEncodedByVisualMap:b,isGeo:l,transformInfoRaw:g};c.resourceType==="geoJSON"?this._buildGeoJSON(T):c.resourceType==="geoSVG"&&this._buildSVG(T),this._updateController(r,n,a),this._updateMapSelectHandler(r,f,a,o)},t.prototype._buildGeoJSON=function(r){var n=this._regionsGroupByName=createHashMap(),a=createHashMap(),o=this._regionsGroup,s=r.transformInfoRaw,l=r.mapOrGeoModel,u=r.data,c=r.geo.projection,f=c&&c.stream;function d(y,S){return S&&(y=S(y)),y&&[y[0]*s.scaleX+s.x,y[1]*s.scaleY+s.y]}function v(y){for(var S=[],b=!f&&c&&c.project,T=0;T=0)&&(g=o);var y=l?{normal:{align:"center",verticalAlign:"middle"}}:null;setLabelStyle(r,getLabelStatesModels(a),{labelFetcher:g,labelDataIndex:v,defaultText:n},y);var S=r.getTextContent();if(S&&(mapLabelRaw(S).ignore=S.ignore,r.textConfig&&l)){var b=r.getBoundingRect().clone();r.textConfig.layoutRect=b,r.textConfig.position=[(l[0]-b.x)/b.width*100+"%",(l[1]-b.y)/b.height*100+"%"]}r.disableLabelAnimation=!0}else r.removeTextContent(),r.removeTextConfig(),r.disableLabelAnimation=null}function resetEventTriggerForRegion(t,r,n,a,o,s){t.data?t.data.setItemGraphicEl(s,r):getECData(r).eventData={componentType:"geo",componentIndex:o.componentIndex,geoIndex:o.componentIndex,name:n,region:a&&a.option||{}}}function resetTooltipForRegion(t,r,n,a,o){t.data||setTooltipConfig({el:r,componentModel:o,itemName:n,itemTooltipOption:a.get("tooltip")})}function resetStateTriggerForRegion(t,r,n,a,o){r.highDownSilentOnTouch=!!o.get("selectedMode");var s=a.getModel("emphasis"),l=s.get("focus");return toggleHoverEmphasis(r,l,s.get("blurScope"),s.get("disabled")),t.isGeo&&enableComponentHighDownFeatures(r,o,n),l}function projectPolys(t,r,n){var a=[],o;function s(){o=[]}function l(){o.length&&(a.push(o),o=[])}var u=r({polygonStart:s,polygonEnd:l,lineStart:s,lineEnd:l,point:function(c,f){isFinite(c)&&isFinite(f)&&o.push([c,f])},sphere:function(){}});return!n&&u.polygonStart(),each$f(t,function(c){u.lineStart();for(var f=0;f-1&&(o.style.stroke=o.style.fill,o.style.fill="#fff",o.style.lineWidth=2),o},r.type="series.map",r.dependencies=["geo"],r.layoutMode="box",r.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},r}(SeriesModel$1);const MapSeries$1=MapSeries;function dataStatistics(t,r){var n={};return each$f(t,function(a){a.each(a.mapDimension("value"),function(o,s){var l="ec-"+a.getName(s);n[l]=n[l]||[],isNaN(o)||n[l].push(o)})}),t[0].map(t[0].mapDimension("value"),function(a,o){for(var s="ec-"+t[0].getName(o),l=0,u=1/0,c=-1/0,f=n[s].length,d=0;d1?(L.width=M,L.height=M/T):(L.height=M,L.width=M*T),L.y=A[1]-L.height/2,L.x=A[0]-L.width/2;else{var O=t.getBoxLayoutParams();O.aspect=T,L=getLayoutRect(O,{width:S,height:b})}this.setViewRect(L.x,L.y,L.width,L.height),this.setCenter(t.get("center"),r),this.setZoom(t.get("zoom"))}function setGeoCoords(t,r){each$f(r.get("geoCoord"),function(n,a){t.addGeoCoord(a,n)})}var GeoCreator=function(){function t(){this.dimensions=geo2DDimensions}return t.prototype.create=function(r,n){var a=[];function o(l){return{nameProperty:l.get("nameProperty"),aspectScale:l.get("aspectScale"),projection:l.get("projection")}}r.eachComponent("geo",function(l,u){var c=l.get("map"),f=new Geo$1(c+u,c,extend({nameMap:l.get("nameMap")},o(l)));f.zoomLimit=l.get("scaleLimit"),a.push(f),l.coordinateSystem=f,f.model=l,f.resize=resizeGeo,f.resize(l,n)}),r.eachSeries(function(l){var u=l.get("coordinateSystem");if(u==="geo"){var c=l.get("geoIndex")||0;l.coordinateSystem=a[c]}});var s={};return r.eachSeriesByType("map",function(l){if(!l.getHostGeoModel()){var u=l.getMapType();s[u]=s[u]||[],s[u].push(l)}}),each$f(s,function(l,u){var c=map$1(l,function(d){return d.get("nameMap")}),f=new Geo$1(u,u,extend({nameMap:mergeAll(c)},o(l[0])));f.zoomLimit=retrieve.apply(null,map$1(l,function(d){return d.get("scaleLimit")})),a.push(f),f.resize=resizeGeo,f.resize(l[0],n),each$f(l,function(d){d.coordinateSystem=f,setGeoCoords(f,d)})}),a},t.prototype.getFilledRegions=function(r,n,a,o){for(var s=(r||[]).slice(),l=createHashMap(),u=0;u=0;l--){var u=o[l];u.hierNode={defaultAncestor:null,ancestor:u,prelim:0,modifier:0,change:0,shift:0,i:l,thread:null},n.push(u)}}function firstWalk(t,r){var n=t.isExpand?t.children:[],a=t.parentNode.children,o=t.hierNode.i?a[t.hierNode.i-1]:null;if(n.length){executeShifts(t);var s=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;o?(t.hierNode.prelim=o.hierNode.prelim+r(t,o),t.hierNode.modifier=t.hierNode.prelim-s):t.hierNode.prelim=s}else o&&(t.hierNode.prelim=o.hierNode.prelim+r(t,o));t.parentNode.hierNode.defaultAncestor=apportion(t,o,t.parentNode.hierNode.defaultAncestor||a[0],r)}function secondWalk(t){var r=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:r},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function separation(t){return arguments.length?t:defaultSeparation}function radialCoordinate(t,r){return t-=Math.PI/2,{x:r*Math.cos(t),y:r*Math.sin(t)}}function getViewRect$4(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function executeShifts(t){for(var r=t.children,n=r.length,a=0,o=0;--n>=0;){var s=r[n];s.hierNode.prelim+=a,s.hierNode.modifier+=a,o+=s.hierNode.change,a+=s.hierNode.shift+o}}function apportion(t,r,n,a){if(r){for(var o=t,s=t,l=s.parentNode.children[0],u=r,c=o.hierNode.modifier,f=s.hierNode.modifier,d=l.hierNode.modifier,v=u.hierNode.modifier;u=nextRight(u),s=nextLeft(s),u&&s;){o=nextRight(o),l=nextLeft(l),o.hierNode.ancestor=t;var g=u.hierNode.prelim+v-s.hierNode.prelim-f+a(u,s);g>0&&(moveSubtree(nextAncestor(u,t,n),t,g),f+=g,c+=g),v+=u.hierNode.modifier,f+=s.hierNode.modifier,c+=o.hierNode.modifier,d+=l.hierNode.modifier}u&&!nextRight(o)&&(o.hierNode.thread=u,o.hierNode.modifier+=v-c),s&&!nextLeft(l)&&(l.hierNode.thread=s,l.hierNode.modifier+=f-d,n=t)}return n}function nextRight(t){var r=t.children;return r.length&&t.isExpand?r[r.length-1]:t.hierNode.thread}function nextLeft(t){var r=t.children;return r.length&&t.isExpand?r[0]:t.hierNode.thread}function nextAncestor(t,r,n){return t.hierNode.ancestor.parentNode===r.parentNode?t.hierNode.ancestor:n}function moveSubtree(t,r,n){var a=n/(r.hierNode.i-t.hierNode.i);r.hierNode.change-=a,r.hierNode.shift+=n,r.hierNode.modifier+=n,r.hierNode.prelim+=n,t.hierNode.change+=a}function defaultSeparation(t,r){return t.parentNode===r.parentNode?1:2}var TreeEdgeShape=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),TreePath=function(t){__extends(r,t);function r(n){return t.call(this,n)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new TreeEdgeShape},r.prototype.buildPath=function(n,a){var o=a.childPoints,s=o.length,l=a.parentPoint,u=o[0],c=o[s-1];if(s===1){n.moveTo(l[0],l[1]),n.lineTo(u[0],u[1]);return}var f=a.orient,d=f==="TB"||f==="BT"?0:1,v=1-d,g=parsePercent(a.forkPosition,1),y=[];y[d]=l[d],y[v]=l[v]+(c[v]-l[v])*g,n.moveTo(l[0],l[1]),n.lineTo(y[0],y[1]),n.moveTo(u[0],u[1]),y[d]=u[d],n.lineTo(y[0],y[1]),y[d]=c[d],n.lineTo(y[0],y[1]),n.lineTo(c[0],c[1]);for(var S=1;SA.x,O||(L=L-Math.PI));var V=O?"left":"right",z=u.getModel("label"),Y=z.get("rotate"),ie=Y*(Math.PI/180),j=T.getTextContent();j&&(T.setTextConfig({position:z.get("position")||V,rotation:Y==null?-L:ie,origin:"center"}),j.setStyle("verticalAlign","middle"))}var le=u.get(["emphasis","focus"]),de=le==="relative"?concatArray(l.getAncestorsIndices(),l.getDescendantIndices()):le==="ancestor"?l.getAncestorsIndices():le==="descendant"?l.getDescendantIndices():null;de&&(getECData(n).focus=de),drawEdge(o,l,d,n,S,y,b,a),n.__edge&&(n.onHoverStateChange=function(xe){if(xe!=="blur"){var Ie=l.parentNode&&t.getItemGraphicEl(l.parentNode.dataIndex);Ie&&Ie.hoverState===HOVER_STATE_BLUR||setStatesFlag(n.__edge,xe)}})}function drawEdge(t,r,n,a,o,s,l,u){var c=r.getModel(),f=t.get("edgeShape"),d=t.get("layout"),v=t.getOrient(),g=t.get(["lineStyle","curveness"]),y=t.get("edgeForkPosition"),S=c.getModel("lineStyle").getLineStyle(),b=a.__edge;if(f==="curve")r.parentNode&&r.parentNode!==n&&(b||(b=a.__edge=new BezierCurve$1({shape:getEdgeShape(d,v,g,o,o)})),updateProps$1(b,{shape:getEdgeShape(d,v,g,s,l)},t));else if(f==="polyline"&&d==="orthogonal"&&r!==n&&r.children&&r.children.length!==0&&r.isExpand===!0){for(var T=r.children,w=[],A=0;An&&(n=o.height)}this.height=n+1},t.prototype.getNodeById=function(r){if(this.getId()===r)return this;for(var n=0,a=this.children,o=a.length;n=0&&this.hostTree.data.setItemLayout(this.dataIndex,r,n)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(r){if(!(this.dataIndex<0)){var n=this.hostTree,a=n.data.getItemModel(this.dataIndex);return a.getModel(r)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(r,n){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,r,n)},t.prototype.getVisual=function(r){return this.hostTree.data.getItemVisual(this.dataIndex,r)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var r=this.parentNode.children,n=0;n=0){var a=n.getData().tree.root,o=t.targetNode;if(isString$1(o)&&(o=a.getNodeById(o)),o&&a.contains(o))return{node:o};var s=t.targetNodeId;if(s!=null&&(o=a.getNodeById(s)))return{node:o}}}function getPathToRoot(t){for(var r=[];t;)t=t.parentNode,t&&r.push(t);return r.reverse()}function aboveViewRoot(t,r){var n=getPathToRoot(t);return indexOf(n,r)>=0}function wrapTreePathInfo(t,r){for(var n=[];t;){var a=t.dataIndex;n.push({name:t.name,dataIndex:a,value:r.getRawValue(a)}),t=t.parentNode}return n.reverse(),n}var TreeSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.hasSymbolVisual=!0,n.ignoreStyleOnData=!0,n}return r.prototype.getInitialData=function(n){var a={name:n.name,children:n.data},o=n.leaves||{},s=new Model$1(o,this,this.ecModel),l=Tree$1.createTree(a,this,u);function u(v){v.wrapMethod("getItemModel",function(g,y){var S=l.getNodeByDataIndex(y);return S&&S.children.length&&S.isExpand||(g.parentModel=s),g})}var c=0;l.eachNode("preorder",function(v){v.depth>c&&(c=v.depth)});var f=n.expandAndCollapse,d=f&&n.initialTreeDepth>=0?n.initialTreeDepth:c;return l.root.eachNode("preorder",function(v){var g=v.hostTree.data.getRawDataItem(v.dataIndex);v.isExpand=g&&g.collapsed!=null?!g.collapsed:v.depth<=d}),l.data},r.prototype.getOrient=function(){var n=this.get("orient");return n==="horizontal"?n="LR":n==="vertical"&&(n="TB"),n},r.prototype.setZoom=function(n){this.option.zoom=n},r.prototype.setCenter=function(n){this.option.center=n},r.prototype.formatTooltip=function(n,a,o){for(var s=this.getData().tree,l=s.root.children[0],u=s.getNodeByDataIndex(n),c=u.getValue(),f=u.name;u&&u!==l;)f=u.parentNode.name+"."+f,u=u.parentNode;return createTooltipMarkup("nameValue",{name:f,value:c,noValue:isNaN(c)||c==null})},r.prototype.getDataParams=function(n){var a=t.prototype.getDataParams.apply(this,arguments),o=this.getData().tree.getNodeByDataIndex(n);return a.treeAncestors=wrapTreePathInfo(o,this),a.collapsed=!o.isExpand,a},r.type="series.tree",r.layoutMode="box",r.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},r}(SeriesModel$1);const TreeSeriesModel$1=TreeSeriesModel;function eachAfter(t,r,n){for(var a=[t],o=[],s;s=a.pop();)if(o.push(s),s.isExpand){var l=s.children;if(l.length)for(var u=0;u=0;s--)n.push(o[s])}}function treeLayout(t,r){t.eachSeriesByType("tree",function(n){commonLayout(n,r)})}function commonLayout(t,r){var n=getViewRect$4(t,r);t.layoutInfo=n;var a=t.get("layout"),o=0,s=0,l=null;a==="radial"?(o=2*Math.PI,s=Math.min(n.height,n.width)/2,l=separation(function(M,L){return(M.parentNode===L.parentNode?1:2)/M.depth})):(o=n.width,s=n.height,l=separation());var u=t.getData().tree.root,c=u.children[0];if(c){init(u),eachAfter(c,firstWalk,l),u.hierNode.modifier=-c.hierNode.prelim,eachBefore(c,secondWalk);var f=c,d=c,v=c;eachBefore(c,function(M){var L=M.getLayout().x;Ld.getLayout().x&&(d=M),M.depth>v.depth&&(v=M)});var g=f===d?1:l(f,d)/2,y=g-f.getLayout().x,S=0,b=0,T=0,w=0;if(a==="radial")S=o/(d.getLayout().x+g+y),b=s/(v.depth-1||1),eachBefore(c,function(M){T=(M.getLayout().x+y)*S,w=(M.depth-1)*b;var L=radialCoordinate(T,w);M.setLayout({x:L.x,y:L.y,rawX:T,rawY:w},!0)});else{var A=t.getOrient();A==="RL"||A==="LR"?(b=s/(d.getLayout().x+g+y),S=o/(v.depth-1||1),eachBefore(c,function(M){w=(M.getLayout().x+y)*b,T=A==="LR"?(M.depth-1)*S:o-(M.depth-1)*S,M.setLayout({x:T,y:w},!0)})):(A==="TB"||A==="BT")&&(S=o/(d.getLayout().x+g+y),b=s/(v.depth-1||1),eachBefore(c,function(M){T=(M.getLayout().x+y)*S,w=A==="TB"?(M.depth-1)*b:s-(M.depth-1)*b,M.setLayout({x:T,y:w},!0)}))}}}function treeVisual(t){t.eachSeriesByType("tree",function(r){var n=r.getData(),a=n.tree;a.eachNode(function(o){var s=o.getModel(),l=s.getModel("itemStyle").getItemStyle(),u=n.ensureUniqueItemVisual(o.dataIndex,"style");extend(u,l)})})}function installTreeAction(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(r,n){n.eachComponent({mainType:"series",subType:"tree",query:r},function(a){var o=r.dataIndex,s=a.getData().tree,l=s.getNodeByDataIndex(o);l.isExpand=!l.isExpand})}),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(r,n,a){n.eachComponent({mainType:"series",subType:"tree",query:r},function(o){var s=o.coordinateSystem,l=updateCenterAndZoom(s,r,void 0,a);o.setCenter&&o.setCenter(l.center),o.setZoom&&o.setZoom(l.zoom)})})}function install$H(t){t.registerChartView(TreeView$1),t.registerSeriesModel(TreeSeriesModel$1),t.registerLayout(treeLayout),t.registerVisual(treeVisual),installTreeAction(t)}var actionTypes=["treemapZoomToNode","treemapRender","treemapMove"];function installTreemapAction(t){for(var r=0;r1;)s=s.parentNode;var l=getDecalFromPalette(t.ecModel,s.name||s.dataIndex+"",a);o.setVisual("decal",l)})}var TreemapSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.preventUsingHoverLayer=!0,n}return r.prototype.getInitialData=function(n,a){var o={name:n.name,children:n.data};completeTreeValue$1(o);var s=n.levels||[],l=this.designatedVisualItemStyle={},u=new Model$1({itemStyle:l},this,a);s=n.levels=setDefault(s,a);var c=map$1(s||[],function(v){return new Model$1(v,u,a)},this),f=Tree$1.createTree(o,this,d);function d(v){v.wrapMethod("getItemModel",function(g,y){var S=f.getNodeByDataIndex(y),b=S?c[S.depth]:null;return g.parentModel=b||u,g})}return f.data},r.prototype.optionUpdated=function(){this.resetViewRoot()},r.prototype.formatTooltip=function(n,a,o){var s=this.getData(),l=this.getRawValue(n),u=s.getName(n);return createTooltipMarkup("nameValue",{name:u,value:l})},r.prototype.getDataParams=function(n){var a=t.prototype.getDataParams.apply(this,arguments),o=this.getData().tree.getNodeByDataIndex(n);return a.treeAncestors=wrapTreePathInfo(o,this),a.treePathInfo=a.treeAncestors,a},r.prototype.setLayoutInfo=function(n){this.layoutInfo=this.layoutInfo||{},extend(this.layoutInfo,n)},r.prototype.mapIdToIndex=function(n){var a=this._idIndexMap;a||(a=this._idIndexMap=createHashMap(),this._idIndexMapCount=0);var o=a.get(n);return o==null&&a.set(n,o=this._idIndexMapCount++),o},r.prototype.getViewRoot=function(){return this._viewRoot},r.prototype.resetViewRoot=function(n){n?this._viewRoot=n:n=this._viewRoot;var a=this.getRawData().tree.root;(!n||n!==a&&!a.contains(n))&&(this._viewRoot=a)},r.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},r.type="series.treemap",r.layoutMode="box",r.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},r}(SeriesModel$1);function completeTreeValue$1(t){var r=0;each$f(t.children,function(a){completeTreeValue$1(a);var o=a.value;isArray$2(o)&&(o=o[0]),r+=o});var n=t.value;isArray$2(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=r),n<0&&(n=0),isArray$2(t.value)?t.value[0]=n:t.value=n}function setDefault(t,r){var n=normalizeToArray(r.get("color")),a=normalizeToArray(r.get(["aria","decal","decals"]));if(n){t=t||[];var o,s;each$f(t,function(u){var c=new Model$1(u),f=c.get("color"),d=c.get("decal");(c.get(["itemStyle","color"])||f&&f!=="none")&&(o=!0),(c.get(["itemStyle","decal"])||d&&d!=="none")&&(s=!0)});var l=t[0]||(t[0]={});return o||(l.color=n.slice()),!s&&a&&(l.decal=a.slice()),t}}const TreemapSeriesModel$1=TreemapSeriesModel;var TEXT_PADDING=8,ITEM_GAP=8,ARRAY_LENGTH=5,Breadcrumb=function(){function t(r){this.group=new Group$4,r.add(this.group)}return t.prototype.render=function(r,n,a,o){var s=r.getModel("breadcrumb"),l=this.group;if(l.removeAll(),!(!s.get("show")||!a)){var u=s.getModel("itemStyle"),c=s.getModel("emphasis"),f=u.getModel("textStyle"),d=c.getModel(["itemStyle","textStyle"]),v={pos:{left:s.get("left"),right:s.get("right"),top:s.get("top"),bottom:s.get("bottom")},box:{width:n.getWidth(),height:n.getHeight()},emptyItemWidth:s.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(a,v,f),this._renderContent(r,v,u,c,f,d,o),positionElement(l,v.pos,v.box)}},t.prototype._prepare=function(r,n,a){for(var o=r;o;o=o.parentNode){var s=convertOptionIdName(o.getModel().get("name"),""),l=a.getTextRect(s),u=Math.max(l.width+TEXT_PADDING*2,n.emptyItemWidth);n.totalWidth+=u+ITEM_GAP,n.renderList.push({node:o,text:s,width:u})}},t.prototype._renderContent=function(r,n,a,o,s,l,u){for(var c=0,f=n.emptyItemWidth,d=r.get(["breadcrumb","height"]),v=getAvailableSize(n.pos,n.box),g=n.totalWidth,y=n.renderList,S=o.getModel("itemStyle").getItemStyle(),b=y.length-1;b>=0;b--){var T=y[b],w=T.node,A=T.width,M=T.text;g>v.width&&(g-=A-f,A=f,M=null);var L=new Polygon$1({shape:{points:makeItemPoints(c,0,A,d,b===y.length-1,b===0)},style:defaults(a.getItemStyle(),{lineJoin:"bevel"}),textContent:new ZRText$1({style:createTextStyle(s,{text:M})}),textConfig:{position:"inside"},z2:Z2_EMPHASIS_LIFT*1e4,onclick:curry$1(u,w)});L.disableLabelAnimation=!0,L.getTextContent().ensureState("emphasis").style=createTextStyle(l,{text:M}),L.ensureState("emphasis").style=S,toggleHoverEmphasis(L,o.get("focus"),o.get("blurScope"),o.get("disabled")),this.group.add(L),packEventData(L,r,w),c+=A+ITEM_GAP}},t.prototype.remove=function(){this.group.removeAll()},t}();function makeItemPoints(t,r,n,a,o,s){var l=[[o?t:t-ARRAY_LENGTH,r],[t+n,r],[t+n,r+a],[o?t:t-ARRAY_LENGTH,r+a]];return!s&&l.splice(2,0,[t+n+ARRAY_LENGTH,r+a/2]),!o&&l.push([t,r+a/2]),l}function packEventData(t,r,n){getECData(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:r.componentIndex,seriesIndex:r.seriesIndex,seriesName:r.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&wrapTreePathInfo(n,r)}}const Breadcrumb$1=Breadcrumb;var AnimationWrap=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(r,n,a,o,s){return this._elExistsMap[r.id]?!1:(this._elExistsMap[r.id]=!0,this._storage.push({el:r,target:n,duration:a,delay:o,easing:s}),!0)},t.prototype.finished=function(r){return this._finishedCallback=r,this},t.prototype.start=function(){for(var r=this,n=this._storage.length,a=function(){n--,n<=0&&(r._storage.length=0,r._elExistsMap={},r._finishedCallback&&r._finishedCallback())},o=0,s=this._storage.length;oDRAG_THRESHOLD||Math.abs(n.dy)>DRAG_THRESHOLD)){var a=this.seriesModel.getData().tree.root;if(!a)return;var o=a.getLayout();if(!o)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x+n.dx,y:o.y+n.dy,width:o.width,height:o.height}})}},r.prototype._onZoom=function(n){var a=n.originX,o=n.originY;if(this._state!=="animating"){var s=this.seriesModel.getData().tree.root;if(!s)return;var l=s.getLayout();if(!l)return;var u=new BoundingRect$1(l.x,l.y,l.width,l.height),c=this.seriesModel.layoutInfo;a-=c.x,o-=c.y;var f=create$1();translate$1(f,f,[-a,-o]),scale$1(f,f,[n.scale,n.scale]),translate$1(f,f,[a,o]),u.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:u.x,y:u.y,width:u.width,height:u.height}})}},r.prototype._initEvents=function(n){var a=this;n.on("click",function(o){if(a._state==="ready"){var s=a.seriesModel.get("nodeClick",!0);if(s){var l=a.findTarget(o.offsetX,o.offsetY);if(l){var u=l.node;if(u.getLayout().isLeafRoot)a._rootToNode(l);else if(s==="zoomToNode")a._zoomToNode(l);else if(s==="link"){var c=u.hostTree.data.getItemModel(u.dataIndex),f=c.get("link",!0),d=c.get("target",!0)||"blank";f&&windowOpen(f,d)}}}}},this)},r.prototype._renderBreadcrumb=function(n,a,o){var s=this;o||(o=n.get("leafDepth",!0)!=null?{node:n.getViewRoot()}:this.findTarget(a.getWidth()/2,a.getHeight()/2),o||(o={node:n.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Breadcrumb$1(this.group))).render(n,a,o.node,function(l){s._state!=="animating"&&(aboveViewRoot(n.getViewRoot(),l)?s._rootToNode({node:l}):s._zoomToNode({node:l}))})},r.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=createStorage(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},r.prototype.dispose=function(){this._clearController()},r.prototype._zoomToNode=function(n){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:n.node})},r.prototype._rootToNode=function(n){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:n.node})},r.prototype.findTarget=function(n,a){var o,s=this.seriesModel.getViewRoot();return s.eachNode({attr:"viewChildren",order:"preorder"},function(l){var u=this._storage.background[l.getRawIndex()];if(u){var c=u.transformCoordToLocal(n,a),f=u.shape;if(f.x<=c[0]&&c[0]<=f.x+f.width&&f.y<=c[1]&&c[1]<=f.y+f.height)o={node:l,offsetX:c[0],offsetY:c[1]};else return!1}},this),o},r.type="treemap",r}(ChartView$1);function createStorage(){return{nodeGroup:[],background:[],content:[]}}function renderNode(t,r,n,a,o,s,l,u,c,f){if(!l)return;var d=l.getLayout(),v=t.getData(),g=l.getModel();if(v.setItemGraphicEl(l.dataIndex,null),!d||!d.isInView)return;var y=d.width,S=d.height,b=d.borderWidth,T=d.invisible,w=l.getRawIndex(),A=u&&u.getRawIndex(),M=l.viewChildren,L=d.upperHeight,O=M&&M.length,D=g.getModel("itemStyle"),V=g.getModel(["emphasis","itemStyle"]),z=g.getModel(["blur","itemStyle"]),Y=g.getModel(["select","itemStyle"]),ie=D.get("borderRadius")||0,j=_r("nodeGroup",Group$2);if(!j)return;if(c.add(j),j.x=d.x||0,j.y=d.y||0,j.markRedraw(),inner$d(j).nodeWidth=y,inner$d(j).nodeHeight=S,d.isAboveViewRoot)return j;var le=_r("background",Rect$1,f,Z2_BG);le&&Pt(j,le,O&&d.upperLabelHeight);var de=g.getModel("emphasis"),xe=de.get("focus"),Ie=de.get("blurScope"),Ce=de.get("disabled"),Fe=xe==="ancestor"?l.getAncestorsIndices():xe==="descendant"?l.getDescendantIndices():xe;if(O)isHighDownDispatcher(j)&&setAsHighDownDispatcher(j,!1),le&&(setAsHighDownDispatcher(le,!Ce),v.setItemGraphicEl(l.dataIndex,le),enableHoverFocus(le,Fe,Ie));else{var Ue=_r("content",Rect$1,f,Z2_CONTENT);Ue&&Dt(j,Ue),le.disableMorphing=!0,le&&isHighDownDispatcher(le)&&setAsHighDownDispatcher(le,!1),setAsHighDownDispatcher(j,!Ce),v.setItemGraphicEl(l.dataIndex,j),enableHoverFocus(j,Fe,Ie)}return j;function Pt(jt,ar,sr){var dr=getECData(ar);if(dr.dataIndex=l.dataIndex,dr.seriesIndex=t.seriesIndex,ar.setShape({x:0,y:0,width:y,height:S,r:ie}),T)rr(ar);else{ar.invisible=!1;var fr=l.getVisual("style"),Ne=fr.stroke,ue=getItemStyleNormal(D);ue.fill=Ne;var _e=getStateItemStyle(V);_e.fill=V.get("borderColor");var ze=getStateItemStyle(z);ze.fill=z.get("borderColor");var At=getStateItemStyle(Y);if(At.fill=Y.get("borderColor"),sr){var tr=y-2*b;ur(ar,Ne,fr.opacity,{x:b,y:0,width:tr,height:L})}else ar.removeTextContent();ar.setStyle(ue),ar.ensureState("emphasis").style=_e,ar.ensureState("blur").style=ze,ar.ensureState("select").style=At,setDefaultStateProxy(ar)}jt.add(ar)}function Dt(jt,ar){var sr=getECData(ar);sr.dataIndex=l.dataIndex,sr.seriesIndex=t.seriesIndex;var dr=Math.max(y-2*b,0),fr=Math.max(S-2*b,0);if(ar.culling=!0,ar.setShape({x:b,y:b,width:dr,height:fr,r:ie}),T)rr(ar);else{ar.invisible=!1;var Ne=l.getVisual("style"),ue=Ne.fill,_e=getItemStyleNormal(D);_e.fill=ue,_e.decal=Ne.decal;var ze=getStateItemStyle(V),At=getStateItemStyle(z),tr=getStateItemStyle(Y);ur(ar,ue,Ne.opacity,null),ar.setStyle(_e),ar.ensureState("emphasis").style=ze,ar.ensureState("blur").style=At,ar.ensureState("select").style=tr,setDefaultStateProxy(ar)}jt.add(ar)}function rr(jt){!jt.invisible&&s.push(jt)}function ur(jt,ar,sr,dr){var fr=g.getModel(dr?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),Ne=convertOptionIdName(g.get("name"),null),ue=fr.getShallow("show");setLabelStyle(jt,getLabelStatesModels(g,dr?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),{defaultText:ue?Ne:null,inheritColor:ar,defaultOpacity:sr,labelFetcher:t,labelDataIndex:l.dataIndex});var _e=jt.getTextContent();if(_e){var ze=_e.style,At=normalizeCssArray$1(ze.padding||0);dr&&(jt.setTextConfig({layoutRect:dr}),_e.disableLabelLayout=!0),_e.beforeUpdate=function(){var hr=Math.max((dr?dr.width:jt.shape.width)-At[1]-At[3],0),pr=Math.max((dr?dr.height:jt.shape.height)-At[0]-At[2],0);(ze.width!==hr||ze.height!==pr)&&_e.setStyle({width:hr,height:pr})},ze.truncateMinChar=2,ze.lineOverflow="truncate",Sr(ze,dr,d);var tr=_e.getState("emphasis");Sr(tr?tr.style:null,dr,d)}}function Sr(jt,ar,sr){var dr=jt?jt.text:null;if(!ar&&sr.isLeafRoot&&dr!=null){var fr=t.get("drillDownIcon",!0);jt.text=fr?fr+" "+dr:dr}}function _r(jt,ar,sr,dr){var fr=A!=null&&n[jt][A],Ne=o[jt];return fr?(n[jt][A]=null,xr(Ne,fr)):T||(fr=new ar,fr instanceof Displayable$1&&(fr.z2=calculateZ2(sr,dr)),Cr(Ne,fr)),r[jt][w]=fr}function xr(jt,ar){var sr=jt[w]={};ar instanceof Group$2?(sr.oldX=ar.x,sr.oldY=ar.y):sr.oldShape=extend({},ar.shape)}function Cr(jt,ar){var sr=jt[w]={},dr=l.parentNode,fr=ar instanceof Group$4;if(dr&&(!a||a.direction==="drillDown")){var Ne=0,ue=0,_e=o.background[dr.getRawIndex()];!a&&_e&&_e.oldShape&&(Ne=_e.oldShape.width,ue=_e.oldShape.height),fr?(sr.oldX=0,sr.oldY=ue):sr.oldShape={x:Ne,y:ue,width:0,height:0}}sr.fadein=!fr}}function calculateZ2(t,r){return t*Z2_BASE+r}const TreemapView$1=TreemapView;var each$c=each$f,isObject$1=isObject$4,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function t(r){var n=r.mappingMethod,a=r.type,o=this.option=clone$4(r);this.type=a,this.mappingMethod=n,this._normalizeData=normalizers[n];var s=t.visualHandlers[a];this.applyVisual=s.applyVisual,this.getColorMapper=s.getColorMapper,this._normalizedToVisual=s._normalizedToVisual[n],n==="piecewise"?(normalizeVisualRange(o),preprocessForPiecewise(o)):n==="category"?o.categories?preprocessForSpecifiedCategory(o):normalizeVisualRange(o,!0):(assert(n!=="linear"||o.dataExtent),normalizeVisualRange(o))}return t.prototype.mapValueToVisual=function(r){var n=this._normalizeData(r);return this._normalizedToVisual(n,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,n,a){isObject$4(r)?each$f(r,n,a):n.call(a,r)},t.mapVisual=function(r,n,a){var o,s=isArray$2(r)?[]:isObject$4(r)?{}:(o=!0,null);return t.eachVisual(r,function(l,u){var c=n.call(a,l,u);o?s=c:s[u]=c}),s},t.retrieveVisuals=function(r){var n={},a;return r&&each$c(t.visualHandlers,function(o,s){r.hasOwnProperty(s)&&(n[s]=r[s],a=!0)}),a?n:null},t.prepareVisualTypes=function(r){if(isArray$2(r))r=r.slice();else if(isObject$1(r)){var n=[];each$c(r,function(a,o){n.push(o)}),r=n}else return[];return r.sort(function(a,o){return o==="color"&&a!=="color"&&a.indexOf("color")===0?1:-1}),r},t.dependsOn=function(r,n){return n==="color"?!!(r&&r.indexOf(n)===0):r===n},t.findPieceIndex=function(r,n,a){for(var o,s=1/0,l=0,u=n.length;l=0;s--)a[s]==null&&(delete n[r[s]],r.pop())}function normalizeVisualRange(t,r){var n=t.visual,a=[];isObject$4(n)?each$c(n,function(s){a.push(s)}):n!=null&&a.push(n);var o={color:1,symbol:1};!r&&a.length===1&&!o.hasOwnProperty(t.type)&&(a[1]=a[0]),setVisualToOption(t,a)}function makePartialColorVisualHandler(t){return{applyVisual:function(r,n,a){var o=this.mapValueToVisual(r);a("color",t(n("color"),o))},_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,n,a){a(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,n){var a=getSpecifiedVisual.call(this,n);return a==null&&(a=linearMap$2(r,t,this.option.visual,!0)),a},fixed:doMapFixed}}function getSpecifiedVisual(t){var r=this.option,n=r.pieceList;if(r.hasSpecialVisual){var a=VisualMapping.findPieceIndex(t,n),o=n[a];if(o&&o.visual)return o.visual[this.type]}}function setVisualToOption(t,r){return t.visual=r,t.type==="color"&&(t.parsedVisual=map$1(r,function(n){var a=parse$1(n);return a||[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,n=VisualMapping.findPieceIndex(t,r,!0);if(n!=null)return linearMap$2(n,[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,n){return t?r<=n:r=n.length||b===n[b.depth]){var w=mapVisual$1(o,c,b,T,S,a);travelTree(b,w,n,a)}})}}}function buildVisuals(t,r,n){var a=extend({},r),o=n.designatedVisualItemStyle;return each$f(["color","colorAlpha","colorSaturation"],function(s){o[s]=r[s];var l=t.get(s);o[s]=null,l!=null&&(a[s]=l)}),a}function calculateColor(t){var r=getValueVisualDefine(t,"color");if(r){var n=getValueVisualDefine(t,"colorAlpha"),a=getValueVisualDefine(t,"colorSaturation");return a&&(r=modifyHSL(r,null,null,a)),n&&(r=modifyAlpha(r,n)),r}}function calculateBorderColor(t,r){return r!=null?modifyHSL(r,null,null,t):null}function getValueVisualDefine(t,r){var n=t[r];if(n!=null&&n!=="none")return n}function buildVisualMapping(t,r,n,a,o,s){if(!(!s||!s.length)){var l=getRangeVisual(r,"color")||o.color!=null&&o.color!=="none"&&(getRangeVisual(r,"colorAlpha")||getRangeVisual(r,"colorSaturation"));if(l){var u=r.get("visualMin"),c=r.get("visualMax"),f=n.dataExtent.slice();u!=null&&uf[1]&&(f[1]=c);var d=r.get("colorMappingBy"),v={type:l.name,dataExtent:f,visual:l.range};v.type==="color"&&(d==="index"||d==="id")?(v.mappingMethod="category",v.loop=!0):v.mappingMethod="linear";var g=new VisualMapping$1(v);return inner$c(g).drColorMappingBy=d,g}}}function getRangeVisual(t,r){var n=t.get(r);return isArray$2(n)&&n.length?{name:r,range:n}:null}function mapVisual$1(t,r,n,a,o,s){var l=extend({},r);if(o){var u=o.type,c=u==="color"&&inner$c(o).drColorMappingBy,f=c==="index"?a:c==="id"?s.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));l[u]=o.mapValueToVisual(f)}return l}var mathMax$3=Math.max,mathMin$3=Math.min,retrieveValue=retrieve,each$b=each$f,PATH_BORDER_WIDTH=["itemStyle","borderWidth"],PATH_GAP_WIDTH=["itemStyle","gapWidth"],PATH_UPPER_LABEL_SHOW=["upperLabel","show"],PATH_UPPER_LABEL_HEIGHT=["upperLabel","height"];const treemapLayout={seriesType:"treemap",reset:function(t,r,n,a){var o=n.getWidth(),s=n.getHeight(),l=t.option,u=getLayoutRect(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),c=l.size||[],f=parsePercent(retrieveValue(u.width,c[0]),o),d=parsePercent(retrieveValue(u.height,c[1]),s),v=a&&a.type,g=["treemapZoomToNode","treemapRootToNode"],y=retrieveTargetInfo(a,g,t),S=v==="treemapRender"||v==="treemapMove"?a.rootRect:null,b=t.getViewRoot(),T=getPathToRoot(b);if(v!=="treemapMove"){var w=v==="treemapZoomToNode"?estimateRootSize(t,y,b,f,d):S?[S.width,S.height]:[f,d],A=l.sort;A&&A!=="asc"&&A!=="desc"&&(A="desc");var M={squareRatio:l.squareRatio,sort:A,leafDepth:l.leafDepth};b.hostTree.clearLayouts();var L={x:0,y:0,width:w[0],height:w[1],area:w[0]*w[1]};b.setLayout(L),squarify(b,M,!1,0),L=b.getLayout(),each$b(T,function(D,V){var z=(T[V+1]||b).getValue();D.setLayout(extend({dataExtent:[z,z],borderWidth:0,upperHeight:0},L))})}var O=t.getData().tree.root;O.setLayout(calculateRootPosition(u,S,y),!0),t.setLayoutInfo(u),prunning(O,new BoundingRect$1(-u.x,-u.y,o,s),T,b,0)}};function squarify(t,r,n,a){var o,s;if(!t.isRemoved()){var l=t.getLayout();o=l.width,s=l.height;var u=t.getModel(),c=u.get(PATH_BORDER_WIDTH),f=u.get(PATH_GAP_WIDTH)/2,d=getUpperLabelHeight(u),v=Math.max(c,d),g=c-f,y=v-f;t.setLayout({borderWidth:c,upperHeight:v,upperLabelHeight:d},!0),o=mathMax$3(o-2*g,0),s=mathMax$3(s-g-y,0);var S=o*s,b=initChildren$1(t,u,S,r,n,a);if(b.length){var T={x:g,y,width:o,height:s},w=mathMin$3(o,s),A=1/0,M=[];M.area=0;for(var L=0,O=b.length;L=0;c--){var f=o[a==="asc"?l-c-1:c].getValue();f/n*ru[1]&&(u[1]=f)})),{sum:a,dataExtent:u}}function worst(t,r,n){for(var a=0,o=1/0,s=0,l=void 0,u=t.length;sa&&(a=l));var c=t.area*t.area,f=r*r*n;return c?mathMax$3(f*a/c,c/(f*o)):1/0}function position(t,r,n,a,o){var s=r===n.width?0:1,l=1-s,u=["x","y"],c=["width","height"],f=n[u[s]],d=r?t.area/r:0;(o||d>n[c[l]])&&(d=n[c[l]]);for(var v=0,g=t.length;vMAX_SAFE_INTEGER&&(f=MAX_SAFE_INTEGER),s=u}fa&&(a=r);var s=a%2?a+2:a+3;o=[];for(var l=0;l0&&(O[0]=-O[0],O[1]=-O[1]);var V=L[0]<0?-1:1;if(s.__position!=="start"&&s.__position!=="end"){var z=-Math.atan2(L[1],L[0]);v[0].8?"left":g[0]<-.8?"right":"center",b=g[1]>.8?"top":g[1]<-.8?"bottom":"middle";break;case"start":s.x=-g[0]*w+d[0],s.y=-g[1]*A+d[1],S=g[0]>.8?"right":g[0]<-.8?"left":"center",b=g[1]>.8?"bottom":g[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":s.x=w*V+d[0],s.y=d[1]+Y,S=L[0]<0?"right":"left",s.originX=-w*V,s.originY=-Y;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":s.x=D[0],s.y=D[1]+Y,S="center",s.originY=-Y;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":s.x=-w*V+v[0],s.y=v[1]+Y,S=L[0]>=0?"right":"left",s.originX=w*V,s.originY=-Y;break}s.scaleX=s.scaleY=l,s.setStyle({verticalAlign:s.__verticalAlign||b,align:s.__align||S})}},r}(Group$4);const Line$1=Line;var LineDraw=function(){function t(r){this.group=new Group$4,this._LineCtor=r||Line$1}return t.prototype.updateData=function(r){var n=this;this._progressiveEls=null;var a=this,o=a.group,s=a._lineData;a._lineData=r,s||o.removeAll();var l=makeSeriesScope$1(r);r.diff(s).add(function(u){n._doAdd(r,u,l)}).update(function(u,c){n._doUpdate(s,r,c,u,l)}).remove(function(u){o.remove(s.getItemGraphicEl(u))}).execute()},t.prototype.updateLayout=function(){var r=this._lineData;r&&r.eachItemGraphicEl(function(n,a){n.updateLayout(r,a)},this)},t.prototype.incrementalPrepareUpdate=function(r){this._seriesScope=makeSeriesScope$1(r),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(r,n){this._progressiveEls=[];function a(u){!u.isGroup&&!isEffectObject(u)&&(u.incremental=!0,u.ensureState("emphasis").hoverLayer=!0)}for(var o=r.start;o0}function makeSeriesScope$1(t){var r=t.hostModel,n=r.getModel("emphasis");return{lineStyle:r.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:r.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:r.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:getLabelStatesModels(r)}}function isPointNaN(t){return isNaN(t[0])||isNaN(t[1])}function lineNeedsDraw(t){return t&&!isPointNaN(t[0])&&!isPointNaN(t[1])}const LineDraw$1=LineDraw;var v1=[],v2=[],v3=[],quadraticAt=quadraticAt$1,v2DistSquare=distSquare,mathAbs=Math.abs;function intersectCurveCircle(t,r,n){for(var a=t[0],o=t[1],s=t[2],l=1/0,u,c=n*n,f=.1,d=.1;d<=.9;d+=.1){v1[0]=quadraticAt(a[0],o[0],s[0],d),v1[1]=quadraticAt(a[1],o[1],s[1],d);var v=mathAbs(v2DistSquare(v1,r)-c);v=0?u=u+f:u=u-f:S>=0?u=u-f:u=u+f}return u}function adjustEdge(t,r){var n=[],a=quadraticSubdivide,o=[[],[],[]],s=[[],[]],l=[];r/=2,t.eachEdge(function(u,c){var f=u.getLayout(),d=u.getVisual("fromSymbol"),v=u.getVisual("toSymbol");f.__original||(f.__original=[clone$3(f[0]),clone$3(f[1])],f[2]&&f.__original.push(clone$3(f[2])));var g=f.__original;if(f[2]!=null){if(copy$1(o[0],g[0]),copy$1(o[1],g[2]),copy$1(o[2],g[1]),d&&d!=="none"){var y=getSymbolSize(u.node1),S=intersectCurveCircle(o,g[0],y*r);a(o[0][0],o[1][0],o[2][0],S,n),o[0][0]=n[3],o[1][0]=n[4],a(o[0][1],o[1][1],o[2][1],S,n),o[0][1]=n[3],o[1][1]=n[4]}if(v&&v!=="none"){var y=getSymbolSize(u.node2),S=intersectCurveCircle(o,g[1],y*r);a(o[0][0],o[1][0],o[2][0],S,n),o[1][0]=n[1],o[2][0]=n[2],a(o[0][1],o[1][1],o[2][1],S,n),o[1][1]=n[1],o[2][1]=n[2]}copy$1(f[0],o[0]),copy$1(f[1],o[2]),copy$1(f[2],o[1])}else{if(copy$1(s[0],g[0]),copy$1(s[1],g[1]),sub(l,s[1],s[0]),normalize$3(l,l),d&&d!=="none"){var y=getSymbolSize(u.node1);scaleAndAdd$1(s[0],s[0],l,y*r)}if(v&&v!=="none"){var y=getSymbolSize(u.node2);scaleAndAdd$1(s[1],s[1],l,-y*r)}copy$1(f[0],s[0]),copy$1(f[1],s[1])}})}function isViewCoordSys(t){return t.type==="view"}var GraphView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.init=function(n,a){var o=new SymbolDraw$1,s=new LineDraw$1,l=this.group;this._controller=new RoamController$1(a.getZr()),this._controllerHost={target:l},l.add(o.group),l.add(s.group),this._symbolDraw=o,this._lineDraw=s,this._firstRender=!0},r.prototype.render=function(n,a,o){var s=this,l=n.coordinateSystem;this._model=n;var u=this._symbolDraw,c=this._lineDraw,f=this.group;if(isViewCoordSys(l)){var d={x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY};this._firstRender?f.attr(d):updateProps$1(f,d,n)}adjustEdge(n.getGraph(),getNodeGlobalScale(n));var v=n.getData();u.updateData(v);var g=n.getEdgeData();c.updateData(g),this._updateNodeAndLinkScale(),this._updateController(n,a,o),clearTimeout(this._layoutTimeout);var y=n.forceLayout,S=n.get(["force","layoutAnimation"]);y&&this._startForceLayoutIteration(y,S);var b=n.get("layout");v.graph.eachNode(function(M){var L=M.dataIndex,O=M.getGraphicEl(),D=M.getModel();if(O){O.off("drag").off("dragend");var V=D.get("draggable");V&&O.on("drag",function(Y){switch(b){case"force":y.warmUp(),!s._layouting&&s._startForceLayoutIteration(y,S),y.setFixed(L),v.setItemLayout(L,[O.x,O.y]);break;case"circular":v.setItemLayout(L,[O.x,O.y]),M.setLayout({fixed:!0},!0),circularLayout(n,"symbolSize",M,[Y.offsetX,Y.offsetY]),s.updateLayout(n);break;case"none":default:v.setItemLayout(L,[O.x,O.y]),simpleLayoutEdge(n.getGraph(),n),s.updateLayout(n);break}}).on("dragend",function(){y&&y.setUnfixed(L)}),O.setDraggable(V,!!D.get("cursor"));var z=D.get(["emphasis","focus"]);z==="adjacency"&&(getECData(O).focus=M.getAdjacentDataIndices())}}),v.graph.eachEdge(function(M){var L=M.getGraphicEl(),O=M.getModel().get(["emphasis","focus"]);L&&O==="adjacency"&&(getECData(L).focus={edge:[M.dataIndex],node:[M.node1.dataIndex,M.node2.dataIndex]})});var T=n.get("layout")==="circular"&&n.get(["circular","rotateLabel"]),w=v.getLayout("cx"),A=v.getLayout("cy");v.graph.eachNode(function(M){rotateNodeLabel(M,T,w,A)}),this._firstRender=!1},r.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},r.prototype._startForceLayoutIteration=function(n,a){var o=this;(function s(){n.step(function(l){o.updateLayout(o._model),(o._layouting=!l)&&(a?o._layoutTimeout=setTimeout(s,16):s())})})()},r.prototype._updateController=function(n,a,o){var s=this,l=this._controller,u=this._controllerHost,c=this.group;if(l.setPointerChecker(function(f,d,v){var g=c.getBoundingRect();return g.applyTransform(c.transform),g.contain(d,v)&&!onIrrelevantElement(f,o,n)}),!isViewCoordSys(n.coordinateSystem)){l.disable();return}l.enable(n.get("roam")),u.zoomLimit=n.get("scaleLimit"),u.zoom=n.coordinateSystem.getZoom(),l.off("pan").off("zoom").on("pan",function(f){updateViewOnPan(u,f.dx,f.dy),o.dispatchAction({seriesId:n.id,type:"graphRoam",dx:f.dx,dy:f.dy})}).on("zoom",function(f){updateViewOnZoom(u,f.scale,f.originX,f.originY),o.dispatchAction({seriesId:n.id,type:"graphRoam",zoom:f.scale,originX:f.originX,originY:f.originY}),s._updateNodeAndLinkScale(),adjustEdge(n.getGraph(),getNodeGlobalScale(n)),s._lineDraw.updateLayout(),o.updateLabelLayout()})},r.prototype._updateNodeAndLinkScale=function(){var n=this._model,a=n.getData(),o=getNodeGlobalScale(n);a.eachItemGraphicEl(function(s,l){s&&s.setSymbolScale(o)})},r.prototype.updateLayout=function(n){adjustEdge(n.getGraph(),getNodeGlobalScale(n)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},r.prototype.remove=function(n,a){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},r.type="graph",r}(ChartView$1);const GraphView$1=GraphView;function generateNodeKey(t){return"_EC_"+t}var Graph=function(){function t(r){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=r||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(r,n){r=r==null?""+n:""+r;var a=this._nodesMap;if(!a[generateNodeKey(r)]){var o=new GraphNode(r,n);return o.hostGraph=this,this.nodes.push(o),a[generateNodeKey(r)]=o,o}},t.prototype.getNodeByIndex=function(r){var n=this.data.getRawIndex(r);return this.nodes[n]},t.prototype.getNodeById=function(r){return this._nodesMap[generateNodeKey(r)]},t.prototype.addEdge=function(r,n,a){var o=this._nodesMap,s=this._edgesMap;if(isNumber$1(r)&&(r=this.nodes[r]),isNumber$1(n)&&(n=this.nodes[n]),r instanceof GraphNode||(r=o[generateNodeKey(r)]),n instanceof GraphNode||(n=o[generateNodeKey(n)]),!(!r||!n)){var l=r.id+"-"+n.id,u=new GraphEdge(r,n,a);return u.hostGraph=this,this._directed&&(r.outEdges.push(u),n.inEdges.push(u)),r.edges.push(u),r!==n&&n.edges.push(u),this.edges.push(u),s[l]=u,u}},t.prototype.getEdgeByIndex=function(r){var n=this.edgeData.getRawIndex(r);return this.edges[n]},t.prototype.getEdge=function(r,n){r instanceof GraphNode&&(r=r.id),n instanceof GraphNode&&(n=n.id);var a=this._edgesMap;return this._directed?a[r+"-"+n]:a[r+"-"+n]||a[n+"-"+r]},t.prototype.eachNode=function(r,n){for(var a=this.nodes,o=a.length,s=0;s=0&&r.call(n,a[s],s)},t.prototype.eachEdge=function(r,n){for(var a=this.edges,o=a.length,s=0;s=0&&a[s].node1.dataIndex>=0&&a[s].node2.dataIndex>=0&&r.call(n,a[s],s)},t.prototype.breadthFirstTraverse=function(r,n,a,o){if(n instanceof GraphNode||(n=this._nodesMap[generateNodeKey(n)]),!!n){for(var s=a==="out"?"outEdges":a==="in"?"inEdges":"edges",l=0;l=0&&c.node2.dataIndex>=0});for(var s=0,l=o.length;s=0&&this[t][r].setItemVisual(this.dataIndex,n,a)},getVisual:function(n){return this[t][r].getItemVisual(this.dataIndex,n)},setLayout:function(n,a){this.dataIndex>=0&&this[t][r].setItemLayout(this.dataIndex,n,a)},getLayout:function(){return this[t][r].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][r].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][r].getRawIndex(this.dataIndex)}}}mixin(GraphNode,createGraphDataProxyMixin("hostGraph","data"));mixin(GraphEdge,createGraphDataProxyMixin("hostGraph","edgeData"));const Graph$1=Graph;function createGraphFromNodeEdge(t,r,n,a,o){for(var s=new Graph$1(a),l=0;l "+g)),f++)}var y=n.get("coordinateSystem"),S;if(y==="cartesian2d"||y==="polar")S=createSeriesData(t,n);else{var b=CoordinateSystem.get(y),T=b?b.dimensions||[]:[];indexOf(T,"value")<0&&T.concat(["value"]);var w=prepareSeriesDataSchema(t,{coordDimensions:T,encodeDefine:n.getEncode()}).dimensions;S=new SeriesData$1(w,n),S.initData(t)}var A=new SeriesData$1(["value"],n);return A.initData(c,u),o&&o(S,A),linkSeriesData({mainData:S,struct:s,structAttr:"graph",datas:{node:S,edge:A},datasAttr:{node:"data",edge:"edgeData"}}),s.update(),s}var GraphSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.hasSymbolVisual=!0,n}return r.prototype.init=function(n){t.prototype.init.apply(this,arguments);var a=this;function o(){return a._categoriesData}this.legendVisualProvider=new LegendVisualProvider$1(o,o),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},r.prototype.mergeOption=function(n){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},r.prototype.mergeDefaultAndTheme=function(n){t.prototype.mergeDefaultAndTheme.apply(this,arguments),defaultEmphasis(n,"edgeLabel",["show"])},r.prototype.getInitialData=function(n,a){var o=n.edges||n.links||[],s=n.data||n.nodes||[],l=this;if(s&&o){initCurvenessList(this);var u=createGraphFromNodeEdge(s,o,this,!0,c);return each$f(u.edges,function(f){createEdgeMapForCurveness(f.node1,f.node2,this,f.dataIndex)},this),u.data}function c(f,d){f.wrapMethod("getItemModel",function(S){var b=l._categoriesModels,T=S.getShallow("category"),w=b[T];return w&&(w.parentModel=S.parentModel,S.parentModel=w),S});var v=Model$1.prototype.getModel;function g(S,b){var T=v.call(this,S,b);return T.resolveParentPath=y,T}d.wrapMethod("getItemModel",function(S){return S.resolveParentPath=y,S.getModel=g,S});function y(S){if(S&&(S[0]==="label"||S[1]==="label")){var b=S.slice();return S[0]==="label"?b[0]="edgeLabel":S[1]==="label"&&(b[1]="edgeLabel"),b}return S}}},r.prototype.getGraph=function(){return this.getData().graph},r.prototype.getEdgeData=function(){return this.getGraph().edgeData},r.prototype.getCategoriesData=function(){return this._categoriesData},r.prototype.formatTooltip=function(n,a,o){if(o==="edge"){var s=this.getData(),l=this.getDataParams(n,o),u=s.graph.getEdgeByIndex(n),c=s.getName(u.node1.dataIndex),f=s.getName(u.node2.dataIndex),d=[];return c!=null&&d.push(c),f!=null&&d.push(f),createTooltipMarkup("nameValue",{name:d.join(" > "),value:l.value,noValue:l.value==null})}var v=defaultSeriesFormatTooltip({series:this,dataIndex:n,multipleSeries:a});return v},r.prototype._updateCategoriesData=function(){var n=map$1(this.option.categories||[],function(o){return o.value!=null?o:extend({value:0},o)}),a=new SeriesData$1(["value"],this);a.initData(n),this._categoriesData=a,this._categoriesModels=a.mapArray(function(o){return a.getItemModel(o)})},r.prototype.setZoom=function(n){this.option.zoom=n},r.prototype.setCenter=function(n){this.option.center=n},r.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},r.type="series.graph",r.dependencies=["grid","polar","geo","singleAxis","calendar"],r.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},r}(SeriesModel$1);const GraphSeriesModel$1=GraphSeriesModel;var actionInfo$1={type:"graphRoam",event:"graphRoam",update:"none"};function install$F(t){t.registerChartView(GraphView$1),t.registerSeriesModel(GraphSeriesModel$1),t.registerProcessor(categoryFilter),t.registerVisual(categoryVisual),t.registerVisual(graphEdgeVisual),t.registerLayout(graphSimpleLayout),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,graphCircularLayout),t.registerLayout(graphForceLayout),t.registerCoordinateSystem("graphView",{dimensions:View$1.dimensions,create:createViewCoordSys}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},noop),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},noop),t.registerAction(actionInfo$1,function(r,n,a){n.eachComponent({mainType:"series",query:r},function(o){var s=o.coordinateSystem,l=updateCenterAndZoom(s,r,void 0,a);o.setCenter&&o.setCenter(l.center),o.setZoom&&o.setZoom(l.zoom)})})}var PointerShape=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),PointerPath=function(t){__extends(r,t);function r(n){var a=t.call(this,n)||this;return a.type="pointer",a}return r.prototype.getDefaultShape=function(){return new PointerShape},r.prototype.buildPath=function(n,a){var o=Math.cos,s=Math.sin,l=a.r,u=a.width,c=a.angle,f=a.x-o(c)*u*(u>=l/3?1:2),d=a.y-s(c)*u*(u>=l/3?1:2);c=a.angle-Math.PI/2,n.moveTo(f,d),n.lineTo(a.x+o(c)*u,a.y+s(c)*u),n.lineTo(a.x+o(a.angle)*l,a.y+s(a.angle)*l),n.lineTo(a.x-o(c)*u,a.y-s(c)*u),n.lineTo(f,d)},r}(Path$1);const PointerPath$1=PointerPath;function parsePosition(t,r){var n=t.get("center"),a=r.getWidth(),o=r.getHeight(),s=Math.min(a,o),l=parsePercent(n[0],r.getWidth()),u=parsePercent(n[1],r.getHeight()),c=parsePercent(t.get("radius"),s/2);return{cx:l,cy:u,r:c}}function formatLabel(t,r){var n=t==null?"":t+"";return r&&(isString$1(r)?n=r.replace("{value}",n):isFunction$1(r)&&(n=r(t))),n}var GaugeView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.render=function(n,a,o){this.group.removeAll();var s=n.get(["axisLine","lineStyle","color"]),l=parsePosition(n,o);this._renderMain(n,a,o,s,l),this._data=n.getData()},r.prototype.dispose=function(){},r.prototype._renderMain=function(n,a,o,s,l){var u=this.group,c=n.get("clockwise"),f=-n.get("startAngle")/180*Math.PI,d=-n.get("endAngle")/180*Math.PI,v=n.getModel("axisLine"),g=v.get("roundCap"),y=g?Sausage:Sector$1,S=v.get("show"),b=v.getModel("lineStyle"),T=b.get("width"),w=[f,d];normalizeArcAngles(w,!c),f=w[0],d=w[1];for(var A=d-f,M=f,L=[],O=0;S&&O=Y&&(ie===0?0:s[ie-1][0])Math.PI/2&&(_r+=Math.PI)):Sr==="tangential"?_r=-z-Math.PI/2:isNumber$1(Sr)&&(_r=Sr*Math.PI/180),_r===0?v.add(new ZRText$1({style:createTextStyle(M,{text:Pt,x:rr,y:ur,verticalAlign:Ie<-.8?"top":Ie>.8?"bottom":"middle",align:xe<-.4?"left":xe>.4?"right":"center"},{inheritColor:Dt}),silent:!0})):v.add(new ZRText$1({style:createTextStyle(M,{text:Pt,x:rr,y:ur,verticalAlign:"middle",align:"center"},{inheritColor:Dt}),silent:!0,originX:rr,originY:ur,rotation:_r}))}if(A.get("show")&&Ce!==L){var Fe=A.get("distance");Fe=Fe?Fe+d:d;for(var xr=0;xr<=O;xr++){xe=Math.cos(z),Ie=Math.sin(z);var Cr=new Line$3({shape:{x1:xe*(S-Fe)+g,y1:Ie*(S-Fe)+y,x2:xe*(S-V-Fe)+g,y2:Ie*(S-V-Fe)+y},silent:!0,style:le});le.stroke==="auto"&&Cr.setStyle({stroke:s((Ce+xr/O)/L)}),v.add(Cr),z+=ie}z-=ie}else z+=Y}},r.prototype._renderPointer=function(n,a,o,s,l,u,c,f,d){var v=this.group,g=this._data,y=this._progressEls,S=[],b=n.get(["pointer","show"]),T=n.getModel("progress"),w=T.get("show"),A=n.getData(),M=A.mapDimension("value"),L=+n.get("min"),O=+n.get("max"),D=[L,O],V=[u,c];function z(ie,j){var le=A.getItemModel(ie),de=le.getModel("pointer"),xe=parsePercent(de.get("width"),l.r),Ie=parsePercent(de.get("length"),l.r),Ce=n.get(["pointer","icon"]),Fe=de.get("offsetCenter"),Ue=parsePercent(Fe[0],l.r),Pt=parsePercent(Fe[1],l.r),Dt=de.get("keepAspect"),rr;return Ce?rr=createSymbol$1(Ce,Ue-xe/2,Pt-Ie,xe,Ie,null,Dt):rr=new PointerPath$1({shape:{angle:-Math.PI/2,width:xe,r:Ie,x:Ue,y:Pt}}),rr.rotation=-(j+Math.PI/2),rr.x=l.cx,rr.y=l.cy,rr}function Y(ie,j){var le=T.get("roundCap"),de=le?Sausage:Sector$1,xe=T.get("overlap"),Ie=xe?T.get("width"):d/A.count(),Ce=xe?l.r-Ie:l.r-(ie+1)*Ie,Fe=xe?l.r:l.r-ie*Ie,Ue=new de({shape:{startAngle:u,endAngle:j,cx:l.cx,cy:l.cy,clockwise:f,r0:Ce,r:Fe}});return xe&&(Ue.z2=O-A.get(M,ie)%O),Ue}(w||b)&&(A.diff(g).add(function(ie){var j=A.get(M,ie);if(b){var le=z(ie,u);initProps(le,{rotation:-((isNaN(+j)?V[0]:linearMap$2(j,D,V,!0))+Math.PI/2)},n),v.add(le),A.setItemGraphicEl(ie,le)}if(w){var de=Y(ie,u),xe=T.get("clip");initProps(de,{shape:{endAngle:linearMap$2(j,D,V,xe)}},n),v.add(de),setCommonECData(n.seriesIndex,A.dataType,ie,de),S[ie]=de}}).update(function(ie,j){var le=A.get(M,ie);if(b){var de=g.getItemGraphicEl(j),xe=de?de.rotation:u,Ie=z(ie,xe);Ie.rotation=xe,updateProps$1(Ie,{rotation:-((isNaN(+le)?V[0]:linearMap$2(le,D,V,!0))+Math.PI/2)},n),v.add(Ie),A.setItemGraphicEl(ie,Ie)}if(w){var Ce=y[j],Fe=Ce?Ce.shape.endAngle:u,Ue=Y(ie,Fe),Pt=T.get("clip");updateProps$1(Ue,{shape:{endAngle:linearMap$2(le,D,V,Pt)}},n),v.add(Ue),setCommonECData(n.seriesIndex,A.dataType,ie,Ue),S[ie]=Ue}}).execute(),A.each(function(ie){var j=A.getItemModel(ie),le=j.getModel("emphasis"),de=le.get("focus"),xe=le.get("blurScope"),Ie=le.get("disabled");if(b){var Ce=A.getItemGraphicEl(ie),Fe=A.getItemVisual(ie,"style"),Ue=Fe.fill;if(Ce instanceof ZRImage$1){var Pt=Ce.style;Ce.useStyle(extend({image:Pt.image,x:Pt.x,y:Pt.y,width:Pt.width,height:Pt.height},Fe))}else Ce.useStyle(Fe),Ce.type!=="pointer"&&Ce.setColor(Ue);Ce.setStyle(j.getModel(["pointer","itemStyle"]).getItemStyle()),Ce.style.fill==="auto"&&Ce.setStyle("fill",s(linearMap$2(A.get(M,ie),D,[0,1],!0))),Ce.z2EmphasisLift=0,setStatesStylesFromModel(Ce,j),toggleHoverEmphasis(Ce,de,xe,Ie)}if(w){var Dt=S[ie];Dt.useStyle(A.getItemVisual(ie,"style")),Dt.setStyle(j.getModel(["progress","itemStyle"]).getItemStyle()),Dt.z2EmphasisLift=0,setStatesStylesFromModel(Dt,j),toggleHoverEmphasis(Dt,de,xe,Ie)}}),this._progressEls=S)},r.prototype._renderAnchor=function(n,a){var o=n.getModel("anchor"),s=o.get("show");if(s){var l=o.get("size"),u=o.get("icon"),c=o.get("offsetCenter"),f=o.get("keepAspect"),d=createSymbol$1(u,a.cx-l/2+parsePercent(c[0],a.r),a.cy-l/2+parsePercent(c[1],a.r),l,l,null,f);d.z2=o.get("showAbove")?1:0,d.setStyle(o.getModel("itemStyle").getItemStyle()),this.group.add(d)}},r.prototype._renderTitleAndDetail=function(n,a,o,s,l){var u=this,c=n.getData(),f=c.mapDimension("value"),d=+n.get("min"),v=+n.get("max"),g=new Group$4,y=[],S=[],b=n.isAnimationEnabled(),T=n.get(["pointer","showAbove"]);c.diff(this._data).add(function(w){y[w]=new ZRText$1({silent:!0}),S[w]=new ZRText$1({silent:!0})}).update(function(w,A){y[w]=u._titleEls[A],S[w]=u._detailEls[A]}).execute(),c.each(function(w){var A=c.getItemModel(w),M=c.get(f,w),L=new Group$4,O=s(linearMap$2(M,[d,v],[0,1],!0)),D=A.getModel("title");if(D.get("show")){var V=D.get("offsetCenter"),z=l.cx+parsePercent(V[0],l.r),Y=l.cy+parsePercent(V[1],l.r),ie=y[w];ie.attr({z2:T?0:2,style:createTextStyle(D,{x:z,y:Y,text:c.getName(w),align:"center",verticalAlign:"middle"},{inheritColor:O})}),L.add(ie)}var j=A.getModel("detail");if(j.get("show")){var le=j.get("offsetCenter"),de=l.cx+parsePercent(le[0],l.r),xe=l.cy+parsePercent(le[1],l.r),Ie=parsePercent(j.get("width"),l.r),Ce=parsePercent(j.get("height"),l.r),Fe=n.get(["progress","show"])?c.getItemVisual(w,"style").fill:O,ie=S[w],Ue=j.get("formatter");ie.attr({z2:T?0:2,style:createTextStyle(j,{x:de,y:xe,text:formatLabel(M,Ue),width:isNaN(Ie)?null:Ie,height:isNaN(Ce)?null:Ce,align:"center",verticalAlign:"middle"},{inheritColor:Fe})}),setLabelValueAnimation(ie,{normal:j},M,function(Dt){return formatLabel(Dt,Ue)}),b&&animateLabelValue(ie,w,c,n,{getFormattedLabel:function(Dt,rr,ur,Sr,_r,xr){return formatLabel(xr?xr.interpolatedValue:M,Ue)}}),L.add(ie)}g.add(L)}),this.group.add(g),this._titleEls=y,this._detailEls=S},r.type="gauge",r}(ChartView$1);const GaugeView$1=GaugeView;var GaugeSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.visualStyleAccessPath="itemStyle",n}return r.prototype.getInitialData=function(n,a){return createSeriesDataSimply(this,["value"])},r.type="series.gauge",r.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},r}(SeriesModel$1);const GaugeSeriesModel$1=GaugeSeriesModel;function install$E(t){t.registerChartView(GaugeView$1),t.registerSeriesModel(GaugeSeriesModel$1)}var opacityAccessPath$1=["itemStyle","opacity"],FunnelPiece=function(t){__extends(r,t);function r(n,a){var o=t.call(this)||this,s=o,l=new Polyline$3,u=new ZRText$1;return s.setTextContent(u),o.setTextGuideLine(l),o.updateData(n,a,!0),o}return r.prototype.updateData=function(n,a,o){var s=this,l=n.hostModel,u=n.getItemModel(a),c=n.getItemLayout(a),f=u.getModel("emphasis"),d=u.get(opacityAccessPath$1);d=d??1,o||saveOldStyle(s),s.useStyle(n.getItemVisual(a,"style")),s.style.lineJoin="round",o?(s.setShape({points:c.points}),s.style.opacity=0,initProps(s,{style:{opacity:d}},l,a)):updateProps$1(s,{style:{opacity:d},shape:{points:c.points}},l,a),setStatesStylesFromModel(s,u),this._updateLabel(n,a),toggleHoverEmphasis(this,f.get("focus"),f.get("blurScope"),f.get("disabled"))},r.prototype._updateLabel=function(n,a){var o=this,s=this.getTextGuideLine(),l=o.getTextContent(),u=n.hostModel,c=n.getItemModel(a),f=n.getItemLayout(a),d=f.label,v=n.getItemVisual(a,"style"),g=v.fill;setLabelStyle(l,getLabelStatesModels(c),{labelFetcher:n.hostModel,labelDataIndex:a,defaultOpacity:v.opacity,defaultText:n.getName(a)},{normal:{align:d.textAlign,verticalAlign:d.verticalAlign}}),o.setTextConfig({local:!0,inside:!!d.inside,insideStroke:g,outsideFill:g});var y=d.linePoints;s.setShape({points:y}),o.textGuideLineConfig={anchor:y?new Point$1(y[0][0],y[0][1]):null},updateProps$1(l,{style:{x:d.x,y:d.y}},u,a),l.attr({rotation:d.rotation,originX:d.x,originY:d.y,z2:10}),setLabelLineStyle(o,getLabelLineStatesModels(c),{stroke:g})},r}(Polygon$1),FunnelView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.ignoreLabelLineUpdate=!0,n}return r.prototype.render=function(n,a,o){var s=n.getData(),l=this._data,u=this.group;s.diff(l).add(function(c){var f=new FunnelPiece(s,c);s.setItemGraphicEl(c,f),u.add(f)}).update(function(c,f){var d=l.getItemGraphicEl(f);d.updateData(s,c),u.add(d),s.setItemGraphicEl(c,d)}).remove(function(c){var f=l.getItemGraphicEl(c);removeElementWithFadeOut(f,n,c)}).execute(),this._data=s},r.prototype.remove=function(){this.group.removeAll(),this._data=null},r.prototype.dispose=function(){},r.type="funnel",r}(ChartView$1);const FunnelView$1=FunnelView;var FunnelSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.init=function(n){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider$1(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(n)},r.prototype.getInitialData=function(n,a){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},r.prototype._defaultLabelLine=function(n){defaultEmphasis(n,"labelLine",["show"]);var a=n.labelLine,o=n.emphasis.labelLine;a.show=a.show&&n.label.show,o.show=o.show&&n.emphasis.label.show},r.prototype.getDataParams=function(n){var a=this.getData(),o=t.prototype.getDataParams.call(this,n),s=a.mapDimension("value"),l=a.getSum(s);return o.percent=l?+(a.get(s,n)/l*100).toFixed(2):0,o.$vars.push("percent"),o},r.type="series.funnel",r.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},r}(SeriesModel$1);const FunnelSeriesModel$1=FunnelSeriesModel;function getViewRect$2(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function getSortedIndices(t,r){for(var n=t.mapDimension("value"),a=t.mapArray(n,function(c){return c}),o=[],s=r==="ascending",l=0,u=t.count();lCLICK_THRESHOLD)return;var o=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);o.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:o.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!(this._mouseDownPoint||!checkTrigger(this,"mousemove"))){var r=this._model,n=r.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),a=n.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(r.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:n.axisExpandWindow,animation:a==="jump"?null:{duration:0}})}}};function checkTrigger(t,r){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===r}const ParallelView$1=ParallelView;var ParallelModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},r.prototype.mergeOption=function(n){var a=this.option;n&&merge(a,n,!0),this._initDimensions()},r.prototype.contains=function(n,a){var o=n.get("parallelIndex");return o!=null&&a.getComponent("parallel",o)===this},r.prototype.setAxisExpand=function(n){each$f(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(a){n.hasOwnProperty(a)&&(this.option[a]=n[a])},this)},r.prototype._initDimensions=function(){var n=this.dimensions=[],a=this.parallelAxisIndex=[],o=filter(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(s){return(s.get("parallelIndex")||0)===this.componentIndex},this);each$f(o,function(s){n.push("dim"+s.get("dim")),a.push(s.componentIndex)})},r.type="parallel",r.dependencies=["parallelAxis"],r.layoutMode="box",r.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},r}(ComponentModel$1);const ParallelModel$1=ParallelModel;var ParallelAxis=function(t){__extends(r,t);function r(n,a,o,s,l){var u=t.call(this,n,a,o)||this;return u.type=s||"value",u.axisIndex=l,u}return r.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},r}(Axis$1);const ParallelAxis$1=ParallelAxis;function sliderMove(t,r,n,a,o,s){t=t||0;var l=n[1]-n[0];if(o!=null&&(o=restrict$1(o,[0,l])),s!=null&&(s=Math.max(s,o??0)),a==="all"){var u=Math.abs(r[1]-r[0]);u=restrict$1(u,[0,l]),o=s=restrict$1(u,[o,s]),a=0}r[0]=restrict$1(r[0],n),r[1]=restrict$1(r[1],n);var c=getSpanSign(r,a);r[a]+=t;var f=o||0,d=n.slice();c.sign<0?d[0]+=f:d[1]-=f,r[a]=restrict$1(r[a],d);var v;return v=getSpanSign(r,a),o!=null&&(v.sign!==c.sign||v.spans&&(r[1-a]=r[a]+v.sign*s),r}function getSpanSign(t,r){var n=t[r]-t[1-r];return{span:Math.abs(n),sign:n>0?-1:n<0?1:r?-1:1}}function restrict$1(t,r){return Math.min(r[1]!=null?r[1]:1/0,Math.max(r[0]!=null?r[0]:-1/0,t))}var each$a=each$f,mathMin$2=Math.min,mathMax$2=Math.max,mathFloor=Math.floor,mathCeil=Math.ceil,round=round$3,PI$1=Math.PI,Parallel=function(){function t(r,n,a){this.type="parallel",this._axesMap=createHashMap(),this._axesLayout={},this.dimensions=r.dimensions,this._model=r,this._init(r,n,a)}return t.prototype._init=function(r,n,a){var o=r.dimensions,s=r.parallelAxisIndex;each$a(o,function(l,u){var c=s[u],f=n.getComponent("parallelAxis",c),d=this._axesMap.set(l,new ParallelAxis$1(l,createScaleByModel$1(f),[0,0],f.get("type"),c)),v=d.type==="category";d.onBand=v&&f.get("boundaryGap"),d.inverse=f.get("inverse"),f.axis=d,d.model=f,d.coordinateSystem=f.coordinateSystem=this},this)},t.prototype.update=function(r,n){this._updateAxesFromSeries(this._model,r)},t.prototype.containPoint=function(r){var n=this._makeLayoutInfo(),a=n.axisBase,o=n.layoutBase,s=n.pixelDimIndex,l=r[1-s],u=r[s];return l>=a&&l<=a+n.axisLength&&u>=o&&u<=o+n.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(r,n){n.eachSeries(function(a){if(r.contains(a,n)){var o=a.getData();each$a(this.dimensions,function(s){var l=this._axesMap.get(s);l.scale.unionExtentFromData(o,o.mapDimension(s)),niceScaleExtent(l.scale,l.model)},this)}},this)},t.prototype.resize=function(r,n){this._rect=getLayoutRect(r.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var r=this._model,n=this._rect,a=["x","y"],o=["width","height"],s=r.get("layout"),l=s==="horizontal"?0:1,u=n[o[l]],c=[0,u],f=this.dimensions.length,d=restrict(r.get("axisExpandWidth"),c),v=restrict(r.get("axisExpandCount")||0,[0,f]),g=r.get("axisExpandable")&&f>3&&f>v&&v>1&&d>0&&u>0,y=r.get("axisExpandWindow"),S;if(y)S=restrict(y[1]-y[0],c),y[1]=y[0]+S;else{S=restrict(d*(v-1),c);var b=r.get("axisExpandCenter")||mathFloor(f/2);y=[d*b-S/2],y[1]=y[0]+S}var T=(u-S)/(f-v);T<3&&(T=0);var w=[mathFloor(round(y[0]/d,1))+1,mathCeil(round(y[1]/d,1))-1],A=T/d*y[0];return{layout:s,pixelDimIndex:l,layoutBase:n[a[l]],layoutLength:u,axisBase:n[a[1-l]],axisLength:n[o[1-l]],axisExpandable:g,axisExpandWidth:d,axisCollapseWidth:T,axisExpandWindow:y,axisCount:f,winInnerIndices:w,axisExpandWindow0Pos:A}},t.prototype._layoutAxes=function(){var r=this._rect,n=this._axesMap,a=this.dimensions,o=this._makeLayoutInfo(),s=o.layout;n.each(function(l){var u=[0,o.axisLength],c=l.inverse?1:0;l.setExtent(u[c],u[1-c])}),each$a(a,function(l,u){var c=(o.axisExpandable?layoutAxisWithExpand:layoutAxisWithoutExpand)(u,o),f={horizontal:{x:c.position,y:o.axisLength},vertical:{x:0,y:c.position}},d={horizontal:PI$1/2,vertical:0},v=[f[s].x+r.x,f[s].y+r.y],g=d[s],y=create$1();rotate(y,y,g),translate$1(y,y,v),this._axesLayout[l]={position:v,rotation:g,transform:y,axisNameAvailableWidth:c.axisNameAvailableWidth,axisLabelShow:c.axisLabelShow,nameTruncateMaxWidth:c.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},t.prototype.getAxis=function(r){return this._axesMap.get(r)},t.prototype.dataToPoint=function(r,n){return this.axisCoordToPoint(this._axesMap.get(n).dataToCoord(r),n)},t.prototype.eachActiveState=function(r,n,a,o){a==null&&(a=0),o==null&&(o=r.count());var s=this._axesMap,l=this.dimensions,u=[],c=[];each$f(l,function(T){u.push(r.mapDimension(T)),c.push(s.get(T).model)});for(var f=this.hasAxisBrushed(),d=a;ds*(1-v[0])?(f="jump",c=u-s*(1-v[2])):(c=u-s*v[1])>=0&&(c=u-s*(1-v[1]))<=0&&(c=0),c*=n.axisExpandWidth/d,c?sliderMove(c,o,l,"all"):f="none";else{var y=o[1]-o[0],S=l[1]*u/y;o=[mathMax$2(0,S-y/2)],o[1]=mathMin$2(l[1],o[0]+y),o[0]=o[1]-y}return{axisExpandWindow:o,behavior:f}},t}();function restrict(t,r){return mathMin$2(mathMax$2(t,r[0]),r[1])}function layoutAxisWithoutExpand(t,r){var n=r.layoutLength/(r.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function layoutAxisWithExpand(t,r){var n=r.layoutLength,a=r.axisExpandWidth,o=r.axisCount,s=r.axisCollapseWidth,l=r.winInnerIndices,u,c=s,f=!1,d;return t=0;o--)asc$2(a[o])},r.prototype.getActiveState=function(n){var a=this.activeIntervals;if(!a.length)return"normal";if(n==null||isNaN(+n))return"inactive";if(a.length===1){var o=a[0];if(o[0]<=n&&n<=o[1])return"active"}else for(var s=0,l=a.length;sUNSELECT_THRESHOLD}function getTrackEnds(t){var r=t.length-1;return r<0&&(r=0),[t[0],t[r]]}function createBaseRectCover(t,r,n,a){var o=new Group$4;return o.add(new Rect$3({name:"main",style:makeStyle(n),silent:!0,draggable:!0,cursor:"move",drift:curry$1(driftRect,t,r,o,["n","s","w","e"]),ondragend:curry$1(trigger,r,{isEnd:!0})})),each$f(a,function(s){o.add(new Rect$3({name:s.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,t,r,o,s),ondragend:curry$1(trigger,r,{isEnd:!0})}))}),o}function updateBaseRect(t,r,n,a){var o=a.brushStyle.lineWidth||0,s=mathMax$1(o,MIN_RESIZE_LINE_WIDTH),l=n[0][0],u=n[1][0],c=l-o/2,f=u-o/2,d=n[0][1],v=n[1][1],g=d-s+o/2,y=v-s+o/2,S=d-l,b=v-u,T=S+o,w=b+o;updateRectShape(t,r,"main",l,u,S,b),a.transformable&&(updateRectShape(t,r,"w",c,f,s,w),updateRectShape(t,r,"e",g,f,s,w),updateRectShape(t,r,"n",c,f,T,s),updateRectShape(t,r,"s",c,y,T,s),updateRectShape(t,r,"nw",c,f,s,s),updateRectShape(t,r,"ne",g,f,s,s),updateRectShape(t,r,"sw",c,y,s,s),updateRectShape(t,r,"se",g,y,s,s))}function updateCommon$1(t,r){var n=r.__brushOption,a=n.transformable,o=r.childAt(0);o.useStyle(makeStyle(n)),o.attr({silent:!a,cursor:a?"move":"default"}),each$f([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(s){var l=r.childOfName(s.join("")),u=s.length===1?getGlobalDirection1(t,s[0]):getGlobalDirection2(t,s);l&&l.attr({silent:!a,invisible:!a,cursor:a?CURSOR_MAP[u]+"-resize":null})})}function updateRectShape(t,r,n,a,o,s,l){var u=r.childOfName(n);u&&u.setShape(pointsToRect(clipByPanel(t,r,[[a,o],[a+s,o+l]])))}function makeStyle(t){return defaults({strokeNoScale:!0},t.brushStyle)}function formatRectRange(t,r,n,a){var o=[mathMin$1(t,n),mathMin$1(r,a)],s=[mathMax$1(t,n),mathMax$1(r,a)];return[[o[0],s[0]],[o[1],s[1]]]}function getTransform(t){return getTransform$1(t.group)}function getGlobalDirection1(t,r){var n={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"},o=transformDirection(n[r],getTransform(t));return a[o]}function getGlobalDirection2(t,r){var n=[getGlobalDirection1(t,r[0]),getGlobalDirection1(t,r[1])];return(n[0]==="e"||n[0]==="w")&&n.reverse(),n.join("")}function driftRect(t,r,n,a,o,s){var l=n.__brushOption,u=t.toRectRange(l.range),c=toLocalDelta(r,o,s);each$f(a,function(f){var d=DIRECTION_MAP[f];u[d[0]][d[1]]+=c[d[0]]}),l.range=t.fromRectRange(formatRectRange(u[0][0],u[1][0],u[0][1],u[1][1])),updateCoverAfterCreation(r,n),trigger(r,{isEnd:!1})}function driftPolygon(t,r,n,a){var o=r.__brushOption.range,s=toLocalDelta(t,n,a);each$f(o,function(l){l[0]+=s[0],l[1]+=s[1]}),updateCoverAfterCreation(t,r),trigger(t,{isEnd:!1})}function toLocalDelta(t,r,n){var a=t.group,o=a.transformCoordToLocal(r,n),s=a.transformCoordToLocal(0,0);return[o[0]-s[0],o[1]-s[1]]}function clipByPanel(t,r,n){var a=getPanelByCover(t,r);return a&&a!==BRUSH_PANEL_GLOBAL?a.clipPath(n,t._transform):clone$4(n)}function pointsToRect(t){var r=mathMin$1(t[0][0],t[1][0]),n=mathMin$1(t[0][1],t[1][1]),a=mathMax$1(t[0][0],t[1][0]),o=mathMax$1(t[0][1],t[1][1]);return{x:r,y:n,width:a-r,height:o-n}}function resetCursor(t,r,n){if(!(!t._brushType||isOutsideZrArea(t,r.offsetX,r.offsetY))){var a=t._zr,o=t._covers,s=getPanelByPoint(t,r,n);if(!t._dragging)for(var l=0;la.getWidth()||n<0||n>a.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(t,r){function n(a){return a}return createBaseRectCover({toRectRange:n,fromRectRange:n},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,n,a){updateBaseRect(t,r,n,a)},updateCommon:updateCommon$1,contain:mainShapeContain},polygon:{createCover:function(t,r){var n=new Group$4;return n.add(new Polyline$3({name:"main",style:makeStyle(r),silent:!0})),n},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,n,a){r.childAt(0).setShape({points:clipByPanel(t,r,n)})},updateCommon:updateCommon$1,contain:mainShapeContain}};function getLineRenderer(t){return{createCover:function(r,n){return createBaseRectCover({toRectRange:function(a){var o=[a,[0,100]];return t&&o.reverse(),o},fromRectRange:function(a){return a[t]}},r,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(r){var n=getTrackEnds(r),a=mathMin$1(n[0][t],n[1][t]),o=mathMax$1(n[0][t],n[1][t]);return[a,o]},updateCoverShape:function(r,n,a,o){var s,l=getPanelByCover(r,n);if(l!==BRUSH_PANEL_GLOBAL&&l.getLinearBrushOtherExtent)s=l.getLinearBrushOtherExtent(t);else{var u=r._zr;s=[0,[u.getWidth(),u.getHeight()][1-t]]}var c=[a,s];t&&c.reverse(),updateBaseRect(r,n,c,o)},updateCommon:updateCommon$1,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(n){var a=r??n,o=a?t.width:t.height,s=a?t.x:t.y;return[s,s+(o||0)]}}function makeRectIsTargetByCursor(t,r,n){var a=normalizeRect(t);return function(o,s){return a.contain(s[0],s[1])&&!onIrrelevantElement(o,r,n)}}function normalizeRect(t){return BoundingRect$1.create(t)}var elementList$1=["axisLine","axisTickLabel","axisName"],ParallelAxisView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.init=function(n,a){t.prototype.init.apply(this,arguments),(this._brushController=new BrushController$1(a.getZr())).on("brush",bind$1(this._onBrush,this))},r.prototype.render=function(n,a,o,s){if(!fromAxisAreaSelect(n,a,s)){this.axisModel=n,this.api=o,this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new Group$4,this.group.add(this._axisGroup),!!n.get("show")){var u=getCoordSysModel(n,a),c=u.coordinateSystem,f=n.getAreaSelectStyle(),d=f.width,v=n.axis.dim,g=c.getAxisLayout(v),y=extend({strokeContainThreshold:d},g),S=new AxisBuilder$1(n,y);each$f(elementList$1,S.add,S),this._axisGroup.add(S.getGroup()),this._refreshBrushController(y,f,n,u,d,o),groupTransition(l,this._axisGroup,n)}}},r.prototype._refreshBrushController=function(n,a,o,s,l,u){var c=o.axis.getExtent(),f=c[1]-c[0],d=Math.min(30,Math.abs(f)*.1),v=BoundingRect$1.create({x:c[0],y:-l/2,width:f,height:l});v.x-=d,v.width+=2*d,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,x:n.position[0],y:n.position[1]}).setPanels([{panelId:"pl",clipPath:makeRectPanelClipPath(v),isTargetByCursor:makeRectIsTargetByCursor(v,u,s),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(v,0)}]).enableBrush({brushType:"lineX",brushStyle:a,removeOnClick:!0}).updateCovers(getCoverInfoList(o))},r.prototype._onBrush=function(n){var a=n.areas,o=this.axisModel,s=o.axis,l=map$1(a,function(u){return[s.coordToData(u.range[0],!0),s.coordToData(u.range[1],!0)]});(!o.option.realtime===n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:o.id,intervals:l})},r.prototype.dispose=function(){this._brushController.dispose()},r.type="parallelAxis",r}(ComponentView$1);function fromAxisAreaSelect(t,r,n){return n&&n.type==="axisAreaSelect"&&r.findComponents({mainType:"parallelAxis",query:n})[0]===t}function getCoverInfoList(t){var r=t.axis;return map$1(t.activeIntervals,function(n){return{brushType:"lineX",panelId:"pl",range:[r.dataToCoord(n[0],!0),r.dataToCoord(n[1],!0)]}})}function getCoordSysModel(t,r){return r.getComponent("parallel",t.get("parallelIndex"))}const ParallelAxisView$1=ParallelAxisView;var actionInfo={type:"axisAreaSelect",event:"axisAreaSelected"};function installParallelActions(t){t.registerAction(actionInfo,function(r,n){n.eachComponent({mainType:"parallelAxis",query:r},function(a){a.axis.model.setActiveIntervals(r.intervals)})}),t.registerAction("parallelAxisExpand",function(r,n){n.eachComponent({mainType:"parallel",query:r},function(a){a.setAxisExpand(r)})})}var defaultAxisOption={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function install$C(t){t.registerComponentView(ParallelView$1),t.registerComponentModel(ParallelModel$1),t.registerCoordinateSystem("parallel",parallelCoordSysCreator$1),t.registerPreprocessor(parallelPreprocessor),t.registerComponentModel(ParallelAxisModel$1),t.registerComponentView(ParallelAxisView$1),axisModelCreator(t,"parallel",ParallelAxisModel$1,defaultAxisOption),installParallelActions(t)}function install$B(t){use(install$C),t.registerChartView(ParallelView$3),t.registerSeriesModel(ParallelSeriesModel$1),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,parallelVisual$1)}var SankeyPathShape=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return t}(),SankeyPath=function(t){__extends(r,t);function r(n){return t.call(this,n)||this}return r.prototype.getDefaultShape=function(){return new SankeyPathShape},r.prototype.buildPath=function(n,a){var o=a.extent;n.moveTo(a.x1,a.y1),n.bezierCurveTo(a.cpx1,a.cpy1,a.cpx2,a.cpy2,a.x2,a.y2),a.orient==="vertical"?(n.lineTo(a.x2+o,a.y2),n.bezierCurveTo(a.cpx2+o,a.cpy2,a.cpx1+o,a.cpy1,a.x1+o,a.y1)):(n.lineTo(a.x2,a.y2+o),n.bezierCurveTo(a.cpx2,a.cpy2+o,a.cpx1,a.cpy1+o,a.x1,a.y1+o)),n.closePath()},r.prototype.highlight=function(){enterEmphasis(this)},r.prototype.downplay=function(){leaveEmphasis(this)},r}(Path$1),SankeyView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n._focusAdjacencyDisabled=!1,n}return r.prototype.render=function(n,a,o){var s=this,l=n.getGraph(),u=this.group,c=n.layoutInfo,f=c.width,d=c.height,v=n.getData(),g=n.getData("edge"),y=n.get("orient");this._model=n,u.removeAll(),u.x=c.x,u.y=c.y,l.eachEdge(function(S){var b=new SankeyPath,T=getECData(b);T.dataIndex=S.dataIndex,T.seriesIndex=n.seriesIndex,T.dataType="edge";var w=S.getModel(),A=w.getModel("lineStyle"),M=A.get("curveness"),L=S.node1.getLayout(),O=S.node1.getModel(),D=O.get("localX"),V=O.get("localY"),z=S.node2.getLayout(),Y=S.node2.getModel(),ie=Y.get("localX"),j=Y.get("localY"),le=S.getLayout(),de,xe,Ie,Ce,Fe,Ue,Pt,Dt;switch(b.shape.extent=Math.max(1,le.dy),b.shape.orient=y,y==="vertical"?(de=(D!=null?D*f:L.x)+le.sy,xe=(V!=null?V*d:L.y)+L.dy,Ie=(ie!=null?ie*f:z.x)+le.ty,Ce=j!=null?j*d:z.y,Fe=de,Ue=xe*(1-M)+Ce*M,Pt=Ie,Dt=xe*M+Ce*(1-M)):(de=(D!=null?D*f:L.x)+L.dx,xe=(V!=null?V*d:L.y)+le.sy,Ie=ie!=null?ie*f:z.x,Ce=(j!=null?j*d:z.y)+le.ty,Fe=de*(1-M)+Ie*M,Ue=xe,Pt=de*M+Ie*(1-M),Dt=Ce),b.setShape({x1:de,y1:xe,x2:Ie,y2:Ce,cpx1:Fe,cpy1:Ue,cpx2:Pt,cpy2:Dt}),b.useStyle(A.getItemStyle()),b.style.fill){case"source":b.style.fill=S.node1.getVisual("color"),b.style.decal=S.node1.getVisual("style").decal;break;case"target":b.style.fill=S.node2.getVisual("color"),b.style.decal=S.node2.getVisual("style").decal;break;case"gradient":var rr=S.node1.getVisual("color"),ur=S.node2.getVisual("color");isString$1(rr)&&isString$1(ur)&&(b.style.fill=new LinearGradient$1(0,0,+(y==="horizontal"),+(y==="vertical"),[{color:rr,offset:0},{color:ur,offset:1}]))}setLabelStyle(b,getLabelStatesModels(w,"edgeLabel"),{labelFetcher:n,labelDataIndex:S.dataIndex,defaultText:""+w.get("value")}),b.setTextConfig({position:"inside"});var Sr=w.getModel("emphasis");setStatesStylesFromModel(b,w,"lineStyle",function(xr){return xr.getItemStyle()}),u.add(b),g.setItemGraphicEl(S.dataIndex,b);var _r=Sr.get("focus");toggleHoverEmphasis(b,_r==="adjacency"?S.getAdjacentDataIndices():_r,Sr.get("blurScope"),Sr.get("disabled")),getECData(b).dataType="edge"}),l.eachNode(function(S){var b=S.getLayout(),T=S.getModel(),w=T.get("localX"),A=T.get("localY"),M=T.getModel("emphasis"),L=new Rect$3({shape:{x:w!=null?w*f:b.x,y:A!=null?A*d:b.y,width:b.dx,height:b.dy},style:T.getModel("itemStyle").getItemStyle(),z2:10});setLabelStyle(L,getLabelStatesModels(T),{labelFetcher:n,labelDataIndex:S.dataIndex,defaultText:S.id}),L.disableLabelAnimation=!0,L.setStyle("fill",S.getVisual("color")),L.setStyle("decal",S.getVisual("style").decal),setStatesStylesFromModel(L,T),u.add(L),v.setItemGraphicEl(S.dataIndex,L),getECData(L).dataType="node";var O=M.get("focus");toggleHoverEmphasis(L,O==="adjacency"?S.getAdjacentDataIndices():O,M.get("blurScope"),M.get("disabled"))}),v.eachItemGraphicEl(function(S,b){var T=v.getItemModel(b);T.get("draggable")&&(S.drift=function(w,A){s._focusAdjacencyDisabled=!0,this.shape.x+=w,this.shape.y+=A,this.dirty(),o.dispatchAction({type:"dragNode",seriesId:n.id,dataIndex:v.getRawIndex(b),localX:this.shape.x/f,localY:this.shape.y/d})},S.ondragend=function(){s._focusAdjacencyDisabled=!1},S.draggable=!0,S.cursor="move")}),!this._data&&n.isAnimationEnabled()&&u.setClipPath(createGridClipShape$1(u.getBoundingRect(),n,function(){u.removeClipPath()})),this._data=n.getData()},r.prototype.dispose=function(){},r.type="sankey",r}(ChartView$1);function createGridClipShape$1(t,r,n){var a=new Rect$3({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return initProps(a,{shape:{width:t.width+20}},r,n),a}const SankeyView$1=SankeyView;var SankeySeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.getInitialData=function(n,a){var o=n.edges||n.links,s=n.data||n.nodes,l=n.levels;this.levelModels=[];for(var u=this.levelModels,c=0;c=0&&(u[l[c].depth]=new Model$1(l[c],this,a));if(s&&o){var f=createGraphFromNodeEdge(s,o,this,!0,d);return f.data}function d(v,g){v.wrapMethod("getItemModel",function(y,S){var b=y.parentModel,T=b.getData().getItemLayout(S);if(T){var w=T.depth,A=b.levelModels[w];A&&(y.parentModel=A)}return y}),g.wrapMethod("getItemModel",function(y,S){var b=y.parentModel,T=b.getGraph().getEdgeByIndex(S),w=T.node1.getLayout();if(w){var A=w.depth,M=b.levelModels[A];M&&(y.parentModel=M)}return y})}},r.prototype.setNodePosition=function(n,a){var o=this.option.data||this.option.nodes,s=o[n];s.localX=a[0],s.localY=a[1]},r.prototype.getGraph=function(){return this.getData().graph},r.prototype.getEdgeData=function(){return this.getGraph().edgeData},r.prototype.formatTooltip=function(n,a,o){function s(y){return isNaN(y)||y==null}if(o==="edge"){var l=this.getDataParams(n,o),u=l.data,c=l.value,f=u.source+" -- "+u.target;return createTooltipMarkup("nameValue",{name:f,value:c,noValue:s(c)})}else{var d=this.getGraph().getNodeByIndex(n),v=d.getLayout().value,g=this.getDataParams(n,o).data.name;return createTooltipMarkup("nameValue",{name:g!=null?g+"":null,value:v,noValue:s(v)})}},r.prototype.optionUpdated=function(){},r.prototype.getDataParams=function(n,a){var o=t.prototype.getDataParams.call(this,n,a);if(o.value==null&&a==="node"){var s=this.getGraph().getNodeByIndex(n),l=s.getLayout().value;o.value=l}return o},r.type="series.sankey",r.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},r}(SeriesModel$1);const SankeySeriesModel$1=SankeySeriesModel;function sankeyLayout(t,r){t.eachSeriesByType("sankey",function(n){var a=n.get("nodeWidth"),o=n.get("nodeGap"),s=getViewRect$1(n,r);n.layoutInfo=s;var l=s.width,u=s.height,c=n.getGraph(),f=c.nodes,d=c.edges;computeNodeValues(f);var v=filter(f,function(b){return b.getLayout().value===0}),g=v.length!==0?0:n.get("layoutIterations"),y=n.get("orient"),S=n.get("nodeAlign");layoutSankey(f,d,a,o,l,u,g,y,S)})}function getViewRect$1(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function layoutSankey(t,r,n,a,o,s,l,u,c){computeNodeBreadths(t,r,n,o,s,u,c),computeNodeDepths(t,r,s,o,a,l,u),computeEdgeDepths(t,u)}function computeNodeValues(t){each$f(t,function(r){var n=sum(r.outEdges,getEdgeValue),a=sum(r.inEdges,getEdgeValue),o=r.getValue()||0,s=Math.max(n,a,o);r.setLayout({value:s},!0)})}function computeNodeBreadths(t,r,n,a,o,s,l){for(var u=[],c=[],f=[],d=[],v=0,g=0;g=0;w&&T.depth>y&&(y=T.depth),b.setLayout({depth:w?T.depth:v},!0),s==="vertical"?b.setLayout({dy:n},!0):b.setLayout({dx:n},!0);for(var A=0;Av-1?y:v-1;l&&l!=="left"&&adjustNodeWithNodeAlign(t,l,s,V);var z=s==="vertical"?(o-n)/V:(a-n)/V;scaleNodeBreadths(t,z,s)}function isNodeDepth(t){var r=t.hostGraph.data.getRawDataItem(t.dataIndex);return r.depth!=null&&r.depth>=0}function adjustNodeWithNodeAlign(t,r,n,a){if(r==="right"){for(var o=[],s=t,l=0;s.length;){for(var u=0;u0;s--)c*=.99,relaxRightToLeft(u,c,l),resolveCollisions(u,o,n,a,l),relaxLeftToRight(u,c,l),resolveCollisions(u,o,n,a,l)}function prepareNodesByBreadth(t,r){var n=[],a=r==="vertical"?"y":"x",o=groupData(t,function(s){return s.getLayout()[a]});return o.keys.sort(function(s,l){return s-l}),each$f(o.keys,function(s){n.push(o.buckets.get(s))}),n}function initializeNodeDepth(t,r,n,a,o,s){var l=1/0;each$f(t,function(u){var c=u.length,f=0;each$f(u,function(v){f+=v.getLayout().value});var d=s==="vertical"?(a-(c-1)*o)/f:(n-(c-1)*o)/f;d0&&(u=c.getLayout()[s]+f,o==="vertical"?c.setLayout({x:u},!0):c.setLayout({y:u},!0)),d=c.getLayout()[s]+c.getLayout()[g]+r;var S=o==="vertical"?a:n;if(f=d-r-S,f>0){u=c.getLayout()[s]-f,o==="vertical"?c.setLayout({x:u},!0):c.setLayout({y:u},!0),d=u;for(var y=v-2;y>=0;--y)c=l[y],f=c.getLayout()[s]+c.getLayout()[g]+r-d,f>0&&(u=c.getLayout()[s]-f,o==="vertical"?c.setLayout({x:u},!0):c.setLayout({y:u},!0)),d=c.getLayout()[s]}})}function relaxRightToLeft(t,r,n){each$f(t.slice().reverse(),function(a){each$f(a,function(o){if(o.outEdges.length){var s=sum(o.outEdges,weightedTarget,n)/sum(o.outEdges,getEdgeValue);if(isNaN(s)){var l=o.outEdges.length;s=l?sum(o.outEdges,centerTarget,n)/l:0}if(n==="vertical"){var u=o.getLayout().x+(s-center(o,n))*r;o.setLayout({x:u},!0)}else{var c=o.getLayout().y+(s-center(o,n))*r;o.setLayout({y:c},!0)}}})})}function weightedTarget(t,r){return center(t.node2,r)*t.getValue()}function centerTarget(t,r){return center(t.node2,r)}function weightedSource(t,r){return center(t.node1,r)*t.getValue()}function centerSource(t,r){return center(t.node1,r)}function center(t,r){return r==="vertical"?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function getEdgeValue(t){return t.getValue()}function sum(t,r,n){for(var a=0,o=t.length,s=-1;++sl&&(l=c)}),each$f(a,function(u){var c=new VisualMapping$1({type:"color",mappingMethod:"linear",dataExtent:[s,l],visual:r.get("color")}),f=c.mapValueToVisual(u.getLayout().value),d=u.getModel().get(["itemStyle","color"]);d!=null?(u.setVisual("color",d),u.setVisual("style",{fill:d})):(u.setVisual("color",f),u.setVisual("style",{fill:f}))})}o.length&&each$f(o,function(u){var c=u.getModel().get("lineStyle");u.setVisual("style",c)})})}function install$A(t){t.registerChartView(SankeyView$1),t.registerSeriesModel(SankeySeriesModel$1),t.registerLayout(sankeyLayout),t.registerVisual(sankeyVisual),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(r,n){n.eachComponent({mainType:"series",subType:"sankey",query:r},function(a){a.setNodePosition(r.dataIndex,[r.localX,r.localY])})})}var WhiskerBoxCommonMixin=function(){function t(){}return t.prototype.getInitialData=function(r,n){var a,o=n.getComponent("xAxis",this.get("xAxisIndex")),s=n.getComponent("yAxis",this.get("yAxisIndex")),l=o.get("type"),u=s.get("type"),c;l==="category"?(r.layout="horizontal",a=o.getOrdinalMeta(),c=!0):u==="category"?(r.layout="vertical",a=s.getOrdinalMeta(),c=!0):r.layout=r.layout||"horizontal";var f=["x","y"],d=r.layout==="horizontal"?0:1,v=this._baseAxisDim=f[d],g=f[1-d],y=[o,s],S=y[d].get("type"),b=y[1-d].get("type"),T=r.data;if(T&&c){var w=[];each$f(T,function(L,O){var D;isArray$2(L)?(D=L.slice(),L.unshift(O)):isArray$2(L.value)?(D=extend({},L),D.value=D.value.slice(),L.value.unshift(O)):D=L,w.push(D)}),r.data=w}var A=this.defaultValueDimensions,M=[{name:v,type:getDimensionTypeByAxis(S),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:getDimensionTypeByAxis(b),dimsDef:A.slice()}];return createSeriesDataSimply(this,{coordDimensions:M,dimensionsCount:A.length+1,encodeDefaulter:curry$1(makeSeriesEncodeForAxisCoordSys,M,this)})},t.prototype.getBaseAxis=function(){var r=this._baseAxisDim;return this.ecModel.getComponent(r+"Axis",this.get(r+"AxisIndex")).axis},t}(),BoxplotSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return r.type="series.boxplot",r.dependencies=["xAxis","yAxis","grid"],r.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},r}(SeriesModel$1);mixin(BoxplotSeriesModel,WhiskerBoxCommonMixin,!0);const BoxplotSeriesModel$1=BoxplotSeriesModel;var BoxplotView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.render=function(n,a,o){var s=n.getData(),l=this.group,u=this._data;this._data||l.removeAll();var c=n.get("layout")==="horizontal"?1:0;s.diff(u).add(function(f){if(s.hasValue(f)){var d=s.getItemLayout(f),v=createNormalBox$1(d,s,f,c,!0);s.setItemGraphicEl(f,v),l.add(v)}}).update(function(f,d){var v=u.getItemGraphicEl(d);if(!s.hasValue(f)){l.remove(v);return}var g=s.getItemLayout(f);v?(saveOldStyle(v),updateNormalBoxData(g,v,s,f)):v=createNormalBox$1(g,s,f,c),l.add(v),s.setItemGraphicEl(f,v)}).remove(function(f){var d=u.getItemGraphicEl(f);d&&l.remove(d)}).execute(),this._data=s},r.prototype.remove=function(n){var a=this.group,o=this._data;this._data=null,o&&o.eachItemGraphicEl(function(s){s&&a.remove(s)})},r.type="boxplot",r}(ChartView$1),BoxPathShape=function(){function t(){}return t}(),BoxPath=function(t){__extends(r,t);function r(n){var a=t.call(this,n)||this;return a.type="boxplotBoxPath",a}return r.prototype.getDefaultShape=function(){return new BoxPathShape},r.prototype.buildPath=function(n,a){var o=a.points,s=0;for(n.moveTo(o[s][0],o[s][1]),s++;s<4;s++)n.lineTo(o[s][0],o[s][1]);for(n.closePath();sb){var L=[w,M];a.push(L)}}}return{boxData:n,outliers:a}}var boxplotTransform={type:"echarts:boxplot",transform:function t(r){var n=r.upstream;if(n.sourceFormat!==SOURCE_FORMAT_ARRAY_ROWS){var a="";throwError(a)}var o=prepareBoxplotData(n.getRawData(),r.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:o.boxData},{data:o.outliers}]}};function install$z(t){t.registerSeriesModel(BoxplotSeriesModel$1),t.registerChartView(BoxplotView$1),t.registerLayout(boxplotLayout),t.registerTransform(boxplotTransform)}var SKIP_PROPS=["color","borderColor"],CandlestickView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.render=function(n,a,o){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(n),this._isLargeDraw?this._renderLarge(n):this._renderNormal(n)},r.prototype.incrementalPrepareRender=function(n,a,o){this._clear(),this._updateDrawMode(n)},r.prototype.incrementalRender=function(n,a,o,s){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(n,a):this._incrementalRenderNormal(n,a)},r.prototype.eachRendered=function(n){traverseElements(this._progressiveEls||this.group,n)},r.prototype._updateDrawMode=function(n){var a=n.pipelineContext.large;(this._isLargeDraw==null||a!==this._isLargeDraw)&&(this._isLargeDraw=a,this._clear())},r.prototype._renderNormal=function(n){var a=n.getData(),o=this._data,s=this.group,l=a.getLayout("isSimpleBox"),u=n.get("clip",!0),c=n.coordinateSystem,f=c.getArea&&c.getArea();this._data||s.removeAll(),a.diff(o).add(function(d){if(a.hasValue(d)){var v=a.getItemLayout(d);if(u&&isNormalBoxClipped(f,v))return;var g=createNormalBox(v,d,!0);initProps(g,{shape:{points:v.ends}},n,d),setBoxCommon(g,a,d,l),s.add(g),a.setItemGraphicEl(d,g)}}).update(function(d,v){var g=o.getItemGraphicEl(v);if(!a.hasValue(d)){s.remove(g);return}var y=a.getItemLayout(d);if(u&&isNormalBoxClipped(f,y)){s.remove(g);return}g?(updateProps$1(g,{shape:{points:y.ends}},n,d),saveOldStyle(g)):g=createNormalBox(y),setBoxCommon(g,a,d,l),s.add(g),a.setItemGraphicEl(d,g)}).remove(function(d){var v=o.getItemGraphicEl(d);v&&s.remove(v)}).execute(),this._data=a},r.prototype._renderLarge=function(n){this._clear(),createLarge(n,this.group);var a=n.get("clip",!0)?createClipPath(n.coordinateSystem,!1,n):null;a?this.group.setClipPath(a):this.group.removeClipPath()},r.prototype._incrementalRenderNormal=function(n,a){for(var o=a.getData(),s=o.getLayout("isSimpleBox"),l;(l=n.next())!=null;){var u=o.getItemLayout(l),c=createNormalBox(u);setBoxCommon(c,o,l,s),c.incremental=!0,this.group.add(c),this._progressiveEls.push(c)}},r.prototype._incrementalRenderLarge=function(n,a){createLarge(a,this.group,this._progressiveEls,!0)},r.prototype.remove=function(n){this._clear()},r.prototype._clear=function(){this.group.removeAll(),this._data=null},r.type="candlestick",r}(ChartView$1),NormalBoxPathShape=function(){function t(){}return t}(),NormalBoxPath=function(t){__extends(r,t);function r(n){var a=t.call(this,n)||this;return a.type="normalCandlestickBox",a}return r.prototype.getDefaultShape=function(){return new NormalBoxPathShape},r.prototype.buildPath=function(n,a){var o=a.points;this.__simpleBox?(n.moveTo(o[4][0],o[4][1]),n.lineTo(o[6][0],o[6][1])):(n.moveTo(o[0][0],o[0][1]),n.lineTo(o[1][0],o[1][1]),n.lineTo(o[2][0],o[2][1]),n.lineTo(o[3][0],o[3][1]),n.closePath(),n.moveTo(o[4][0],o[4][1]),n.lineTo(o[5][0],o[5][1]),n.moveTo(o[6][0],o[6][1]),n.lineTo(o[7][0],o[7][1]))},r}(Path$1);function createNormalBox(t,r,n){var a=t.ends;return new NormalBoxPath({shape:{points:n?transInit(a,t):a},z2:100})}function isNormalBoxClipped(t,r){for(var n=!0,a=0;a0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);t===0&&(o=n.get(["itemStyle","borderColorDoji"]));var s=n.getModel("itemStyle").getItemStyle(SKIP_PROPS);r.useStyle(s),r.style.fill=null,r.style.stroke=o}const CandlestickView$1=CandlestickView;var CandlestickSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return r.prototype.getShadowDim=function(){return"open"},r.prototype.brushSelector=function(n,a,o){var s=a.getItemLayout(n);return s&&o.rect(s.brushRect)},r.type="series.candlestick",r.dependencies=["xAxis","yAxis","grid"],r.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},r}(SeriesModel$1);mixin(CandlestickSeriesModel,WhiskerBoxCommonMixin,!0);const CandlestickSeriesModel$1=CandlestickSeriesModel;function candlestickPreprocessor(t){!t||!isArray$2(t.series)||each$f(t.series,function(r){isObject$4(r)&&r.type==="k"&&(r.type="candlestick")})}var positiveBorderColorQuery=["itemStyle","borderColor"],negativeBorderColorQuery=["itemStyle","borderColor0"],dojiBorderColorQuery=["itemStyle","borderColorDoji"],positiveColorQuery=["itemStyle","color"],negativeColorQuery=["itemStyle","color0"],candlestickVisual={seriesType:"candlestick",plan:createRenderPlanner(),performRawSeries:!0,reset:function(t,r){function n(s,l){return l.get(s>0?positiveColorQuery:negativeColorQuery)}function a(s,l){return l.get(s===0?dojiBorderColorQuery:s>0?positiveBorderColorQuery:negativeBorderColorQuery)}if(!r.isSeriesFiltered(t)){var o=t.pipelineContext.large;return!o&&{progress:function(s,l){for(var u;(u=s.next())!=null;){var c=l.getItemModel(u),f=l.getItemLayout(u).sign,d=c.getItemStyle();d.fill=n(f,c),d.stroke=a(f,c)||d.fill;var v=l.ensureUniqueItemVisual(u,"style");extend(v,d)}}}}}};const candlestickVisual$1=candlestickVisual;var candlestickLayout={seriesType:"candlestick",plan:createRenderPlanner(),reset:function(t){var r=t.coordinateSystem,n=t.getData(),a=calculateCandleWidth(t,n),o=0,s=1,l=["x","y"],u=n.getDimensionIndex(n.mapDimension(l[o])),c=map$1(n.mapDimensionsAll(l[s]),n.getDimensionIndex,n),f=c[0],d=c[1],v=c[2],g=c[3];if(n.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),u<0||c.length<4)return;return{progress:t.pipelineContext.large?S:y};function y(b,T){for(var w,A=T.getStore();(w=b.next())!=null;){var M=A.get(u,w),L=A.get(f,w),O=A.get(d,w),D=A.get(v,w),V=A.get(g,w),z=Math.min(L,O),Y=Math.max(L,O),ie=Fe(z,M),j=Fe(Y,M),le=Fe(D,M),de=Fe(V,M),xe=[];Ue(xe,j,0),Ue(xe,ie,1),xe.push(Dt(de),Dt(j),Dt(le),Dt(ie));var Ie=T.getItemModel(w),Ce=!!Ie.get(["itemStyle","borderColorDoji"]);T.setItemLayout(w,{sign:getSign(A,w,L,O,d,Ce),initBaseline:L>O?j[s]:ie[s],ends:xe,brushRect:Pt(D,V,M)})}function Fe(rr,ur){var Sr=[];return Sr[o]=ur,Sr[s]=rr,isNaN(ur)||isNaN(rr)?[NaN,NaN]:r.dataToPoint(Sr)}function Ue(rr,ur,Sr){var _r=ur.slice(),xr=ur.slice();_r[o]=subPixelOptimize(_r[o]+a/2,1,!1),xr[o]=subPixelOptimize(xr[o]-a/2,1,!0),Sr?rr.push(_r,xr):rr.push(xr,_r)}function Pt(rr,ur,Sr){var _r=Fe(rr,Sr),xr=Fe(ur,Sr);return _r[o]-=a/2,xr[o]-=a/2,{x:_r[0],y:_r[1],width:a,height:xr[1]-_r[1]}}function Dt(rr){return rr[o]=subPixelOptimize(rr[o],1),rr}}function S(b,T){for(var w=createFloat32Array(b.count*4),A=0,M,L=[],O=[],D,V=T.getStore(),z=!!t.get(["itemStyle","borderColorDoji"]);(D=b.next())!=null;){var Y=V.get(u,D),ie=V.get(f,D),j=V.get(d,D),le=V.get(v,D),de=V.get(g,D);if(isNaN(Y)||isNaN(le)||isNaN(de)){w[A++]=NaN,A+=3;continue}w[A++]=getSign(V,D,ie,j,d,z),L[o]=Y,L[s]=le,M=r.dataToPoint(L,null,O),w[A++]=M?M[0]:NaN,w[A++]=M?M[1]:NaN,L[s]=de,M=r.dataToPoint(L,null,O),w[A++]=M?M[1]:NaN}T.setLayout("largePoints",w)}}};function getSign(t,r,n,a,o,s){var l;return n>a?l=-1:n0?t.get(o,r-1)<=a?1:-1:1,l}function calculateCandleWidth(t,r){var n=t.getBaseAxis(),a,o=n.type==="category"?n.getBandWidth():(a=n.getExtent(),Math.abs(a[1]-a[0])/r.count()),s=parsePercent(retrieve2(t.get("barMaxWidth"),o),o),l=parsePercent(retrieve2(t.get("barMinWidth"),1),o),u=t.get("barWidth");return u!=null?parsePercent(u,o):Math.max(Math.min(o/2,s),l)}const candlestickLayout$1=candlestickLayout;function install$y(t){t.registerChartView(CandlestickView$1),t.registerSeriesModel(CandlestickSeriesModel$1),t.registerPreprocessor(candlestickPreprocessor),t.registerVisual(candlestickVisual$1),t.registerLayout(candlestickLayout$1)}function updateRipplePath(t,r){var n=r.rippleEffectColor||r.color;t.eachChild(function(a){a.attr({z:r.z,zlevel:r.zlevel,style:{stroke:r.brushType==="stroke"?n:null,fill:r.brushType==="fill"?n:null}})})}var EffectSymbol=function(t){__extends(r,t);function r(n,a){var o=t.call(this)||this,s=new SymbolClz(n,a),l=new Group$4;return o.add(s),o.add(l),o.updateData(n,a),o}return r.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},r.prototype.startEffectAnimation=function(n){for(var a=n.symbolType,o=n.color,s=n.rippleNumber,l=this.childAt(1),u=0;u0&&(u=this._getLineLength(s)/d*1e3),u!==this._period||c!==this._loop||f!==this._roundTrip){s.stopAnimation();var g=void 0;isFunction$1(v)?g=v(o):g=v,s.__t>0&&(g=-u*s.__t),this._animateSymbol(s,u,g,c,f)}this._period=u,this._loop=c,this._roundTrip=f}},r.prototype._animateSymbol=function(n,a,o,s,l){if(a>0){n.__t=0;var u=this,c=n.animate("",s).when(l?a*2:a,{__t:l?2:1}).delay(o).during(function(){u._updateSymbolPosition(n)});s||c.done(function(){u.remove(n)}),c.start()}},r.prototype._getLineLength=function(n){return dist$1(n.__p1,n.__cp1)+dist$1(n.__cp1,n.__p2)},r.prototype._updateAnimationPoints=function(n,a){n.__p1=a[0],n.__p2=a[1],n.__cp1=a[2]||[(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]},r.prototype.updateData=function(n,a,o){this.childAt(0).updateData(n,a,o),this._updateEffectSymbol(n,a)},r.prototype._updateSymbolPosition=function(n){var a=n.__p1,o=n.__p2,s=n.__cp1,l=n.__t<1?n.__t:2-n.__t,u=[n.x,n.y],c=u.slice(),f=quadraticAt$1,d=quadraticDerivativeAt;u[0]=f(a[0],s[0],o[0],l),u[1]=f(a[1],s[1],o[1],l);var v=n.__t<1?d(a[0],s[0],o[0],l):d(o[0],s[0],a[0],1-l),g=n.__t<1?d(a[1],s[1],o[1],l):d(o[1],s[1],a[1],1-l);n.rotation=-Math.atan2(g,v)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(n.__lastT!==void 0&&n.__lastT=0&&!(s[c]<=a);c--);c=Math.min(c,l-2)}else{for(c=u;ca);c++);c=Math.min(c-1,l-2)}var d=(a-s[c])/(s[c+1]-s[c]),v=o[c],g=o[c+1];n.x=v[0]*(1-d)+d*g[0],n.y=v[1]*(1-d)+d*g[1];var y=n.__t<1?g[0]-v[0]:v[0]-g[0],S=n.__t<1?g[1]-v[1]:v[1]-g[1];n.rotation=-Math.atan2(S,y)-Math.PI/2,this._lastFrame=c,this._lastFramePercent=a,n.ignore=!1}},r}(EffectLine$1);const EffectPolyline$1=EffectPolyline;var LargeLinesPathShape=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),LargeLinesPath=function(t){__extends(r,t);function r(n){var a=t.call(this,n)||this;return a._off=0,a.hoverDataIdx=-1,a}return r.prototype.reset=function(){this.notClear=!1,this._off=0},r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new LargeLinesPathShape},r.prototype.buildPath=function(n,a){var o=a.segs,s=a.curveness,l;if(a.polyline)for(l=this._off;l0){n.moveTo(o[l++],o[l++]);for(var c=1;c0){var y=(f+v)/2-(d-g)*s,S=(d+g)/2-(v-f)*s;n.quadraticCurveTo(y,S,v,g)}else n.lineTo(v,g)}this.incremental&&(this._off=l,this.notClear=!0)},r.prototype.findDataIndex=function(n,a){var o=this.shape,s=o.segs,l=o.curveness,u=this.style.lineWidth;if(o.polyline)for(var c=0,f=0;f0)for(var v=s[f++],g=s[f++],y=1;y0){var T=(v+S)/2-(g-b)*l,w=(g+b)/2-(S-v)*l;if(containStroke$2(v,g,T,w,S,b,u,n,a))return c}else if(containStroke$4(v,g,S,b,u,n,a))return c;c++}return-1},r.prototype.contain=function(n,a){var o=this.transformCoordToLocal(n,a),s=this.getBoundingRect();if(n=o[0],a=o[1],s.contain(n,a)){var l=this.hoverDataIdx=this.findDataIndex(n,a);return l>=0}return this.hoverDataIdx=-1,!1},r.prototype.getBoundingRect=function(){var n=this._rect;if(!n){for(var a=this.shape,o=a.segs,s=1/0,l=1/0,u=-1/0,c=-1/0,f=0;f0&&(l.dataIndex=c+r.__startIndex)})},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();const LargeLineDraw$1=LargeLineDraw;var linesLayout={seriesType:"lines",plan:createRenderPlanner(),reset:function(t){var r=t.coordinateSystem;if(r){var n=t.get("polyline"),a=t.pipelineContext.large;return{progress:function(o,s){var l=[];if(a){var u=void 0,c=o.end-o.start;if(n){for(var f=0,d=o.start;d0&&(d||f.configLayer(u,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(c/10+.9,1),0)})),l.updateData(s);var v=n.get("clip",!0)&&createClipPath(n.coordinateSystem,!1,n);v?this.group.setClipPath(v):this.group.removeClipPath(),this._lastZlevel=u,this._finished=!0},r.prototype.incrementalPrepareRender=function(n,a,o){var s=n.getData(),l=this._updateLineDraw(s,n);l.incrementalPrepareUpdate(s),this._clearLayer(o),this._finished=!1},r.prototype.incrementalRender=function(n,a,o){this._lineDraw.incrementalUpdate(n,a.getData()),this._finished=n.end===a.getData().count()},r.prototype.eachRendered=function(n){this._lineDraw&&this._lineDraw.eachRendered(n)},r.prototype.updateTransform=function(n,a,o){var s=n.getData(),l=n.pipelineContext;if(!this._finished||l.large||l.progressiveRender)return{update:!0};var u=linesLayout$1.reset(n,a,o);u.progress&&u.progress({start:0,end:s.count(),count:s.count()},s),this._lineDraw.updateLayout(),this._clearLayer(o)},r.prototype._updateLineDraw=function(n,a){var o=this._lineDraw,s=this._showEffect(a),l=!!a.get("polyline"),u=a.pipelineContext,c=u.large;return(!o||s!==this._hasEffet||l!==this._isPolyline||c!==this._isLargeDraw)&&(o&&o.remove(),o=this._lineDraw=c?new LargeLineDraw$1:new LineDraw$1(l?s?EffectPolyline$1:Polyline$1:s?EffectLine$1:Line$1),this._hasEffet=s,this._isPolyline=l,this._isLargeDraw=c),this.group.add(o.group),o},r.prototype._showEffect=function(n){return!!n.get(["effect","show"])},r.prototype._clearLayer=function(n){var a=n.getZr(),o=a.painter.getType()==="svg";!o&&this._lastZlevel!=null&&a.painter.getLayer(this._lastZlevel).clear(!0)},r.prototype.remove=function(n,a){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(a)},r.prototype.dispose=function(n,a){this.remove(n,a)},r.type="lines",r}(ChartView$1);const LinesView$1=LinesView;var Uint32Arr=typeof Uint32Array>"u"?Array:Uint32Array,Float64Arr=typeof Float64Array>"u"?Array:Float64Array;function compatEc2(t){var r=t.data;r&&r[0]&&r[0][0]&&r[0][0].coord&&(t.data=map$1(r,function(n){var a=[n[0].coord,n[1].coord],o={coords:a};return n[0].name&&(o.fromName=n[0].name),n[1].name&&(o.toName=n[1].name),mergeAll([o,n[0],n[1]])}))}var LinesSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return r.prototype.init=function(n){n.data=n.data||[],compatEc2(n);var a=this._processFlatCoordsArray(n.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(n.data=new Float32Array(a.count)),t.prototype.init.apply(this,arguments)},r.prototype.mergeOption=function(n){if(compatEc2(n),n.data){var a=this._processFlatCoordsArray(n.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(n.data=new Float32Array(a.count))}t.prototype.mergeOption.apply(this,arguments)},r.prototype.appendData=function(n){var a=this._processFlatCoordsArray(n.data);a.flatCoords&&(this._flatCoords?(this._flatCoords=concatArray(this._flatCoords,a.flatCoords),this._flatCoordsOffset=concatArray(this._flatCoordsOffset,a.flatCoordsOffset)):(this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset),n.data=new Float32Array(a.count)),this.getRawData().appendData(n.data)},r.prototype._getCoordsFromItemModel=function(n){var a=this.getData().getItemModel(n),o=a.option instanceof Array?a.option:a.getShallow("coords");return o},r.prototype.getLineCoordsCount=function(n){return this._flatCoordsOffset?this._flatCoordsOffset[n*2+1]:this._getCoordsFromItemModel(n).length},r.prototype.getLineCoords=function(n,a){if(this._flatCoordsOffset){for(var o=this._flatCoordsOffset[n*2],s=this._flatCoordsOffset[n*2+1],l=0;l ")})},r.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},r.prototype.getProgressive=function(){var n=this.option.progressive;return n??(this.option.large?1e4:this.get("progressive"))},r.prototype.getProgressiveThreshold=function(){var n=this.option.progressiveThreshold;return n??(this.option.large?2e4:this.get("progressiveThreshold"))},r.prototype.getZLevelKey=function(){var n=this.getModel("effect"),a=n.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:n.get("show")&&a>0?a+"":""},r.type="series.lines",r.dependencies=["grid","polar","geo","calendar"],r.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},r}(SeriesModel$1);const LinesSeriesModel$1=LinesSeriesModel;function normalize(t){return t instanceof Array||(t=[t,t]),t}var linesVisual={seriesType:"lines",reset:function(t){var r=normalize(t.get("symbol")),n=normalize(t.get("symbolSize")),a=t.getData();a.setVisual("fromSymbol",r&&r[0]),a.setVisual("toSymbol",r&&r[1]),a.setVisual("fromSymbolSize",n&&n[0]),a.setVisual("toSymbolSize",n&&n[1]);function o(s,l){var u=s.getItemModel(l),c=normalize(u.getShallow("symbol",!0)),f=normalize(u.getShallow("symbolSize",!0));c[0]&&s.setItemVisual(l,"fromSymbol",c[0]),c[1]&&s.setItemVisual(l,"toSymbol",c[1]),f[0]&&s.setItemVisual(l,"fromSymbolSize",f[0]),f[1]&&s.setItemVisual(l,"toSymbolSize",f[1])}return{dataEach:a.hasItemOption?o:null}}};const linesVisual$1=linesVisual;function install$w(t){t.registerChartView(LinesView$1),t.registerSeriesModel(LinesSeriesModel$1),t.registerLayout(linesLayout$1),t.registerVisual(linesVisual$1)}var GRADIENT_LEVELS=256,HeatmapLayer=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var r=platformApi.createCanvas();this.canvas=r}return t.prototype.update=function(r,n,a,o,s,l){var u=this._getBrush(),c=this._getGradient(s,"inRange"),f=this._getGradient(s,"outOfRange"),d=this.pointSize+this.blurSize,v=this.canvas,g=v.getContext("2d"),y=r.length;v.width=n,v.height=a;for(var S=0;S0){var le=l(M)?c:f;M>0&&(M=M*ie+z),O[D++]=le[j],O[D++]=le[j+1],O[D++]=le[j+2],O[D++]=le[j+3]*M*256}else D+=4}return g.putImageData(L,0,0),v},t.prototype._getBrush=function(){var r=this._brushCanvas||(this._brushCanvas=platformApi.createCanvas()),n=this.pointSize+this.blurSize,a=n*2;r.width=a,r.height=a;var o=r.getContext("2d");return o.clearRect(0,0,a,a),o.shadowOffsetX=a,o.shadowBlur=this.blurSize,o.shadowColor="#000",o.beginPath(),o.arc(-n,n,this.pointSize,0,Math.PI*2,!0),o.closePath(),o.fill(),r},t.prototype._getGradient=function(r,n){for(var a=this._gradientPixels,o=a[n]||(a[n]=new Uint8ClampedArray(256*4)),s=[0,0,0,0],l=0,u=0;u<256;u++)r[n](u/255,!0,s),o[l++]=s[0],o[l++]=s[1],o[l++]=s[2],o[l++]=s[3];return o},t}();const HeatmapLayer$1=HeatmapLayer;function getIsInPiecewiseRange(t,r,n){var a=t[1]-t[0];r=map$1(r,function(l){return{interval:[(l.interval[0]-t[0])/a,(l.interval[1]-t[0])/a]}});var o=r.length,s=0;return function(l){var u;for(u=s;u=0;u--){var c=r[u].interval;if(c[0]<=l&&l<=c[1]){s=u;break}}return u>=0&&u=r[0]&&a<=r[1]}}function isGeoCoordSys(t){var r=t.dimensions;return r[0]==="lng"&&r[1]==="lat"}var HeatmapView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.render=function(n,a,o){var s;a.eachComponent("visualMap",function(u){u.eachTargetSeries(function(c){c===n&&(s=u)})}),this._progressiveEls=null,this.group.removeAll();var l=n.coordinateSystem;l.type==="cartesian2d"||l.type==="calendar"?this._renderOnCartesianAndCalendar(n,o,0,n.getData().count()):isGeoCoordSys(l)&&this._renderOnGeo(l,n,s,o)},r.prototype.incrementalPrepareRender=function(n,a,o){this.group.removeAll()},r.prototype.incrementalRender=function(n,a,o,s){var l=a.coordinateSystem;l&&(isGeoCoordSys(l)?this.render(a,o,s):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(a,s,n.start,n.end,!0)))},r.prototype.eachRendered=function(n){traverseElements(this._progressiveEls||this.group,n)},r.prototype._renderOnCartesianAndCalendar=function(n,a,o,s,l){var u=n.coordinateSystem,c=isCoordinateSystemType(u,"cartesian2d"),f,d,v,g;if(c){var y=u.getAxis("x"),S=u.getAxis("y");f=y.getBandWidth()+.5,d=S.getBandWidth()+.5,v=y.scale.getExtent(),g=S.scale.getExtent()}for(var b=this.group,T=n.getData(),w=n.getModel(["emphasis","itemStyle"]).getItemStyle(),A=n.getModel(["blur","itemStyle"]).getItemStyle(),M=n.getModel(["select","itemStyle"]).getItemStyle(),L=n.get(["itemStyle","borderRadius"]),O=getLabelStatesModels(n),D=n.getModel("emphasis"),V=D.get("focus"),z=D.get("blurScope"),Y=D.get("disabled"),ie=c?[T.mapDimension("x"),T.mapDimension("y"),T.mapDimension("value")]:[T.mapDimension("time"),T.mapDimension("value")],j=o;jv[1]||Ieg[1])continue;var Ce=u.dataToPoint([xe,Ie]);le=new Rect$3({shape:{x:Ce[0]-f/2,y:Ce[1]-d/2,width:f,height:d},style:de})}else{if(isNaN(T.get(ie[1],j)))continue;le=new Rect$3({z2:1,shape:u.dataToRect([T.get(ie[0],j)]).contentShape,style:de})}if(T.hasItemOption){var Fe=T.getItemModel(j),Ue=Fe.getModel("emphasis");w=Ue.getModel("itemStyle").getItemStyle(),A=Fe.getModel(["blur","itemStyle"]).getItemStyle(),M=Fe.getModel(["select","itemStyle"]).getItemStyle(),L=Fe.get(["itemStyle","borderRadius"]),V=Ue.get("focus"),z=Ue.get("blurScope"),Y=Ue.get("disabled"),O=getLabelStatesModels(Fe)}le.shape.r=L;var Pt=n.getRawValue(j),Dt="-";Pt&&Pt[2]!=null&&(Dt=Pt[2]+""),setLabelStyle(le,O,{labelFetcher:n,labelDataIndex:j,defaultOpacity:de.opacity,defaultText:Dt}),le.ensureState("emphasis").style=w,le.ensureState("blur").style=A,le.ensureState("select").style=M,toggleHoverEmphasis(le,V,z,Y),le.incremental=l,l&&(le.states.emphasis.hoverLayer=!0),b.add(le),T.setItemGraphicEl(j,le),this._progressiveEls&&this._progressiveEls.push(le)}},r.prototype._renderOnGeo=function(n,a,o,s){var l=o.targetVisuals.inRange,u=o.targetVisuals.outOfRange,c=a.getData(),f=this._hmLayer||this._hmLayer||new HeatmapLayer$1;f.blurSize=a.get("blurSize"),f.pointSize=a.get("pointSize"),f.minOpacity=a.get("minOpacity"),f.maxOpacity=a.get("maxOpacity");var d=n.getViewRect().clone(),v=n.getRoamTransform();d.applyTransform(v);var g=Math.max(d.x,0),y=Math.max(d.y,0),S=Math.min(d.width+d.x,s.getWidth()),b=Math.min(d.height+d.y,s.getHeight()),T=S-g,w=b-y,A=[c.mapDimension("lng"),c.mapDimension("lat"),c.mapDimension("value")],M=c.mapArray(A,function(V,z,Y){var ie=n.dataToPoint([V,z]);return ie[0]-=g,ie[1]-=y,ie.push(Y),ie}),L=o.getExtent(),O=o.type==="visualMap.continuous"?getIsInContinuousRange(L,o.option.range):getIsInPiecewiseRange(L,o.getPieceList(),o.option.selected);f.update(M,T,w,l.color.getNormalizer(),{inRange:l.color.getColorMapper(),outOfRange:u.color.getColorMapper()},O);var D=new ZRImage$1({style:{width:T,height:w,x:g,y,image:f.canvas},silent:!0});this.group.add(D)},r.type="heatmap",r}(ChartView$1);const HeatmapView$1=HeatmapView;var HeatmapSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.getInitialData=function(n,a){return createSeriesData(null,this,{generateCoord:"value"})},r.prototype.preventIncremental=function(){var n=CoordinateSystem.get(this.get("coordinateSystem"));if(n&&n.dimensions)return n.dimensions[0]==="lng"&&n.dimensions[1]==="lat"},r.type="series.heatmap",r.dependencies=["grid","geo","calendar"],r.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},r}(SeriesModel$1);const HeatmapSeriesModel$1=HeatmapSeriesModel;function install$v(t){t.registerChartView(HeatmapView$1),t.registerSeriesModel(HeatmapSeriesModel$1)}var BAR_BORDER_WIDTH_QUERY=["itemStyle","borderWidth"],LAYOUT_ATTRS=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],pathForLineWidth=new Circle$1,PictorialBarView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.render=function(n,a,o){var s=this.group,l=n.getData(),u=this._data,c=n.coordinateSystem,f=c.getBaseAxis(),d=f.isHorizontal(),v=c.master.getRect(),g={ecSize:{width:o.getWidth(),height:o.getHeight()},seriesModel:n,coordSys:c,coordSysExtent:[[v.x,v.x+v.width],[v.y,v.y+v.height]],isHorizontal:d,valueDim:LAYOUT_ATTRS[+d],categoryDim:LAYOUT_ATTRS[1-+d]};return l.diff(u).add(function(y){if(l.hasValue(y)){var S=getItemModel(l,y),b=getSymbolMeta(l,y,S,g),T=createBar(l,g,b);l.setItemGraphicEl(y,T),s.add(T),updateCommon(T,g,b)}}).update(function(y,S){var b=u.getItemGraphicEl(S);if(!l.hasValue(y)){s.remove(b);return}var T=getItemModel(l,y),w=getSymbolMeta(l,y,T,g),A=getShapeStr(l,w);b&&A!==b.__pictorialShapeStr&&(s.remove(b),l.setItemGraphicEl(y,null),b=null),b?updateBar(b,g,w):b=createBar(l,g,w,!0),l.setItemGraphicEl(y,b),b.__pictorialSymbolMeta=w,s.add(b),updateCommon(b,g,w)}).remove(function(y){var S=u.getItemGraphicEl(y);S&&removeBar(u,y,S.__pictorialSymbolMeta.animationModel,S)}).execute(),this._data=l,this.group},r.prototype.remove=function(n,a){var o=this.group,s=this._data;n.get("animation")?s&&s.eachItemGraphicEl(function(l){removeBar(s,getECData(l).dataIndex,n,l)}):o.removeAll()},r.type="pictorialBar",r}(ChartView$1);function getSymbolMeta(t,r,n,a){var o=t.getItemLayout(r),s=n.get("symbolRepeat"),l=n.get("symbolClip"),u=n.get("symbolPosition")||"start",c=n.get("symbolRotate"),f=(c||0)*Math.PI/180||0,d=n.get("symbolPatternSize")||2,v=n.isAnimationEnabled(),g={dataIndex:r,layout:o,itemModel:n,symbolType:t.getItemVisual(r,"symbol")||"circle",style:t.getItemVisual(r,"style"),symbolClip:l,symbolRepeat:s,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:d,rotation:f,animationModel:v?n:null,hoverScale:v&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};prepareBarLength(n,s,o,a,g),prepareSymbolSize(t,r,o,s,l,g.boundingLength,g.pxSign,d,a,g),prepareLineWidth(n,g.symbolScale,f,a,g);var y=g.symbolSize,S=normalizeSymbolOffset(n.get("symbolOffset"),y);return prepareLayoutInfo(n,y,o,s,l,S,u,g.valueLineWidth,g.boundingLength,g.repeatCutLength,a,g),g}function prepareBarLength(t,r,n,a,o){var s=a.valueDim,l=t.get("symbolBoundingData"),u=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),f=1-+(n[s.wh]<=0),d;if(isArray$2(l)){var v=[convertToCoordOnAxis(u,l[0])-c,convertToCoordOnAxis(u,l[1])-c];v[1]0?1:-1}function convertToCoordOnAxis(t,r){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(r)))}function prepareSymbolSize(t,r,n,a,o,s,l,u,c,f){var d=c.valueDim,v=c.categoryDim,g=Math.abs(n[v.wh]),y=t.getItemVisual(r,"symbolSize"),S;isArray$2(y)?S=y.slice():y==null?S=["100%","100%"]:S=[y,y],S[v.index]=parsePercent(S[v.index],g),S[d.index]=parsePercent(S[d.index],a?g:Math.abs(s)),f.symbolSize=S;var b=f.symbolScale=[S[0]/u,S[1]/u];b[d.index]*=(c.isHorizontal?-1:1)*l}function prepareLineWidth(t,r,n,a,o){var s=t.get(BAR_BORDER_WIDTH_QUERY)||0;s&&(pathForLineWidth.attr({scaleX:r[0],scaleY:r[1],rotation:n}),pathForLineWidth.updateTransform(),s/=pathForLineWidth.getLineScale(),s*=r[a.valueDim.index]),o.valueLineWidth=s||0}function prepareLayoutInfo(t,r,n,a,o,s,l,u,c,f,d,v){var g=d.categoryDim,y=d.valueDim,S=v.pxSign,b=Math.max(r[y.index]+u,0),T=b;if(a){var w=Math.abs(c),A=retrieve(t.get("symbolMargin"),"15%")+"",M=!1;A.lastIndexOf("!")===A.length-1&&(M=!0,A=A.slice(0,A.length-1));var L=parsePercent(A,r[y.index]),O=Math.max(b+L*2,0),D=M?0:L*2,V=isNumeric(a),z=V?a:toIntTimes((w+D)/O),Y=w-z*b;L=Y/2/(M?z:Math.max(z-1,1)),O=b+L*2,D=M?0:L*2,!V&&a!=="fixed"&&(z=f?toIntTimes((Math.abs(f)+D)/O):0),T=z*O-D,v.repeatTimes=z,v.symbolMargin=L}var ie=S*(T/2),j=v.pathPosition=[];j[g.index]=n[g.wh]/2,j[y.index]=l==="start"?ie:l==="end"?c-ie:c/2,s&&(j[0]+=s[0],j[1]+=s[1]);var le=v.bundlePosition=[];le[g.index]=n[g.xy],le[y.index]=n[y.xy];var de=v.barRectShape=extend({},n);de[y.wh]=S*Math.max(Math.abs(n[y.wh]),Math.abs(j[y.index]+ie)),de[g.wh]=n[g.wh];var xe=v.clipShape={};xe[g.xy]=-n[g.xy],xe[g.wh]=d.ecSize[g.wh],xe[y.xy]=0,xe[y.wh]=n[y.wh]}function createPath(t){var r=t.symbolPatternSize,n=createSymbol$1(t.symbolType,-r/2,-r/2,r,r);return n.attr({culling:!0}),n.type!=="image"&&n.setStyle({strokeNoScale:!0}),n}function createOrUpdateRepeatSymbols(t,r,n,a){var o=t.__pictorialBundle,s=n.symbolSize,l=n.valueLineWidth,u=n.pathPosition,c=r.valueDim,f=n.repeatTimes||0,d=0,v=s[r.valueDim.index]+l+n.symbolMargin*2;for(eachPath(t,function(b){b.__pictorialAnimationIndex=d,b.__pictorialRepeatTimes=f,d0:w<0)&&(A=f-1-b),T[c.index]=v*(A-f/2+.5)+u[c.index],{x:T[0],y:T[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function createOrUpdateSingleSymbol(t,r,n,a){var o=t.__pictorialBundle,s=t.__pictorialMainPath;s?updateAttr(s,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,a):(s=t.__pictorialMainPath=createPath(n),o.add(s),updateAttr(s,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,a))}function createOrUpdateBarRect(t,r,n){var a=extend({},r.barRectShape),o=t.__pictorialBarRect;o?updateAttr(o,null,{shape:a},r,n):(o=t.__pictorialBarRect=new Rect$3({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),o.disableMorphing=!0,t.add(o))}function createOrUpdateClip(t,r,n,a){if(n.symbolClip){var o=t.__pictorialClipPath,s=extend({},n.clipShape),l=r.valueDim,u=n.animationModel,c=n.dataIndex;if(o)updateProps$1(o,{shape:s},u,c);else{s[l.wh]=0,o=new Rect$3({shape:s}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var f={};f[l.wh]=n.clipShape[l.wh],graphic[a?"updateProps":"initProps"](o,{shape:f},u,c)}}}function getItemModel(t,r){var n=t.getItemModel(r);return n.getAnimationDelayParams=getAnimationDelayParams,n.isAnimationEnabled=isAnimationEnabled,n}function getAnimationDelayParams(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function isAnimationEnabled(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function createBar(t,r,n,a){var o=new Group$4,s=new Group$4;return o.add(s),o.__pictorialBundle=s,s.x=n.bundlePosition[0],s.y=n.bundlePosition[1],n.symbolRepeat?createOrUpdateRepeatSymbols(o,r,n):createOrUpdateSingleSymbol(o,r,n),createOrUpdateBarRect(o,n,a),createOrUpdateClip(o,r,n,a),o.__pictorialShapeStr=getShapeStr(t,n),o.__pictorialSymbolMeta=n,o}function updateBar(t,r,n){var a=n.animationModel,o=n.dataIndex,s=t.__pictorialBundle;updateProps$1(s,{x:n.bundlePosition[0],y:n.bundlePosition[1]},a,o),n.symbolRepeat?createOrUpdateRepeatSymbols(t,r,n,!0):createOrUpdateSingleSymbol(t,r,n,!0),createOrUpdateBarRect(t,n,!0),createOrUpdateClip(t,r,n,!0)}function removeBar(t,r,n,a){var o=a.__pictorialBarRect;o&&o.removeTextContent();var s=[];eachPath(a,function(l){s.push(l)}),a.__pictorialMainPath&&s.push(a.__pictorialMainPath),a.__pictorialClipPath&&(n=null),each$f(s,function(l){removeElement(l,{scaleX:0,scaleY:0},n,r,function(){a.parent&&a.parent.remove(a)})}),t.setItemGraphicEl(r,null)}function getShapeStr(t,r){return[t.getItemVisual(r.dataIndex,"symbol")||"none",!!r.symbolRepeat,!!r.symbolClip].join(":")}function eachPath(t,r,n){each$f(t.__pictorialBundle.children(),function(a){a!==t.__pictorialBarRect&&r.call(n,a)})}function updateAttr(t,r,n,a,o,s){r&&t.attr(r),a.symbolClip&&!o?n&&t.attr(n):n&&graphic[o?"updateProps":"initProps"](t,n,a.animationModel,a.dataIndex,s)}function updateCommon(t,r,n){var a=n.dataIndex,o=n.itemModel,s=o.getModel("emphasis"),l=s.getModel("itemStyle").getItemStyle(),u=o.getModel(["blur","itemStyle"]).getItemStyle(),c=o.getModel(["select","itemStyle"]).getItemStyle(),f=o.getShallow("cursor"),d=s.get("focus"),v=s.get("blurScope"),g=s.get("scale");eachPath(t,function(b){if(b instanceof ZRImage$1){var T=b.style;b.useStyle(extend({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},n.style))}else b.useStyle(n.style);var w=b.ensureState("emphasis");w.style=l,g&&(w.scaleX=b.scaleX*1.1,w.scaleY=b.scaleY*1.1),b.ensureState("blur").style=u,b.ensureState("select").style=c,f&&(b.cursor=f),b.z2=n.z2});var y=r.valueDim.posDesc[+(n.boundingLength>0)],S=t.__pictorialBarRect;setLabelStyle(S,getLabelStatesModels(o),{labelFetcher:r.seriesModel,labelDataIndex:a,defaultText:getDefaultLabel(r.seriesModel.getData(),a),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:y}),toggleHoverEmphasis(t,d,v,s.get("disabled"))}function toIntTimes(t){var r=Math.round(t);return Math.abs(t-r)<1e-4?r:Math.ceil(t)}const PictorialBarView$1=PictorialBarView;var PictorialBarSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return r.prototype.getInitialData=function(n){return n.stack=null,t.prototype.getInitialData.apply(this,arguments)},r.type="series.pictorialBar",r.dependencies=["grid"],r.defaultOption=inheritDefaultOption(BaseBarSeriesModel$1.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),r}(BaseBarSeriesModel$1);const PictorialBarSeriesModel$1=PictorialBarSeriesModel;function install$u(t){t.registerChartView(PictorialBarView$1),t.registerSeriesModel(PictorialBarSeriesModel$1),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("pictorialBar"))}var ThemeRiverView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n._layers=[],n}return r.prototype.render=function(n,a,o){var s=n.getData(),l=this,u=this.group,c=n.getLayerSeries(),f=s.getLayout("layoutInfo"),d=f.rect,v=f.boundaryGap;u.x=0,u.y=d.y+v[0];function g(T){return T.name}var y=new DataDiffer$1(this._layersSeries||[],c,g,g),S=[];y.add(bind$1(b,this,"add")).update(bind$1(b,this,"update")).remove(bind$1(b,this,"remove")).execute();function b(T,w,A){var M=l._layers;if(T==="remove"){u.remove(M[w]);return}for(var L=[],O=[],D,V=c[w].indices,z=0;zs&&(s=u),a.push(u)}for(var f=0;fs&&(s=v)}return{y0:o,max:s}}function install$t(t){t.registerChartView(ThemeRiverView$1),t.registerSeriesModel(ThemeRiverSeriesModel$1),t.registerLayout(themeRiverLayout),t.registerProcessor(dataFilter$1("themeRiver"))}var DEFAULT_SECTOR_Z=2,DEFAULT_TEXT_Z=4,SunburstPiece=function(t){__extends(r,t);function r(n,a,o,s){var l=t.call(this)||this;l.z2=DEFAULT_SECTOR_Z,l.textConfig={inside:!0},getECData(l).seriesIndex=a.seriesIndex;var u=new ZRText$1({z2:DEFAULT_TEXT_Z,silent:n.getModel().get(["label","silent"])});return l.setTextContent(u),l.updateData(!0,n,a,o,s),l}return r.prototype.updateData=function(n,a,o,s,l){this.node=a,a.piece=this,o=o||this._seriesModel,s=s||this._ecModel;var u=this;getECData(u).dataIndex=a.dataIndex;var c=a.getModel(),f=c.getModel("emphasis"),d=a.getLayout(),v=extend({},d);v.label=null;var g=a.getVisual("style");g.lineJoin="bevel";var y=a.getVisual("decal");y&&(g.decal=createOrUpdatePatternFromDecal(y,l));var S=getSectorCornerRadius(c.getModel("itemStyle"),v,!0);extend(v,S),each$f(SPECIAL_STATES,function(A){var M=u.ensureState(A),L=c.getModel([A,"itemStyle"]);M.style=L.getItemStyle();var O=getSectorCornerRadius(L,v);O&&(M.shape=O)}),n?(u.setShape(v),u.shape.r=d.r0,initProps(u,{shape:{r:d.r}},o,a.dataIndex)):(updateProps$1(u,{shape:v},o),saveOldStyle(u)),u.useStyle(g),this._updateLabel(o);var b=c.getShallow("cursor");b&&u.attr("cursor",b),this._seriesModel=o||this._seriesModel,this._ecModel=s||this._ecModel;var T=f.get("focus"),w=T==="ancestor"?a.getAncestorsIndices():T==="descendant"?a.getDescendantIndices():T;toggleHoverEmphasis(this,w,f.get("blurScope"),f.get("disabled"))},r.prototype._updateLabel=function(n){var a=this,o=this.node.getModel(),s=o.getModel("label"),l=this.node.getLayout(),u=l.endAngle-l.startAngle,c=(l.startAngle+l.endAngle)/2,f=Math.cos(c),d=Math.sin(c),v=this,g=v.getTextContent(),y=this.node.dataIndex,S=s.get("minAngle")/180*Math.PI,b=s.get("show")&&!(S!=null&&Math.abs(u)Math.PI/2?"right":"left"):!le||le==="center"?(u===2*Math.PI&&l.r0===0?ie=0:ie=(l.r+l.r0)/2,le="center"):le==="left"?(ie=l.r0+j,c>Math.PI/2&&(le="right")):le==="right"&&(ie=l.r-j,c>Math.PI/2&&(le="left")),L.style.align=le,L.style.verticalAlign=T(A,"verticalAlign")||"middle",L.x=ie*f+l.cx,L.y=ie*d+l.cy;var de=T(A,"rotate"),xe=0;de==="radial"?(xe=normalizeRadian(-c),xe>Math.PI/2&&xeMath.PI/2?xe-=Math.PI:xe<-Math.PI/2&&(xe+=Math.PI)):isNumber$1(de)&&(xe=de*Math.PI/180),L.rotation=xe});function T(w,A){var M=w.get(A);return M??s.get(A)}g.dirtyStyle()},r}(Sector$1);const SunburstPiece$1=SunburstPiece;var ROOT_TO_NODE_ACTION="sunburstRootToNode",HIGHLIGHT_ACTION="sunburstHighlight",UNHIGHLIGHT_ACTION="sunburstUnhighlight";function installSunburstAction(t){t.registerAction({type:ROOT_TO_NODE_ACTION,update:"updateView"},function(r,n){n.eachComponent({mainType:"series",subType:"sunburst",query:r},a);function a(o,s){var l=retrieveTargetInfo(r,[ROOT_TO_NODE_ACTION],o);if(l){var u=o.getViewRoot();u&&(r.direction=aboveViewRoot(u,l.node)?"rollUp":"drillDown"),o.resetViewRoot(l.node)}}}),t.registerAction({type:HIGHLIGHT_ACTION,update:"none"},function(r,n,a){r=extend({},r),n.eachComponent({mainType:"series",subType:"sunburst",query:r},o);function o(s){var l=retrieveTargetInfo(r,[HIGHLIGHT_ACTION],s);l&&(r.dataIndex=l.node.dataIndex)}a.dispatchAction(extend(r,{type:"highlight"}))}),t.registerAction({type:UNHIGHLIGHT_ACTION,update:"updateView"},function(r,n,a){r=extend({},r),a.dispatchAction(extend(r,{type:"downplay"}))})}var SunburstView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.render=function(n,a,o,s){var l=this;this.seriesModel=n,this.api=o,this.ecModel=a;var u=n.getData(),c=u.tree.root,f=n.getViewRoot(),d=this.group,v=n.get("renderLabelForZeroData"),g=[];f.eachNode(function(A){g.push(A)});var y=this._oldChildren||[];S(g,y),w(c,f),this._initEvents(),this._oldChildren=g;function S(A,M){if(A.length===0&&M.length===0)return;new DataDiffer$1(M,A,L,L).add(O).update(O).remove(curry$1(O,null)).execute();function L(D){return D.getId()}function O(D,V){var z=D==null?null:A[D],Y=V==null?null:M[V];b(z,Y)}}function b(A,M){if(!v&&A&&!A.getValue()&&(A=null),A!==c&&M!==c){if(M&&M.piece)A?(M.piece.updateData(!1,A,n,a,o),u.setItemGraphicEl(A.dataIndex,M.piece)):T(M);else if(A){var L=new SunburstPiece$1(A,n,a,o);d.add(L),u.setItemGraphicEl(A.dataIndex,L)}}}function T(A){A&&A.piece&&(d.remove(A.piece),A.piece=null)}function w(A,M){M.depth>0?(l.virtualPiece?l.virtualPiece.updateData(!1,A,n,a,o):(l.virtualPiece=new SunburstPiece$1(A,n,a,o),d.add(l.virtualPiece)),M.piece.off("click"),l.virtualPiece.on("click",function(L){l._rootToNode(M.parentNode)})):l.virtualPiece&&(d.remove(l.virtualPiece),l.virtualPiece=null)}},r.prototype._initEvents=function(){var n=this;this.group.off("click"),this.group.on("click",function(a){var o=!1,s=n.seriesModel.getViewRoot();s.eachNode(function(l){if(!o&&l.piece&&l.piece===a.target){var u=l.getModel().get("nodeClick");if(u==="rootToNode")n._rootToNode(l);else if(u==="link"){var c=l.getModel(),f=c.get("link");if(f){var d=c.get("target",!0)||"_blank";windowOpen(f,d)}}o=!0}})})},r.prototype._rootToNode=function(n){n!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:ROOT_TO_NODE_ACTION,from:this.uid,seriesId:this.seriesModel.id,targetNode:n})},r.prototype.containPoint=function(n,a){var o=a.getData(),s=o.getItemLayout(0);if(s){var l=n[0]-s.cx,u=n[1]-s.cy,c=Math.sqrt(l*l+u*u);return c<=s.r&&c>=s.r0}},r.type="sunburst",r}(ChartView$1);const SunburstView$1=SunburstView;var SunburstSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.ignoreStyleOnData=!0,n}return r.prototype.getInitialData=function(n,a){var o={name:n.name,children:n.data};completeTreeValue(o);var s=this._levelModels=map$1(n.levels||[],function(c){return new Model$1(c,this,a)},this),l=Tree$1.createTree(o,this,u);function u(c){c.wrapMethod("getItemModel",function(f,d){var v=l.getNodeByDataIndex(d),g=s[v.depth];return g&&(f.parentModel=g),f})}return l.data},r.prototype.optionUpdated=function(){this.resetViewRoot()},r.prototype.getDataParams=function(n){var a=t.prototype.getDataParams.apply(this,arguments),o=this.getData().tree.getNodeByDataIndex(n);return a.treePathInfo=wrapTreePathInfo(o,this),a},r.prototype.getLevelModel=function(n){return this._levelModels&&this._levelModels[n.depth]},r.prototype.getViewRoot=function(){return this._viewRoot},r.prototype.resetViewRoot=function(n){n?this._viewRoot=n:n=this._viewRoot;var a=this.getRawData().tree.root;(!n||n!==a&&!a.contains(n))&&(this._viewRoot=a)},r.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},r.type="series.sunburst",r.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},r}(SeriesModel$1);function completeTreeValue(t){var r=0;each$f(t.children,function(a){completeTreeValue(a);var o=a.value;isArray$2(o)&&(o=o[0]),r+=o});var n=t.value;isArray$2(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=r),n<0&&(n=0),isArray$2(t.value)?t.value[0]=n:t.value=n}const SunburstSeriesModel$1=SunburstSeriesModel;var RADIAN=Math.PI/180;function sunburstLayout(t,r,n){r.eachSeriesByType(t,function(a){var o=a.get("center"),s=a.get("radius");isArray$2(s)||(s=[0,s]),isArray$2(o)||(o=[o,o]);var l=n.getWidth(),u=n.getHeight(),c=Math.min(l,u),f=parsePercent(o[0],l),d=parsePercent(o[1],u),v=parsePercent(s[0],c/2),g=parsePercent(s[1],c/2),y=-a.get("startAngle")*RADIAN,S=a.get("minAngle")*RADIAN,b=a.getData().tree.root,T=a.getViewRoot(),w=T.depth,A=a.get("sort");A!=null&&initChildren(T,A);var M=0;each$f(T.children,function(Ce){!isNaN(Ce.getValue())&&M++});var L=T.getValue(),O=Math.PI/(L||M)*2,D=T.depth>0,V=T.height-(D?-1:1),z=(g-v)/(V||1),Y=a.get("clockwise"),ie=a.get("stillShowZeroSum"),j=Y?1:-1,le=function(Ce,Fe){if(Ce){var Ue=Fe;if(Ce!==b){var Pt=Ce.getValue(),Dt=L===0&&ie?O:Pt*O;Dt1;)l=l.parentNode;var u=o.getColorFromPalette(l.name||l.dataIndex+"",r);return a.depth>1&&isString$1(u)&&(u=lift(u,(a.depth-1)/(s-1)*.5)),u}t.eachSeriesByType("sunburst",function(a){var o=a.getData(),s=o.tree;s.eachNode(function(l){var u=l.getModel(),c=u.getModel("itemStyle").getItemStyle();c.fill||(c.fill=n(l,a,s.root.height));var f=o.ensureUniqueItemVisual(l.dataIndex,"style");extend(f,c)})})}function install$s(t){t.registerChartView(SunburstView$1),t.registerSeriesModel(SunburstSeriesModel$1),t.registerLayout(curry$1(sunburstLayout,"sunburst")),t.registerProcessor(curry$1(dataFilter$1,"sunburst")),t.registerVisual(sunburstVisual),installSunburstAction(t)}var STYLE_VISUAL_TYPE={color:"fill",borderColor:"stroke"},NON_STYLE_VISUAL_PROPS={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},customInnerStore=makeInner(),CustomSeriesModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},r.prototype.getInitialData=function(n,a){return createSeriesData(null,this)},r.prototype.getDataParams=function(n,a,o){var s=t.prototype.getDataParams.call(this,n,a);return o&&(s.info=customInnerStore(o).info),s},r.type="series.custom",r.dependencies=["grid","polar","geo","singleAxis","calendar"],r.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},r}(SeriesModel$1);const CustomSeriesModel$1=CustomSeriesModel;function dataToCoordSize$3(t,r){return r=r||[0,0],map$1(["x","y"],function(n,a){var o=this.getAxis(n),s=r[a],l=t[a]/2;return o.type==="category"?o.getBandWidth():Math.abs(o.dataToCoord(s-l)-o.dataToCoord(s+l))},this)}function cartesianPrepareCustom(t){var r=t.master.getRect();return{coordSys:{type:"cartesian2d",x:r.x,y:r.y,width:r.width,height:r.height},api:{coord:function(n){return t.dataToPoint(n)},size:bind$1(dataToCoordSize$3,t)}}}function dataToCoordSize$2(t,r){return r=r||[0,0],map$1([0,1],function(n){var a=r[n],o=t[n]/2,s=[],l=[];return s[n]=a-o,l[n]=a+o,s[1-n]=l[1-n]=r[1-n],Math.abs(this.dataToPoint(s)[n]-this.dataToPoint(l)[n])},this)}function geoPrepareCustom(t){var r=t.getBoundingRect();return{coordSys:{type:"geo",x:r.x,y:r.y,width:r.width,height:r.height,zoom:t.getZoom()},api:{coord:function(n){return t.dataToPoint(n)},size:bind$1(dataToCoordSize$2,t)}}}function dataToCoordSize$1(t,r){var n=this.getAxis(),a=r instanceof Array?r[0]:r,o=(t instanceof Array?t[0]:t)/2;return n.type==="category"?n.getBandWidth():Math.abs(n.dataToCoord(a-o)-n.dataToCoord(a+o))}function singlePrepareCustom(t){var r=t.getRect();return{coordSys:{type:"singleAxis",x:r.x,y:r.y,width:r.width,height:r.height},api:{coord:function(n){return t.dataToPoint(n)},size:bind$1(dataToCoordSize$1,t)}}}function dataToCoordSize(t,r){return r=r||[0,0],map$1(["Radius","Angle"],function(n,a){var o="get"+n+"Axis",s=this[o](),l=r[a],u=t[a]/2,c=s.type==="category"?s.getBandWidth():Math.abs(s.dataToCoord(l-u)-s.dataToCoord(l+u));return n==="Angle"&&(c=c*Math.PI/180),c},this)}function polarPrepareCustom(t){var r=t.getRadiusAxis(),n=t.getAngleAxis(),a=r.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:function(o){var s=r.dataToRadius(o[0]),l=n.dataToAngle(o[1]),u=t.coordToPoint([s,l]);return u.push(s,l*Math.PI/180),u},size:bind$1(dataToCoordSize,t)}}}function calendarPrepareCustom(t){var r=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:r.x,y:r.y,width:r.width,height:r.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(a,o){return t.dataToPoint(a,o)}}}}function isEC4CompatibleStyle(t,r,n,a){return t&&(t.legacy||t.legacy!==!1&&!n&&!a&&r!=="tspan"&&(r==="text"||hasOwn$1(t,"text")))}function convertFromEC4CompatibleStyle(t,r,n){var a=t,o,s,l;if(r==="text")l=a;else{l={},hasOwn$1(a,"text")&&(l.text=a.text),hasOwn$1(a,"rich")&&(l.rich=a.rich),hasOwn$1(a,"textFill")&&(l.fill=a.textFill),hasOwn$1(a,"textStroke")&&(l.stroke=a.textStroke),hasOwn$1(a,"fontFamily")&&(l.fontFamily=a.fontFamily),hasOwn$1(a,"fontSize")&&(l.fontSize=a.fontSize),hasOwn$1(a,"fontStyle")&&(l.fontStyle=a.fontStyle),hasOwn$1(a,"fontWeight")&&(l.fontWeight=a.fontWeight),s={type:"text",style:l,silent:!0},o={};var u=hasOwn$1(a,"textPosition");n?o.position=u?a.textPosition:"inside":u&&(o.position=a.textPosition),hasOwn$1(a,"textPosition")&&(o.position=a.textPosition),hasOwn$1(a,"textOffset")&&(o.offset=a.textOffset),hasOwn$1(a,"textRotation")&&(o.rotation=a.textRotation),hasOwn$1(a,"textDistance")&&(o.distance=a.textDistance)}return convertEC4CompatibleRichItem(l,t),each$f(l.rich,function(c){convertEC4CompatibleRichItem(c,c)}),{textConfig:o,textContent:s}}function convertEC4CompatibleRichItem(t,r){r&&(r.font=r.textFont||r.font,hasOwn$1(r,"textStrokeWidth")&&(t.lineWidth=r.textStrokeWidth),hasOwn$1(r,"textAlign")&&(t.align=r.textAlign),hasOwn$1(r,"textVerticalAlign")&&(t.verticalAlign=r.textVerticalAlign),hasOwn$1(r,"textLineHeight")&&(t.lineHeight=r.textLineHeight),hasOwn$1(r,"textWidth")&&(t.width=r.textWidth),hasOwn$1(r,"textHeight")&&(t.height=r.textHeight),hasOwn$1(r,"textBackgroundColor")&&(t.backgroundColor=r.textBackgroundColor),hasOwn$1(r,"textPadding")&&(t.padding=r.textPadding),hasOwn$1(r,"textBorderColor")&&(t.borderColor=r.textBorderColor),hasOwn$1(r,"textBorderWidth")&&(t.borderWidth=r.textBorderWidth),hasOwn$1(r,"textBorderRadius")&&(t.borderRadius=r.textBorderRadius),hasOwn$1(r,"textBoxShadowColor")&&(t.shadowColor=r.textBoxShadowColor),hasOwn$1(r,"textBoxShadowBlur")&&(t.shadowBlur=r.textBoxShadowBlur),hasOwn$1(r,"textBoxShadowOffsetX")&&(t.shadowOffsetX=r.textBoxShadowOffsetX),hasOwn$1(r,"textBoxShadowOffsetY")&&(t.shadowOffsetY=r.textBoxShadowOffsetY))}function convertToEC4StyleForCustomSerise(t,r,n){var a=t;a.textPosition=a.textPosition||n.position||"inside",n.offset!=null&&(a.textOffset=n.offset),n.rotation!=null&&(a.textRotation=n.rotation),n.distance!=null&&(a.textDistance=n.distance);var o=a.textPosition.indexOf("inside")>=0,s=t.fill||"#000";convertToEC4RichItem(a,r);var l=a.textFill==null;return o?l&&(a.textFill=n.insideFill||"#fff",!a.textStroke&&n.insideStroke&&(a.textStroke=n.insideStroke),!a.textStroke&&(a.textStroke=s),a.textStrokeWidth==null&&(a.textStrokeWidth=2)):(l&&(a.textFill=t.fill||n.outsideFill||"#000"),!a.textStroke&&n.outsideStroke&&(a.textStroke=n.outsideStroke)),a.text=r.text,a.rich=r.rich,each$f(r.rich,function(u){convertToEC4RichItem(u,u)}),a}function convertToEC4RichItem(t,r){r&&(hasOwn$1(r,"fill")&&(t.textFill=r.fill),hasOwn$1(r,"stroke")&&(t.textStroke=r.fill),hasOwn$1(r,"lineWidth")&&(t.textStrokeWidth=r.lineWidth),hasOwn$1(r,"font")&&(t.font=r.font),hasOwn$1(r,"fontStyle")&&(t.fontStyle=r.fontStyle),hasOwn$1(r,"fontWeight")&&(t.fontWeight=r.fontWeight),hasOwn$1(r,"fontSize")&&(t.fontSize=r.fontSize),hasOwn$1(r,"fontFamily")&&(t.fontFamily=r.fontFamily),hasOwn$1(r,"align")&&(t.textAlign=r.align),hasOwn$1(r,"verticalAlign")&&(t.textVerticalAlign=r.verticalAlign),hasOwn$1(r,"lineHeight")&&(t.textLineHeight=r.lineHeight),hasOwn$1(r,"width")&&(t.textWidth=r.width),hasOwn$1(r,"height")&&(t.textHeight=r.height),hasOwn$1(r,"backgroundColor")&&(t.textBackgroundColor=r.backgroundColor),hasOwn$1(r,"padding")&&(t.textPadding=r.padding),hasOwn$1(r,"borderColor")&&(t.textBorderColor=r.borderColor),hasOwn$1(r,"borderWidth")&&(t.textBorderWidth=r.borderWidth),hasOwn$1(r,"borderRadius")&&(t.textBorderRadius=r.borderRadius),hasOwn$1(r,"shadowColor")&&(t.textBoxShadowColor=r.shadowColor),hasOwn$1(r,"shadowBlur")&&(t.textBoxShadowBlur=r.shadowBlur),hasOwn$1(r,"shadowOffsetX")&&(t.textBoxShadowOffsetX=r.shadowOffsetX),hasOwn$1(r,"shadowOffsetY")&&(t.textBoxShadowOffsetY=r.shadowOffsetY),hasOwn$1(r,"textShadowColor")&&(t.textShadowColor=r.textShadowColor),hasOwn$1(r,"textShadowBlur")&&(t.textShadowBlur=r.textShadowBlur),hasOwn$1(r,"textShadowOffsetX")&&(t.textShadowOffsetX=r.textShadowOffsetX),hasOwn$1(r,"textShadowOffsetY")&&(t.textShadowOffsetY=r.textShadowOffsetY))}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,n,a,o){var s=t+"Animation",l=getAnimationConfig(t,a,o)||{},u=transitionInnerStore(r).userDuring;return l.duration>0&&(l.during=u?bind$1(duringCall,{el:r,userDuring:u}):null,l.setToFinal=!0,l.scope=t),extend(l,n[s]),l}function applyUpdateTransition(t,r,n,a){a=a||{};var o=a.dataIndex,s=a.isInit,l=a.clearStyle,u=n.isAnimationEnabled(),c=transitionInnerStore(t),f=r.style;c.userDuring=r.during;var d={},v={};if(prepareTransformAllPropsFinal(t,r,v),prepareShapeOrExtraAllPropsFinal("shape",r,v),prepareShapeOrExtraAllPropsFinal("extra",r,v),!s&&u&&(prepareTransformTransitionFrom(t,r,d),prepareShapeOrExtraTransitionFrom("shape",t,r,d),prepareShapeOrExtraTransitionFrom("extra",t,r,d),prepareStyleTransitionFrom(t,r,f,d)),v.style=f,applyPropsDirectly(t,v,l),applyMiscProps(t,r),u)if(s){var g={};each$f(ELEMENT_ANIMATABLE_PROPS,function(S){var b=S?r[S]:r;b&&b.enterFrom&&(S&&(g[S]=g[S]||{}),extend(S?g[S]:g,b.enterFrom))});var y=getElementAnimationConfig("enter",t,r,n,o);y.duration>0&&t.animateFrom(g,y)}else applyPropsTransition(t,r,o||0,n,d);updateLeaveTo(t,r),f?t.dirty():t.markRedraw()}function updateLeaveTo(t,r){for(var n=transitionInnerStore(t).leaveToProps,a=0;a0&&t.animateFrom(o,s)}}function applyMiscProps(t,r){hasOwn$1(r,"silent")&&(t.silent=r.silent),hasOwn$1(r,"ignore")&&(t.ignore=r.ignore),t instanceof Displayable$1&&hasOwn$1(r,"invisible")&&(t.invisible=r.invisible),t instanceof Path$1&&hasOwn$1(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 n=tmpDuringScope.el,a=n.shape||(n.shape={});return a[t]=r,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var r=tmpDuringScope.el.shape;if(r)return r[t]},setStyle:function(t,r){var n=tmpDuringScope.el,a=n.style;return a&&(a[t]=r,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var r=tmpDuringScope.el.style;if(r)return r[t]},setExtra:function(t,r){var n=tmpDuringScope.el.extra||(tmpDuringScope.el.extra={});return n[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 n=transitionInnerStore(r).userDuring,a=t.userDuring;if(n!==a){t.el=t.userDuring=null;return}tmpDuringScope.el=r,a(transitionDuringAPI)}}function prepareShapeOrExtraTransitionFrom(t,r,n,a){var o=n[t];if(o){var s=r[t],l;if(s){var u=n.transition,c=o.transition;if(c)if(!l&&(l=a[t]={}),isTransitionAll(c))extend(l,s);else for(var f=normalizeToArray(c),d=0;d=0){!l&&(l=a[t]={});for(var y=keys(s),d=0;d=0)){var g=t.getAnimationStyleProps(),y=g?g.style:null;if(y){!s&&(s=a.style={});for(var S=keys(n),f=0;f=0?r.getStore().get(Fe,Ie):void 0}var Ue=r.get(Ce.name,Ie),Pt=Ce&&Ce.ordinalMeta;return Pt?Pt.categories[Ue]:Ue}function D(xe,Ie){Ie==null&&(Ie=f);var Ce=r.getItemVisual(Ie,"style"),Fe=Ce&&Ce.fill,Ue=Ce&&Ce.opacity,Pt=A(Ie,NORMAL).getItemStyle();Fe!=null&&(Pt.fill=Fe),Ue!=null&&(Pt.opacity=Ue);var Dt={inheritColor:isString$1(Fe)?Fe:"#000"},rr=M(Ie,NORMAL),ur=createTextStyle(rr,null,Dt,!1,!0);ur.text=rr.getShallow("show")?retrieve2(t.getFormattedLabel(Ie,NORMAL),getDefaultLabel(r,Ie)):null;var Sr=createTextConfig(rr,Dt,!1);return Y(xe,Pt),Pt=convertToEC4StyleForCustomSerise(Pt,ur,Sr),xe&&z(Pt,xe),Pt.legacy=!0,Pt}function V(xe,Ie){Ie==null&&(Ie=f);var Ce=A(Ie,EMPHASIS).getItemStyle(),Fe=M(Ie,EMPHASIS),Ue=createTextStyle(Fe,null,null,!0,!0);Ue.text=Fe.getShallow("show")?retrieve3(t.getFormattedLabel(Ie,EMPHASIS),t.getFormattedLabel(Ie,NORMAL),getDefaultLabel(r,Ie)):null;var Pt=createTextConfig(Fe,null,!0);return Y(xe,Ce),Ce=convertToEC4StyleForCustomSerise(Ce,Ue,Pt),xe&&z(Ce,xe),Ce.legacy=!0,Ce}function z(xe,Ie){for(var Ce in Ie)hasOwn$1(Ie,Ce)&&(xe[Ce]=Ie[Ce])}function Y(xe,Ie){xe&&(xe.textFill&&(Ie.textFill=xe.textFill),xe.textPosition&&(Ie.textPosition=xe.textPosition))}function ie(xe,Ie){if(Ie==null&&(Ie=f),hasOwn$1(STYLE_VISUAL_TYPE,xe)){var Ce=r.getItemVisual(Ie,"style");return Ce?Ce[STYLE_VISUAL_TYPE[xe]]:null}if(hasOwn$1(NON_STYLE_VISUAL_PROPS,xe))return r.getItemVisual(Ie,xe)}function j(xe){if(s.type==="cartesian2d"){var Ie=s.getBaseAxis();return getLayoutOnAxis(defaults({axis:Ie},xe))}}function le(){return n.getCurrentSeriesIndices()}function de(xe){return getFont(xe,n)}}function wrapEncodeDef(t){var r={};return each$f(t.dimensions,function(n){var a=t.getDimensionInfo(n);if(!a.isExtraCoord){var o=a.coordDim,s=r[o]=r[o]||[];s[a.coordDimIndex]=t.getDimensionIndex(n)}}),r}function createOrUpdateItem(t,r,n,a,o,s,l){if(!a){s.remove(r);return}var u=doCreateOrUpdateEl(t,r,n,a,o,s);return u&&l.setItemGraphicEl(n,u),u&&toggleHoverEmphasis(u,a.focus,a.blurScope,a.emphasisDisabled),u}function doCreateOrUpdateEl(t,r,n,a,o,s){var l=-1,u=r;r&&doesElNeedRecreate(r,a,o)&&(l=indexOf(s.childrenRef(),r),r=null);var c=!r,f=r;f?f.clearStates():(f=createEl$1(a),u&©Element(u,f)),a.morph===!1?f.disableMorphing=!0:f.disableMorphing&&(f.disableMorphing=!1),attachedTxInfoTmp.normal.cfg=attachedTxInfoTmp.normal.conOpt=attachedTxInfoTmp.emphasis.cfg=attachedTxInfoTmp.emphasis.conOpt=attachedTxInfoTmp.blur.cfg=attachedTxInfoTmp.blur.conOpt=attachedTxInfoTmp.select.cfg=attachedTxInfoTmp.select.conOpt=null,attachedTxInfoTmp.isLegacy=!1,doCreateOrUpdateAttachedTx(f,n,a,o,c,attachedTxInfoTmp),doCreateOrUpdateClipPath(f,n,a,o,c),updateElNormal(t,f,n,a,attachedTxInfoTmp,o,c),hasOwn$1(a,"info")&&(customInnerStore(f).info=a.info);for(var d=0;d=0?s.replaceAt(f,l):s.add(f),f}function doesElNeedRecreate(t,r,n){var a=customInnerStore(t),o=r.type,s=r.shape,l=r.style;return n.isUniversalTransitionEnabled()||o!=null&&o!==a.customGraphicType||o==="path"&&hasOwnPathData(s)&&getPathData(s)!==a.customPathData||o==="image"&&hasOwn$1(l,"image")&&l.image!==a.customImagePath}function doCreateOrUpdateClipPath(t,r,n,a,o){var s=n.clipPath;if(s===!1)t&&t.getClipPath()&&t.removeClipPath();else if(s){var l=t.getClipPath();l&&doesElNeedRecreate(l,s,a)&&(l=null),l||(l=createEl$1(s),t.setClipPath(l)),updateElNormal(null,l,r,s,null,a,o)}}function doCreateOrUpdateAttachedTx(t,r,n,a,o,s){if(!t.isGroup){processTxInfo(n,null,s),processTxInfo(n,EMPHASIS,s);var l=s.normal.conOpt,u=s.emphasis.conOpt,c=s.blur.conOpt,f=s.select.conOpt;if(l!=null||u!=null||f!=null||c!=null){var d=t.getTextContent();if(l===!1)d&&t.removeTextContent();else{l=s.normal.conOpt=l||{type:"text"},d?d.clearStates():(d=createEl$1(l),t.setTextContent(d)),updateElNormal(null,d,r,l,null,a,o);for(var v=l&&l.style,g=0;g=d;y--){var S=r.childAt(y);removeChildFromGroup(r,S,o)}}}function removeChildFromGroup(t,r,n){r&&applyLeaveTransition(r,customInnerStore(t).option,n)}function diffGroupChildren(t){new DataDiffer$1(t.oldChildren,t.newChildren,getKey,getKey,t).add(processAddUpdate).update(processAddUpdate).remove(processRemove).execute()}function getKey(t,r){var n=t&&t.name;return n??GROUP_DIFF_PREFIX+r}function processAddUpdate(t,r){var n=this.context,a=t!=null?n.newChildren[t]:null,o=r!=null?n.oldChildren[r]:null;doCreateOrUpdateEl(n.api,o,n.dataIndex,a,n.seriesModel,n.group)}function processRemove(t){var r=this.context,n=r.oldChildren[t];n&&applyLeaveTransition(n,customInnerStore(n).option,r.seriesModel)}function getPathData(t){return t&&(t.pathData||t.d)}function hasOwnPathData(t){return t&&(hasOwn$1(t,"pathData")||hasOwn$1(t,"d"))}function install$r(t){t.registerChartView(CustomChartView$1),t.registerSeriesModel(CustomSeriesModel$1)}var inner$b=makeInner(),clone$1=clone$4,bind=bind$1,BaseAxisPointer=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(r,n,a,o){var s=n.get("value"),l=n.get("status");if(this._axisModel=r,this._axisPointerModel=n,this._api=a,!(!o&&this._lastValue===s&&this._lastStatus===l)){this._lastValue=s,this._lastStatus=l;var u=this._group,c=this._handle;if(!l||l==="hide"){u&&u.hide(),c&&c.hide();return}u&&u.show(),c&&c.show();var f={};this.makeElOption(f,s,r,n,a);var d=f.graphicKey;d!==this._lastGraphicKey&&this.clear(a),this._lastGraphicKey=d;var v=this._moveAnimation=this.determineAnimation(r,n);if(!u)u=this._group=new Group$4,this.createPointerEl(u,f,r,n),this.createLabelEl(u,f,r,n),a.getZr().add(u);else{var g=curry$1(updateProps,n,v);this.updatePointerEl(u,f,g),this.updateLabelEl(u,f,g,n)}updateMandatoryProps(u,n,!0),this._renderHandle(s)}},t.prototype.remove=function(r){this.clear(r)},t.prototype.dispose=function(r){this.clear(r)},t.prototype.determineAnimation=function(r,n){var a=n.get("animation"),o=r.axis,s=o.type==="category",l=n.get("snap");if(!l&&!s)return!1;if(a==="auto"||a==null){var u=this.animationThreshold;if(s&&o.getBandWidth()>u)return!0;if(l){var c=getAxisInfo$1(r).seriesDataCount,f=o.getExtent();return Math.abs(f[0]-f[1])/c>u}return!1}return a===!0},t.prototype.makeElOption=function(r,n,a,o,s){},t.prototype.createPointerEl=function(r,n,a,o){var s=n.pointer;if(s){var l=inner$b(r).pointerEl=new graphic[s.type](clone$1(n.pointer));r.add(l)}},t.prototype.createLabelEl=function(r,n,a,o){if(n.label){var s=inner$b(r).labelEl=new ZRText$1(clone$1(n.label));r.add(s),updateLabelShowHide(s,o)}},t.prototype.updatePointerEl=function(r,n,a){var o=inner$b(r).pointerEl;o&&n.pointer&&(o.setStyle(n.pointer.style),a(o,{shape:n.pointer.shape}))},t.prototype.updateLabelEl=function(r,n,a,o){var s=inner$b(r).labelEl;s&&(s.setStyle(n.label.style),a(s,{x:n.label.x,y:n.label.y}),updateLabelShowHide(s,o))},t.prototype._renderHandle=function(r){if(!(this._dragging||!this.updateHandleTransform)){var n=this._axisPointerModel,a=this._api.getZr(),o=this._handle,s=n.getModel("handle"),l=n.get("status");if(!s.get("show")||!l||l==="hide"){o&&a.remove(o),this._handle=null;return}var u;this._handle||(u=!0,o=this._handle=createIcon(s.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(f){stop(f.event)},onmousedown:bind(this._onHandleDragMove,this,0,0),drift:bind(this._onHandleDragMove,this),ondragend:bind(this._onHandleDragEnd,this)}),a.add(o)),updateMandatoryProps(o,n,!1),o.setStyle(s.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var c=s.get("size");isArray$2(c)||(c=[c,c]),o.scaleX=c[0]/2,o.scaleY=c[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",s.get("throttle")||0,"fixRate"),this._moveHandleToValue(r,u)}},t.prototype._moveHandleToValue=function(r,n){updateProps(this._axisPointerModel,!n&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform(r,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(r,n){var a=this._handle;if(a){this._dragging=!0;var o=this.updateHandleTransform(getHandleTransProps(a),[r,n],this._axisModel,this._axisPointerModel);this._payloadInfo=o,a.stopAnimation(),a.attr(getHandleTransProps(o)),inner$b(a).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var r=this._handle;if(r){var n=this._payloadInfo,a=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:n.cursorPoint[0],y:n.cursorPoint[1],tooltipOption:n.tooltipOption,axesInfo:[{axisDim:a.axis.dim,axisIndex:a.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var r=this._handle;if(r){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(r){this._lastValue=null,this._lastStatus=null;var n=r.getZr(),a=this._group,o=this._handle;n&&a&&(this._lastGraphicKey=null,a&&n.remove(a),o&&n.remove(o),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(r,n,a){return a=a||0,{x:r[a],y:r[1-a],width:n[a],height:n[1-a]}},t}();function updateProps(t,r,n,a){propsEqual(inner$b(n).lastProp,a)||(inner$b(n).lastProp=a,r?updateProps$1(n,a,t):(n.stopAnimation(),n.attr(a)))}function propsEqual(t,r){if(isObject$4(t)&&isObject$4(r)){var n=!0;return each$f(r,function(a,o){n=n&&propsEqual(t[o],a)}),!!n}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,n){var a=r.get("z"),o=r.get("zlevel");t&&t.traverse(function(s){s.type!=="group"&&(a!=null&&(s.z=a),o!=null&&(s.zlevel=o),s.silent=n)})}const BaseAxisPointer$1=BaseAxisPointer;function buildElStyle(t){var r=t.get("type"),n=t.getModel(r+"Style"),a;return r==="line"?(a=n.getLineStyle(),a.fill=null):r==="shadow"&&(a=n.getAreaStyle(),a.stroke=null),a}function buildLabelElOption(t,r,n,a,o){var s=n.get("value"),l=getValueLabel(s,r.axis,r.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),u=n.getModel("label"),c=normalizeCssArray(u.get("padding")||0),f=u.getFont(),d=getBoundingRect(l,f),v=o.position,g=d.width+c[1]+c[3],y=d.height+c[0]+c[2],S=o.align;S==="right"&&(v[0]-=g),S==="center"&&(v[0]-=g/2);var b=o.verticalAlign;b==="bottom"&&(v[1]-=y),b==="middle"&&(v[1]-=y/2),confineInContainer(v,g,y,a);var T=u.get("backgroundColor");(!T||T==="auto")&&(T=r.get(["axisLine","lineStyle","color"])),t.label={x:v[0],y:v[1],style:createTextStyle(u,{text:l,font:f,fill:u.getTextColor(),padding:c,backgroundColor:T}),z2:10}}function confineInContainer(t,r,n,a){var o=a.getWidth(),s=a.getHeight();t[0]=Math.min(t[0]+r,o)-r,t[1]=Math.min(t[1]+n,s)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function getValueLabel(t,r,n,a,o){t=r.scale.parse(t);var s=r.scale.getLabel({value:t},{precision:o.precision}),l=o.formatter;if(l){var u={value:getAxisRawValue(r,{value:t}),axisDimension:r.dim,axisIndex:r.index,seriesData:[]};each$f(a,function(c){var f=n.getSeriesByIndex(c.seriesIndex),d=c.dataIndexInside,v=f&&f.getDataParams(d);v&&u.seriesData.push(v)}),isString$1(l)?s=l.replace("{value}",s):isFunction$1(l)&&(s=l(u))}return s}function getTransformedPosition(t,r,n){var a=create$1();return rotate(a,a,n.rotation),translate$1(a,a,n.position),applyTransform([t.dataToCoord(r),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],a)}function buildCartesianSingleLabelElOption(t,r,n,a,o,s){var l=AxisBuilder$1.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=o.get(["label","margin"]),buildLabelElOption(r,a,o,s,{position:getTransformedPosition(a.axis,t,n),align:l.textAlign,verticalAlign:l.textVerticalAlign})}function makeLineShape(t,r,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:r[n],y2:r[1-n]}}function makeRectShape(t,r,n){return n=n||0,{x:t[n],y:t[1-n],width:r[n],height:r[1-n]}}function makeSectorShape(t,r,n,a,o,s){return{cx:t,cy:r,r0:n,r:a,startAngle:o,endAngle:s,clockwise:!0}}var CartesianAxisPointer=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.makeElOption=function(n,a,o,s,l){var u=o.axis,c=u.grid,f=s.get("type"),d=getCartesian(c,u).getOtherAxis(u).getGlobalExtent(),v=u.toGlobalCoord(u.dataToCoord(a,!0));if(f&&f!=="none"){var g=buildElStyle(s),y=pointerShapeBuilder$2[f](u,v,d);y.style=g,n.graphicKey=y.type,n.pointer=y}var S=layout$2(c.model,o);buildCartesianSingleLabelElOption(a,n,S,o,s,l)},r.prototype.getHandleTransform=function(n,a,o){var s=layout$2(a.axis.grid.model,a,{labelInside:!1});s.labelMargin=o.get(["handle","margin"]);var l=getTransformedPosition(a.axis,n,s);return{x:l[0],y:l[1],rotation:s.rotation+(s.labelDirection<0?Math.PI:0)}},r.prototype.updateHandleTransform=function(n,a,o,s){var l=o.axis,u=l.grid,c=l.getGlobalExtent(!0),f=getCartesian(u,l).getOtherAxis(l).getGlobalExtent(),d=l.dim==="x"?0:1,v=[n.x,n.y];v[d]+=a[d],v[d]=Math.min(c[1],v[d]),v[d]=Math.max(c[0],v[d]);var g=(f[1]+f[0])/2,y=[g,g];y[d]=v[d];var S=[{verticalAlign:"middle"},{align:"center"}];return{x:v[0],y:v[1],rotation:n.rotation,cursorPoint:y,tooltipOption:S[d]}},r}(BaseAxisPointer$1);function getCartesian(t,r){var n={};return n[r.dim+"AxisIndex"]=r.index,t.getCartesian(n)}var pointerShapeBuilder$2={line:function(t,r,n){var a=makeLineShape([r,n[0]],[r,n[1]],getAxisDimIndex(t));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(t,r,n){var a=Math.max(1,t.getBandWidth()),o=n[1]-n[0];return{type:"Rect",shape:makeRectShape([r-a/2,n[0]],[a,o],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 n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.type="axisPointer",r.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!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$a=makeInner(),each$8=each$f;function register(t,r,n){if(!env$1.node){var a=r.getZr();inner$a(a).records||(inner$a(a).records={}),initGlobalListeners(a,r);var o=inner$a(a).records[t]||(inner$a(a).records[t]={});o.handler=n}}function initGlobalListeners(t,r){if(inner$a(t).initialized)return;inner$a(t).initialized=!0,n("click",curry$1(doEnter,"click")),n("mousemove",curry$1(doEnter,"mousemove")),n("globalout",onLeave);function n(a,o){t.on(a,function(s){var l=makeDispatchAction$1(r);each$8(inner$a(t).records,function(u){u&&o(u,s,l.dispatchAction)}),dispatchTooltipFinally(l.pendings,r)})}}function dispatchTooltipFinally(t,r){var n=t.showTip.length,a=t.hideTip.length,o;n?o=t.showTip[n-1]:a&&(o=t.hideTip[a-1]),o&&(o.dispatchAction=null,r.dispatchAction(o))}function onLeave(t,r,n){t.handler("leave",null,n)}function doEnter(t,r,n,a){r.handler(t,n,a)}function makeDispatchAction$1(t){var r={showTip:[],hideTip:[]},n=function(a){var o=r[a.type];o?o.push(a):(a.dispatchAction=n,t.dispatchAction(a))};return{dispatchAction:n,pendings:r}}function unregister(t,r){if(!env$1.node){var n=r.getZr(),a=(inner$a(n).records||{})[t];a&&(inner$a(n).records[t]=null)}}var AxisPointerView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.render=function(n,a,o){var s=a.getComponent("tooltip"),l=n.get("triggerOn")||s&&s.get("triggerOn")||"mousemove|click";register("axisPointer",o,function(u,c,f){l!=="none"&&(u==="leave"||l.indexOf(u)>=0)&&f({type:"updateAxisPointer",currTrigger:u,x:c&&c.offsetX,y:c&&c.offsetY})})},r.prototype.remove=function(n,a){unregister("axisPointer",a)},r.prototype.dispose=function(n,a){unregister("axisPointer",a)},r.type="axisPointer",r}(ComponentView$1);const AxisPointerView$1=AxisPointerView;function findPointFromSeries(t,r){var n=[],a=t.seriesIndex,o;if(a==null||!(o=r.getSeriesByIndex(a)))return{point:[]};var s=o.getData(),l=queryDataIndex(s,t);if(l==null||l<0||isArray$2(l))return{point:[]};var u=s.getItemGraphicEl(l),c=o.coordinateSystem;if(o.getTooltipPosition)n=o.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)if(t.isStacked){var f=c.getBaseAxis(),d=c.getOtherAxis(f),v=d.dim,g=f.dim,y=v==="x"||v==="radius"?1:0,S=s.mapDimension(g),b=[];b[y]=s.get(S,l),b[1-y]=s.get(s.getCalculationInfo("stackResultDimension"),l),n=c.dataToPoint(b)||[]}else n=c.dataToPoint(s.getValues(map$1(c.dimensions,function(w){return s.mapDimension(w)}),l))||[];else if(u){var T=u.getBoundingRect().clone();T.applyTransform(u.transform),n=[T.x+T.width/2,T.y+T.height/2]}return{point:n,el:u}}var inner$9=makeInner();function axisTrigger(t,r,n){var a=t.currTrigger,o=[t.x,t.y],s=t,l=t.dispatchAction||bind$1(n.dispatchAction,n),u=r.getComponent("axisPointer").coordSysAxesInfo;if(u){illegalPoint(o)&&(o=findPointFromSeries({seriesIndex:s.seriesIndex,dataIndex:s.dataIndex},r).point);var c=illegalPoint(o),f=s.axesInfo,d=u.axesInfo,v=a==="leave"||illegalPoint(o),g={},y={},S={list:[],map:{}},b={showPointer:curry$1(showPointer,y),showTooltip:curry$1(showTooltip,S)};each$f(u.coordSysMap,function(w,A){var M=c||w.containPoint(o);each$f(u.coordSysAxesInfo[A],function(L,O){var D=L.axis,V=findInputAxisInfo(f,L);if(!v&&M&&(!f||V)){var z=V&&V.value;z==null&&!c&&(z=D.pointToData(o)),z!=null&&processOnAxis(L,z,b,!1,g)}})});var T={};return each$f(d,function(w,A){var M=w.linkGroup;M&&!y[A]&&each$f(M.axesInfo,function(L,O){var D=y[O];if(L!==w&&D){var V=D.value;M.mapper&&(V=w.axis.scale.parse(M.mapper(V,makeMapperParam(L),makeMapperParam(w)))),T[w.key]=V}})}),each$f(T,function(w,A){processOnAxis(d[A],w,b,!0,g)}),updateModelActually(y,d,g),dispatchTooltipActually(S,o,t,l),dispatchHighDownActually(d,l,n),g}}function processOnAxis(t,r,n,a,o){var s=t.axis;if(!(s.scale.isBlank()||!s.containData(r))){if(!t.involveSeries){n.showPointer(t,r);return}var l=buildPayloadsBySeries(r,t),u=l.payloadBatch,c=l.snapToValue;u[0]&&o.seriesIndex==null&&extend(o,u[0]),!a&&t.snap&&s.containData(c)&&c!=null&&(r=c),n.showPointer(t,r,u),n.showTooltip(t,l,c)}}function buildPayloadsBySeries(t,r){var n=r.axis,a=n.dim,o=t,s=[],l=Number.MAX_VALUE,u=-1;return each$f(r.seriesModels,function(c,f){var d=c.getData().mapDimensionsAll(a),v,g;if(c.getAxisTooltipData){var y=c.getAxisTooltipData(d,t,n);g=y.dataIndices,v=y.nestestValue}else{if(g=c.getData().indicesOfNearest(d[0],t,n.type==="category"?.5:null),!g.length)return;v=c.getData().get(d[0],g[0])}if(!(v==null||!isFinite(v))){var S=t-v,b=Math.abs(S);b<=l&&((b=0&&u<0)&&(l=b,u=S,o=v,s.length=0),each$f(g,function(T){s.push({seriesIndex:c.seriesIndex,dataIndexInside:T,dataIndex:c.getData().getRawIndex(T)})}))}}),{payloadBatch:s,snapToValue:o}}function showPointer(t,r,n,a){t[r.key]={value:n,payloadBatch:a}}function showTooltip(t,r,n,a){var o=n.payloadBatch,s=r.axis,l=s.model,u=r.axisPointerModel;if(!(!r.triggerTooltip||!o.length)){var c=r.coordSys.model,f=makeKey(c),d=t.map[f];d||(d=t.map[f]={coordSysId:c.id,coordSysIndex:c.componentIndex,coordSysType:c.type,coordSysMainType:c.mainType,dataByAxis:[]},t.list.push(d)),d.dataByAxis.push({axisDim:s.dim,axisIndex:l.componentIndex,axisType:l.type,axisId:l.id,value:a,valueLabelOpt:{precision:u.get(["label","precision"]),formatter:u.get(["label","formatter"])},seriesDataIndices:o.slice()})}}function updateModelActually(t,r,n){var a=n.axesInfo=[];each$f(r,function(o,s){var l=o.axisPointerModel.option,u=t[s];u?(!o.useHandle&&(l.status="show"),l.value=u.value,l.seriesDataIndices=(u.payloadBatch||[]).slice()):!o.useHandle&&(l.status="hide"),l.status==="show"&&a.push({axisDim:o.axis.dim,axisIndex:o.axis.model.componentIndex,value:l.value})})}function dispatchTooltipActually(t,r,n,a){if(illegalPoint(r)||!t.list.length){a({type:"hideTip"});return}var o=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:r[0],y:r[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:o.dataIndexInside,dataIndex:o.dataIndex,seriesIndex:o.seriesIndex,dataByCoordSys:t.list})}function dispatchHighDownActually(t,r,n){var a=n.getZr(),o="axisPointerLastHighlights",s=inner$9(a)[o]||{},l=inner$9(a)[o]={};each$f(t,function(f,d){var v=f.axisPointerModel.option;v.status==="show"&&each$f(v.seriesDataIndices,function(g){var y=g.seriesIndex+" | "+g.dataIndex;l[y]=g})});var u=[],c=[];each$f(s,function(f,d){!l[d]&&c.push(f)}),each$f(l,function(f,d){!s[d]&&u.push(f)}),c.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:c}),u.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:u})}function findInputAxisInfo(t,r){for(var n=0;n<(t||[]).length;n++){var a=t[n];if(r.axis.dim===a.axisDim&&r.axis.model.componentIndex===a.axisIndex)return a}}function makeMapperParam(t){var r=t.axis.model,n={},a=n.axisDim=t.axis.dim;return n.axisIndex=n[a+"AxisIndex"]=r.componentIndex,n.axisName=n[a+"AxisName"]=r.name,n.axisId=n[a+"AxisId"]=r.id,n}function illegalPoint(t){return!t||t[0]==null||isNaN(t[0])||t[1]==null||isNaN(t[1])}function install$q(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 n=r.axisPointer.link;n&&!isArray$2(n)&&(r.axisPointer.link=[n])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(r,n){r.getComponent("axisPointer").coordSysAxesInfo=collect(r,n)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function install$p(t){use(install$N),use(install$q)}var PolarAxisPointer=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.makeElOption=function(n,a,o,s,l){var u=o.axis;u.dim==="angle"&&(this.animationThreshold=Math.PI/18);var c=u.polar,f=c.getOtherAxis(u),d=f.getExtent(),v=u.dataToCoord(a),g=s.get("type");if(g&&g!=="none"){var y=buildElStyle(s),S=pointerShapeBuilder$1[g](u,c,v,d);S.style=y,n.graphicKey=S.type,n.pointer=S}var b=s.get(["label","margin"]),T=getLabelPosition(a,o,s,c,b);buildLabelElOption(n,o,s,l,T)},r}(BaseAxisPointer$1);function getLabelPosition(t,r,n,a,o){var s=r.axis,l=s.dataToCoord(t),u=a.getAngleAxis().getExtent()[0];u=u/180*Math.PI;var c=a.getRadiusAxis().getExtent(),f,d,v;if(s.dim==="radius"){var g=create$1();rotate(g,g,u),translate$1(g,g,[a.cx,a.cy]),f=applyTransform([l,-o],g);var y=r.getModel("axisLabel").get("rotate")||0,S=AxisBuilder$1.innerTextLayout(u,y*Math.PI/180,-1);d=S.textAlign,v=S.textVerticalAlign}else{var b=c[1];f=a.coordToPoint([b+o,l]);var T=a.cx,w=a.cy;d=Math.abs(f[0]-T)/b<.3?"center":f[0]>T?"left":"right",v=Math.abs(f[1]-w)/b<.3?"middle":f[1]>w?"top":"bottom"}return{position:f,align:d,verticalAlign:v}}var pointerShapeBuilder$1={line:function(t,r,n,a){return t.dim==="angle"?{type:"Line",shape:makeLineShape(r.coordToPoint([a[0],n]),r.coordToPoint([a[1],n]))}:{type:"Circle",shape:{cx:r.cx,cy:r.cy,r:n}}},shadow:function(t,r,n,a){var o=Math.max(1,t.getBandWidth()),s=Math.PI/180;return t.dim==="angle"?{type:"Sector",shape:makeSectorShape(r.cx,r.cy,a[0],a[1],(-n-o/2)*s,(-n+o/2)*s)}:{type:"Sector",shape:makeSectorShape(r.cx,r.cy,n-o/2,n+o/2,0,Math.PI*2)}}};const PolarAxisPointer$1=PolarAxisPointer;var PolarModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.findAxisModel=function(n){var a,o=this.ecModel;return o.eachComponent(n,function(s){s.getCoordSysModel()===this&&(a=s)},this),a},r.type="polar",r.dependencies=["radiusAxis","angleAxis"],r.defaultOption={z:0,center:["50%","50%"],radius:"80%"},r}(ComponentModel$1);const PolarModel$1=PolarModel;var PolarAxisModel=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",SINGLE_REFERRING).models[0]},r.type="polarAxis",r}(ComponentModel$1);mixin(PolarAxisModel,AxisModelCommonMixin);var AngleAxisModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.type="angleAxis",r}(PolarAxisModel),RadiusAxisModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.type="radiusAxis",r}(PolarAxisModel),RadiusAxis=function(t){__extends(r,t);function r(n,a){return t.call(this,"radius",n,a)||this}return r.prototype.pointToData=function(n,a){return this.polar.pointToData(n,a)[this.dim==="radius"?0:1]},r}(Axis$1);RadiusAxis.prototype.dataToRadius=Axis$1.prototype.dataToCoord;RadiusAxis.prototype.radiusToData=Axis$1.prototype.coordToData;const RadiusAxis$1=RadiusAxis;var inner$8=makeInner(),AngleAxis=function(t){__extends(r,t);function r(n,a){return t.call(this,"angle",n,a||[0,360])||this}return r.prototype.pointToData=function(n,a){return this.polar.pointToData(n,a)[this.dim==="radius"?0:1]},r.prototype.calculateCategoryInterval=function(){var n=this,a=n.getLabelModel(),o=n.scale,s=o.getExtent(),l=o.count();if(s[1]-s[0]<1)return 0;var u=s[0],c=n.dataToCoord(u+1)-n.dataToCoord(u),f=Math.abs(c),d=getBoundingRect(u==null?"":u+"",a.getFont(),"center","top"),v=Math.max(d.height,7),g=v/f;isNaN(g)&&(g=1/0);var y=Math.max(0,Math.floor(g)),S=inner$8(n.model),b=S.lastAutoInterval,T=S.lastTickCount;return b!=null&&T!=null&&Math.abs(b-y)<=1&&Math.abs(T-l)<=1&&b>y?y=b:(S.lastTickCount=l,S.lastAutoInterval=y),y},r}(Axis$1);AngleAxis.prototype.dataToAngle=Axis$1.prototype.dataToCoord;AngleAxis.prototype.angleToData=Axis$1.prototype.coordToData;const AngleAxis$1=AngleAxis;var polarDimensions=["radius","angle"],Polar=function(){function t(r){this.dimensions=polarDimensions,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new RadiusAxis$1,this._angleAxis=new AngleAxis$1,this.axisPointerEnabled=!0,this.name=r||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(r){var n=this.pointToCoord(r);return this._radiusAxis.contain(n[0])&&this._angleAxis.contain(n[1])},t.prototype.containData=function(r){return this._radiusAxis.containData(r[0])&&this._angleAxis.containData(r[1])},t.prototype.getAxis=function(r){var n="_"+r+"Axis";return this[n]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(r){var n=[],a=this._angleAxis,o=this._radiusAxis;return a.scale.type===r&&n.push(a),o.scale.type===r&&n.push(o),n},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(r){var n=this._angleAxis;return r===n?this._radiusAxis:n},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(r){var n=r!=null&&r!=="auto"?this.getAxis(r):this.getBaseAxis();return{baseAxes:[n],otherAxes:[this.getOtherAxis(n)]}},t.prototype.dataToPoint=function(r,n){return this.coordToPoint([this._radiusAxis.dataToRadius(r[0],n),this._angleAxis.dataToAngle(r[1],n)])},t.prototype.pointToData=function(r,n){var a=this.pointToCoord(r);return[this._radiusAxis.radiusToData(a[0],n),this._angleAxis.angleToData(a[1],n)]},t.prototype.pointToCoord=function(r){var n=r[0]-this.cx,a=r[1]-this.cy,o=this.getAngleAxis(),s=o.getExtent(),l=Math.min(s[0],s[1]),u=Math.max(s[0],s[1]);o.inverse?l=u-360:u=l+360;var c=Math.sqrt(n*n+a*a);n/=c,a/=c;for(var f=Math.atan2(-a,n)/Math.PI*180,d=fu;)f+=d*360;return[c,f]},t.prototype.coordToPoint=function(r){var n=r[0],a=r[1]/180*Math.PI,o=Math.cos(a)*n+this.cx,s=-Math.sin(a)*n+this.cy;return[o,s]},t.prototype.getArea=function(){var r=this.getAngleAxis(),n=this.getRadiusAxis(),a=n.getExtent().slice();a[0]>a[1]&&a.reverse();var o=r.getExtent(),s=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:a[0],r:a[1],startAngle:-o[0]*s,endAngle:-o[1]*s,clockwise:r.inverse,contain:function(l,u){var c=l-this.cx,f=u-this.cy,d=c*c+f*f-1e-4,v=this.r,g=this.r0;return d<=v*v&&d>=g*g}}},t.prototype.convertToPixel=function(r,n,a){var o=getCoordSys$2(n);return o===this?this.dataToPoint(a):null},t.prototype.convertFromPixel=function(r,n,a){var o=getCoordSys$2(n);return o===this?this.pointToData(a):null},t}();function getCoordSys$2(t){var r=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||r&&r.coordinateSystem}const Polar$1=Polar;function resizePolar(t,r,n){var a=r.get("center"),o=n.getWidth(),s=n.getHeight();t.cx=parsePercent(a[0],o),t.cy=parsePercent(a[1],s);var l=t.getRadiusAxis(),u=Math.min(o,s)/2,c=r.get("radius");c==null?c=[0,"100%"]:isArray$2(c)||(c=[0,c]);var f=[parsePercent(c[0],u),parsePercent(c[1],u)];l.inverse?l.setExtent(f[1],f[0]):l.setExtent(f[0],f[1])}function updatePolarScale(t,r){var n=this,a=n.getAngleAxis(),o=n.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),t.eachSeries(function(u){if(u.coordinateSystem===n){var c=u.getData();each$f(getDataDimensionsOnAxis(c,"radius"),function(f){o.scale.unionExtentFromData(c,f)}),each$f(getDataDimensionsOnAxis(c,"angle"),function(f){a.scale.unionExtentFromData(c,f)})}}),niceScaleExtent(a.scale,a.model),niceScaleExtent(o.scale,o.model),a.type==="category"&&!a.onBand){var s=a.getExtent(),l=360/a.scale.count();a.inverse?s[1]+=l:s[1]-=l,a.setExtent(s[0],s[1])}}function isAngleAxisModel(t){return t.mainType==="angleAxis"}function setAxis(t,r){if(t.type=r.get("type"),t.scale=createScaleByModel$1(r),t.onBand=r.get("boundaryGap")&&t.type==="category",t.inverse=r.get("inverse"),isAngleAxisModel(r)){t.inverse=t.inverse!==r.get("clockwise");var n=r.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}r.axis=t,t.model=r}var polarCreator={dimensions:polarDimensions,create:function(t,r){var n=[];return t.eachComponent("polar",function(a,o){var s=new Polar$1(o+"");s.update=updatePolarScale;var l=s.getRadiusAxis(),u=s.getAngleAxis(),c=a.findAxisModel("radiusAxis"),f=a.findAxisModel("angleAxis");setAxis(l,c),setAxis(u,f),resizePolar(s,a,r),n.push(s),a.coordinateSystem=s,s.model=a}),t.eachSeries(function(a){if(a.get("coordinateSystem")==="polar"){var o=a.getReferringComponents("polar",SINGLE_REFERRING).models[0];a.coordinateSystem=o.coordinateSystem}}),n}};const polarCreator$1=polarCreator;var elementList=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function getAxisLineShape(t,r,n){r[1]>r[0]&&(r=r.slice().reverse());var a=t.coordToPoint([r[0],n]),o=t.coordToPoint([r[1],n]);return{x1:a[0],y1:a[1],x2:o[0],y2:o[1]}}function getRadiusIdx(t){var r=t.getRadiusAxis();return r.inverse?0:1}function fixAngleOverlap(t){var r=t[0],n=t[t.length-1];r&&n&&Math.abs(Math.abs(r.coord-n.coord)-360)<1e-4&&t.pop()}var AngleAxisView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.axisPointerClass="PolarAxisPointer",n}return r.prototype.render=function(n,a){if(this.group.removeAll(),!!n.get("show")){var o=n.axis,s=o.polar,l=s.getRadiusAxis().getExtent(),u=o.getTicksCoords(),c=o.getMinorTicksCoords(),f=map$1(o.getViewLabels(),function(d){d=clone$4(d);var v=o.scale,g=v.type==="ordinal"?v.getRawOrdinalNumber(d.tickValue):d.tickValue;return d.coord=o.dataToCoord(g),d});fixAngleOverlap(f),fixAngleOverlap(u),each$f(elementList,function(d){n.get([d,"show"])&&(!o.scale.isBlank()||d==="axisLine")&&angelAxisElementsBuilders[d](this.group,n,s,u,c,l,f)},this)}},r.type="angleAxis",r}(AxisView$1),angelAxisElementsBuilders={axisLine:function(t,r,n,a,o,s){var l=r.getModel(["axisLine","lineStyle"]),u=getRadiusIdx(n),c=u?0:1,f;s[c]===0?f=new Circle$1({shape:{cx:n.cx,cy:n.cy,r:s[u]},style:l.getLineStyle(),z2:1,silent:!0}):f=new Ring$1({shape:{cx:n.cx,cy:n.cy,r:s[u],r0:s[c]},style:l.getLineStyle(),z2:1,silent:!0}),f.style.fill=null,t.add(f)},axisTick:function(t,r,n,a,o,s){var l=r.getModel("axisTick"),u=(l.get("inside")?-1:1)*l.get("length"),c=s[getRadiusIdx(n)],f=map$1(a,function(d){return new Line$3({shape:getAxisLineShape(n,[c,c+u],d.coord)})});t.add(mergePath(f,{style:defaults(l.getModel("lineStyle").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,r,n,a,o,s){if(o.length){for(var l=r.getModel("axisTick"),u=r.getModel("minorTick"),c=(l.get("inside")?-1:1)*u.get("length"),f=s[getRadiusIdx(n)],d=[],v=0;vw?"left":"right",L=Math.abs(T[1]-A)/b<.3?"middle":T[1]>A?"top":"bottom";if(u&&u[S]){var O=u[S];isObject$4(O)&&O.textStyle&&(y=new Model$1(O.textStyle,c,c.ecModel))}var D=new ZRText$1({silent:AxisBuilder$1.isLabelSilent(r),style:createTextStyle(y,{x:T[0],y:T[1],fill:y.getTextColor()||r.get(["axisLine","lineStyle","color"]),text:v.formattedLabel,align:M,verticalAlign:L})});if(t.add(D),d){var V=AxisBuilder$1.makeAxisEventDataBase(r);V.targetType="axisLabel",V.value=v.rawLabel,getECData(D).eventData=V}},this)},splitLine:function(t,r,n,a,o,s){var l=r.getModel("splitLine"),u=l.getModel("lineStyle"),c=u.get("color"),f=0;c=c instanceof Array?c:[c];for(var d=[],v=0;v=0?"p":"n",de=V;O&&(a[d][j]||(a[d][j]={p:V,n:V}),de=a[d][j][le]);var xe=void 0,Ie=void 0,Ce=void 0,Fe=void 0;if(S.dim==="radius"){var Ue=S.dataToCoord(ie)-V,Pt=c.dataToCoord(j);Math.abs(Ue)=Fe})}}})}function calRadialBar(t){var r={};each$f(t,function(a,o){var s=a.getData(),l=a.coordinateSystem,u=l.getBaseAxis(),c=getAxisKey(l,u),f=u.getExtent(),d=u.type==="category"?u.getBandWidth():Math.abs(f[1]-f[0])/s.count(),v=r[c]||{bandWidth:d,remainedWidth:d,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},g=v.stacks;r[c]=v;var y=getSeriesStackId(a);g[y]||v.autoWidthCount++,g[y]=g[y]||{width:0,maxWidth:0};var S=parsePercent(a.get("barWidth"),d),b=parsePercent(a.get("barMaxWidth"),d),T=a.get("barGap"),w=a.get("barCategoryGap");S&&!g[y].width&&(S=Math.min(v.remainedWidth,S),g[y].width=S,v.remainedWidth-=S),b&&(g[y].maxWidth=b),T!=null&&(v.gap=T),w!=null&&(v.categoryGap=w)});var n={};return each$f(r,function(a,o){n[o]={};var s=a.stacks,l=a.bandWidth,u=parsePercent(a.categoryGap,l),c=parsePercent(a.gap,1),f=a.remainedWidth,d=a.autoWidthCount,v=(f-u)/(d+(d-1)*c);v=Math.max(v,0),each$f(s,function(b,T){var w=b.maxWidth;w&&w=n.y&&r[1]<=n.y+n.height:a.contain(a.toLocalCoord(r[1]))&&r[0]>=n.y&&r[0]<=n.y+n.height},t.prototype.pointToData=function(r){var n=this.getAxis();return[n.coordToData(n.toLocalCoord(r[n.orient==="horizontal"?0:1]))]},t.prototype.dataToPoint=function(r){var n=this.getAxis(),a=this.getRect(),o=[],s=n.orient==="horizontal"?0:1;return r instanceof Array&&(r=r[0]),o[s]=n.toGlobalCoord(n.dataToCoord(+r)),o[1-s]=s===0?a.y+a.height/2:a.x+a.width/2,o},t.prototype.convertToPixel=function(r,n,a){var o=getCoordSys$1(n);return o===this?this.dataToPoint(a):null},t.prototype.convertFromPixel=function(r,n,a){var o=getCoordSys$1(n);return o===this?this.pointToData(a):null},t}();function getCoordSys$1(t){var r=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||r&&r.coordinateSystem}function create(t,r){var n=[];return t.eachComponent("singleAxis",function(a,o){var s=new Single(a,t,r);s.name="single_"+o,s.resize(a,r),a.coordinateSystem=s,n.push(s)}),t.eachSeries(function(a){if(a.get("coordinateSystem")==="singleAxis"){var o=a.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];a.coordinateSystem=o&&o.coordinateSystem}}),n}var singleCreator={create,dimensions:singleDimensions};const singleCreator$1=singleCreator;var XY$1=["x","y"],WH$1=["width","height"],SingleAxisPointer=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.makeElOption=function(n,a,o,s,l){var u=o.axis,c=u.coordinateSystem,f=getGlobalExtent(c,1-getPointDimIndex(u)),d=c.dataToPoint(a)[0],v=s.get("type");if(v&&v!=="none"){var g=buildElStyle(s),y=pointerShapeBuilder[v](u,d,f);y.style=g,n.graphicKey=y.type,n.pointer=y}var S=layout$1(o);buildCartesianSingleLabelElOption(a,n,S,o,s,l)},r.prototype.getHandleTransform=function(n,a,o){var s=layout$1(a,{labelInside:!1});s.labelMargin=o.get(["handle","margin"]);var l=getTransformedPosition(a.axis,n,s);return{x:l[0],y:l[1],rotation:s.rotation+(s.labelDirection<0?Math.PI:0)}},r.prototype.updateHandleTransform=function(n,a,o,s){var l=o.axis,u=l.coordinateSystem,c=getPointDimIndex(l),f=getGlobalExtent(u,c),d=[n.x,n.y];d[c]+=a[c],d[c]=Math.min(f[1],d[c]),d[c]=Math.max(f[0],d[c]);var v=getGlobalExtent(u,1-c),g=(v[1]+v[0])/2,y=[g,g];return y[c]=d[c],{x:d[0],y:d[1],rotation:n.rotation,cursorPoint:y,tooltipOption:{verticalAlign:"middle"}}},r}(BaseAxisPointer$1),pointerShapeBuilder={line:function(t,r,n){var a=makeLineShape([r,n[0]],[r,n[1]],getPointDimIndex(t));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(t,r,n){var a=t.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:makeRectShape([r-a/2,n[0]],[a,o],getPointDimIndex(t))}}};function getPointDimIndex(t){return t.isHorizontal()?0:1}function getGlobalExtent(t,r){var n=t.getRect();return[n[XY$1[r]],n[XY$1[r]]+n[WH$1[r]]]}const SingleAxisPointer$1=SingleAxisPointer;var SingleView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.type="single",r}(ComponentView$1);function install$n(t){use(install$q),AxisView$1.registerAxisPointerClass("SingleAxisPointer",SingleAxisPointer$1),t.registerComponentView(SingleView),t.registerComponentView(SingleAxisView$1),t.registerComponentModel(SingleAxisModel$1),axisModelCreator(t,"single",SingleAxisModel$1,SingleAxisModel$1.defaultOption),t.registerCoordinateSystem("single",singleCreator$1)}var CalendarModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.init=function(n,a,o){var s=getLayoutParams(n);t.prototype.init.apply(this,arguments),mergeAndNormalizeLayoutParams$1(n,s)},r.prototype.mergeOption=function(n){t.prototype.mergeOption.apply(this,arguments),mergeAndNormalizeLayoutParams$1(this.option,n)},r.prototype.getCellSize=function(){return this.option.cellSize},r.type="calendar",r.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},r}(ComponentModel$1);function mergeAndNormalizeLayoutParams$1(t,r){var n=t.cellSize,a;isArray$2(n)?a=n:a=t.cellSize=[n,n],a.length===1&&(a[1]=a[0]);var o=map$1([0,1],function(s){return sizeCalculable(r,s)&&(a[s]="auto"),a[s]!=null&&a[s]!=="auto"});mergeLayoutParam(t,r,{type:"box",ignoreSize:o})}const CalendarModel$1=CalendarModel;var CalendarView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.render=function(n,a,o){var s=this.group;s.removeAll();var l=n.coordinateSystem,u=l.getRangeInfo(),c=l.getOrient(),f=a.getLocaleModel();this._renderDayRect(n,u,s),this._renderLines(n,u,c,s),this._renderYearText(n,u,c,s),this._renderMonthText(n,f,c,s),this._renderWeekText(n,f,u,c,s)},r.prototype._renderDayRect=function(n,a,o){for(var s=n.coordinateSystem,l=n.getModel("itemStyle").getItemStyle(),u=s.getCellWidth(),c=s.getCellHeight(),f=a.start.time;f<=a.end.time;f=s.getNextNDay(f,1).time){var d=s.dataToRect([f],!1).tl,v=new Rect$3({shape:{x:d[0],y:d[1],width:u,height:c},cursor:"default",style:l});o.add(v)}},r.prototype._renderLines=function(n,a,o,s){var l=this,u=n.coordinateSystem,c=n.getModel(["splitLine","lineStyle"]).getLineStyle(),f=n.get(["splitLine","show"]),d=c.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var v=a.start,g=0;v.time<=a.end.time;g++){S(v.formatedDate),g===0&&(v=u.getDateInfo(a.start.y+"-"+a.start.m));var y=v.date;y.setMonth(y.getMonth()+1),v=u.getDateInfo(y)}S(u.getNextNDay(a.end.time,1).formatedDate);function S(b){l._firstDayOfMonth.push(u.getDateInfo(b)),l._firstDayPoints.push(u.dataToRect([b],!1).tl);var T=l._getLinePointsOfOneWeek(n,b,o);l._tlpoints.push(T[0]),l._blpoints.push(T[T.length-1]),f&&l._drawSplitline(T,c,s)}f&&this._drawSplitline(l._getEdgesPoints(l._tlpoints,d,o),c,s),f&&this._drawSplitline(l._getEdgesPoints(l._blpoints,d,o),c,s)},r.prototype._getEdgesPoints=function(n,a,o){var s=[n[0].slice(),n[n.length-1].slice()],l=o==="horizontal"?0:1;return s[0][l]=s[0][l]-a/2,s[1][l]=s[1][l]+a/2,s},r.prototype._drawSplitline=function(n,a,o){var s=new Polyline$3({z2:20,shape:{points:n},style:a});o.add(s)},r.prototype._getLinePointsOfOneWeek=function(n,a,o){for(var s=n.coordinateSystem,l=s.getDateInfo(a),u=[],c=0;c<7;c++){var f=s.getNextNDay(l.time,c),d=s.dataToRect([f.time],!1);u[2*f.day]=d.tl,u[2*f.day+1]=d[o==="horizontal"?"bl":"tr"]}return u},r.prototype._formatterLabel=function(n,a){return isString$1(n)&&n?formatTplSimple(n,a):isFunction$1(n)?n(a):a.nameMap},r.prototype._yearTextPositionControl=function(n,a,o,s,l){var u=a[0],c=a[1],f=["center","bottom"];s==="bottom"?(c+=l,f=["center","top"]):s==="left"?u-=l:s==="right"?(u+=l,f=["center","top"]):c-=l;var d=0;return(s==="left"||s==="right")&&(d=Math.PI/2),{rotation:d,x:u,y:c,style:{align:f[0],verticalAlign:f[1]}}},r.prototype._renderYearText=function(n,a,o,s){var l=n.getModel("yearLabel");if(l.get("show")){var u=l.get("margin"),c=l.get("position");c||(c=o!=="horizontal"?"top":"left");var f=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],d=(f[0][0]+f[1][0])/2,v=(f[0][1]+f[1][1])/2,g=o==="horizontal"?0:1,y={top:[d,f[g][1]],bottom:[d,f[1-g][1]],left:[f[1-g][0],v],right:[f[g][0],v]},S=a.start.y;+a.end.y>+a.start.y&&(S=S+"-"+a.end.y);var b=l.get("formatter"),T={start:a.start.y,end:a.end.y,nameMap:S},w=this._formatterLabel(b,T),A=new ZRText$1({z2:30,style:createTextStyle(l,{text:w})});A.attr(this._yearTextPositionControl(A,y[c],o,c,u)),s.add(A)}},r.prototype._monthTextPositionControl=function(n,a,o,s,l){var u="left",c="top",f=n[0],d=n[1];return o==="horizontal"?(d=d+l,a&&(u="center"),s==="start"&&(c="bottom")):(f=f+l,a&&(c="middle"),s==="start"&&(u="right")),{x:f,y:d,align:u,verticalAlign:c}},r.prototype._renderMonthText=function(n,a,o,s){var l=n.getModel("monthLabel");if(l.get("show")){var u=l.get("nameMap"),c=l.get("margin"),f=l.get("position"),d=l.get("align"),v=[this._tlpoints,this._blpoints];(!u||isString$1(u))&&(u&&(a=getLocaleModel(u)||a),u=a.get(["time","monthAbbr"])||[]);var g=f==="start"?0:1,y=o==="horizontal"?0:1;c=f==="start"?-c:c;for(var S=d==="center",b=0;b=o.start.time&&a.timeu.end.time&&n.reverse(),n},t.prototype._getRangeInfo=function(r){var n=[this.getDateInfo(r[0]),this.getDateInfo(r[1])],a;n[0].time>n[1].time&&(a=!0,n.reverse());var o=Math.floor(n[1].time/PROXIMATE_ONE_DAY)-Math.floor(n[0].time/PROXIMATE_ONE_DAY)+1,s=new Date(n[0].time),l=s.getDate(),u=n[1].date.getDate();s.setDate(l+o-1);var c=s.getDate();if(c!==u)for(var f=s.getTime()-n[1].time>0?1:-1;(c=s.getDate())!==u&&(s.getTime()-n[1].time)*f>0;)o-=f,s.setDate(c-f);var d=Math.floor((o+n[0].day+6)/7),v=a?-d+1:d-1;return a&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:o,weeks:d,nthWeek:v,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(r,n,a){var o=this._getRangeInfo(a);if(r>o.weeks||r===0&&no.lweek)return null;var s=(r-1)*7-o.fweek+n,l=new Date(o.start.time);return l.setDate(+o.start.d+s),this.getDateInfo(l)},t.create=function(r,n){var a=[];return r.eachComponent("calendar",function(o){var s=new t(o);a.push(s),o.coordinateSystem=s}),r.eachSeries(function(o){o.get("coordinateSystem")==="calendar"&&(o.coordinateSystem=a[o.get("calendarIndex")||0])}),a},t.dimensions=["time","value"],t}();function getCoordSys(t){var r=t.calendarModel,n=t.seriesModel,a=r?r.coordinateSystem:n?n.coordinateSystem:null;return a}const Calendar$1=Calendar;function install$m(t){t.registerComponentModel(CalendarModel$1),t.registerComponentView(CalendarView$1),t.registerCoordinateSystem("calendar",Calendar$1)}function setKeyInfoToNewElOption(t,r){var n=t.existing;if(r.id=t.keyInfo.id,!r.type&&n&&(r.type=n.type),r.parentId==null){var a=r.parentOption;a?r.parentId=a.id:n&&(r.parentId=n.parentId)}r.parentOption=null}function isSetLoc(t,r){var n;return each$f(r,function(a){t[a]!=null&&t[a]!=="auto"&&(n=!0)}),n}function mergeNewElOptionToExist(t,r,n){var a=extend({},n),o=t[r],s=n.$action||"merge";s==="merge"?o?(merge(o,a,!0),mergeLayoutParam(o,a,{ignoreSize:!0}),copyLayoutParams(n,o),copyTransitionInfo(n,o),copyTransitionInfo(n,o,"shape"),copyTransitionInfo(n,o,"style"),copyTransitionInfo(n,o,"extra"),n.clipPath=o.clipPath):t[r]=a:s==="replace"?t[r]=a:s==="remove"&&o&&(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,n){if(n&&(!t[n]&&r[n]&&(t[n]={}),t=t[n],r=r[n]),!(!t||!r))for(var a=n?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,o=0;o=0;d--){var v=o[d],g=convertOptionIdName(v.id,null),y=g!=null?l.get(g):null;if(y){var S=y.parent,w=inner$7(S),A=S===s?{width:u,height:c}:{width:w.width,height:w.height},M={},L=positionElement(y,v,A,null,{hv:v.hv,boundingMode:v.bounding},M);if(!inner$7(y).isNew&&L){for(var O=v.transition,D={},V=0;V=0)?D[z]=Y:y[z]=Y}updateProps$1(y,D,n,0)}else y.attr(M)}}},r.prototype._clear=function(){var n=this,a=this._elMap;a.each(function(o){removeEl$1(o,inner$7(o).option,a,n._lastGraphicModel)}),this._elMap=createHashMap()},r.prototype.dispose=function(){this._clear()},r.type="graphic",r}(ComponentView$1);function newEl(t){var r=hasOwn$1(nonShapeGraphicElements,t)?nonShapeGraphicElements[t]:getShapeClass(t),n=new r({});return inner$7(n).type=t,n}function createEl(t,r,n,a){var o=newEl(n);return r.add(o),a.set(t,o),inner$7(o).id=t,inner$7(o).isNew=!0,o}function removeEl$1(t,r,n,a){var o=t&&t.parent;o&&(t.type==="group"&&t.traverse(function(s){removeEl$1(s,r,n,a)}),applyLeaveTransition(t,r,a),n.removeKey(inner$7(t).id))}function updateCommonAttrs(t,r,n,a){t.isGroup||each$f([["cursor",Displayable$1.prototype.cursor],["zlevel",a||0],["z",n||0],["z2",0]],function(o){var s=o[0];hasOwn$1(r,s)?t[s]=retrieve2(r[s],o[1]):t[s]==null&&(t[s]=o[1])}),each$f(keys(r),function(o){if(o.indexOf("on")===0){var s=r[o];t[o]=isFunction$1(s)?s:null}}),hasOwn$1(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$f(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(LOCATION_PARAMS),function(r){delete t[r]}),t}function setEventData(t,r,n){var a=getECData(t).eventData;!t.silent&&!t.ignore&&!a&&(a=getECData(t).eventData={componentType:"graphic",componentIndex:r.componentIndex,name:t.name}),a&&(a.info=n.info)}function install$l(t){t.registerComponentModel(GraphicComponentModel),t.registerComponentView(GraphicComponentView),t.registerPreprocessor(function(r){var n=r.graphic;isArray$2(n)?!n[0]||!n[0].elements?r.graphic=[{elements:n}]:r.graphic=[r.graphic[0]]:n&&!n.elements&&(r.graphic=[{elements:[n]}])})}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 n=createHashMap(),a=[],o=createHashMap();t.eachComponent({mainType:"dataZoom",query:r},function(d){o.get(d.uid)||u(d)});var s;do s=!1,t.eachComponent("dataZoom",l);while(s);function l(d){!o.get(d.uid)&&c(d)&&(u(d),s=!0)}function u(d){o.set(d.uid,!0),a.push(d),f(d)}function c(d){var v=!1;return d.eachTargetAxis(function(g,y){var S=n.get(g);S&&S[y]&&(v=!0)}),v}function f(d){d.eachTargetAxis(function(v,g){(n.get(v)||n.set(v,[]))[g]=!0})}return a}function collectReferCoordSysModelInfo(t){var r=t.ecModel,n={infoList:[],infoMap:createHashMap()};return t.eachTargetAxis(function(a,o){var s=r.getComponent(getAxisMainType(a),o);if(s){var l=s.getCoordSysModel();if(l){var u=l.uid,c=n.infoMap.get(u);c||(c={model:l,axisModels:[]},n.infoList.push(c),n.infoMap.set(u,c)),c.axisModels.push(s)}}}),n}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 n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return r.prototype.init=function(n,a,o){var s=retrieveRawOption(n);this.settledOption=s,this.mergeDefaultAndTheme(n,o),this._doInit(s)},r.prototype.mergeOption=function(n){var a=retrieveRawOption(n);merge(this.option,n,!0),merge(this.settledOption,a,!0),this._doInit(a)},r.prototype._doInit=function(n){var a=this.option;this._setDefaultThrottle(n),this._updateRangeUse(n);var o=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(s,l){this._rangePropMode[l]==="value"&&(a[s[0]]=o[s[0]]=null)},this),this._resetTarget()},r.prototype._resetTarget=function(){var n=this.get("orient",!0),a=this._targetAxisInfoMap=createHashMap(),o=this._fillSpecifiedTargetAxis(a);o?this._orient=n||this._makeAutoOrientByTargetAxis():(this._orient=n||"horizontal",this._fillAutoTargetAxisByOrient(a,this._orient)),this._noTarget=!0,a.each(function(s){s.indexList.length&&(this._noTarget=!1)},this)},r.prototype._fillSpecifiedTargetAxis=function(n){var a=!1;return each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(o){var s=this.getReferringComponents(getAxisMainType(o),MULTIPLE_REFERRING);if(s.specified){a=!0;var l=new DataZoomAxisInfo;each$f(s.models,function(u){l.add(u.componentIndex)}),n.set(o,l)}},this),a},r.prototype._fillAutoTargetAxisByOrient=function(n,a){var o=this.ecModel,s=!0;if(s){var l=a==="vertical"?"y":"x",u=o.findComponents({mainType:l+"Axis"});c(u,l)}if(s){var u=o.findComponents({mainType:"singleAxis",filter:function(d){return d.get("orient",!0)===a}});c(u,"single")}function c(f,d){var v=f[0];if(v){var g=new DataZoomAxisInfo;if(g.add(v.componentIndex),n.set(d,g),s=!1,d==="x"||d==="y"){var y=v.getReferringComponents("grid",SINGLE_REFERRING).models[0];y&&each$f(f,function(S){v.componentIndex!==S.componentIndex&&y===S.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&g.add(S.componentIndex)})}}}s&&each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(f){if(s){var d=o.findComponents({mainType:getAxisMainType(f),filter:function(g){return g.get("type",!0)==="category"}});if(d[0]){var v=new DataZoomAxisInfo;v.add(d[0].componentIndex),n.set(f,v),s=!1}}},this)},r.prototype._makeAutoOrientByTargetAxis=function(){var n;return this.eachTargetAxis(function(a){!n&&(n=a)},this),n==="y"?"vertical":"horizontal"},r.prototype._setDefaultThrottle=function(n){if(n.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},r.prototype._updateRangeUse=function(n){var a=this._rangePropMode,o=this.get("rangeMode");each$f([["start","startValue"],["end","endValue"]],function(s,l){var u=n[s[0]]!=null,c=n[s[1]]!=null;u&&!c?a[l]="percent":!u&&c?a[l]="value":o?a[l]=o[l]:u&&(a[l]="percent")})},r.prototype.noTarget=function(){return this._noTarget},r.prototype.getFirstTargetAxisModel=function(){var n;return this.eachTargetAxis(function(a,o){n==null&&(n=this.ecModel.getComponent(getAxisMainType(a),o))},this),n},r.prototype.eachTargetAxis=function(n,a){this._targetAxisInfoMap.each(function(o,s){each$f(o.indexList,function(l){n.call(a,s,l)})})},r.prototype.getAxisProxy=function(n,a){var o=this.getAxisModel(n,a);if(o)return o.__dzAxisProxy},r.prototype.getAxisModel=function(n,a){var o=this._targetAxisInfoMap.get(n);if(o&&o.indexMap[a])return this.ecModel.getComponent(getAxisMainType(n),a)},r.prototype.setRawRange=function(n){var a=this.option,o=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(s){(n[s[0]]!=null||n[s[1]]!=null)&&(a[s[0]]=o[s[0]]=n[s[0]],a[s[1]]=o[s[1]]=n[s[1]])},this),this._updateRangeUse(n)},r.prototype.setCalculatedRange=function(n){var a=this.option;each$f(["start","startValue","end","endValue"],function(o){a[o]=n[o]})},r.prototype.getPercentRange=function(){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataPercentWindow()},r.prototype.getValueRange=function(n,a){if(n==null&&a==null){var o=this.findRepresentativeAxisProxy();if(o)return o.getDataValueWindow()}else return this.getAxisProxy(n,a).getDataValueWindow()},r.prototype.findRepresentativeAxisProxy=function(n){if(n)return n.__dzAxisProxy;for(var a,o=this._targetAxisInfoMap.keys(),s=0;sl[1];if(M&&!L&&!O)return!0;M&&(T=!0),L&&(S=!0),O&&(b=!0)}return T&&S&&b})}else each$7(d,function(y){if(s==="empty")c.setData(f=f.map(y,function(b){return u(b)?b:NaN}));else{var S={};S[y]=l,f.selectRange(S)}});each$7(d,function(y){f.setApproximateExtent(l,y)})}});function u(c){return c>=l[0]&&c<=l[1]}},t.prototype._updateMinMaxSpan=function(){var r=this._minMaxSpan={},n=this._dataZoomModel,a=this._dataExtent;each$7(["min","max"],function(o){var s=n.get(o+"Span"),l=n.get(o+"ValueSpan");l!=null&&(l=this.getAxisModel().axis.scale.parse(l)),l!=null?s=linearMap$2(a[0]+l,a,[0,100],!0):s!=null&&(l=linearMap$2(s,[0,100],a,!0)-a[0]),r[o+"Span"]=s,r[o+"ValueSpan"]=l},this)},t.prototype._setAxisModel=function(){var r=this.getAxisModel(),n=this._percentWindow,a=this._valueWindow;if(n){var o=getPixelPrecision(a,[0,500]);o=Math.min(o,20);var s=r.axis.scale.rawExtentInfo;n[0]!==0&&s.setDeterminedMinMax("min",+a[0].toFixed(o)),n[1]!==100&&s.setDeterminedMinMax("max",+a[1].toFixed(o)),s.freeze()}},t}();function calculateDataExtent(t,r,n){var a=[1/0,-1/0];each$7(n,function(l){unionAxisExtentFromData(a,l.getData(),r)});var o=t.getAxisModel(),s=ensureScaleRawExtentInfo(o.axis.scale,o,a).calculate();return[s.min,s.max]}const AxisProxy$1=AxisProxy;var dataZoomProcessor={getTargetSeries:function(t){function r(o){t.eachComponent("dataZoom",function(s){s.eachTargetAxis(function(l,u){var c=t.getComponent(getAxisMainType(l),u);o(l,u,c,s)})})}r(function(o,s,l,u){l.__dzAxisProxy=null});var n=[];r(function(o,s,l,u){l.__dzAxisProxy||(l.__dzAxisProxy=new AxisProxy$1(o,s,u,t),n.push(l.__dzAxisProxy))});var a=createHashMap();return each$f(n,function(o){each$f(o.getTargetSeriesModels(),function(s){a.set(s.uid,s)})}),a},overallReset:function(t,r){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(a,o){n.getAxisProxy(a,o).reset(n)}),n.eachTargetAxis(function(a,o){n.getAxisProxy(a,o).filterData(n,r)})}),t.eachComponent("dataZoom",function(n){var a=n.findRepresentativeAxisProxy();if(a){var o=a.getDataPercentWindow(),s=a.getDataValueWindow();n.setCalculatedRange({start:o[0],end:o[1],startValue:s[0],endValue:s[1]})}})}};const dataZoomProcessor$1=dataZoomProcessor;function installDataZoomAction(t){t.registerAction("dataZoom",function(r,n){var a=findEffectedDataZooms(n,r);each$f(a,function(o){o.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$k(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 n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var n=this.ecModel;each$f(this.option.feature,function(a,o){var s=getFeature(o);s&&(s.getDefaultOption&&(s.defaultOption=s.getDefaultOption(n)),merge(a,s.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,n){var a=r.getBoxLayoutParams(),o=r.get("padding"),s={width:n.getWidth(),height:n.getHeight()},l=getLayoutRect(a,s,o);box(r.get("orient"),t,r.get("itemGap"),l.width,l.height),positionElement(t,a,s,o)}function makeBackground(t,r){var n=normalizeCssArray(r.get("padding")),a=r.getItemStyle(["color","opacity"]);return a.fill=r.get("backgroundColor"),t=new Rect$3({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:r.get("borderRadius")},style:a,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(n,a,o,s){var l=this.group;if(l.removeAll(),!n.get("show"))return;var u=+n.get("itemSize"),c=n.get("orient")==="vertical",f=n.get("feature")||{},d=this._features||(this._features={}),v=[];each$f(f,function(S,b){v.push(b)}),new DataDiffer$1(this._featureNames||[],v).add(g).update(g).remove(curry$1(g,null)).execute(),this._featureNames=v;function g(S,b){var T=v[S],w=v[b],A=f[T],M=new Model$1(A,n,n.ecModel),L;if(s&&s.newTitle!=null&&s.featureName===T&&(A.title=s.newTitle),T&&!w){if(isUserFeatureName(T))L={onclick:M.option.onclick,featureName:T};else{var O=getFeature(T);if(!O)return;L=new O}d[T]=L}else if(L=d[w],!L)return;L.uid=getUID("toolbox-feature"),L.model=M,L.ecModel=a,L.api=o;var D=L instanceof ToolboxFeature;if(!T&&w){D&&L.dispose&&L.dispose(a,o);return}if(!M.get("show")||D&&L.unusable){D&&L.remove&&L.remove(a,o);return}y(M,L,T),M.setIconStatus=function(V,z){var Y=this.option,ie=this.iconPaths;Y.iconStatus=Y.iconStatus||{},Y.iconStatus[V]=z,ie[V]&&(z==="emphasis"?enterEmphasis:leaveEmphasis)(ie[V])},L instanceof ToolboxFeature&&L.render&&L.render(M,a,o,s)}function y(S,b,T){var w=S.getModel("iconStyle"),A=S.getModel(["emphasis","iconStyle"]),M=b instanceof ToolboxFeature&&b.getIcons?b.getIcons():S.get("icon"),L=S.get("title")||{},O,D;isString$1(M)?(O={},O[T]=M):O=M,isString$1(L)?(D={},D[T]=L):D=L;var V=S.iconPaths={};each$f(O,function(z,Y){var ie=createIcon(z,{},{x:-u/2,y:-u/2,width:u,height:u});ie.setStyle(w.getItemStyle());var j=ie.ensureState("emphasis");j.style=A.getItemStyle();var le=new ZRText$1({style:{text:D[Y],align:A.get("textAlign"),borderRadius:A.get("textBorderRadius"),padding:A.get("textPadding"),fill:null},ignore:!0});ie.setTextContent(le),setTooltipConfig({el:ie,componentModel:n,itemName:Y,formatterParamsExtra:{title:D[Y]}}),ie.__title=D[Y],ie.on("mouseover",function(){var de=A.getItemStyle(),xe=c?n.get("right")==null&&n.get("left")!=="right"?"right":"left":n.get("bottom")==null&&n.get("top")!=="bottom"?"bottom":"top";le.setStyle({fill:A.get("textFill")||de.fill||de.stroke||"#000",backgroundColor:A.get("textBackgroundColor")}),ie.setTextConfig({position:A.get("textPosition")||xe}),le.ignore=!n.get("showTitle"),o.enterEmphasis(this)}).on("mouseout",function(){S.get(["iconStatus",Y])!=="emphasis"&&o.leaveEmphasis(this),le.hide()}),(S.get(["iconStatus",Y])==="emphasis"?enterEmphasis:leaveEmphasis)(ie),l.add(ie),ie.on("click",bind$1(b.onclick,b,a,o,Y)),V[Y]=ie})}layout(l,n,o),l.add(makeBackground(l.getBoundingRect(),n)),c||l.eachChild(function(S){var b=S.__title,T=S.ensureState("emphasis"),w=T.textConfig||(T.textConfig={}),A=S.getTextContent(),M=A&&A.ensureState("emphasis");if(M&&!isFunction$1(M)&&b){var L=M.style||(M.style={}),O=getBoundingRect(b,ZRText$1.makeFont(L)),D=S.x+l.x,V=S.y+l.y+u,z=!1;V+O.height>o.getHeight()&&(w.position="top",z=!0);var Y=z?-5-O.height:u+10;D+O.width/2>o.getWidth()?(w.position=["100%",Y],L.align="right"):D-O.width/2<0&&(w.position=[0,Y],L.align="left")}})},r.prototype.updateView=function(n,a,o,s){each$f(this._features,function(l){l instanceof ToolboxFeature&&l.updateView&&l.updateView(l.model,a,o,s)})},r.prototype.remove=function(n,a){each$f(this._features,function(o){o instanceof ToolboxFeature&&o.remove&&o.remove(n,a)}),this.group.removeAll()},r.prototype.dispose=function(n,a){each$f(this._features,function(o){o instanceof ToolboxFeature&&o.dispose&&o.dispose(n,a)})},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(n,a){var o=this.model,s=o.get("name")||n.get("title.0.text")||"echarts",l=a.getZr().painter.getType()==="svg",u=l?"svg":o.get("type",!0)||"png",c=a.getConnectedDataURL({type:u,backgroundColor:o.get("backgroundColor",!0)||n.get("backgroundColor")||"#fff",connectedBackgroundColor:o.get("connectedBackgroundColor"),excludeComponents:o.get("excludeComponents"),pixelRatio:o.get("pixelRatio")}),f=env$1.browser;if(isFunction$1(MouseEvent)&&(f.newEdge||!f.ie&&!f.edge)){var d=document.createElement("a");d.download=s+"."+u,d.target="_blank",d.href=c;var v=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});d.dispatchEvent(v)}else if(window.navigator.msSaveOrOpenBlob||l){var g=c.split(","),y=g[0].indexOf("base64")>-1,S=l?decodeURIComponent(g[1]):g[1];y&&(S=window.atob(S));var b=s+"."+u;if(window.navigator.msSaveOrOpenBlob){for(var T=S.length,w=new Uint8Array(T);T--;)w[T]=S.charCodeAt(T);var A=new Blob([w]);window.navigator.msSaveOrOpenBlob(A,b)}else{var M=document.createElement("iframe");document.body.appendChild(M);var L=M.contentWindow,O=L.document;O.open("image/svg+xml","replace"),O.write(S),O.close(),L.focus(),O.execCommand("SaveAs",!0,b),document.body.removeChild(M)}}else{var D=o.get("lang"),V='',z=window.open();z.document.write(V),z.document.title=s}},r.getDefaultOption=function(n){var a={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:n.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:n.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return a},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 n=this.model,a=n.get("icon"),o={};return each$f(n.get("type"),function(s){a[s]&&(o[s]=a[s])}),o},r.getDefaultOption=function(n){var a={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:n.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return a},r.prototype.onclick=function(n,a,o){var s=this.model,l=s.get(["seriesIndex",o]);if(seriesOptGenreator[o]){var u={series:[]},c=function(v){var g=v.subType,y=v.id,S=seriesOptGenreator[o](g,y,v,s);S&&(defaults(S,v.option),u.series.push(S));var b=v.coordinateSystem;if(b&&b.type==="cartesian2d"&&(o==="line"||o==="bar")){var T=b.getAxesByScale("ordinal")[0];if(T){var w=T.dim,A=w+"Axis",M=v.getReferringComponents(A,SINGLE_REFERRING).models[0],L=M.componentIndex;u[A]=u[A]||[];for(var O=0;O<=L;O++)u[A][L]=u[A][L]||{};u[A][L].boundaryGap=o==="bar"}}};each$f(radioTypes,function(v){indexOf(v,o)>=0&&each$f(v,function(g){s.setIconStatus(g,"normal")})}),s.setIconStatus(o,"emphasis"),n.eachComponent({mainType:"series",query:l==null?null:{seriesIndex:l}},c);var f,d=o;o==="stack"&&(f=merge({stack:s.option.title.tiled,tiled:s.option.title.stack},s.option.title),s.get(["iconStatus",o])!=="emphasis"&&(d="tiled")),a.dispatchAction({type:"changeMagicType",currentType:d,newOption:u,newTitle:f,featureName:"magicType"})}},r}(ToolboxFeature),seriesOptGenreator={line:function(t,r,n,a){if(t==="bar")return merge({id:r,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(t,r,n,a){if(t==="line")return merge({id:r,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(t,r,n,a){var o=n.get("stack")===INNER_STACK_KEYWORD;if(t==="line"||t==="bar")return a.setIconStatus("stack",o?"normal":"emphasis"),merge({id:r,stack:o?"":INNER_STACK_KEYWORD},a.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={},n=[],a=[];return t.eachRawSeries(function(o){var s=o.coordinateSystem;if(s&&(s.type==="cartesian2d"||s.type==="polar")){var l=s.getBaseAxis();if(l.type==="category"){var u=l.dim+"_"+l.index;r[u]||(r[u]={categoryAxis:l,valueAxis:s.getOtherAxis(l),series:[]},a.push({axisDim:l.dim,axisIndex:l.index})),r[u].series.push(o)}else n.push(o)}else n.push(o)}),{seriesGroupByCategoryAxis:r,other:n,meta:a}}function assembleSeriesWithCategoryAxis(t){var r=[];return each$f(t,function(n,a){var o=n.categoryAxis,s=n.valueAxis,l=s.dim,u=[" "].concat(map$1(n.series,function(y){return y.name})),c=[o.model.getCategories()];each$f(n.series,function(y){var S=y.getRawData();c.push(y.getRawData().mapArray(S.mapDimension(l),function(b){return b}))});for(var f=[u.join(ITEM_SPLITER)],d=0;d=0)return!0}var itemSplitRegex=new RegExp("["+ITEM_SPLITER+"]+","g");function parseTSVContents(t){for(var r=t.split(/\n+/g),n=trim(r.shift()).split(itemSplitRegex),a=[],o=map$1(n,function(c){return{name:c,data:[]}}),s=0;s=0;s--){var l=n[s];if(l[o])break}if(s<0){var u=t.queryComponents({mainType:"dataZoom",subType:"select",id:o})[0];if(u){var c=u.getPercentRange();n[0][o]={dataZoomId:o,start:c[0],end:c[1]}}}}),n.push(r)}function pop(t){var r=getStoreSnapshots(t),n=r[r.length-1];r.length>1&&r.pop();var a={};return each$6(n,function(o,s){for(var l=r.length-1;l>=0;l--)if(o=r[l][s],o){a[s]=o;break}}),a}function clear(t){inner$6(t).snapshots=null}function count(t){return getStoreSnapshots(t).length}function getStoreSnapshots(t){var r=inner$6(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(n,a){clear(n),a.dispatchAction({type:"restore",from:this.uid})},r.getDefaultOption=function(n){var a={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:n.getLocaleModel().get(["toolbox","restore","title"])};return a},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,n,a){var o=this;this._targetInfoList=[];var s=parseFinder(n,r);each$f(targetInfoBuilders,function(l,u){(!a||!a.include||indexOf(a.include,u)>=0)&&l(s,o._targetInfoList)})}return t.prototype.setOutputRanges=function(r,n){return this.matchOutputRanges(r,n,function(a,o,s){if((a.coordRanges||(a.coordRanges=[])).push(o),!a.coordRange){a.coordRange=o;var l=coordConvert[a.brushType](0,s,o);a.__rangeOffset={offset:diffProcessor[a.brushType](l.values,a.range,[1,1]),xyMinMax:l.xyMinMax}}}),r},t.prototype.matchOutputRanges=function(r,n,a){each$f(r,function(o){var s=this.findTargetInfo(o,n);s&&s!==!0&&each$f(s.coordSyses,function(l){var u=coordConvert[o.brushType](1,l,o.range,!0);a(o,u.values,l,n)})},this)},t.prototype.setInputRanges=function(r,n){each$f(r,function(a){var o=this.findTargetInfo(a,n);if(a.range=a.range||[],o&&o!==!0){a.panelId=o.panelId;var s=coordConvert[a.brushType](0,o.coordSys,a.coordRange),l=a.__rangeOffset;a.range=l?diffProcessor[a.brushType](s.values,l.offset,getScales(s.xyMinMax,l.xyMinMax)):s.values}},this)},t.prototype.makePanelOpts=function(r,n){return map$1(this._targetInfoList,function(a){var o=a.getPanelRect();return{panelId:a.panelId,defaultBrushType:n?n(a):null,clipPath:makeRectPanelClipPath(o),isTargetByCursor:makeRectIsTargetByCursor(o,r,a.coordSysModel),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(o)}})},t.prototype.controlSeries=function(r,n,a){var o=this.findTargetInfo(r,a);return o===!0||o&&indexOf(o.coordSyses,n.coordinateSystem)>=0},t.prototype.findTargetInfo=function(r,n){for(var a=this._targetInfoList,o=parseFinder(n,r),s=0;st[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 n=t.xAxisModels,a=t.yAxisModels,o=t.gridModels,s=createHashMap(),l={},u={};!n&&!a&&!o||(each$f(n,function(c){var f=c.axis.grid.model;s.set(f.id,f),l[f.id]=!0}),each$f(a,function(c){var f=c.axis.grid.model;s.set(f.id,f),u[f.id]=!0}),each$f(o,function(c){s.set(c.id,c),l[c.id]=!0,u[c.id]=!0}),s.each(function(c){var f=c.coordinateSystem,d=[];each$f(f.getCartesians(),function(v,g){(indexOf(n,v.getAxis("x").model)>=0||indexOf(a,v.getAxis("y").model)>=0)&&d.push(v)}),r.push({panelId:"grid--"+c.id,gridModel:c,coordSysModel:c,coordSys:d[0],coordSyses:d,getPanelRect:panelRectBuilders.grid,xAxisDeclared:l[c.id],yAxisDeclared:u[c.id]})}))},geo:function(t,r){each$f(t.geoModels,function(n){var a=n.coordinateSystem;r.push({panelId:"geo--"+n.id,geoModel:n,coordSysModel:n,coordSys:a,coordSyses:[a],getPanelRect:panelRectBuilders.geo})})}},targetInfoMatchers=[function(t,r){var n=t.xAxisModel,a=t.yAxisModel,o=t.gridModel;return!o&&n&&(o=n.axis.grid.model),!o&&a&&(o=a.axis.grid.model),o&&o===r.gridModel},function(t,r){var n=t.geoModel;return n&&n===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,n,a){var o=t?r.pointToData([n[0][0],n[1][0]],a):r.dataToPoint([n[0][0],n[1][0]],a),s=t?r.pointToData([n[0][1],n[1][1]],a):r.dataToPoint([n[0][1],n[1][1]],a),l=[formatMinMax([o[0],s[0]]),formatMinMax([o[1],s[1]])];return{values:l,xyMinMax:l}},polygon:function(t,r,n,a){var o=[[1/0,-1/0],[1/0,-1/0]],s=map$1(n,function(l){var u=t?r.pointToData(l,a):r.dataToPoint(l,a);return o[0][0]=Math.min(o[0][0],u[0]),o[1][0]=Math.min(o[1][0],u[1]),o[0][1]=Math.max(o[0][1],u[0]),o[1][1]=Math.max(o[1][1],u[1]),u});return{values:s,xyMinMax:o}}};function axisConvert(t,r,n,a){var o=n.getAxis(["x","y"][t]),s=formatMinMax(map$1([0,1],function(u){return r?o.coordToData(o.toLocalCoord(a[u]),!0):o.toGlobalCoord(o.dataToCoord(a[u]))})),l=[];return l[t]=s,l[1-t]=[NaN,NaN],{values:s,xyMinMax:l}}var diffProcessor={lineX:curry$1(axisDiffProcessor,0),lineY:curry$1(axisDiffProcessor,1),rect:function(t,r,n){return[[t[0][0]-n[0]*r[0][0],t[0][1]-n[0]*r[0][1]],[t[1][0]-n[1]*r[1][0],t[1][1]-n[1]*r[1][1]]]},polygon:function(t,r,n){return map$1(t,function(a,o){return[a[0]-n[0]*r[o][0],a[1]-n[1]*r[o][1]]})}};function axisDiffProcessor(t,r,n,a){return[r[0]-a[t]*n[0],r[1]-a[t]*n[1]]}function getScales(t,r){var n=getSize(t),a=getSize(r),o=[n[0]/a[0],n[1]/a[1]];return isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o}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$f,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(n,a,o,s){this._brushController||(this._brushController=new BrushController$1(o.getZr()),this._brushController.on("brush",bind$1(this._onBrush,this)).mount()),updateZoomBtnStatus(n,a,this,s,o),updateBackBtnStatus(n,a)},r.prototype.onclick=function(n,a,o){handlers[o].call(this)},r.prototype.remove=function(n,a){this._brushController&&this._brushController.unmount()},r.prototype.dispose=function(n,a){this._brushController&&this._brushController.dispose()},r.prototype._onBrush=function(n){var a=n.areas;if(!n.isEnd||!a.length)return;var o={},s=this.ecModel;this._brushController.updateCovers([]);var l=new BrushTargetManager$1(makeAxisFinder(this.model),s,{include:["grid"]});l.matchOutputRanges(a,s,function(f,d,v){if(v.type==="cartesian2d"){var g=f.brushType;g==="rect"?(u("x",v,d[0]),u("y",v,d[1])):u({lineX:"x",lineY:"y"}[g],v,d)}}),push(s,o),this._dispatchZoomAction(o);function u(f,d,v){var g=d.getAxis(f),y=g.model,S=c(f,y,s),b=S.findRepresentativeAxisProxy(y).getMinMaxSpan();(b.minValueSpan!=null||b.maxValueSpan!=null)&&(v=sliderMove(0,v.slice(),g.scale.getExtent(),0,b.minValueSpan,b.maxValueSpan)),S&&(o[S.id]={dataZoomId:S.id,startValue:v[0],endValue:v[1]})}function c(f,d,v){var g;return v.eachComponent({mainType:"dataZoom",subType:"select"},function(y){var S=y.getAxisModel(f,d.componentIndex);S&&(g=y)}),g}},r.prototype._dispatchZoomAction=function(n){var a=[];each$5(n,function(o,s){a.push(clone$4(o))}),a.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:a})},r.getDefaultOption=function(n){var a={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:n.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return a},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,n,a,o){var s=n._isZoomActive;a&&a.type==="takeGlobalCursor"&&(s=a.key==="dataZoomSelect"?a.dataZoomSelectActive:!1),n._isZoomActive=s,t.setIconStatus("zoom",s?"emphasis":"normal");var l=new BrushTargetManager$1(makeAxisFinder(t),r,{include:["grid"]}),u=l.makePanelOpts(o,function(c){return c.xAxisDeclared&&!c.yAxisDeclared?"lineX":!c.xAxisDeclared&&c.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(u).enableBrush(s&&u.length?{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()}:!1)}registerInternalOptionCreator("dataZoom",function(t){var r=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(!r||r.get(n)==null)return;var a=r.getModel(n),o=[],s=makeAxisFinder(a),l=parseFinder$1(t,s);each$5(l.xAxisModels,function(c){return u(c,"xAxis","xAxisIndex")}),each$5(l.yAxisModels,function(c){return u(c,"yAxis","yAxisIndex")});function u(c,f,d){var v=c.componentIndex,g={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:DATA_ZOOM_ID_BASE+f+v};g[d]=v,o.push(g)}return o});const DataZoom=DataZoomFeature;function install$j(t){t.registerComponentModel(ToolboxModel$1),t.registerComponentView(ToolboxView$1),registerFeature("saveAsImage",SaveAsImage$1),registerFeature("magicType",MagicType$1),registerFeature("dataView",DataView$1),registerFeature("dataZoom",DataZoom),registerFeature("restore",Restore),use(install$k)}var TooltipModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}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,n=0,a=t.length;n-1?(u+="top:50%",c+="translateY(-50%) rotate("+(f=s==="left"?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(f=s==="top"?225:45)+"deg)");var d=f*Math.PI/180,v=l+o,g=v*Math.abs(Math.cos(d))+v*Math.abs(Math.sin(d)),y=Math.round(((g-Math.SQRT2*o)/2+Math.SQRT2*o-(g-v)/2)*100)/100;u+=";"+s+":-"+y+"px";var S=r+" solid "+o+"px;",b=["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",u+";"+c+";","border-bottom:"+S,"border-right:"+S,"background-color:"+a+";"];return'
'}function assembleTransition(t,r){var n="cubic-bezier(0.23,1,0.32,1)",a=" "+t/2+"s "+n,o="opacity"+a+",visibility"+a;return r||(a=" "+t+"s "+n,o+=env$1.transformSupported?","+CSS_TRANSFORM_VENDOR+a:",left"+a+",top"+a),CSS_TRANSITION_VENDOR+":"+o}function assembleTransform(t,r,n){var a=t.toFixed(0)+"px",o=r.toFixed(0)+"px";if(!env$1.transformSupported)return n?"top:"+o+";left:"+a+";":[["top",o],["left",a]];var s=env$1.transform3dSupported,l="translate"+(s?"3d":"")+"("+a+","+o+(s?",0":"")+")";return n?"top:0;left:0;"+CSS_TRANSFORM_VENDOR+":"+l+";":[["top",0],["left",0],[TRANSFORM_VENDOR,l]]}function assembleFont(t){var r=[],n=t.get("fontSize"),a=t.getTextColor();a&&r.push("color:"+a),r.push("font:"+t.getFont()),n&&r.push("line-height:"+Math.round(n*3/2)+"px");var o=t.get("textShadowColor"),s=t.get("textShadowBlur")||0,l=t.get("textShadowOffsetX")||0,u=t.get("textShadowOffsetY")||0;return o&&s&&r.push("text-shadow:"+l+"px "+u+"px "+s+"px "+o),each$f(["decoration","align"],function(c){var f=t.get(c);f&&r.push("text-"+c+":"+f)}),r.join(";")}function assembleCssText(t,r,n){var a=[],o=t.get("transitionDuration"),s=t.get("backgroundColor"),l=t.get("shadowBlur"),u=t.get("shadowColor"),c=t.get("shadowOffsetX"),f=t.get("shadowOffsetY"),d=t.getModel("textStyle"),v=getPaddingFromTooltipModel(t,"html"),g=c+"px "+f+"px "+l+"px "+u;return a.push("box-shadow:"+g),r&&o&&a.push(assembleTransition(o,n)),s&&a.push("background-color:"+s),each$f(["width","color","radius"],function(y){var S="border-"+y,b=toCamelCase(S),T=t.get(b);T!=null&&a.push(S+":"+T+(y==="color"?"":"px"))}),a.push(assembleFont(d)),v!=null&&a.push("padding:"+normalizeCssArray(v).join("px ")+"px"),a.join(";")+";"}function makeStyleCoord$1(t,r,n,a,o){var s=r&&r.painter;if(n){var l=s&&s.getViewportRoot();l&&transformLocalCoord(t,l,document.body,a,o)}else{t[0]=a,t[1]=o;var u=s&&s.getViewportRootOffset();u&&(t[0]+=u.offsetLeft,t[1]+=u.offsetTop)}t[2]=t[0]/r.getWidth(),t[3]=t[1]/r.getHeight()}var TooltipHTMLContent=function(){function t(r,n,a){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 o=document.createElement("div");o.domBelongToZr=!0,this.el=o;var s=this._zr=n.getZr(),l=this._appendToBody=a&&a.appendToBody;makeStyleCoord$1(this._styleCoord,s,l,n.getWidth()/2,n.getHeight()/2),l?document.body.appendChild(o):r.appendChild(o),this._container=r;var u=this;o.onmouseenter=function(){u._enterable&&(clearTimeout(u._hideTimeout),u._show=!0),u._inContent=!0},o.onmousemove=function(c){if(c=c||window.event,!u._enterable){var f=s.handler,d=s.painter.getViewportRoot();normalizeEvent(d,c,!0),f.dispatch("mousemove",c)}},o.onmouseleave=function(){u._inContent=!1,u._enterable&&u._show&&u.hideLater(u._hideDelay)}}return t.prototype.update=function(r){var n=this._container,a=getComputedStyle$1(n,"position"),o=n.style;o.position!=="absolute"&&a!=="absolute"&&(o.position="relative");var s=r.get("alwaysShowContent");s&&this._moveIfResized(),this._alwaysShowContent=s,this.el.className=r.get("className")||""},t.prototype.show=function(r,n){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var a=this.el,o=a.style,s=this._styleCoord;a.innerHTML?o.cssText=gCssText+assembleCssText(r,!this._firstShow,this._longHide)+assembleTransform(s[0],s[1],!0)+("border-color:"+convertToColorString(n)+";")+(r.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):o.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(r,n,a,o,s){var l=this.el;if(r==null){l.innerHTML="";return}var u="";if(isString$1(s)&&a.get("trigger")==="item"&&!shouldTooltipConfine(a)&&(u=assembleArrow(a,o,s)),isString$1(r))l.innerHTML=r+u;else if(r){l.innerHTML="",isArray$2(r)||(r=[r]);for(var c=0;c=0?this._tryShow(s,l):o==="leave"&&this._hide(l))},this))},r.prototype._keepShow=function(){var n=this._tooltipModel,a=this._ecModel,o=this._api,s=n.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&s!=="none"&&s!=="click"){var l=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!o.isDisposed()&&l.manuallyShowTip(n,a,o,{x:l._lastX,y:l._lastY,dataByCoordSys:l._lastDataByCoordSys})})}},r.prototype.manuallyShowTip=function(n,a,o,s){if(!(s.from===this.uid||env$1.node||!o.getDom())){var l=makeDispatchAction(s,o);this._ticket="";var u=s.dataByCoordSys,c=findComponentReference(s,a,o);if(c){var f=c.el.getBoundingRect().clone();f.applyTransform(c.el.transform),this._tryShow({offsetX:f.x+f.width/2,offsetY:f.y+f.height/2,target:c.el,position:s.position,positionDefault:"bottom"},l)}else if(s.tooltip&&s.x!=null&&s.y!=null){var d=proxyRect;d.x=s.x,d.y=s.y,d.update(),getECData(d).tooltipConfig={name:null,option:s.tooltip},this._tryShow({offsetX:s.x,offsetY:s.y,target:d},l)}else if(u)this._tryShow({offsetX:s.x,offsetY:s.y,position:s.position,dataByCoordSys:u,tooltipOption:s.tooltipOption},l);else if(s.seriesIndex!=null){if(this._manuallyAxisShowTip(n,a,o,s))return;var v=findPointFromSeries(s,a),g=v.point[0],y=v.point[1];g!=null&&y!=null&&this._tryShow({offsetX:g,offsetY:y,target:v.el,position:s.position,positionDefault:"bottom"},l)}else s.x!=null&&s.y!=null&&(o.dispatchAction({type:"updateAxisPointer",x:s.x,y:s.y}),this._tryShow({offsetX:s.x,offsetY:s.y,position:s.position,target:o.getZr().findHover(s.x,s.y).target},l))}},r.prototype.manuallyHideTip=function(n,a,o,s){var l=this._tooltipContent;this._tooltipModel&&l.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,s.from!==this.uid&&this._hide(makeDispatchAction(s,o))},r.prototype._manuallyAxisShowTip=function(n,a,o,s){var l=s.seriesIndex,u=s.dataIndex,c=a.getComponent("axisPointer").coordSysAxesInfo;if(!(l==null||u==null||c==null)){var f=a.getSeriesByIndex(l);if(f){var d=f.getData(),v=buildTooltipModel([d.getItemModel(u),f,(f.coordinateSystem||{}).model],this._tooltipModel);if(v.get("trigger")==="axis")return o.dispatchAction({type:"updateAxisPointer",seriesIndex:l,dataIndex:u,position:s.position}),!0}}},r.prototype._tryShow=function(n,a){var o=n.target,s=this._tooltipModel;if(s){this._lastX=n.offsetX,this._lastY=n.offsetY;var l=n.dataByCoordSys;if(l&&l.length)this._showAxisTooltip(l,n);else if(o){this._lastDataByCoordSys=null;var u,c;findEventDispatcher(o,function(f){if(getECData(f).dataIndex!=null)return u=f,!0;if(getECData(f).tooltipConfig!=null)return c=f,!0},!0),u?this._showSeriesItemTooltip(n,u,a):c?this._showComponentItemTooltip(n,c,a):this._hide(a)}else this._lastDataByCoordSys=null,this._hide(a)}},r.prototype._showOrMove=function(n,a){var o=n.get("showDelay");a=bind$1(a,this),clearTimeout(this._showTimout),o>0?this._showTimout=setTimeout(a,o):a()},r.prototype._showAxisTooltip=function(n,a){var o=this._ecModel,s=this._tooltipModel,l=[a.offsetX,a.offsetY],u=buildTooltipModel([a.tooltipOption],s),c=this._renderMode,f=[],d=createTooltipMarkup("section",{blocks:[],noHeader:!0}),v=[],g=new TooltipMarkupStyleCreator;each$f(n,function(A){each$f(A.dataByAxis,function(M){var L=o.getComponent(M.axisDim+"Axis",M.axisIndex),O=M.value;if(!(!L||O==null)){var D=getValueLabel(O,L.axis,o,M.seriesDataIndices,M.valueLabelOpt),V=createTooltipMarkup("section",{header:D,noHeader:!trim$1(D),sortBlocks:!0,blocks:[]});d.blocks.push(V),each$f(M.seriesDataIndices,function(z){var Y=o.getSeriesByIndex(z.seriesIndex),ie=z.dataIndexInside,j=Y.getDataParams(ie);if(!(j.dataIndex<0)){j.axisDim=M.axisDim,j.axisIndex=M.axisIndex,j.axisType=M.axisType,j.axisId=M.axisId,j.axisValue=getAxisRawValue(L.axis,{value:O}),j.axisValueLabel=D,j.marker=g.makeTooltipMarker("item",convertToColorString(j.color),c);var le=normalizeTooltipFormatResult(Y.formatTooltip(ie,!0,null)),de=le.frag;if(de){var xe=buildTooltipModel([Y],s).get("valueFormatter");V.blocks.push(xe?extend({valueFormatter:xe},de):de)}le.text&&v.push(le.text),f.push(j)}})}})}),d.blocks.reverse(),v.reverse();var y=a.position,S=u.get("order"),b=buildTooltipMarkup(d,g,c,S,o.get("useUTC"),u.get("textStyle"));b&&v.unshift(b);var T=c==="richText"?` + +`:"
",w=v.join(T);this._showOrMove(u,function(){this._updateContentNotChangedOnAxis(n,f)?this._updatePosition(u,y,l[0],l[1],this._tooltipContent,f):this._showTooltipContent(u,w,f,Math.random()+"",l[0],l[1],y,null,g)})},r.prototype._showSeriesItemTooltip=function(n,a,o){var s=this._ecModel,l=getECData(a),u=l.seriesIndex,c=s.getSeriesByIndex(u),f=l.dataModel||c,d=l.dataIndex,v=l.dataType,g=f.getData(v),y=this._renderMode,S=n.positionDefault,b=buildTooltipModel([g.getItemModel(d),f,c&&(c.coordinateSystem||{}).model],this._tooltipModel,S?{position:S}:null),T=b.get("trigger");if(!(T!=null&&T!=="item")){var w=f.getDataParams(d,v),A=new TooltipMarkupStyleCreator;w.marker=A.makeTooltipMarker("item",convertToColorString(w.color),y);var M=normalizeTooltipFormatResult(f.formatTooltip(d,!1,v)),L=b.get("order"),O=b.get("valueFormatter"),D=M.frag,V=D?buildTooltipMarkup(O?extend({valueFormatter:O},D):D,A,y,L,s.get("useUTC"),b.get("textStyle")):M.text,z="item_"+f.name+"_"+d;this._showOrMove(b,function(){this._showTooltipContent(b,V,w,z,n.offsetX,n.offsetY,n.position,n.target,A)}),o({type:"showTip",dataIndexInside:d,dataIndex:g.getRawIndex(d),seriesIndex:u,from:this.uid})}},r.prototype._showComponentItemTooltip=function(n,a,o){var s=getECData(a),l=s.tooltipConfig,u=l.option||{};if(isString$1(u)){var c=u;u={content:c,formatter:c}}var f=[u],d=this._ecModel.getComponent(s.componentMainType,s.componentIndex);d&&f.push(d),f.push({formatter:u.content});var v=n.positionDefault,g=buildTooltipModel(f,this._tooltipModel,v?{position:v}:null),y=g.get("content"),S=Math.random()+"",b=new TooltipMarkupStyleCreator;this._showOrMove(g,function(){var T=clone$4(g.get("formatterParams")||{});this._showTooltipContent(g,y,T,S,n.offsetX,n.offsetY,n.position,a,b)}),o({type:"showTip",from:this.uid})},r.prototype._showTooltipContent=function(n,a,o,s,l,u,c,f,d){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var v=this._tooltipContent;v.setEnterable(n.get("enterable"));var g=n.get("formatter");c=c||n.get("position");var y=a,S=this._getNearestPoint([l,u],o,n.get("trigger"),n.get("borderColor")),b=S.color;if(g)if(isString$1(g)){var T=n.ecModel.get("useUTC"),w=isArray$2(o)?o[0]:o,A=w&&w.axisType&&w.axisType.indexOf("time")>=0;y=g,A&&(y=format(w.axisValue,y,T)),y=formatTpl(y,o,!0)}else if(isFunction$1(g)){var M=bind$1(function(L,O){L===this._ticket&&(v.setContent(O,d,n,b,c),this._updatePosition(n,c,l,u,v,o,f))},this);this._ticket=s,y=g(o,s,M)}else y=g;v.setContent(y,d,n,b,c),v.show(n,b),this._updatePosition(n,c,l,u,v,o,f)}},r.prototype._getNearestPoint=function(n,a,o,s){if(o==="axis"||isArray$2(a))return{color:s||(this._renderMode==="html"?"#fff":"none")};if(!isArray$2(a))return{color:s||a.color||a.borderColor}},r.prototype._updatePosition=function(n,a,o,s,l,u,c){var f=this._api.getWidth(),d=this._api.getHeight();a=a||n.get("position");var v=l.getSize(),g=n.get("align"),y=n.get("verticalAlign"),S=c&&c.getBoundingRect().clone();if(c&&S.applyTransform(c.transform),isFunction$1(a)&&(a=a([o,s],u,l.el,S,{viewSize:[f,d],contentSize:v.slice()})),isArray$2(a))o=parsePercent(a[0],f),s=parsePercent(a[1],d);else if(isObject$4(a)){var b=a;b.width=v[0],b.height=v[1];var T=getLayoutRect(b,{width:f,height:d});o=T.x,s=T.y,g=null,y=null}else if(isString$1(a)&&c){var w=calcTooltipPosition(a,S,v,n.get("borderWidth"));o=w[0],s=w[1]}else{var w=refixTooltipPosition(o,s,l,f,d,g?null:20,y?null:20);o=w[0],s=w[1]}if(g&&(o-=isCenterAlign(g)?v[0]/2:g==="right"?v[0]:0),y&&(s-=isCenterAlign(y)?v[1]/2:y==="bottom"?v[1]:0),shouldTooltipConfine(n)){var w=confineTooltipPosition(o,s,l,f,d);o=w[0],s=w[1]}l.moveTo(o,s)},r.prototype._updateContentNotChangedOnAxis=function(n,a){var o=this._lastDataByCoordSys,s=this._cbParamsList,l=!!o&&o.length===n.length;return l&&each$f(o,function(u,c){var f=u.dataByAxis||[],d=n[c]||{},v=d.dataByAxis||[];l=l&&f.length===v.length,l&&each$f(f,function(g,y){var S=v[y]||{},b=g.seriesDataIndices||[],T=S.seriesDataIndices||[];l=l&&g.value===S.value&&g.axisType===S.axisType&&g.axisId===S.axisId&&b.length===T.length,l&&each$f(b,function(w,A){var M=T[A];l=l&&w.seriesIndex===M.seriesIndex&&w.dataIndex===M.dataIndex}),s&&each$f(g.seriesDataIndices,function(w){var A=w.seriesIndex,M=a[A],L=s[A];M&&L&&L.data!==M.data&&(l=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=a,!!l},r.prototype._hide=function(n){this._lastDataByCoordSys=null,n({type:"hideTip",from:this.uid})},r.prototype.dispose=function(n,a){env$1.node||!a.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",a))},r.type="tooltip",r}(ComponentView$1);function buildTooltipModel(t,r,n){var a=r.ecModel,o;n?(o=new Model$1(n,a,a),o=new Model$1(r.option,o,a)):o=r;for(var s=t.length-1;s>=0;s--){var l=t[s];l&&(l instanceof Model$1&&(l=l.get("tooltip",!0)),isString$1(l)&&(l={formatter:l}),l&&(o=new Model$1(l,o,a)))}return o}function makeDispatchAction(t,r){return t.dispatchAction||bind$1(r.dispatchAction,r)}function refixTooltipPosition(t,r,n,a,o,s,l){var u=n.getSize(),c=u[0],f=u[1];return s!=null&&(t+c+s+2>a?t-=c+s:t+=s),l!=null&&(r+f+l>o?r-=f+l:r+=l),[t,r]}function confineTooltipPosition(t,r,n,a,o){var s=n.getSize(),l=s[0],u=s[1];return t=Math.min(t+l,a)-l,r=Math.min(r+u,o)-u,t=Math.max(t,0),r=Math.max(r,0),[t,r]}function calcTooltipPosition(t,r,n,a){var o=n[0],s=n[1],l=Math.ceil(Math.SQRT2*a)+8,u=0,c=0,f=r.width,d=r.height;switch(t){case"inside":u=r.x+f/2-o/2,c=r.y+d/2-s/2;break;case"top":u=r.x+f/2-o/2,c=r.y-s-l;break;case"bottom":u=r.x+f/2-o/2,c=r.y+d+l;break;case"left":u=r.x-o-l,c=r.y+d/2-s/2;break;case"right":u=r.x+f+l,c=r.y+d/2-s/2}return[u,c]}function isCenterAlign(t){return t==="center"||t==="middle"}function findComponentReference(t,r,n){var a=preParseFinder(t).queryOptionMap,o=a.keys()[0];if(!(!o||o==="series")){var s=queryReferringComponents(r,o,a.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}),l=s.models[0];if(l){var u=n.getViewOfComponentModel(l),c;if(u.group.traverse(function(f){var d=getECData(f).tooltipConfig;if(d&&d.name===t.name)return c=f,!0}),c)return{componentMainType:o,componentIndex:l.componentIndex,el:c}}}}const TooltipView$1=TooltipView;function install$i(t){use(install$q),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 DEFAULT_TOOLBOX_BTNS=["rect","polygon","keep","clear"];function brushPreprocessor(t,r){var n=normalizeToArray(t?t.brush:[]);if(n.length){var a=[];each$f(n,function(c){var f=c.hasOwnProperty("toolbox")?c.toolbox:[];f instanceof Array&&(a=a.concat(f))});var o=t&&t.toolbox;isArray$2(o)&&(o=o[0]),o||(o={feature:{}},t.toolbox=[o]);var s=o.feature||(o.feature={}),l=s.brush||(s.brush={}),u=l.type||(l.type=[]);u.push.apply(u,a),removeDuplicate(u),r&&!u.length&&u.push.apply(u,DEFAULT_TOOLBOX_BTNS)}}function removeDuplicate(t){var r={};each$f(t,function(n){r[n]=1}),t.length=0,each$f(r,function(n,a){t.push(a)})}var each$4=each$f;function hasKeys(t){if(t){for(var r in t)if(t.hasOwnProperty(r))return!0}}function createVisualMappings(t,r,n){var a={};return each$4(r,function(s){var l=a[s]=o();each$4(t[s],function(u,c){if(VisualMapping$1.isValidType(c)){var f={type:c,visual:u};n&&n(f,s),l[c]=new VisualMapping$1(f),c==="opacity"&&(f=clone$4(f),f.type="colorAlpha",l.__hidden.__alphaForOpacity=new VisualMapping$1(f))}})}),a;function o(){var s=function(){};s.prototype.__hidden=s.prototype;var l=new s;return l}}function replaceVisualOption(t,r,n){var a;each$f(n,function(o){r.hasOwnProperty(o)&&hasKeys(r[o])&&(a=!0)}),a&&each$f(n,function(o){r.hasOwnProperty(o)&&hasKeys(r[o])?t[o]=clone$4(r[o]):delete t[o]})}function applyVisual(t,r,n,a,o,s){var l={};each$f(t,function(v){var g=VisualMapping$1.prepareVisualTypes(r[v]);l[v]=g});var u;function c(v){return getItemVisualFromData(n,u,v)}function f(v,g){setItemVisualFromData(n,u,v,g)}s==null?n.each(d):n.each([s],d);function d(v,g){u=s==null?v:g;var y=n.getRawDataItem(u);if(!(y&&y.visualMap===!1))for(var S=a.call(o,v),b=r[S],T=l[S],w=0,A=T.length;wr[0][1]&&(r[0][1]=s[0]),s[1]r[1][1]&&(r[1][1]=s[1])}return r&&getBoundingRectFromMinMax(r)}};function getBoundingRectFromMinMax(t){return new BoundingRect$1(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var BrushView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.init=function(n,a){this.ecModel=n,this.api=a,this.model,(this._brushController=new BrushController$1(a.getZr())).on("brush",bind$1(this._onBrush,this)).mount()},r.prototype.render=function(n,a,o,s){this.model=n,this._updateController(n,a,o,s)},r.prototype.updateTransform=function(n,a,o,s){layoutCovers(a),this._updateController(n,a,o,s)},r.prototype.updateVisual=function(n,a,o,s){this.updateTransform(n,a,o,s)},r.prototype.updateView=function(n,a,o,s){this._updateController(n,a,o,s)},r.prototype._updateController=function(n,a,o,s){(!s||s.$from!==n.id)&&this._brushController.setPanels(n.brushTargetManager.makePanelOpts(o)).enableBrush(n.brushOption).updateCovers(n.areas.slice())},r.prototype.dispose=function(){this._brushController.dispose()},r.prototype._onBrush=function(n){var a=this.model.id,o=this.model.brushTargetManager.setOutputRanges(n.areas,this.ecModel);(!n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:clone$4(o),$from:a}),n.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:clone$4(o),$from:a})},r.type="brush",r}(ComponentView$1);const BrushView$1=BrushView;var DEFAULT_OUT_OF_BRUSH_COLOR="#ddd",BrushModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.areas=[],n.brushOption={},n}return r.prototype.optionUpdated=function(n,a){var o=this.option;!a&&replaceVisualOption(o,n,["inBrush","outOfBrush"]);var s=o.inBrush=o.inBrush||{};o.outOfBrush=o.outOfBrush||{color:DEFAULT_OUT_OF_BRUSH_COLOR},s.hasOwnProperty("liftZ")||(s.liftZ=5)},r.prototype.setAreas=function(n){n&&(this.areas=map$1(n,function(a){return generateBrushOption(this.option,a)},this))},r.prototype.setBrushOption=function(n){this.brushOption=generateBrushOption(this.option,n),this.brushType=this.brushOption.brushType},r.type="brush",r.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],r.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},r}(ComponentModel$1);function generateBrushOption(t,r){return merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Model$1(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},r,!0)}const BrushModel$1=BrushModel;var ICON_TYPES=["rect","polygon","lineX","lineY","keep","clear"],BrushFeature=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.render=function(n,a,o){var s,l,u;a.eachComponent({mainType:"brush"},function(c){s=c.brushType,l=c.brushOption.brushMode||"single",u=u||!!c.areas.length}),this._brushType=s,this._brushMode=l,each$f(n.get("type",!0),function(c){n.setIconStatus(c,(c==="keep"?l==="multiple":c==="clear"?u:c===s)?"emphasis":"normal")})},r.prototype.updateView=function(n,a,o){this.render(n,a,o)},r.prototype.getIcons=function(){var n=this.model,a=n.get("icon",!0),o={};return each$f(n.get("type",!0),function(s){a[s]&&(o[s]=a[s])}),o},r.prototype.onclick=function(n,a,o){var s=this._brushType,l=this._brushMode;o==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:o==="keep"?s:s===o?!1:o,brushMode:o==="keep"?l==="multiple"?"single":"multiple":l}})},r.getDefaultOption=function(n){var a={show:!0,type:ICON_TYPES.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:n.getLocaleModel().get(["toolbox","brush","title"])};return a},r}(ToolboxFeature);const BrushFeature$1=BrushFeature;function install$h(t){t.registerComponentView(BrushView$1),t.registerComponentModel(BrushModel$1),t.registerPreprocessor(brushPreprocessor),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,brushVisual),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(r,n){n.eachComponent({mainType:"brush",query:r},function(a){a.setAreas(r.areas)})}),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},noop),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},noop),registerFeature("brush",BrushFeature$1)}var TitleModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.layoutMode={type:"box",ignoreSize:!0},n}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 n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.render=function(n,a,o){if(this.group.removeAll(),!!n.get("show")){var s=this.group,l=n.getModel("textStyle"),u=n.getModel("subtextStyle"),c=n.get("textAlign"),f=retrieve2(n.get("textBaseline"),n.get("textVerticalAlign")),d=new ZRText$1({style:createTextStyle(l,{text:n.get("text"),fill:l.getTextColor()},{disableBox:!0}),z2:10}),v=d.getBoundingRect(),g=n.get("subtext"),y=new ZRText$1({style:createTextStyle(u,{text:g,fill:u.getTextColor(),y:v.height+n.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),S=n.get("link"),b=n.get("sublink"),T=n.get("triggerEvent",!0);d.silent=!S&&!T,y.silent=!b&&!T,S&&d.on("click",function(){windowOpen(S,"_"+n.get("target"))}),b&&y.on("click",function(){windowOpen(b,"_"+n.get("subtarget"))}),getECData(d).eventData=getECData(y).eventData=T?{componentType:"title",componentIndex:n.componentIndex}:null,s.add(d),g&&s.add(y);var w=s.getBoundingRect(),A=n.getBoxLayoutParams();A.width=w.width,A.height=w.height;var M=getLayoutRect(A,{width:o.getWidth(),height:o.getHeight()},n.get("padding"));c||(c=n.get("left")||n.get("right"),c==="middle"&&(c="center"),c==="right"?M.x+=M.width:c==="center"&&(M.x+=M.width/2)),f||(f=n.get("top")||n.get("bottom"),f==="center"&&(f="middle"),f==="bottom"?M.y+=M.height:f==="middle"&&(M.y+=M.height/2),f=f||"top"),s.x=M.x,s.y=M.y,s.markRedraw();var L={align:c,verticalAlign:f};d.setStyle(L),y.setStyle(L),w=s.getBoundingRect();var O=M.margin,D=n.getItemStyle(["color","opacity"]);D.fill=n.get("backgroundColor");var V=new Rect$3({shape:{x:w.x-O[3],y:w.y-O[0],width:w.width+O[1]+O[3],height:w.height+O[0]+O[2],r:n.get("borderRadius")},style:D,subPixelOptimize:!0,silent:!0});s.add(V)}},r.type="title",r}(ComponentView$1);function install$g(t){t.registerComponentModel(TitleModel),t.registerComponentView(TitleView)}var TimelineModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.layoutMode="box",n}return r.prototype.init=function(n,a,o){this.mergeDefaultAndTheme(n,o),this._initData()},r.prototype.mergeOption=function(n){t.prototype.mergeOption.apply(this,arguments),this._initData()},r.prototype.setCurrentIndex=function(n){n==null&&(n=this.option.currentIndex);var a=this._data.count();this.option.loop?n=(n%a+a)%a:(n>=a&&(n=a-1),n<0&&(n=0)),this.option.currentIndex=n},r.prototype.getCurrentIndex=function(){return this.option.currentIndex},r.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},r.prototype.setPlayState=function(n){this.option.autoPlay=!!n},r.prototype.getPlayState=function(){return!!this.option.autoPlay},r.prototype._initData=function(){var n=this.option,a=n.data||[],o=n.axisType,s=this._names=[],l;o==="category"?(l=[],each$f(a,function(f,d){var v=convertOptionIdName(getDataItemValue(f),""),g;isObject$4(f)?(g=clone$4(f),g.value=d):g=d,l.push(g),s.push(v)})):l=a;var u={category:"ordinal",time:"time",value:"number"}[o]||"number",c=this._data=new SeriesData$1([{name:"value",type:u}],this);c.initData(l,s)},r.prototype.getData=function(){return this._data},r.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},r.type="timeline",r.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},r}(ComponentModel$1);const TimelineModel$1=TimelineModel;var SliderTimelineModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.type="timeline.slider",r.defaultOption=inheritDefaultOption(TimelineModel$1.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),r}(TimelineModel$1);mixin(SliderTimelineModel,DataFormatMixin.prototype);const SliderTimelineModel$1=SliderTimelineModel;var TimelineView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.type="timeline",r}(ComponentView$1);const TimelineView$1=TimelineView;var TimelineAxis=function(t){__extends(r,t);function r(n,a,o,s){var l=t.call(this,n,a,o)||this;return l.type=s||"value",l}return r.prototype.getLabelModel=function(){return this.model.getModel("label")},r.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},r}(Axis$1);const TimelineAxis$1=TimelineAxis;var PI=Math.PI,labelDataIndexStore=makeInner(),SliderTimelineView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.init=function(n,a){this.api=a},r.prototype.render=function(n,a,o){if(this.model=n,this.api=o,this.ecModel=a,this.group.removeAll(),n.get("show",!0)){var s=this._layout(n,o),l=this._createGroup("_mainGroup"),u=this._createGroup("_labelGroup"),c=this._axis=this._createAxis(s,n);n.formatTooltip=function(f){var d=c.scale.getLabel({value:f});return createTooltipMarkup("nameValue",{noName:!0,value:d})},each$f(["AxisLine","AxisTick","Control","CurrentPointer"],function(f){this["_render"+f](s,l,c,n)},this),this._renderAxisLabel(s,u,c,n),this._position(s,n)}this._doPlayStop(),this._updateTicksStatus()},r.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},r.prototype.dispose=function(){this._clearTimer()},r.prototype._layout=function(n,a){var o=n.get(["label","position"]),s=n.get("orient"),l=getViewRect(n,a),u;o==null||o==="auto"?u=s==="horizontal"?l.y+l.height/2=0||u==="+"?"left":"right"},f={horizontal:u>=0||u==="+"?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:PI/2},v=s==="vertical"?l.height:l.width,g=n.getModel("controlStyle"),y=g.get("show",!0),S=y?g.get("itemSize"):0,b=y?g.get("itemGap"):0,T=S+b,w=n.get(["label","rotate"])||0;w=w*PI/180;var A,M,L,O=g.get("position",!0),D=y&&g.get("showPlayBtn",!0),V=y&&g.get("showPrevBtn",!0),z=y&&g.get("showNextBtn",!0),Y=0,ie=v;O==="left"||O==="bottom"?(D&&(A=[0,0],Y+=T),V&&(M=[Y,0],Y+=T),z&&(L=[ie-S,0],ie-=T)):(D&&(A=[ie-S,0],ie-=T),V&&(M=[0,0],Y+=T),z&&(L=[ie-S,0],ie-=T));var j=[Y,ie];return n.get("inverse")&&j.reverse(),{viewRect:l,mainLength:v,orient:s,rotation:d[s],labelRotation:w,labelPosOpt:u,labelAlign:n.get(["label","align"])||c[s],labelBaseline:n.get(["label","verticalAlign"])||n.get(["label","baseline"])||f[s],playPosition:A,prevBtnPosition:M,nextBtnPosition:L,axisExtent:j,controlSize:S,controlGap:b}},r.prototype._position=function(n,a){var o=this._mainGroup,s=this._labelGroup,l=n.viewRect;if(n.orient==="vertical"){var u=create$1(),c=l.x,f=l.y+l.height;translate$1(u,u,[-c,-f]),rotate(u,u,-PI/2),translate$1(u,u,[c,f]),l=l.clone(),l.applyTransform(u)}var d=A(l),v=A(o.getBoundingRect()),g=A(s.getBoundingRect()),y=[o.x,o.y],S=[s.x,s.y];S[0]=y[0]=d[0][0];var b=n.labelPosOpt;if(b==null||isString$1(b)){var T=b==="+"?0:1;M(y,v,d,1,T),M(S,g,d,1,1-T)}else{var T=b>=0?0:1;M(y,v,d,1,T),S[1]=y[1]+b}o.setPosition(y),s.setPosition(S),o.rotation=s.rotation=n.rotation,w(o),w(s);function w(L){L.originX=d[0][0]-L.x,L.originY=d[1][0]-L.y}function A(L){return[[L.x,L.x+L.width],[L.y,L.y+L.height]]}function M(L,O,D,V,z){L[V]+=D[V][z]-O[V][z]}},r.prototype._createAxis=function(n,a){var o=a.getData(),s=a.get("axisType"),l=createScaleByModel(a,s);l.getTicks=function(){return o.mapArray(["value"],function(f){return{value:f}})};var u=o.getDataExtent("value");l.setExtent(u[0],u[1]),l.calcNiceTicks();var c=new TimelineAxis$1("value",l,n.axisExtent,s);return c.model=a,c},r.prototype._createGroup=function(n){var a=this[n]=new Group$4;return this.group.add(a),a},r.prototype._renderAxisLine=function(n,a,o,s){var l=o.getExtent();if(s.get(["lineStyle","show"])){var u=new Line$3({shape:{x1:l[0],y1:0,x2:l[1],y2:0},style:extend({lineCap:"round"},s.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});a.add(u);var c=this._progressLine=new Line$3({shape:{x1:l[0],x2:this._currentPointer?this._currentPointer.x:l[0],y1:0,y2:0},style:defaults({lineCap:"round",lineWidth:u.style.lineWidth},s.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});a.add(c)}},r.prototype._renderAxisTick=function(n,a,o,s){var l=this,u=s.getData(),c=o.scale.getTicks();this._tickSymbols=[],each$f(c,function(f){var d=o.dataToCoord(f.value),v=u.getItemModel(f.value),g=v.getModel("itemStyle"),y=v.getModel(["emphasis","itemStyle"]),S=v.getModel(["progress","itemStyle"]),b={x:d,y:0,onclick:bind$1(l._changeTimeline,l,f.value)},T=giveSymbol(v,g,a,b);T.ensureState("emphasis").style=y.getItemStyle(),T.ensureState("progress").style=S.getItemStyle(),enableHoverEmphasis(T);var w=getECData(T);v.get("tooltip")?(w.dataIndex=f.value,w.dataModel=s):w.dataIndex=w.dataModel=null,l._tickSymbols.push(T)})},r.prototype._renderAxisLabel=function(n,a,o,s){var l=this,u=o.getLabelModel();if(u.get("show")){var c=s.getData(),f=o.getViewLabels();this._tickLabels=[],each$f(f,function(d){var v=d.tickValue,g=c.getItemModel(v),y=g.getModel("label"),S=g.getModel(["emphasis","label"]),b=g.getModel(["progress","label"]),T=o.dataToCoord(d.tickValue),w=new ZRText$1({x:T,y:0,rotation:n.labelRotation-n.rotation,onclick:bind$1(l._changeTimeline,l,v),silent:!1,style:createTextStyle(y,{text:d.formattedLabel,align:n.labelAlign,verticalAlign:n.labelBaseline})});w.ensureState("emphasis").style=createTextStyle(S),w.ensureState("progress").style=createTextStyle(b),a.add(w),enableHoverEmphasis(w),labelDataIndexStore(w).dataIndex=v,l._tickLabels.push(w)})}},r.prototype._renderControl=function(n,a,o,s){var l=n.controlSize,u=n.rotation,c=s.getModel("controlStyle").getItemStyle(),f=s.getModel(["emphasis","controlStyle"]).getItemStyle(),d=s.getPlayState(),v=s.get("inverse",!0);g(n.nextBtnPosition,"next",bind$1(this._changeTimeline,this,v?"-":"+")),g(n.prevBtnPosition,"prev",bind$1(this._changeTimeline,this,v?"+":"-")),g(n.playPosition,d?"stop":"play",bind$1(this._handlePlayClick,this,!d),!0);function g(y,S,b,T){if(y){var w=parsePercent$1(retrieve2(s.get(["controlStyle",S+"BtnSize"]),l),l),A=[0,-w/2,w,w],M=makeControlIcon(s,S+"Icon",A,{x:y[0],y:y[1],originX:l/2,originY:0,rotation:T?-u:0,rectHover:!0,style:c,onclick:b});M.ensureState("emphasis").style=f,a.add(M),enableHoverEmphasis(M)}}},r.prototype._renderCurrentPointer=function(n,a,o,s){var l=s.getData(),u=s.getCurrentIndex(),c=l.getItemModel(u).getModel("checkpointStyle"),f=this,d={onCreate:function(v){v.draggable=!0,v.drift=bind$1(f._handlePointerDrag,f),v.ondragend=bind$1(f._handlePointerDragend,f),pointerMoveTo(v,f._progressLine,u,o,s,!0)},onUpdate:function(v){pointerMoveTo(v,f._progressLine,u,o,s)}};this._currentPointer=giveSymbol(c,c,this._mainGroup,{},this._currentPointer,d)},r.prototype._handlePlayClick=function(n){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:n,from:this.uid})},r.prototype._handlePointerDrag=function(n,a,o){this._clearTimer(),this._pointerChangeTimeline([o.offsetX,o.offsetY])},r.prototype._handlePointerDragend=function(n){this._pointerChangeTimeline([n.offsetX,n.offsetY],!0)},r.prototype._pointerChangeTimeline=function(n,a){var o=this._toAxisCoord(n)[0],s=this._axis,l=asc$2(s.getExtent().slice());o>l[1]&&(o=l[1]),o=0&&(l[s]=+l[s].toFixed(g)),[l,v]}var markerTypeCalculator={min:curry$1(markerTypeCalculatorWithExtent,"min"),max:curry$1(markerTypeCalculatorWithExtent,"max"),average:curry$1(markerTypeCalculatorWithExtent,"average"),median:curry$1(markerTypeCalculatorWithExtent,"median")};function dataTransform(t,r){if(r){var n=t.getData(),a=t.coordinateSystem,o=a&&a.dimensions;if(!hasXAndY(r)&&!isArray$2(r.coord)&&isArray$2(o)){var s=getAxisInfo(r,n,a,t);if(r=clone$4(r),r.type&&markerTypeCalculator[r.type]&&s.baseAxis&&s.valueAxis){var l=indexOf(o,s.baseAxis.dim),u=indexOf(o,s.valueAxis.dim),c=markerTypeCalculator[r.type](n,s.baseDataDim,s.valueDataDim,l,u);r.coord=c[0],r.value=c[1]}else r.coord=[r.xAxis!=null?r.xAxis:r.radiusAxis,r.yAxis!=null?r.yAxis:r.angleAxis]}if(r.coord==null||!isArray$2(o))r.coord=[];else for(var f=r.coord,d=0;d<2;d++)markerTypeCalculator[f[d]]&&(f[d]=numCalculate(n,n.mapDimension(o[d]),f[d]));return r}}function getAxisInfo(t,r,n,a){var o={};return t.valueIndex!=null||t.valueDim!=null?(o.valueDataDim=t.valueIndex!=null?r.getDimension(t.valueIndex):t.valueDim,o.valueAxis=n.getAxis(dataDimToCoordDim(a,o.valueDataDim)),o.baseAxis=n.getOtherAxis(o.valueAxis),o.baseDataDim=r.mapDimension(o.baseAxis.dim)):(o.baseAxis=a.getBaseAxis(),o.valueAxis=n.getOtherAxis(o.baseAxis),o.baseDataDim=r.mapDimension(o.baseAxis.dim),o.valueDataDim=r.mapDimension(o.valueAxis.dim)),o}function dataDimToCoordDim(t,r){var n=t.getData().getDimensionInfo(r);return n&&n.coordDim}function dataFilter(t,r){return t&&t.containData&&r.coord&&!hasXOrY(r)?t.containData(r.coord):!0}function zoneFilter(t,r,n){return t&&t.containZone&&r.coord&&n.coord&&!hasXOrY(r)&&!hasXOrY(n)?t.containZone(r.coord,n.coord):!0}function createMarkerDimValueGetter(t,r){return t?function(n,a,o,s){var l=s<2?n.coord&&n.coord[s]:n.value;return parseDataValue(l,r[s])}:function(n,a,o,s){return parseDataValue(n.value,r[s])}}function numCalculate(t,r,n){if(n==="average"){var a=0,o=0;return t.each(r,function(s,l){isNaN(s)||(a+=s,o++)}),a/o}else return n==="median"?t.getMedian(r):t.getDataExtent(r)[n==="max"?1:0]}var inner$4=makeInner(),MarkerView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.init=function(){this.markerGroupMap=createHashMap()},r.prototype.render=function(n,a,o){var s=this,l=this.markerGroupMap;l.each(function(u){inner$4(u).keep=!1}),a.eachSeries(function(u){var c=MarkerModel$1.getMarkerModelFromSeries(u,s.type);c&&s.renderSeries(u,c,a,o)}),l.each(function(u){!inner$4(u).keep&&s.group.remove(u.group)})},r.prototype.markKeep=function(n){inner$4(n).keep=!0},r.prototype.toggleBlurSeries=function(n,a){var o=this;each$f(n,function(s){var l=MarkerModel$1.getMarkerModelFromSeries(s,o.type);if(l){var u=l.getData();u.eachItemGraphicEl(function(c){c&&(a?enterBlur(c):leaveBlur(c))})}})},r.type="marker",r}(ComponentView$1);const MarkerView$1=MarkerView;function updateMarkerLayout(t,r,n){var a=r.coordinateSystem;t.each(function(o){var s=t.getItemModel(o),l,u=parsePercent(s.get("x"),n.getWidth()),c=parsePercent(s.get("y"),n.getHeight());if(!isNaN(u)&&!isNaN(c))l=[u,c];else if(r.getMarkerPosition)l=r.getMarkerPosition(t.getValues(t.dimensions,o));else if(a){var f=t.get(a.dimensions[0],o),d=t.get(a.dimensions[1],o);l=a.dataToPoint([f,d])}isNaN(u)||(l[0]=u),isNaN(c)||(l[1]=c),t.setItemLayout(o,l)})}var MarkPointView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.updateTransform=function(n,a,o){a.eachSeries(function(s){var l=MarkerModel$1.getMarkerModelFromSeries(s,"markPoint");l&&(updateMarkerLayout(l.getData(),s,o),this.markerGroupMap.get(s.id).updateLayout())},this)},r.prototype.renderSeries=function(n,a,o,s){var l=n.coordinateSystem,u=n.id,c=n.getData(),f=this.markerGroupMap,d=f.get(u)||f.set(u,new SymbolDraw$1),v=createData(l,n,a);a.setData(v),updateMarkerLayout(a.getData(),n,s),v.each(function(g){var y=v.getItemModel(g),S=y.getShallow("symbol"),b=y.getShallow("symbolSize"),T=y.getShallow("symbolRotate"),w=y.getShallow("symbolOffset"),A=y.getShallow("symbolKeepAspect");if(isFunction$1(S)||isFunction$1(b)||isFunction$1(T)||isFunction$1(w)){var M=a.getRawValue(g),L=a.getDataParams(g);isFunction$1(S)&&(S=S(M,L)),isFunction$1(b)&&(b=b(M,L)),isFunction$1(T)&&(T=T(M,L)),isFunction$1(w)&&(w=w(M,L))}var O=y.getModel("itemStyle").getItemStyle(),D=getVisualFromData(c,"color");O.fill||(O.fill=D),v.setItemVisual(g,{symbol:S,symbolSize:b,symbolRotate:T,symbolOffset:w,symbolKeepAspect:A,style:O})}),d.updateData(v),this.group.add(d.group),v.eachItemGraphicEl(function(g){g.traverse(function(y){getECData(y).dataModel=a})}),this.markKeep(d),d.group.silent=a.get("silent")||n.get("silent")},r.type="markPoint",r}(MarkerView$1);function createData(t,r,n){var a;t?a=map$1(t&&t.dimensions,function(u){var c=r.getData().getDimensionInfo(r.getData().mapDimension(u))||{};return extend(extend({},c),{name:u,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var o=new SeriesData$1(a,n),s=map$1(n.get("data"),curry$1(dataTransform,r));t&&(s=filter(s,curry$1(dataFilter,t)));var l=createMarkerDimValueGetter(!!t,a);return o.initData(s,null,l),o}const MarkPointView$1=MarkPointView;function install$e(t){t.registerComponentModel(MarkPointModel$1),t.registerComponentView(MarkPointView$1),t.registerPreprocessor(function(r){checkMarkerInSeries(r.series,"markPoint")&&(r.markPoint=r.markPoint||{})})}var MarkLineModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.createMarkerModelFromSeries=function(n,a,o){return new r(n,a,o)},r.type="markLine",r.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},r}(MarkerModel$1);const MarkLineModel$1=MarkLineModel;var inner$3=makeInner(),markLineTransform=function(t,r,n,a){var o=t.getData(),s;if(isArray$2(a))s=a;else{var l=a.type;if(l==="min"||l==="max"||l==="average"||l==="median"||a.xAxis!=null||a.yAxis!=null){var u=void 0,c=void 0;if(a.yAxis!=null||a.xAxis!=null)u=r.getAxis(a.yAxis!=null?"y":"x"),c=retrieve(a.yAxis,a.xAxis);else{var f=getAxisInfo(a,o,r,t);u=f.valueAxis;var d=getStackedDimension(o,f.valueDataDim);c=numCalculate(o,d,l)}var v=u.dim==="x"?0:1,g=1-v,y=clone$4(a),S={coord:[]};y.type=null,y.coord=[],y.coord[g]=-1/0,S.coord[g]=1/0;var b=n.get("precision");b>=0&&isNumber$1(c)&&(c=+c.toFixed(Math.min(b,20))),y.coord[v]=S.coord[v]=c,s=[y,S,{type:l,valueIndex:a.valueIndex,value:c}]}else s=[]}var T=[dataTransform(t,s[0]),dataTransform(t,s[1]),extend({},s[2])];return T[2].type=T[2].type||null,merge(T[2],T[0]),merge(T[2],T[1]),T};function isInfinity$1(t){return!isNaN(t)&&!isFinite(t)}function ifMarkLineHasOnlyDim(t,r,n,a){var o=1-t,s=a.dimensions[t];return isInfinity$1(r[o])&&isInfinity$1(n[o])&&r[t]===n[t]&&a.getAxis(s).containData(r[t])}function markLineFilter(t,r){if(t.type==="cartesian2d"){var n=r[0].coord,a=r[1].coord;if(n&&a&&(ifMarkLineHasOnlyDim(1,n,a,t)||ifMarkLineHasOnlyDim(0,n,a,t)))return!0}return dataFilter(t,r[0])&&dataFilter(t,r[1])}function updateSingleMarkerEndLayout(t,r,n,a,o){var s=a.coordinateSystem,l=t.getItemModel(r),u,c=parsePercent(l.get("x"),o.getWidth()),f=parsePercent(l.get("y"),o.getHeight());if(!isNaN(c)&&!isNaN(f))u=[c,f];else{if(a.getMarkerPosition)u=a.getMarkerPosition(t.getValues(t.dimensions,r));else{var d=s.dimensions,v=t.get(d[0],r),g=t.get(d[1],r);u=s.dataToPoint([v,g])}if(isCoordinateSystemType(s,"cartesian2d")){var y=s.getAxis("x"),S=s.getAxis("y"),d=s.dimensions;isInfinity$1(t.get(d[0],r))?u[0]=y.toGlobalCoord(y.getExtent()[n?0:1]):isInfinity$1(t.get(d[1],r))&&(u[1]=S.toGlobalCoord(S.getExtent()[n?0:1]))}isNaN(c)||(u[0]=c),isNaN(f)||(u[1]=f)}t.setItemLayout(r,u)}var MarkLineView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.updateTransform=function(n,a,o){a.eachSeries(function(s){var l=MarkerModel$1.getMarkerModelFromSeries(s,"markLine");if(l){var u=l.getData(),c=inner$3(l).from,f=inner$3(l).to;c.each(function(d){updateSingleMarkerEndLayout(c,d,!0,s,o),updateSingleMarkerEndLayout(f,d,!1,s,o)}),u.each(function(d){u.setItemLayout(d,[c.getItemLayout(d),f.getItemLayout(d)])}),this.markerGroupMap.get(s.id).updateLayout()}},this)},r.prototype.renderSeries=function(n,a,o,s){var l=n.coordinateSystem,u=n.id,c=n.getData(),f=this.markerGroupMap,d=f.get(u)||f.set(u,new LineDraw$1);this.group.add(d.group);var v=createList$1(l,n,a),g=v.from,y=v.to,S=v.line;inner$3(a).from=g,inner$3(a).to=y,a.setData(S);var b=a.get("symbol"),T=a.get("symbolSize"),w=a.get("symbolRotate"),A=a.get("symbolOffset");isArray$2(b)||(b=[b,b]),isArray$2(T)||(T=[T,T]),isArray$2(w)||(w=[w,w]),isArray$2(A)||(A=[A,A]),v.from.each(function(L){M(g,L,!0),M(y,L,!1)}),S.each(function(L){var O=S.getItemModel(L).getModel("lineStyle").getLineStyle();S.setItemLayout(L,[g.getItemLayout(L),y.getItemLayout(L)]),O.stroke==null&&(O.stroke=g.getItemVisual(L,"style").fill),S.setItemVisual(L,{fromSymbolKeepAspect:g.getItemVisual(L,"symbolKeepAspect"),fromSymbolOffset:g.getItemVisual(L,"symbolOffset"),fromSymbolRotate:g.getItemVisual(L,"symbolRotate"),fromSymbolSize:g.getItemVisual(L,"symbolSize"),fromSymbol:g.getItemVisual(L,"symbol"),toSymbolKeepAspect:y.getItemVisual(L,"symbolKeepAspect"),toSymbolOffset:y.getItemVisual(L,"symbolOffset"),toSymbolRotate:y.getItemVisual(L,"symbolRotate"),toSymbolSize:y.getItemVisual(L,"symbolSize"),toSymbol:y.getItemVisual(L,"symbol"),style:O})}),d.updateData(S),v.line.eachItemGraphicEl(function(L){getECData(L).dataModel=a,L.traverse(function(O){getECData(O).dataModel=a})});function M(L,O,D){var V=L.getItemModel(O);updateSingleMarkerEndLayout(L,O,D,n,s);var z=V.getModel("itemStyle").getItemStyle();z.fill==null&&(z.fill=getVisualFromData(c,"color")),L.setItemVisual(O,{symbolKeepAspect:V.get("symbolKeepAspect"),symbolOffset:retrieve2(V.get("symbolOffset",!0),A[D?0:1]),symbolRotate:retrieve2(V.get("symbolRotate",!0),w[D?0:1]),symbolSize:retrieve2(V.get("symbolSize"),T[D?0:1]),symbol:retrieve2(V.get("symbol",!0),b[D?0:1]),style:z})}this.markKeep(d),d.group.silent=a.get("silent")||n.get("silent")},r.type="markLine",r}(MarkerView$1);function createList$1(t,r,n){var a;t?a=map$1(t&&t.dimensions,function(f){var d=r.getData().getDimensionInfo(r.getData().mapDimension(f))||{};return extend(extend({},d),{name:f,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var o=new SeriesData$1(a,n),s=new SeriesData$1(a,n),l=new SeriesData$1([],n),u=map$1(n.get("data"),curry$1(markLineTransform,r,t,n));t&&(u=filter(u,curry$1(markLineFilter,t)));var c=createMarkerDimValueGetter(!!t,a);return o.initData(map$1(u,function(f){return f[0]}),null,c),s.initData(map$1(u,function(f){return f[1]}),null,c),l.initData(map$1(u,function(f){return f[2]})),l.hasItemOption=!0,{from:o,to:s,line:l}}const MarkLineView$1=MarkLineView;function install$d(t){t.registerComponentModel(MarkLineModel$1),t.registerComponentView(MarkLineView$1),t.registerPreprocessor(function(r){checkMarkerInSeries(r.series,"markLine")&&(r.markLine=r.markLine||{})})}var MarkAreaModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.createMarkerModelFromSeries=function(n,a,o){return new r(n,a,o)},r.type="markArea",r.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},r}(MarkerModel$1);const MarkAreaModel$1=MarkAreaModel;var inner$2=makeInner(),markAreaTransform=function(t,r,n,a){var o=a[0],s=a[1];if(!(!o||!s)){var l=dataTransform(t,o),u=dataTransform(t,s),c=l.coord,f=u.coord;c[0]=retrieve(c[0],-1/0),c[1]=retrieve(c[1],-1/0),f[0]=retrieve(f[0],1/0),f[1]=retrieve(f[1],1/0);var d=mergeAll([{},l,u]);return d.coord=[l.coord,u.coord],d.x0=l.x,d.y0=l.y,d.x1=u.x,d.y1=u.y,d}};function isInfinity(t){return!isNaN(t)&&!isFinite(t)}function ifMarkAreaHasOnlyDim(t,r,n,a){var o=1-t;return isInfinity(r[o])&&isInfinity(n[o])}function markAreaFilter(t,r){var n=r.coord[0],a=r.coord[1],o={coord:n,x:r.x0,y:r.y0},s={coord:a,x:r.x1,y:r.y1};return isCoordinateSystemType(t,"cartesian2d")?n&&a&&(ifMarkAreaHasOnlyDim(1,n,a)||ifMarkAreaHasOnlyDim(0,n,a))?!0:zoneFilter(t,o,s):dataFilter(t,o)||dataFilter(t,s)}function getSingleMarkerEndPoint(t,r,n,a,o){var s=a.coordinateSystem,l=t.getItemModel(r),u,c=parsePercent(l.get(n[0]),o.getWidth()),f=parsePercent(l.get(n[1]),o.getHeight());if(!isNaN(c)&&!isNaN(f))u=[c,f];else{if(a.getMarkerPosition){var d=t.getValues(["x0","y0"],r),v=t.getValues(["x1","y1"],r),g=s.clampData(d),y=s.clampData(v),S=[];n[0]==="x0"?S[0]=g[0]>y[0]?v[0]:d[0]:S[0]=g[0]>y[0]?d[0]:v[0],n[1]==="y0"?S[1]=g[1]>y[1]?v[1]:d[1]:S[1]=g[1]>y[1]?d[1]:v[1],u=a.getMarkerPosition(S,n,!0)}else{var b=t.get(n[0],r),T=t.get(n[1],r),w=[b,T];s.clampData&&s.clampData(w,w),u=s.dataToPoint(w,!0)}if(isCoordinateSystemType(s,"cartesian2d")){var A=s.getAxis("x"),M=s.getAxis("y"),b=t.get(n[0],r),T=t.get(n[1],r);isInfinity(b)?u[0]=A.toGlobalCoord(A.getExtent()[n[0]==="x0"?0:1]):isInfinity(T)&&(u[1]=M.toGlobalCoord(M.getExtent()[n[1]==="y0"?0:1]))}isNaN(c)||(u[0]=c),isNaN(f)||(u[1]=f)}return u}var dimPermutations=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],MarkAreaView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.updateTransform=function(n,a,o){a.eachSeries(function(s){var l=MarkerModel$1.getMarkerModelFromSeries(s,"markArea");if(l){var u=l.getData();u.each(function(c){var f=map$1(dimPermutations,function(v){return getSingleMarkerEndPoint(u,c,v,s,o)});u.setItemLayout(c,f);var d=u.getItemGraphicEl(c);d.setShape("points",f)})}},this)},r.prototype.renderSeries=function(n,a,o,s){var l=n.coordinateSystem,u=n.id,c=n.getData(),f=this.markerGroupMap,d=f.get(u)||f.set(u,{group:new Group$4});this.group.add(d.group),this.markKeep(d);var v=createList(l,n,a);a.setData(v),v.each(function(g){var y=map$1(dimPermutations,function(z){return getSingleMarkerEndPoint(v,g,z,n,s)}),S=l.getAxis("x").scale,b=l.getAxis("y").scale,T=S.getExtent(),w=b.getExtent(),A=[S.parse(v.get("x0",g)),S.parse(v.get("x1",g))],M=[b.parse(v.get("y0",g)),b.parse(v.get("y1",g))];asc$2(A),asc$2(M);var L=!(T[0]>A[1]||T[1]M[1]||w[1]=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$f,Group$1=Group$4,LegendView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.newlineDisabled=!1,n}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(n,a,o){var s=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!n.get("show",!0)){var l=n.get("align"),u=n.get("orient");(!l||l==="auto")&&(l=n.get("left")==="right"&&u==="vertical"?"right":"left");var c=n.get("selector",!0),f=n.get("selectorPosition",!0);c&&(!f||f==="auto")&&(f=u==="horizontal"?"end":"start"),this.renderInner(l,n,a,o,c,u,f);var d=n.getBoxLayoutParams(),v={width:o.getWidth(),height:o.getHeight()},g=n.get("padding"),y=getLayoutRect(d,v,g),S=this.layoutInner(n,l,y,s,c,f),b=getLayoutRect(defaults({width:S.width,height:S.height},d),v,g);this.group.x=b.x-S.x,this.group.y=b.y-S.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(S,n))}},r.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},r.prototype.renderInner=function(n,a,o,s,l,u,c){var f=this.getContentGroup(),d=createHashMap(),v=a.get("selectedMode"),g=[];o.eachRawSeries(function(y){!y.get("legendHoverLink")&&g.push(y.id)}),each$3(a.getData(),function(y,S){var b=y.get("name");if(!this.newlineDisabled&&(b===""||b===` +`)){var T=new Group$1;T.newline=!0,f.add(T);return}var w=o.getSeriesByName(b)[0];if(!d.get(b))if(w){var A=w.getData(),M=A.getVisual("legendLineStyle")||{},L=A.getVisual("legendIcon"),O=A.getVisual("style"),D=this._createItem(w,b,S,y,a,n,M,O,L,v,s);D.on("click",curry(dispatchSelectAction,b,null,s,g)).on("mouseover",curry(dispatchHighlightAction,w.name,null,s,g)).on("mouseout",curry(dispatchDownplayAction,w.name,null,s,g)),d.set(b,!0)}else o.eachRawSeries(function(V){if(!d.get(b)&&V.legendVisualProvider){var z=V.legendVisualProvider;if(!z.containName(b))return;var Y=z.indexOfName(b),ie=z.getItemVisual(Y,"style"),j=z.getItemVisual(Y,"legendIcon"),le=parse$1(ie.fill);le&&le[3]===0&&(le[3]=.2,ie=extend(extend({},ie),{fill:stringify(le,"rgba")}));var de=this._createItem(V,b,S,y,a,n,{},ie,j,v,s);de.on("click",curry(dispatchSelectAction,null,b,s,g)).on("mouseover",curry(dispatchHighlightAction,null,b,s,g)).on("mouseout",curry(dispatchDownplayAction,null,b,s,g)),d.set(b,!0)}},this)},this),l&&this._createSelector(l,a,s,u,c)},r.prototype._createSelector=function(n,a,o,s,l){var u=this.getSelectorGroup();each$3(n,function(f){var d=f.type,v=new ZRText$1({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){o.dispatchAction({type:d==="all"?"legendAllSelect":"legendInverseSelect"})}});u.add(v);var g=a.getModel("selectorLabel"),y=a.getModel(["emphasis","selectorLabel"]);setLabelStyle(v,{normal:g,emphasis:y},{defaultText:f.title}),enableHoverEmphasis(v)})},r.prototype._createItem=function(n,a,o,s,l,u,c,f,d,v,g){var y=n.visualDrawType,S=l.get("itemWidth"),b=l.get("itemHeight"),T=l.isSelected(a),w=s.get("symbolRotate"),A=s.get("symbolKeepAspect"),M=s.get("icon");d=M||d||"roundRect";var L=getLegendStyle(d,s,c,f,y,T,g),O=new Group$1,D=s.getModel("textStyle");if(isFunction$1(n.getLegendIcon)&&(!M||M==="inherit"))O.add(n.getLegendIcon({itemWidth:S,itemHeight:b,icon:d,iconRotate:w,itemStyle:L.itemStyle,lineStyle:L.lineStyle,symbolKeepAspect:A}));else{var V=M==="inherit"&&n.getData().getVisual("symbol")?w==="inherit"?n.getData().getVisual("symbolRotate"):w:0;O.add(getDefaultLegendIcon({itemWidth:S,itemHeight:b,icon:d,iconRotate:V,itemStyle:L.itemStyle,lineStyle:L.lineStyle,symbolKeepAspect:A}))}var z=u==="left"?S+5:-5,Y=u,ie=l.get("formatter"),j=a;isString$1(ie)&&ie?j=ie.replace("{name}",a??""):isFunction$1(ie)&&(j=ie(a));var le=s.get("inactiveColor");O.add(new ZRText$1({style:createTextStyle(D,{text:j,x:z,y:b/2,fill:T?D.getTextColor():le,align:Y,verticalAlign:"middle"})}));var de=new Rect$3({shape:O.getBoundingRect(),invisible:!0}),xe=s.getModel("tooltip");return xe.get("show")&&setTooltipConfig({el:de,componentModel:l,itemName:a,itemTooltipOption:xe.option}),O.add(de),O.eachChild(function(Ie){Ie.silent=!0}),de.silent=!v,this.getContentGroup().add(O),enableHoverEmphasis(O),O.__legendDataIndex=o,O},r.prototype.layoutInner=function(n,a,o,s,l,u){var c=this.getContentGroup(),f=this.getSelectorGroup();box(n.get("orient"),c,n.get("itemGap"),o.width,o.height);var d=c.getBoundingRect(),v=[-d.x,-d.y];if(f.markRedraw(),c.markRedraw(),l){box("horizontal",f,n.get("selectorItemGap",!0));var g=f.getBoundingRect(),y=[-g.x,-g.y],S=n.get("selectorButtonGap",!0),b=n.getOrient().index,T=b===0?"width":"height",w=b===0?"height":"width",A=b===0?"y":"x";u==="end"?y[b]+=d[T]+S:v[b]+=g[T]+S,y[1-b]+=d[w]/2-g[w]/2,f.x=y[0],f.y=y[1],c.x=v[0],c.y=v[1];var M={x:0,y:0};return M[T]=d[T]+S+g[T],M[w]=Math.max(d[w],g[w]),M[A]=Math.min(0,g[A]+y[1-b]),M}else return c.x=v[0],c.y=v[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,n,a,o,s,l){function u(T,w){T.lineWidth==="auto"&&(T.lineWidth=w.lineWidth>0?2:0),each$3(T,function(A,M){T[M]==="inherit"&&(T[M]=w[M])})}var c=r.getModel("itemStyle"),f=c.getItemStyle(),d=t.lastIndexOf("empty",0)===0?"fill":"stroke",v=c.getShallow("decal");f.decal=!v||v==="inherit"?a.decal:createOrUpdatePatternFromDecal(v,l),f.fill==="inherit"&&(f.fill=a[o]),f.stroke==="inherit"&&(f.stroke=a[d]),f.opacity==="inherit"&&(f.opacity=(o==="fill"?a:n).opacity),u(f,a);var g=r.getModel("lineStyle"),y=g.getLineStyle();if(u(y,n),f.fill==="auto"&&(f.fill=a.fill),f.stroke==="auto"&&(f.stroke=a.fill),y.stroke==="auto"&&(y.stroke=a.fill),!s){var S=r.get("inactiveBorderWidth"),b=f[d];f.lineWidth=S==="auto"?a.lineWidth>0&&b?2:0:f.lineWidth,f.fill=r.get("inactiveColor"),f.stroke=r.get("inactiveBorderColor"),y.stroke=g.get("inactiveColor"),y.lineWidth=g.get("inactiveWidth")}return{itemStyle:f,lineStyle:y}}function getDefaultLegendIcon(t){var r=t.icon||"roundRect",n=createSymbol$1(r,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),r.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function dispatchSelectAction(t,r,n,a){dispatchDownplayAction(t,r,n,a),n.dispatchAction({type:"legendToggleSelect",name:t??r}),dispatchHighlightAction(t,r,n,a)}function isUseHoverLayer(t){for(var r=t.getZr().storage.getDisplayList(),n,a=0,o=r.length;ao[l],T=[-y.x,-y.y];a||(T[s]=d[f]);var w=[0,0],A=[-S.x,-S.y],M=retrieve2(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(b){var L=n.get("pageButtonPosition",!0);L==="end"?A[s]+=o[l]-S[l]:w[s]+=S[l]+M}A[1-s]+=y[u]/2-S[u]/2,d.setPosition(T),v.setPosition(w),g.setPosition(A);var O={x:0,y:0};if(O[l]=b?o[l]:y[l],O[u]=Math.max(y[u],S[u]),O[c]=Math.min(0,S[c]+A[1-s]),v.__rectSize=o[l],b){var D={x:0,y:0};D[l]=Math.max(o[l]-S[l]-M,0),D[u]=O[u],v.setClipPath(new Rect$3({shape:D})),v.__rectSize=D[l]}else g.eachChild(function(z){z.attr({invisible:!0,silent:!0})});var V=this._getPageInfo(n);return V.pageIndex!=null&&updateProps$1(d,{x:V.contentPosition[0],y:V.contentPosition[1]},b?n:null),this._updatePageInfoView(n,V),O},r.prototype._pageGo=function(n,a,o){var s=this._getPageInfo(a)[n];s!=null&&o.dispatchAction({type:"legendScroll",scrollDataIndex:s,legendId:a.id})},r.prototype._updatePageInfoView=function(n,a){var o=this._controllerGroup;each$f(["pagePrev","pageNext"],function(d){var v=d+"DataIndex",g=a[v]!=null,y=o.childOfName(d);y&&(y.setStyle("fill",g?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),y.cursor=g?"pointer":"default")});var s=o.childOfName("pageText"),l=n.get("pageFormatter"),u=a.pageIndex,c=u!=null?u+1:0,f=a.pageCount;s&&l&&s.setStyle("text",isString$1(l)?l.replace("{current}",c==null?"":c+"").replace("{total}",f==null?"":f+""):l({current:c,total:f}))},r.prototype._getPageInfo=function(n){var a=n.get("scrollDataIndex",!0),o=this.getContentGroup(),s=this._containerGroup.__rectSize,l=n.getOrient().index,u=WH[l],c=XY[l],f=this._findTargetItemIndex(a),d=o.children(),v=d[f],g=d.length,y=g?1:0,S={contentPosition:[o.x,o.y],pageCount:y,pageIndex:y-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!v)return S;var b=L(v);S.contentPosition[l]=-b.s;for(var T=f+1,w=b,A=b,M=null;T<=g;++T)M=L(d[T]),(!M&&A.e>w.s+s||M&&!O(M,w.s))&&(A.i>w.i?w=A:w=M,w&&(S.pageNextDataIndex==null&&(S.pageNextDataIndex=w.i),++S.pageCount)),A=M;for(var T=f-1,w=b,A=b,M=null;T>=-1;--T)M=L(d[T]),(!M||!O(A,M.s))&&w.i=V&&D.s<=V+s}},r.prototype._findTargetItemIndex=function(n){if(!this._showController)return 0;var a,o=this.getContentGroup(),s;return o.eachChild(function(l,u){var c=l.__legendDataIndex;s==null&&c!=null&&(s=u),c===n&&(a=u)}),a??s},r.type="legend.scroll",r}(LegendView$1);const ScrollableLegendView$1=ScrollableLegendView;function installScrollableLegendAction(t){t.registerAction("legendScroll","legendscroll",function(r,n){var a=r.scrollDataIndex;a!=null&&n.eachComponent({mainType:"legend",subType:"scroll",query:r},function(o){o.setScrollDataIndex(a)})})}function install$a(t){use(install$b),t.registerComponentModel(ScrollableLegendModel$1),t.registerComponentView(ScrollableLegendView$1),installScrollableLegendAction(t)}function install$9(t){use(install$b),use(install$a)}var InsideZoomModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}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$1=makeInner();function setViewInfoToCoordSysRecord(t,r,n){inner$1(t).coordSysRecordMap.each(function(a){var o=a.dataZoomInfoMap.get(r.uid);o&&(o.getRange=n)})}function disposeCoordSysRecordIfNeeded(t,r){for(var n=inner$1(t).coordSysRecordMap,a=n.keys(),o=0;oa[n+r]&&(r=u),o=o&&l.get("preventDefaultMouseMove",!0)}),{controlType:r,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}function installDataZoomRoamProcessor(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(r,n){var a=inner$1(n),o=a.coordSysRecordMap||(a.coordSysRecordMap=createHashMap());o.each(function(s){s.dataZoomInfoMap=null}),r.eachComponent({mainType:"dataZoom",subType:"inside"},function(s){var l=collectReferCoordSysModelInfo(s);each$f(l.infoList,function(u){var c=u.model.uid,f=o.get(c)||o.set(c,createCoordSysRecord(n,u.model)),d=f.dataZoomInfoMap||(f.dataZoomInfoMap=createHashMap());d.set(s.uid,{dzReferCoordSysInfo:u,model:s,getRange:null})})}),o.each(function(s){var l=s.controller,u,c=s.dataZoomInfoMap;if(c){var f=c.keys()[0];f!=null&&(u=c.get(f))}if(!u){disposeCoordSysRecord(o,s);return}var d=mergeControllerParams(c);l.enable(d.controlType,d.opt),l.setPointerChecker(s.containsPoint),createOrUpdate(s,"dispatchAction",u.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="dataZoom.inside",n}return r.prototype.render=function(n,a,o){if(t.prototype.render.apply(this,arguments),n.noTarget()){this._clear();return}this.range=n.getPercentRange(),setViewInfoToCoordSysRecord(o,n,{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,n,a){var o=this.range,s=o.slice(),l=t.axisModels[0];if(l){var u=getDirectionInfo[r](null,[a.originX,a.originY],l,n,t),c=(u.signal>0?u.pixelStart+u.pixelLength-u.pixel:u.pixel-u.pixelStart)/u.pixelLength*(s[1]-s[0])+s[0],f=Math.max(1/a.scale,0);s[0]=(s[0]-c)*f+c,s[1]=(s[1]-c)*f+c;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,s,[0,100],0,d.minSpan,d.maxSpan),this.range=s,o[0]!==s[0]||o[1]!==s[1])return s}},pan:makeMover(function(t,r,n,a,o,s){var l=getDirectionInfo[a]([s.oldX,s.oldY],[s.newX,s.newY],r,o,n);return l.signal*(t[1]-t[0])*l.pixel/l.pixelLength}),scrollMove:makeMover(function(t,r,n,a,o,s){var l=getDirectionInfo[a]([0,0],[s.scrollDelta,s.scrollDelta],r,o,n);return l.signal*(t[1]-t[0])*s.scrollDelta})};function makeMover(t){return function(r,n,a,o){var s=this.range,l=s.slice(),u=r.axisModels[0];if(u){var c=t(l,u,r,n,a,o);if(sliderMove(c,l,[0,100],"all"),this.range=l,s[0]!==l[0]||s[1]!==l[1])return l}}}var getDirectionInfo={grid:function(t,r,n,a,o){var s=n.axis,l={},u=o.model.coordinateSystem.getRect();return t=t||[0,0],s.dim==="x"?(l.pixel=r[0]-t[0],l.pixelLength=u.width,l.pixelStart=u.x,l.signal=s.inverse?1:-1):(l.pixel=r[1]-t[1],l.pixelLength=u.height,l.pixelStart=u.y,l.signal=s.inverse?-1:1),l},polar:function(t,r,n,a,o){var s=n.axis,l={},u=o.model.coordinateSystem,c=u.getRadiusAxis().getExtent(),f=u.getAngleAxis().getExtent();return t=t?u.pointToCoord(t):[0,0],r=u.pointToCoord(r),n.mainType==="radiusAxis"?(l.pixel=r[0]-t[0],l.pixelLength=c[1]-c[0],l.pixelStart=c[0],l.signal=s.inverse?1:-1):(l.pixel=r[1]-t[1],l.pixelLength=f[1]-f[0],l.pixelStart=f[0],l.signal=s.inverse?-1:1),l},singleAxis:function(t,r,n,a,o){var s=n.axis,l=o.model.coordinateSystem.getRect(),u={};return t=t||[0,0],s.orient==="horizontal"?(u.pixel=r[0]-t[0],u.pixelLength=l.width,u.pixelStart=l.x,u.signal=s.inverse?1:-1):(u.pixel=r[1]-t[1],u.pixelLength=l.height,u.pixelStart=l.y,u.signal=s.inverse?-1:1),u}};const InsideZoomView$1=InsideZoomView;function install$8(t){installCommon$1(t),t.registerComponentModel(InsideZoomModel$1),t.registerComponentView(InsideZoomView$1),installDataZoomRoamProcessor(t)}var SliderZoomModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}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$3,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 n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n._displayables={},n}return r.prototype.init=function(n,a){this.api=a,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},r.prototype.render=function(n,a,o,s){if(t.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",n.get("throttle"),"fixRate"),this._orient=n.getOrient(),n.get("show")===!1){this.group.removeAll();return}if(n.noTarget()){this._clear(),this.group.removeAll();return}(!s||s.type!=="dataZoom"||s.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 n=this.api.getZr();n.off("mousemove",this._onBrush),n.off("mouseup",this._onBrushEnd)},r.prototype._buildView=function(){var n=this.group;n.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var a=this._displayables.sliderGroup=new Group$4;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),n.add(a),this._positionGroup()},r.prototype._resetLocation=function(){var n=this.dataZoomModel,a=this.api,o=n.get("brushSelect"),s=o?DEFAULT_MOVE_HANDLE_SIZE:0,l=this._findCoordRect(),u={width:a.getWidth(),height:a.getHeight()},c=this._orient===HORIZONTAL?{right:u.width-l.x-l.width,top:u.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-s,width:l.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:l.y,width:DEFAULT_FILLER_SIZE,height:l.height},f=getLayoutParams(n.option);each$f(["right","top","width","height"],function(v){f[v]==="ph"&&(f[v]=c[v])});var d=getLayoutRect(f,u);this._location={x:d.x,y:d.y},this._size=[d.width,d.height],this._orient===VERTICAL&&this._size.reverse()},r.prototype._positionGroup=function(){var n=this.group,a=this._location,o=this._orient,s=this.dataZoomModel.getFirstTargetAxisModel(),l=s&&s.get("inverse"),u=this._displayables.sliderGroup,c=(this._dataShadowInfo||{}).otherAxisInverse;u.attr(o===HORIZONTAL&&!l?{scaleY:c?1:-1,scaleX:1}:o===HORIZONTAL&&l?{scaleY:c?1:-1,scaleX:-1}:o===VERTICAL&&!l?{scaleY:c?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:c?-1:1,scaleX:-1,rotation:Math.PI/2});var f=n.getBoundingRect([u]);n.x=a.x-f.x,n.y=a.y-f.y,n.markRedraw()},r.prototype._getViewExtent=function(){return[0,this._size[0]]},r.prototype._renderBackground=function(){var n=this.dataZoomModel,a=this._size,o=this._displayables.sliderGroup,s=n.get("brushSelect");o.add(new Rect({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:n.get("backgroundColor")},z2:-40}));var l=new Rect({shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),u=this.api.getZr();s?(l.on("mousedown",this._onBrushStart,this),l.cursor="crosshair",u.on("mousemove",this._onBrush),u.on("mouseup",this._onBrushEnd)):(u.off("mousemove",this._onBrush),u.off("mouseup",this._onBrushEnd)),o.add(l)},r.prototype._renderDataShadow=function(){var n=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!n)return;var a=this._size,o=this._shadowSize||[],s=n.series,l=s.getRawData(),u=s.getShadowDim&&s.getShadowDim(),c=u&&l.getDimensionInfo(u)?s.getShadowDim():n.otherDim;if(c==null)return;var f=this._shadowPolygonPts,d=this._shadowPolylinePts;if(l!==this._shadowData||c!==this._shadowDim||a[0]!==o[0]||a[1]!==o[1]){var v=l.getDataExtent(c),g=(v[1]-v[0])*.3;v=[v[0]-g,v[1]+g];var y=[0,a[1]],S=[0,a[0]],b=[[a[0],0],[0,0]],T=[],w=S[1]/(l.count()-1),A=0,M=Math.round(l.count()/a[0]),L;l.each([c],function(Y,ie){if(M>0&&ie%M){A+=w;return}var j=Y==null||isNaN(Y)||Y==="",le=j?0:linearMap$2(Y,v,y,!0);j&&!L&&ie?(b.push([b[b.length-1][0],0]),T.push([T[T.length-1][0],0])):!j&&L&&(b.push([A,0]),T.push([A,0])),b.push([A,le]),T.push([A,le]),A+=w,L=j}),f=this._shadowPolygonPts=b,d=this._shadowPolylinePts=T}this._shadowData=l,this._shadowDim=c,this._shadowSize=[a[0],a[1]];var O=this.dataZoomModel;function D(Y){var ie=O.getModel(Y?"selectedDataBackground":"dataBackground"),j=new Group$4,le=new Polygon$1({shape:{points:f},segmentIgnoreThreshold:1,style:ie.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),de=new Polyline$3({shape:{points:d},segmentIgnoreThreshold:1,style:ie.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return j.add(le),j.add(de),j}for(var V=0;V<3;V++){var z=D(V===1);this._displayables.sliderGroup.add(z),this._displayables.dataShadowSegs.push(z)}},r.prototype._prepareDataShadowInfo=function(){var n=this.dataZoomModel,a=n.get("showDataShadow");if(a!==!1){var o,s=this.ecModel;return n.eachTargetAxis(function(l,u){var c=n.getAxisProxy(l,u).getTargetSeriesModels();each$f(c,function(f){if(!o&&!(a!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,f.get("type"))<0)){var d=s.getComponent(getAxisMainType(l),u).axis,v=getOtherDim(l),g,y=f.coordinateSystem;v!=null&&y.getOtherAxis&&(g=y.getOtherAxis(d).inverse),v=f.getData().mapDimension(v),o={thisAxis:d,series:f,thisDim:l,otherDim:v,otherAxisInverse:g}}},this)},this),o}},r.prototype._renderHandle=function(){var n=this.group,a=this._displayables,o=a.handles=[null,null],s=a.handleLabels=[null,null],l=this._displayables.sliderGroup,u=this._size,c=this.dataZoomModel,f=this.api,d=c.get("borderRadius")||0,v=c.get("brushSelect"),g=a.filler=new Rect({silent:v,style:{fill:c.get("fillerColor")},textConfig:{position:"inside"}});l.add(g),l.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:u[0],height:u[1],r:d},style:{stroke:c.get("dataBackgroundColor")||c.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$f([0,1],function(M){var L=c.get("handleIcon");!symbolBuildProxies[L]&&L.indexOf("path://")<0&&L.indexOf("image://")<0&&(L="path://"+L);var O=createSymbol$1(L,-1,0,2,2,null,!0);O.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$1(this._onDragMove,this,M),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1),z2:5});var D=O.getBoundingRect(),V=c.get("handleSize");this._handleHeight=parsePercent(V,this._size[1]),this._handleWidth=D.width/D.height*this._handleHeight,O.setStyle(c.getModel("handleStyle").getItemStyle()),O.style.strokeNoScale=!0,O.rectHover=!0,O.ensureState("emphasis").style=c.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(O);var z=c.get("handleColor");z!=null&&(O.style.fill=z),l.add(o[M]=O);var Y=c.getModel("textStyle");n.add(s[M]=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle(Y,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:Y.getTextColor(),font:Y.getFont()}),z2:10}))},this);var y=g;if(v){var S=parsePercent(c.get("moveHandleSize"),u[1]),b=a.moveHandle=new Rect$3({style:c.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:u[1]-.5,height:S}}),T=S*.8,w=a.moveHandleIcon=createSymbol$1(c.get("moveHandleIcon"),-T/2,-T/2,T,T,"#fff",!0);w.silent=!0,w.y=u[1]+S/2-.5,b.ensureState("emphasis").style=c.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var A=Math.min(u[1]/2,Math.max(S,10));y=a.moveZone=new Rect$3({invisible:!0,shape:{y:u[1]-A,height:S+A}}),y.on("mouseover",function(){f.enterEmphasis(b)}).on("mouseout",function(){f.leaveEmphasis(b)}),l.add(b),l.add(w),l.add(y)}y.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 n=this._range=this.dataZoomModel.getPercentRange(),a=this._getViewExtent();this._handleEnds=[linearMap$2(n[0],[0,100],a,!0),linearMap$2(n[1],[0,100],a,!0)]},r.prototype._updateInterval=function(n,a){var o=this.dataZoomModel,s=this._handleEnds,l=this._getViewExtent(),u=o.findRepresentativeAxisProxy().getMinMaxSpan(),c=[0,100];sliderMove(a,s,l,o.get("zoomLock")?"all":n,u.minSpan!=null?linearMap$2(u.minSpan,c,l,!0):null,u.maxSpan!=null?linearMap$2(u.maxSpan,c,l,!0):null);var f=this._range,d=this._range=asc$2([linearMap$2(s[0],l,c,!0),linearMap$2(s[1],l,c,!0)]);return!f||f[0]!==d[0]||f[1]!==d[1]},r.prototype._updateView=function(n){var a=this._displayables,o=this._handleEnds,s=asc$2(o.slice()),l=this._size;each$f([0,1],function(y){var S=a.handles[y],b=this._handleHeight;S.attr({scaleX:b/2,scaleY:b/2,x:o[y]+(y?-1:1),y:l[1]/2-b/2})},this),a.filler.setShape({x:s[0],y:0,width:s[1]-s[0],height:l[1]});var u={x:s[0],width:s[1]-s[0]};a.moveHandle&&(a.moveHandle.setShape(u),a.moveZone.setShape(u),a.moveZone.getBoundingRect(),a.moveHandleIcon&&a.moveHandleIcon.attr("x",u.x+u.width/2));for(var c=a.dataShadowSegs,f=[0,s[0],s[1],l[0]],d=0;da[0]||o[1]<0||o[1]>a[1])){var s=this._handleEnds,l=(s[0]+s[1])/2,u=this._updateInterval("all",o[0]-l);this._updateView(),u&&this._dispatchZoomAction(!1)}},r.prototype._onBrushStart=function(n){var a=n.offsetX,o=n.offsetY;this._brushStart=new Point$1(a,o),this._brushing=!0,this._brushStartTime=+new Date},r.prototype._onBrushEnd=function(n){if(this._brushing){var a=this._displayables.brushRect;if(this._brushing=!1,!!a){a.attr("ignore",!0);var o=a.shape,s=+new Date;if(!(s-this._brushStartTime<200&&Math.abs(o.width)<5)){var l=this._getViewExtent(),u=[0,100];this._range=asc$2([linearMap$2(o.x,l,u,!0),linearMap$2(o.x+o.width,l,u,!0)]),this._handleEnds=[o.x,o.x+o.width],this._updateView(),this._dispatchZoomAction(!1)}}}},r.prototype._onBrush=function(n){this._brushing&&(stop(n.event),this._updateBrushRect(n.offsetX,n.offsetY))},r.prototype._updateBrushRect=function(n,a){var o=this._displayables,s=this.dataZoomModel,l=o.brushRect;l||(l=o.brushRect=new Rect({silent:!0,style:s.getModel("brushStyle").getItemStyle()}),o.sliderGroup.add(l)),l.attr("ignore",!1);var u=this._brushStart,c=this._displayables.sliderGroup,f=c.transformCoordToLocal(n,a),d=c.transformCoordToLocal(u.x,u.y),v=this._size;f[0]=Math.max(Math.min(v[0],f[0]),0),l.setShape({x:d[0],y:0,width:f[0]-d[0],height:v[1]})},r.prototype._dispatchZoomAction=function(n){var a=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:n?REALTIME_ANIMATION_CONFIG:null,start:a[0],end:a[1]})},r.prototype._findCoordRect=function(){var n,a=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!n&&a.length){var o=a[0].model.coordinateSystem;n=o.getRect&&o.getRect()}if(!n){var s=this.api.getWidth(),l=this.api.getHeight();n={x:s*.2,y:l*.2,width:s*.6,height:l*.6}}return n},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$7(t){t.registerComponentModel(SliderZoomModel$1),t.registerComponentView(SliderZoomView$1),installCommon$1(t)}function install$6(t){use(install$8),use(install$7)}var visualDefault={get:function(t,r,n){var a=clone$4((defaultOption[t]||{})[r]);return n&&isArray$2(a)?a[a.length-1]:a}},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$1=isArray$2,each$2=each$f,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return r.prototype.init=function(n,a,o){this.mergeDefaultAndTheme(n,o)},r.prototype.optionUpdated=function(n,a){var o=this.option;!a&&replaceVisualOption(o,n,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},r.prototype.resetVisual=function(n){var a=this.stateList;n=bind$1(n,this),this.controllerVisuals=createVisualMappings(this.option.controller,a,n),this.targetVisuals=createVisualMappings(this.option.target,a,n)},r.prototype.getItemSymbol=function(){return null},r.prototype.getTargetSeriesIndices=function(){var n=this.option.seriesIndex,a=[];return n==null||n==="all"?this.ecModel.eachSeries(function(o,s){a.push(s)}):a=normalizeToArray(n),a},r.prototype.eachTargetSeries=function(n,a){each$f(this.getTargetSeriesIndices(),function(o){var s=this.ecModel.getSeriesByIndex(o);s&&n.call(a,s)},this)},r.prototype.isTargetSeries=function(n){var a=!1;return this.eachTargetSeries(function(o){o===n&&(a=!0)}),a},r.prototype.formatValueText=function(n,a,o){var s=this.option,l=s.precision,u=this.dataBound,c=s.formatter,f;o=o||["<",">"],isArray$2(n)&&(n=n.slice(),f=!0);var d=a?n:f?[v(n[0]),v(n[1])]:v(n);if(isString$1(c))return c.replace("{value}",f?d[0]:d).replace("{value2}",f?d[1]:d);if(isFunction$1(c))return f?c(n[0],n[1]):c(n);if(f)return n[0]===u[0]?o[0]+" "+d[1]:n[1]===u[1]?o[1]+" "+d[0]:d[0]+" - "+d[1];return d;function v(g){return g===u[0]?"min":g===u[1]?"max":(+g).toFixed(Math.min(l,20))}},r.prototype.resetExtent=function(){var n=this.option,a=asc([n.min,n.max]);this._dataExtent=a},r.prototype.getDataDimensionIndex=function(n){var a=this.option.dimension;if(a!=null)return n.getDimensionIndex(a);for(var o=n.dimensions,s=o.length-1;s>=0;s--){var l=o[s],u=n.getDimensionInfo(l);if(!u.isCalculationCoord)return u.storeDimIndex}},r.prototype.getExtent=function(){return this._dataExtent.slice()},r.prototype.completeVisualOption=function(){var n=this.ecModel,a=this.option,o={inRange:a.inRange,outOfRange:a.outOfRange},s=a.target||(a.target={}),l=a.controller||(a.controller={});merge(s,o),merge(l,o);var u=this.isCategory();c.call(this,s),c.call(this,l),f.call(this,s,"inRange","outOfRange"),d.call(this,l);function c(v){isArray$1(a.color)&&!v.inRange&&(v.inRange={color:a.color.slice().reverse()}),v.inRange=v.inRange||{color:n.get("gradientColor")}}function f(v,g,y){var S=v[g],b=v[y];S&&!b&&(b=v[y]={},each$2(S,function(T,w){if(VisualMapping$1.isValidType(w)){var A=visualDefault$1.get(w,"inactive",u);A!=null&&(b[w]=A,w==="color"&&!b.hasOwnProperty("opacity")&&!b.hasOwnProperty("colorAlpha")&&(b.opacity=[0,0]))}}))}function d(v){var g=(v.inRange||{}).symbol||(v.outOfRange||{}).symbol,y=(v.inRange||{}).symbolSize||(v.outOfRange||{}).symbolSize,S=this.get("inactiveColor"),b=this.getItemSymbol(),T=b||"roundRect";each$2(this.stateList,function(w){var A=this.itemSize,M=v[w];M||(M=v[w]={color:u?S:[S]}),M.symbol==null&&(M.symbol=g&&clone$4(g)||(u?T:[T])),M.symbolSize==null&&(M.symbolSize=y&&clone$4(y)||(u?A[0]:[A[0],A[0]])),M.symbol=mapVisual(M.symbol,function(D){return D==="none"?T:D});var L=M.symbolSize;if(L!=null){var O=-1/0;eachVisual(L,function(D){D>O&&(O=D)}),M.symbolSize=mapVisual(L,function(D){return linearMap$1(D,[0,O],[0,A[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(n){},r.prototype.getSelected=function(){return null},r.prototype.getValueState=function(n){return null},r.prototype.getVisualMeta=function(n){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 n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.optionUpdated=function(n,a){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(o){o.mappingMethod="linear",o.dataExtent=this.getExtent()}),this._resetRange()},r.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var n=this.itemSize;(n[0]==null||isNaN(n[0]))&&(n[0]=DEFAULT_BAR_BOUND[0]),(n[1]==null||isNaN(n[1]))&&(n[1]=DEFAULT_BAR_BOUND[1])},r.prototype._resetRange=function(){var n=this.getExtent(),a=this.option.range;!a||a.auto?(n.auto=1,this.option.range=n):isArray$2(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],n[0]),a[1]=Math.min(a[1],n[1]))},r.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),each$f(this.stateList,function(n){var a=this.option.controller[n].symbolSize;a&&a[0]!==a[1]&&(a[0]=a[1]/3)},this)},r.prototype.setSelected=function(n){this.option.range=n.slice(),this._resetRange()},r.prototype.getSelected=function(){var n=this.getExtent(),a=asc$2((this.get("range")||[]).slice());return a[0]>n[1]&&(a[0]=n[1]),a[1]>n[1]&&(a[1]=n[1]),a[0]=o[1]||n<=a[1])?"inRange":"outOfRange"},r.prototype.findTargetDataIndices=function(n){var a=[];return this.eachTargetSeries(function(o){var s=[],l=o.getData();l.each(this.getDataDimensionIndex(l),function(u,c){n[0]<=u&&u<=n[1]&&s.push(c)},this),a.push({seriesId:o.id,dataIndex:s})},this),a},r.prototype.getVisualMeta=function(n){var a=getColorStopValues(this,"outOfRange",this.getExtent()),o=getColorStopValues(this,"inRange",this.option.range.slice()),s=[];function l(y,S){s.push({value:y,color:n(y,S)})}for(var u=0,c=0,f=o.length,d=a.length;cn[1])break;s.push({color:this.getControllerVisual(c,"color",a),offset:u/o})}return s.push({color:this.getControllerVisual(n[1],"color",a),offset:1}),s},r.prototype._createBarPoints=function(n,a){var o=this.visualMapModel.itemSize;return[[o[0]-a[0],n[0]],[o[0],n[0]],[o[0],n[1]],[o[0]-a[1],n[1]]]},r.prototype._createBarGroup=function(n){var a=this._orient,o=this.visualMapModel.get("inverse");return new Group$4(a==="horizontal"&&!o?{scaleX:n==="bottom"?1:-1,rotation:Math.PI/2}:a==="horizontal"&&o?{scaleX:n==="bottom"?-1:1,rotation:-Math.PI/2}:a==="vertical"&&!o?{scaleX:n==="left"?1:-1,scaleY:-1}:{scaleX:n==="left"?1:-1})},r.prototype._updateHandle=function(n,a){if(this._useHandle){var o=this._shapes,s=this.visualMapModel,l=o.handleThumbs,u=o.handleLabels,c=s.itemSize,f=s.getExtent();each$1([0,1],function(d){var v=l[d];v.setStyle("fill",a.handlesColor[d]),v.y=n[d];var g=linearMap(n[d],[0,c[1]],f,!0),y=this.getControllerVisual(g,"symbolSize");v.scaleX=v.scaleY=y/c[0],v.x=c[0]-y/2;var S=applyTransform(o.handleLabelPoints[d],getTransform$1(v,this.group));u[d].setStyle({x:S[0],y:S[1],text:s.formatValueText(this._dataInterval[d]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",o.mainGroup):"center"})},this)}},r.prototype._showIndicator=function(n,a,o,s){var l=this.visualMapModel,u=l.getExtent(),c=l.itemSize,f=[0,c[1]],d=this._shapes,v=d.indicator;if(v){v.attr("invisible",!1);var g={convertOpacityToAlpha:!0},y=this.getControllerVisual(n,"color",g),S=this.getControllerVisual(n,"symbolSize"),b=linearMap(n,u,f,!0),T=c[0]-S/2,w={x:v.x,y:v.y};v.y=b,v.x=T;var A=applyTransform(d.indicatorLabelPoint,getTransform$1(v,this.group)),M=d.indicatorLabel;M.attr("invisible",!1);var L=this._applyTransform("left",d.mainGroup),O=this._orient,D=O==="horizontal";M.setStyle({text:(o||"")+l.formatValueText(a),verticalAlign:D?L:"middle",align:D?"center":L});var V={x:T,y:b,style:{fill:y}},z={style:{x:A[0],y:A[1]}};if(l.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var Y={duration:100,easing:"cubicInOut",additive:!0};v.x=w.x,v.y=w.y,v.animateTo(V,Y),M.animateTo(z,Y)}else v.attr(V),M.attr(z);this._firstShowIndicator=!1;var ie=this._shapes.handleLabels;if(ie)for(var j=0;jl[1]&&(v[1]=1/0),a&&(v[0]===-1/0?this._showIndicator(d,v[1],"< ",c):v[1]===1/0?this._showIndicator(d,v[0],"> ",c):this._showIndicator(d,d,"≈ ",c));var g=this._hoverLinkDataIndices,y=[];(a||useHoverLinkOnHandle(o))&&(y=this._hoverLinkDataIndices=o.findTargetDataIndices(v));var S=compressBatches(g,y);this._dispatchHighDown("downplay",makeHighDownBatch(S[0],o)),this._dispatchHighDown("highlight",makeHighDownBatch(S[1],o))}},r.prototype._hoverLinkFromSeriesMouseOver=function(n){var a;if(findEventDispatcher(n.target,function(c){var f=getECData(c);if(f.dataIndex!=null)return a=f,!0},!0),!!a){var o=this.ecModel.getSeriesByIndex(a.seriesIndex),s=this.visualMapModel;if(s.isTargetSeries(o)){var l=o.getData(a.dataType),u=l.getStore().get(s.getDataDimensionIndex(l),a.dataIndex);isNaN(u)||this._showIndicator(u,u)}}},r.prototype._hideIndicator=function(){var n=this._shapes;n.indicator&&n.indicator.attr("invisible",!0),n.indicatorLabel&&n.indicatorLabel.attr("invisible",!0);var a=this._shapes.handleLabels;if(a)for(var o=0;o=0&&(s.dimension=l,a.push(s))}}),t.getData().setVisual("visualMeta",a)}}];function getColorVisual(t,r,n,a){for(var o=r.targetVisuals[a],s=VisualMapping$1.prepareVisualTypes(o),l={color:getVisualFromData(t.getData(),"color")},u=0,c=s.length;u0:r.splitNumber>0)||r.calculable)?"continuous":"piecewise"}),t.registerAction(visualMapActionInfo,visualMapActionHander),each$f(visualMapEncodingHandlers,function(r){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,r)}),t.registerPreprocessor(visualMapPreprocessor))}function install$5(t){t.registerComponentModel(ContinuousModel$1),t.registerComponentView(ContinuousView$1),installCommon(t)}var PiecewiseModel=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n._pieceList=[],n}return r.prototype.optionUpdated=function(n,a){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var o=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(n,a);var s=this.option.categories;this.resetVisual(function(l,u){o==="categories"?(l.mappingMethod="category",l.categories=clone$4(s)):(l.dataExtent=this.getExtent(),l.mappingMethod="piecewise",l.pieceList=map$1(this._pieceList,function(c){return c=clone$4(c),u!=="inRange"&&(c.visual=null),c}))})},r.prototype.completeVisualOption=function(){var n=this.option,a={},o=VisualMapping$1.listVisualTypes(),s=this.isCategory();each$f(n.pieces,function(u){each$f(o,function(c){u.hasOwnProperty(c)&&(a[c]=1)})}),each$f(a,function(u,c){var f=!1;each$f(this.stateList,function(d){f=f||l(n,d,c)||l(n.target,d,c)},this),!f&&each$f(this.stateList,function(d){(n[d]||(n[d]={}))[c]=visualDefault$1.get(c,d==="inRange"?"active":"inactive",s)})},this);function l(u,c,f){return u&&u[c]&&u[c].hasOwnProperty(f)}t.prototype.completeVisualOption.apply(this,arguments)},r.prototype._resetSelected=function(n,a){var o=this.option,s=this._pieceList,l=(a?o:n).selected||{};if(o.selected=l,each$f(s,function(c,f){var d=this.getSelectedMapKey(c);l.hasOwnProperty(d)||(l[d]=!0)},this),o.selectedMode==="single"){var u=!1;each$f(s,function(c,f){var d=this.getSelectedMapKey(c);l[d]&&(u?l[d]=!1:u=!0)},this)}},r.prototype.getItemSymbol=function(){return this.get("itemSymbol")},r.prototype.getSelectedMapKey=function(n){return this._mode==="categories"?n.value+"":n.index+""},r.prototype.getPieceList=function(){return this._pieceList},r.prototype._determineMode=function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},r.prototype.setSelected=function(n){this.option.selected=clone$4(n)},r.prototype.getValueState=function(n){var a=VisualMapping$1.findPieceIndex(n,this._pieceList);return a!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[a])]?"inRange":"outOfRange"},r.prototype.findTargetDataIndices=function(n){var a=[],o=this._pieceList;return this.eachTargetSeries(function(s){var l=[],u=s.getData();u.each(this.getDataDimensionIndex(u),function(c,f){var d=VisualMapping$1.findPieceIndex(c,o);d===n&&l.push(f)},this),a.push({seriesId:s.id,dataIndex:l})},this),a},r.prototype.getRepresentValue=function(n){var a;if(this.isCategory())a=n.value;else if(n.value!=null)a=n.value;else{var o=n.interval||[];a=o[0]===-1/0&&o[1]===1/0?0:(o[0]+o[1])/2}return a},r.prototype.getVisualMeta=function(n){if(this.isCategory())return;var a=[],o=["",""],s=this;function l(d,v){var g=s.getRepresentValue({interval:d});v||(v=s.getValueState(g));var y=n(g,v);d[0]===-1/0?o[0]=y:d[1]===1/0?o[1]=y:a.push({value:d[0],color:y},{value:d[1],color:y})}var u=this._pieceList.slice();if(!u.length)u.push({interval:[-1/0,1/0]});else{var c=u[0].interval[0];c!==-1/0&&u.unshift({interval:[-1/0,c]}),c=u[u.length-1].interval[1],c!==1/0&&u.push({interval:[c,1/0]})}var f=-1/0;return each$f(u,function(d){var v=d.interval;v&&(v[0]>f&&l([f,v[0]],"outOfRange"),l(v.slice()),f=v[1])},this),{stops:a,outerColors:o}},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,n=Math.min(r.precision,20),a=this.getExtent(),o=r.splitNumber;o=Math.max(parseInt(o,10),1),r.splitNumber=o;for(var s=(a[1]-a[0])/o;+s.toFixed(n)!==s&&n<5;)n++;r.precision=n,s=+s.toFixed(n),r.minOpen&&t.push({interval:[-1/0,a[0]],close:[0,0]});for(var l=0,u=a[0];l","≥"][a[0]]];n.text=n.text||this.formatValueText(n.value!=null?n.value:n.interval,!1,o)},this)}};function normalizeReverse(t,r){var n=t.inverse;(t.orient==="vertical"?!n:n)&&r.reverse()}const PiecewiseModel$1=PiecewiseModel;var PiecewiseVisualMapView=function(t){__extends(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=r.type,n}return r.prototype.doRender=function(){var n=this.group;n.removeAll();var a=this.visualMapModel,o=a.get("textGap"),s=a.textStyleModel,l=s.getFont(),u=s.getTextColor(),c=this._getItemAlign(),f=a.itemSize,d=this._getViewData(),v=d.endsText,g=retrieve(a.get("showLabel",!0),!v);v&&this._renderEndsText(n,v[0],f,g,c),each$f(d.viewPieceList,function(y){var S=y.piece,b=new Group$4;b.onclick=bind$1(this._onItemClick,this,S),this._enableHoverLink(b,y.indexInModelPieceList);var T=a.getRepresentValue(S);if(this._createItemSymbol(b,T,[0,0,f[0],f[1]]),g){var w=this.visualMapModel.getValueState(T);b.add(new ZRText$1({style:{x:c==="right"?-o:f[0]+o,y:f[1]/2,text:S.text,verticalAlign:"middle",align:c,font:l,fill:u,opacity:w==="outOfRange"?.5:1}}))}n.add(b)},this),v&&this._renderEndsText(n,v[1],f,g,c),box(a.get("orient"),n,a.get("itemGap")),this.renderBackground(n),this.positionGroup(n)},r.prototype._enableHoverLink=function(n,a){var o=this;n.on("mouseover",function(){return s("highlight")}).on("mouseout",function(){return s("downplay")});var s=function(l){var u=o.visualMapModel;u.option.hoverLink&&o.api.dispatchAction({type:l,batch:makeHighDownBatch(u.findTargetDataIndices(a),u)})}},r.prototype._getItemAlign=function(){var n=this.visualMapModel,a=n.option;if(a.orient==="vertical")return getItemAlign(n,this.api,n.itemSize);var o=a.align;return(!o||o==="auto")&&(o="left"),o},r.prototype._renderEndsText=function(n,a,o,s,l){if(a){var u=new Group$4,c=this.visualMapModel.textStyleModel;u.add(new ZRText$1({style:createTextStyle(c,{x:s?l==="right"?o[0]:0:o[0]/2,y:o[1]/2,verticalAlign:"middle",align:s?l:"center",text:a})})),n.add(u)}},r.prototype._getViewData=function(){var n=this.visualMapModel,a=map$1(n.getPieceList(),function(u,c){return{piece:u,indexInModelPieceList:c}}),o=n.get("text"),s=n.get("orient"),l=n.get("inverse");return(s==="horizontal"?l:!l)?a.reverse():o&&(o=o.slice().reverse()),{viewPieceList:a,endsText:o}},r.prototype._createItemSymbol=function(n,a,o){n.add(createSymbol$1(this.getControllerVisual(a,"symbol"),o[0],o[1],o[2],o[3],this.getControllerVisual(a,"color")))},r.prototype._onItemClick=function(n){var a=this.visualMapModel,o=a.option,s=o.selectedMode;if(s){var l=clone$4(o.selected),u=a.getSelectedMapKey(n);s==="single"||s===!0?(l[u]=!0,each$f(l,function(c,f){l[f]=f===u})):l[u]=!l[u],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:l})}},r.type="visualMap.piecewise",r}(VisualMapView$1);const PiecewiseView=PiecewiseVisualMapView;function install$4(t){t.registerComponentModel(PiecewiseModel$1),t.registerComponentView(PiecewiseView),installCommon(t)}function install$3(t){use(install$5),use(install$4)}var DEFAULT_OPTION={label:{enabled:!0},decal:{show:!1}},inner=makeInner(),decalPaletteScope={};function ariaVisual(t,r){var n=t.getModel("aria");if(!n.get("enabled"))return;var a=clone$4(DEFAULT_OPTION);merge(a.label,t.getLocaleModel().get("aria"),!1),merge(n.option,a,!1),o(),s();function o(){var f=n.getModel("decal"),d=f.get("show");if(d){var v=createHashMap();t.eachSeries(function(g){if(!g.isColorBySeries()){var y=v.get(g.type);y||(y={},v.set(g.type,y)),inner(g).scope=y}}),t.eachRawSeries(function(g){if(t.isSeriesFiltered(g))return;if(isFunction$1(g.enableAriaDecal)){g.enableAriaDecal();return}var y=g.getData();if(g.isColorBySeries()){var A=getDecalFromPalette(g.ecModel,g.name,decalPaletteScope,t.getSeriesCount()),M=y.getVisual("decal");y.setVisual("decal",L(M,A))}else{var S=g.getRawData(),b={},T=inner(g).scope;y.each(function(O){var D=y.getRawIndex(O);b[D]=O});var w=S.count();S.each(function(O){var D=b[O],V=S.getName(O)||O+"",z=getDecalFromPalette(g.ecModel,V,T,w),Y=y.getItemVisual(D,"decal");y.setItemVisual(D,"decal",L(Y,z))})}function L(O,D){var V=O?extend(extend({},D),O):D;return V.dirty=!0,V}})}}function s(){var f=t.getLocaleModel().get("aria"),d=n.getModel("label");if(d.option=defaults(d.option,f),!!d.get("enabled")){var v=r.getZr().dom;if(d.get("description")){v.setAttribute("aria-label",d.get("description"));return}var g=t.getSeriesCount(),y=d.get(["data","maxCount"])||10,S=d.get(["series","maxCount"])||10,b=Math.min(g,S),T;if(!(g<1)){var w=u();if(w){var A=d.get(["general","withTitle"]);T=l(A,{title:w})}else T=d.get(["general","withoutTitle"]);var M=[],L=g>1?d.get(["series","multiple","prefix"]):d.get(["series","single","prefix"]);T+=l(L,{seriesCount:g}),t.eachSeries(function(z,Y){if(Y1?d.get(["series","multiple",le]):d.get(["series","single",le]),ie=l(ie,{seriesId:z.seriesIndex,seriesName:z.get("name"),seriesType:c(z.subType)});var de=z.getData();if(de.count()>y){var xe=d.get(["data","partialData"]);ie+=l(xe,{displayCnt:y})}else ie+=d.get(["data","allData"]);for(var Ie=d.get(["data","separator","middle"]),Ce=d.get(["data","separator","end"]),Fe=[],Ue=0;Ue":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RegExpEvaluator=function(){function t(r){var n=this._condVal=isString$1(r)?new RegExp(r):isRegExp$1(r)?r:null;if(n==null){var a="";throwError(a)}}return t.prototype.evaluate=function(r){var n=typeof r;return isString$1(n)?this._condVal.test(r):isNumber$1(n)?this._condVal.test(r+""):!1},t}(),ConstConditionInternal=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),AndConditionInternal=function(){function t(){}return t.prototype.evaluate=function(){for(var r=this.children,n=0;n2&&a.push(o),o=[de,xe]}function d(de,xe,Ie,Ce){aroundEqual(de,Ie)&&aroundEqual(xe,Ce)||o.push(de,xe,Ie,Ce,Ie,Ce)}function v(de,xe,Ie,Ce,Fe,Ue){var Pt=Math.abs(xe-de),Dt=Math.tan(Pt/4)*4/3,rr=xez:j2&&a.push(o),a}function adpativeBezier(t,r,n,a,o,s,l,u,c,f){if(aroundEqual(t,n)&&aroundEqual(r,a)&&aroundEqual(o,l)&&aroundEqual(s,u)){c.push(l,u);return}var d=2/f,v=d*d,g=l-t,y=u-r,S=Math.sqrt(g*g+y*y);g/=S,y/=S;var b=n-t,T=a-r,w=o-l,A=s-u,M=b*b+T*T,L=w*w+A*A;if(M=0&&z=0){c.push(l,u);return}var Y=[],ie=[];cubicSubdivide(t,n,o,l,.5,Y),cubicSubdivide(r,a,s,u,.5,ie),adpativeBezier(Y[0],ie[0],Y[1],ie[1],Y[2],ie[2],Y[3],ie[3],c,f),adpativeBezier(Y[4],ie[4],Y[5],ie[5],Y[6],ie[6],Y[7],ie[7],c,f)}function pathToPolygons(t,r){var n=pathToBezierCurves(t),a=[];r=r||1;for(var o=0;o0)for(var f=0;fMath.abs(f),v=getDividingGrids([c,f],d?0:1,r),g=(d?u:f)/v.length,y=0;yo,l=getDividingGrids([a,o],s?0:1,r),u=s?"width":"height",c=s?"height":"width",f=s?"x":"y",d=s?"y":"x",v=t[u]/l.length,g=0;g1?null:new Point$1(b*c+t,b*f+r)}function projPtOnLine(t,r,n){var a=new Point$1;Point$1.sub(a,n,r),a.normalize();var o=new Point$1;Point$1.sub(o,t,r);var s=o.dot(a);return s}function addToPoly(t,r){var n=t[t.length-1];n&&n[0]===r[0]&&n[1]===r[1]||t.push(r)}function splitPolygonByLine(t,r,n){for(var a=t.length,o=[],s=0;sl?(f.x=d.x=u+s/2,f.y=c,d.y=c+l):(f.y=d.y=c+l/2,f.x=u,d.x=u+s),splitPolygonByLine(r,f,d)}function binaryDivideRecursive(t,r,n,a){if(n===1)a.push(r);else{var o=Math.floor(n/2),s=t(r);binaryDivideRecursive(t,s[0],o,a),binaryDivideRecursive(t,s[1],n-o,a)}return a}function clone(t,r){for(var n=[],a=0;a0)for(var O=a/n,D=-a/2;D<=a/2;D+=O){for(var V=Math.sin(D),z=Math.cos(D),Y=0,M=0;M0;f/=2){var d=0,v=0;(t&f)>0&&(d=1),(r&f)>0&&(v=1),u+=f*f*(3*d^v),v===0&&(d===1&&(t=f-1-t,r=f-1-r),c=t,t=r,r=c)}return u}function sortPaths(t){var r=1/0,n=1/0,a=-1/0,o=-1/0,s=map$1(t,function(u){var c=u.getBoundingRect(),f=u.getComputedTransform(),d=c.x+c.width/2+(f?f[4]:0),v=c.y+c.height/2+(f?f[5]:0);return r=Math.min(d,r),n=Math.min(v,n),a=Math.max(d,a),o=Math.max(v,o),[d,v]}),l=map$1(s,function(u,c){return{cp:u,z:hilbert(u[0],u[1],r,n,a,o),path:t[c]}});return l.sort(function(u,c){return u.z-c.z}).map(function(u){return u.path})}function defaultDividePath(t){return split(t.path,t.count)}function createEmptyReturn(){return{fromIndividuals:[],toIndividuals:[],count:0}}function combineMorph(t,r,n){var a=[];function o(O){for(var D=0;D=0;o--)if(!n[o].many.length){var c=n[u].many;if(c.length<=1)if(u)u=0;else return n;var s=c.length,f=Math.ceil(s/2);n[o].many=c.slice(f,s),n[u].many=c.slice(0,f),u++}return n}var pathDividers={clone:function(t){for(var r=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),a=0;a0))return;var u=a.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},l),f,d;isMultiple(t)&&(f=t,d=r),isMultiple(r)&&(f=r,d=t);function v(w,A,M,L,O){var D=w.many,V=w.one;if(D.length===1&&!O){var z=A?D[0]:V,Y=A?V:D[0];if(isCombineMorphing(z))v({many:[z],one:Y},!0,M,L,!0);else{var ie=u?defaults({delay:u(M,L)},c):c;morphPath(z,Y,ie),s(z,Y,z,Y,ie)}}else for(var j=defaults({dividePath:pathDividers[n],individualDelay:u&&function(Fe,Ue,Pt,Dt){return u(Fe+M,L)}},c),le=A?combineMorph(D,V,j):separateMorph(V,D,j),de=le.fromIndividuals,xe=le.toIndividuals,Ie=de.length,Ce=0;Cer.length,y=f?prepareMorphBatches(d,f):prepareMorphBatches(g?r:t,[g?t:r]),S=0,b=0;bDATA_COUNT_THRESHOLD))for(var o=a.getIndices(),s=getGroupIdDimension(a),l=0;l0&&L.group.traverse(function(D){D instanceof Path$1&&!D.animators.length&&D.animateFrom({style:{opacity:0}},O)})})}function getSeriesTransitionKey(t){var r=t.getModel("universalTransition").get("seriesKey");return r||t.id}function convertArraySeriesKeyToString(t){return isArray$2(t)?t.sort().join(","):t}function getDivideShapeFromData(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function findTransitionSeriesBatches(t,r){var n=createHashMap(),a=createHashMap(),o=createHashMap();return each$f(t.oldSeries,function(s,l){var u=t.oldDataGroupIds[l],c=t.oldData[l],f=getSeriesTransitionKey(s),d=convertArraySeriesKeyToString(f);a.set(d,{dataGroupId:u,data:c}),isArray$2(f)&&each$f(f,function(v){o.set(v,{key:d,dataGroupId:u,data:c})})}),each$f(r.updatedSeries,function(s){if(s.isUniversalTransitionEnabled()&&s.isAnimationEnabled()){var l=s.get("dataGroupId"),u=s.getData(),c=getSeriesTransitionKey(s),f=convertArraySeriesKeyToString(c),d=a.get(f);if(d)n.set(f,{oldSeries:[{dataGroupId:d.dataGroupId,divide:getDivideShapeFromData(d.data),data:d.data}],newSeries:[{dataGroupId:l,divide:getDivideShapeFromData(u),data:u}]});else if(isArray$2(c)){var v=[];each$f(c,function(S){var b=a.get(S);b.data&&v.push({dataGroupId:b.dataGroupId,divide:getDivideShapeFromData(b.data),data:b.data})}),v.length&&n.set(f,{oldSeries:v,newSeries:[{dataGroupId:l,data:u,divide:getDivideShapeFromData(u)}]})}else{var g=o.get(c);if(g){var y=n.get(g.key);y||(y={oldSeries:[{dataGroupId:g.dataGroupId,data:g.data,divide:getDivideShapeFromData(g.data)}],newSeries:[]},n.set(g.key,y)),y.newSeries.push({dataGroupId:l,data:u,divide:getDivideShapeFromData(u)})}}}}),n}function querySeries(t,r){for(var n=0;n=0&&o.push({dataGroupId:r.oldDataGroupIds[u],data:r.oldData[u],divide:getDivideShapeFromData(r.oldData[u]),dim:l.dimension})}),each$f(normalizeToArray(t.to),function(l){var u=querySeries(n.updatedSeries,l);if(u>=0){var c=n.updatedSeries[u].getData();s.push({dataGroupId:r.oldDataGroupIds[u],data:c,divide:getDivideShapeFromData(c),dim:l.dimension})}}),o.length>0&&s.length>0&&transitionBetween(o,s,a)}function installUniversalTransition(t){t.registerUpdateLifecycle("series:beforeupdate",function(r,n,a){each$f(normalizeToArray(a.seriesTransition),function(o){each$f(normalizeToArray(o.to),function(s){for(var l=a.updatedSeries,u=0;u + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */lodash.exports;(function(t,r){(function(){var n,a="4.17.21",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",f=500,d="__lodash_placeholder__",v=1,g=2,y=4,S=1,b=2,T=1,w=2,A=4,M=8,L=16,O=32,D=64,V=128,z=256,Y=512,ie=30,j="...",le=800,de=16,xe=1,Ie=2,Ce=3,Fe=1/0,Ue=9007199254740991,Pt=17976931348623157e292,Dt=0/0,rr=4294967295,ur=rr-1,Sr=rr>>>1,_r=[["ary",V],["bind",T],["bindKey",w],["curry",M],["curryRight",L],["flip",Y],["partial",O],["partialRight",D],["rearg",z]],xr="[object Arguments]",Cr="[object Array]",jt="[object AsyncFunction]",ar="[object Boolean]",sr="[object Date]",dr="[object DOMException]",fr="[object Error]",Ne="[object Function]",ue="[object GeneratorFunction]",_e="[object Map]",ze="[object Number]",At="[object Null]",tr="[object Object]",hr="[object Promise]",pr="[object Proxy]",mr="[object RegExp]",ir="[object Set]",er="[object String]",nr="[object Symbol]",wr="[object Undefined]",Ar="[object WeakMap]",Or="[object WeakSet]",Br="[object ArrayBuffer]",Nr="[object DataView]",qr="[object Float32Array]",Tn="[object Float64Array]",Gn="[object Int8Array]",fa="[object Int16Array]",jn="[object Int32Array]",da="[object Uint8Array]",xn="[object Uint8ClampedArray]",$n="[object Uint16Array]",ha="[object Uint32Array]",Ms=/\b__p \+= '';/g,uo=/\b(__p \+=) '' \+/g,co=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Si=/&(?:amp|lt|gt|quot|#39);/g,bi=/[&<>"']/g,fo=RegExp(Si.source),xi=RegExp(bi.source),ja=/<%-([\s\S]+?)%>/g,ho=/<%([\s\S]+?)%>/g,Ti=/<%=([\s\S]+?)%>/g,Ir=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ea=/^\w*$/,Rs=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ci=/[\\^$.*+?()[\]{}|]/g,Ls=RegExp(Ci.source),wi=/^\s+/,po=/\s/,vo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ds=/\{\n\/\* \[wrapped with (.+)\] \*/,Os=/,? & /,Ns=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ks=/[()=,{}\[\]\/\s]/,Bs=/\\(\\)?/g,Fs=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,go=/\w*$/,Ai=/^[-+]0x[0-9a-f]+$/i,Ei=/^0b[01]+$/i,Vs=/^\[object .+?Constructor\]$/,Hs=/^0o[0-7]+$/i,mo=/^(?:0|[1-9]\d*)$/,yo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Za=/($^)/,_o=/['\n\r\u2028\u2029\\]/g,qa="\\ud800-\\udfff",zs="\\u0300-\\u036f",Gs="\\ufe20-\\ufe2f",Us="\\u20d0-\\u20ff",So=zs+Gs+Us,bo="\\u2700-\\u27bf",xo="a-z\\xdf-\\xf6\\xf8-\\xff",Ws="\\xac\\xb1\\xd7\\xf7",Ys="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",To="\\u2000-\\u206f",Co=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",wo="A-Z\\xc0-\\xd6\\xd8-\\xde",$i="\\ufe0e\\ufe0f",Pi=Ws+Ys+To+Co,Ii="['’]",Ks="["+qa+"]",Ao="["+Pi+"]",Xa="["+So+"]",Eo="\\d+",js="["+bo+"]",$o="["+xo+"]",Mi="[^"+qa+Pi+Eo+bo+xo+wo+"]",Ri="\\ud83c[\\udffb-\\udfff]",Zs="(?:"+Xa+"|"+Ri+")",Li="[^"+qa+"]",Di="(?:\\ud83c[\\udde6-\\uddff]){2}",Oi="[\\ud800-\\udbff][\\udc00-\\udfff]",pa="["+wo+"]",Po="\\u200d",Io="(?:"+$o+"|"+Mi+")",qs="(?:"+pa+"|"+Mi+")",Mo="(?:"+Ii+"(?:d|ll|m|re|s|t|ve))?",Ro="(?:"+Ii+"(?:D|LL|M|RE|S|T|VE))?",Lo=Zs+"?",Do="["+$i+"]?",Xs="(?:"+Po+"(?:"+[Li,Di,Oi].join("|")+")"+Do+Lo+")*",Js="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Qs="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Oo=Do+Lo+Xs,el="(?:"+[js,Di,Oi].join("|")+")"+Oo,tl="(?:"+[Li+Xa+"?",Xa,Di,Oi,Ks].join("|")+")",rl=RegExp(Ii,"g"),nl=RegExp(Xa,"g"),ka=RegExp(Ri+"(?="+Ri+")|"+tl+Oo,"g"),al=RegExp([pa+"?"+$o+"+"+Mo+"(?="+[Ao,pa,"$"].join("|")+")",qs+"+"+Ro+"(?="+[Ao,pa+Io,"$"].join("|")+")",pa+"?"+Io+"+"+Mo,pa+"+"+Ro,Qs,Js,Eo,el].join("|"),"g"),il=RegExp("["+Po+qa+So+$i+"]"),ol=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,sl=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ll=-1,Jr={};Jr[qr]=Jr[Tn]=Jr[Gn]=Jr[fa]=Jr[jn]=Jr[da]=Jr[xn]=Jr[$n]=Jr[ha]=!0,Jr[xr]=Jr[Cr]=Jr[Br]=Jr[ar]=Jr[Nr]=Jr[sr]=Jr[fr]=Jr[Ne]=Jr[_e]=Jr[ze]=Jr[tr]=Jr[mr]=Jr[ir]=Jr[er]=Jr[Ar]=!1;var Kr={};Kr[xr]=Kr[Cr]=Kr[Br]=Kr[Nr]=Kr[ar]=Kr[sr]=Kr[qr]=Kr[Tn]=Kr[Gn]=Kr[fa]=Kr[jn]=Kr[_e]=Kr[ze]=Kr[tr]=Kr[mr]=Kr[ir]=Kr[er]=Kr[nr]=Kr[da]=Kr[xn]=Kr[$n]=Kr[ha]=!0,Kr[fr]=Kr[Ne]=Kr[Ar]=!1;var No={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},ul={"&":"&","<":"<",">":">",'"':""","'":"'"},cl={"&":"&","<":"<",">":">",""":'"',"'":"'"},ko={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},fl=parseFloat,dl=parseInt,Ni=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,hl=typeof self=="object"&&self&&self.Object===Object&&self,Cn=Ni||hl||Function("return this")(),Ja=r&&!r.nodeType&&r,va=Ja&&!0&&t&&!t.nodeType&&t,Bo=va&&va.exports===Ja,Qa=Bo&&Ni.process,kn=function(){try{var Lt=va&&va.require&&va.require("util").types;return Lt||Qa&&Qa.binding&&Qa.binding("util")}catch{}}(),Fo=kn&&kn.isArrayBuffer,ki=kn&&kn.isDate,Vo=kn&&kn.isMap,Ho=kn&&kn.isRegExp,Bi=kn&&kn.isSet,zo=kn&&kn.isTypedArray;function Ln(Lt,cr,or){switch(or.length){case 0:return Lt.call(cr);case 1:return Lt.call(cr,or[0]);case 2:return Lt.call(cr,or[0],or[1]);case 3:return Lt.call(cr,or[0],or[1],or[2])}return Lt.apply(cr,or)}function Go(Lt,cr,or,$r){for(var kr=-1,jr=Lt==null?0:Lt.length;++kr-1}function ti(Lt,cr,or){for(var $r=-1,kr=Lt==null?0:Lt.length;++$r-1;);return or}function Ko(Lt,cr){for(var or=Lt.length;or--&&$a(cr,Lt[or],0)>-1;);return or}function si(Lt,cr){for(var or=Lt.length,$r=0;or--;)Lt[or]===cr&&++$r;return $r}var li=ai(No),_l=ai(ul);function jo(Lt){return"\\"+ko[Lt]}function Sl(Lt,cr){return Lt==null?n:Lt[cr]}function Pa(Lt){return il.test(Lt)}function bl(Lt){return ol.test(Lt)}function Ve(Lt){for(var cr,or=[];!(cr=Lt.next()).done;)or.push(cr.value);return or}function Mr(Lt){var cr=-1,or=Array(Lt.size);return Lt.forEach(function($r,kr){or[++cr]=[kr,$r]}),or}function Ia(Lt,cr){return function(or){return Lt(cr(or))}}function Zn(Lt,cr){for(var or=-1,$r=Lt.length,kr=0,jr=[];++or<$r;){var wn=Lt[or];(wn===cr||wn===d)&&(Lt[or]=d,jr[kr++]=or)}return jr}function ga(Lt){var cr=-1,or=Array(Lt.size);return Lt.forEach(function($r){or[++cr]=$r}),or}function ui(Lt){var cr=-1,or=Array(Lt.size);return Lt.forEach(function($r){or[++cr]=[$r,$r]}),or}function br(Lt,cr,or){for(var $r=or-1,kr=Lt.length;++$r-1}function Hf(x,$){var F=this.__data__,ae=us(F,x);return ae<0?(++this.size,F.push([x,$])):F[ae][1]=$,this}ma.prototype.clear=kf,ma.prototype.delete=Bf,ma.prototype.get=Ff,ma.prototype.has=Vf,ma.prototype.set=Hf;function ya(x){var $=-1,F=x==null?0:x.length;for(this.clear();++$=$?x:$)),x}function Jn(x,$,F,ae,he,Oe){var qe,Et=$&v,kt=$&g,vr=$&y;if(F&&(qe=he?F(x,ae,he,Oe):F(x)),qe!==n)return qe;if(!vn(x))return x;var gr=Fr(x);if(gr){if(qe=Wd(x),!Et)return Fn(x,qe)}else{var yr=Rn(x),Tr=yr==Ne||yr==ue;if(Na(x))return qu(x,Et);if(yr==tr||yr==xr||Tr&&!he){if(qe=kt||Tr?{}:vc(x),!Et)return kt?Dd(x,nd(qe,x)):Ld(x,Au(qe,x))}else{if(!Kr[yr])return he?x:{};qe=Yd(x,yr,Et)}}Oe||(Oe=new ra);var Pr=Oe.get(x);if(Pr)return Pr;Oe.set(x,qe),Wc(x)?x.forEach(function(Dr){qe.add(Jn(Dr,$,F,Dr,x,Oe))}):Gc(x)&&x.forEach(function(Dr,Ur){qe.set(Ur,Jn(Dr,$,F,Ur,x,Oe))});var Lr=vr?kt?Kl:Yl:kt?Hn:En,Hr=gr?n:Lr(x);return Bn(Hr||x,function(Dr,Ur){Hr&&(Ur=Dr,Dr=x[Ur]),eo(qe,Ur,Jn(Dr,$,F,Ur,x,Oe))}),qe}function ad(x){var $=En(x);return function(F){return Eu(F,x,$)}}function Eu(x,$,F){var ae=F.length;if(x==null)return!ae;for(x=Qr(x);ae--;){var he=F[ae],Oe=$[he],qe=x[he];if(qe===n&&!(he in x)||!Oe(qe))return!1}return!0}function $u(x,$,F){if(typeof x!="function")throw new qn(l);return so(function(){x.apply(n,F)},$)}function to(x,$,F,ae){var he=-1,Oe=ei,qe=!0,Et=x.length,kt=[],vr=$.length;if(!Et)return kt;F&&($=hn($,In(F))),ae?(Oe=ti,qe=!1):$.length>=o&&(Oe=Ba,qe=!1,$=new za($));e:for(;++hehe?0:he+F),ae=ae===n||ae>he?he:Vr(ae),ae<0&&(ae+=he),ae=F>ae?0:Kc(ae);F0&&F(Et)?$>1?Pn(Et,$-1,F,ae,he):oa(he,Et):ae||(he[he.length]=Et)}return he}var $l=rc(),Mu=rc(!0);function la(x,$){return x&&$l(x,$,En)}function Pl(x,$){return x&&Mu(x,$,En)}function fs(x,$){return ia($,function(F){return Ca(x[F])})}function Ua(x,$){$=Da($,x);for(var F=0,ae=$.length;x!=null&&F$}function sd(x,$){return x!=null&&Xr.call(x,$)}function ld(x,$){return x!=null&&$ in Qr(x)}function ud(x,$,F){return x>=Mn($,F)&&x=120&&gr.length>=120)?new za(qe&&gr):n}gr=x[0];var yr=-1,Tr=Et[0];e:for(;++yr-1;)Et!==x&&rs.call(Et,kt,1),rs.call(x,kt,1);return x}function zu(x,$){for(var F=x?$.length:0,ae=F-1;F--;){var he=$[F];if(F==ae||he!==Oe){var Oe=he;Ta(he)?rs.call(x,he,1):Fl(x,he)}}return x}function Nl(x,$){return x+is(xu()*($-x+1))}function xd(x,$,F,ae){for(var he=-1,Oe=An(as(($-x)/(F||1)),0),qe=or(Oe);Oe--;)qe[ae?Oe:++he]=x,x+=F;return qe}function kl(x,$){var F="";if(!x||$<1||$>Ue)return F;do $%2&&(F+=x),$=is($/2),$&&(x+=x);while($);return F}function zr(x,$){return eu(yc(x,$,zn),x+"")}function Td(x){return wu(_i(x))}function Cd(x,$){var F=_i(x);return xs(F,Ga($,0,F.length))}function ao(x,$,F,ae){if(!vn(x))return x;$=Da($,x);for(var he=-1,Oe=$.length,qe=Oe-1,Et=x;Et!=null&&++hehe?0:he+$),F=F>he?he:F,F<0&&(F+=he),he=$>F?0:F-$>>>0,$>>>=0;for(var Oe=or(he);++ae>>1,qe=x[Oe];qe!==null&&!Wn(qe)&&(F?qe<=$:qe<$)?ae=Oe+1:he=Oe}return he}return Bl(x,$,zn,F)}function Bl(x,$,F,ae){var he=0,Oe=x==null?0:x.length;if(Oe===0)return 0;$=F($);for(var qe=$!==$,Et=$===null,kt=Wn($),vr=$===n;he=o){var vr=$?null:Bd(x);if(vr)return ga(vr);qe=!1,he=Ba,kt=new za}else kt=$?[]:Et;e:for(;++ae=ae?x:Qn(x,$,F)}var Zu=vf||function(x){return Cn.clearTimeout(x)};function qu(x,$){if($)return x.slice();var F=x.length,ae=mu?mu(F):new x.constructor(F);return x.copy(ae),ae}function Gl(x){var $=new x.constructor(x.byteLength);return new es($).set(new es(x)),$}function Pd(x,$){var F=$?Gl(x.buffer):x.buffer;return new x.constructor(F,x.byteOffset,x.byteLength)}function Id(x){var $=new x.constructor(x.source,go.exec(x));return $.lastIndex=x.lastIndex,$}function Md(x){return Qi?Qr(Qi.call(x)):{}}function Xu(x,$){var F=$?Gl(x.buffer):x.buffer;return new x.constructor(F,x.byteOffset,x.length)}function Ju(x,$){if(x!==$){var F=x!==n,ae=x===null,he=x===x,Oe=Wn(x),qe=$!==n,Et=$===null,kt=$===$,vr=Wn($);if(!Et&&!vr&&!Oe&&x>$||Oe&&qe&&kt&&!Et&&!vr||ae&&qe&&kt||!F&&kt||!he)return 1;if(!ae&&!Oe&&!vr&&x<$||vr&&F&&he&&!ae&&!Oe||Et&&F&&he||!qe&&he||!kt)return-1}return 0}function Rd(x,$,F){for(var ae=-1,he=x.criteria,Oe=$.criteria,qe=he.length,Et=F.length;++ae=Et)return kt;var vr=F[ae];return kt*(vr=="desc"?-1:1)}}return x.index-$.index}function Qu(x,$,F,ae){for(var he=-1,Oe=x.length,qe=F.length,Et=-1,kt=$.length,vr=An(Oe-qe,0),gr=or(kt+vr),yr=!ae;++Et1?F[he-1]:n,qe=he>2?F[2]:n;for(Oe=x.length>3&&typeof Oe=="function"?(he--,Oe):n,qe&&On(F[0],F[1],qe)&&(Oe=he<3?n:Oe,he=1),$=Qr($);++ae-1?he[Oe?$[qe]:qe]:n}}function ic(x){return xa(function($){var F=$.length,ae=F,he=Xn.prototype.thru;for(x&&$.reverse();ae--;){var Oe=$[ae];if(typeof Oe!="function")throw new qn(l);if(he&&!qe&&Ss(Oe)=="wrapper")var qe=new Xn([],!0)}for(ae=qe?ae:F;++ae1&&Yr.reverse(),gr&&ktEt))return!1;var vr=Oe.get(x),gr=Oe.get($);if(vr&&gr)return vr==$&&gr==x;var yr=-1,Tr=!0,Pr=F&b?new za:n;for(Oe.set(x,$),Oe.set($,x);++yr1?"& ":"")+$[ae],$=$.join(F>2?", ":" "),x.replace(vo,`{ +/* [wrapped with `+$+`] */ +`)}function jd(x){return Fr(x)||Ka(x)||!!(Su&&x&&x[Su])}function Ta(x,$){var F=typeof x;return $=$??Ue,!!$&&(F=="number"||F!="symbol"&&mo.test(x))&&x>-1&&x%1==0&&x<$}function On(x,$,F){if(!vn(F))return!1;var ae=typeof $;return(ae=="number"?Vn(F)&&Ta($,F.length):ae=="string"&&$ in F)?na(F[$],x):!1}function Xl(x,$){if(Fr(x))return!1;var F=typeof x;return F=="number"||F=="symbol"||F=="boolean"||x==null||Wn(x)?!0:Ea.test(x)||!Ir.test(x)||$!=null&&x in Qr($)}function Zd(x){var $=typeof x;return $=="string"||$=="number"||$=="symbol"||$=="boolean"?x!=="__proto__":x===null}function Jl(x){var $=Ss(x),F=$e[$];if(typeof F!="function"||!($ in Wr.prototype))return!1;if(x===F)return!0;var ae=jl(F);return!!ae&&x===ae[0]}function qd(x){return!!gu&&gu in x}var Xd=qo?Ca:vu;function oo(x){var $=x&&x.constructor,F=typeof $=="function"&&$.prototype||fi;return x===F}function gc(x){return x===x&&!vn(x)}function mc(x,$){return function(F){return F==null?!1:F[x]===$&&($!==n||x in Qr(F))}}function Jd(x){var $=As(x,function(ae){return F.size===f&&F.clear(),ae}),F=$.cache;return $}function Qd(x,$){var F=x[1],ae=$[1],he=F|ae,Oe=he<(T|w|V),qe=ae==V&&F==M||ae==V&&F==z&&x[7].length<=$[8]||ae==(V|z)&&$[7].length<=$[8]&&F==M;if(!(Oe||qe))return x;ae&T&&(x[2]=$[2],he|=F&T?0:A);var Et=$[3];if(Et){var kt=x[3];x[3]=kt?Qu(kt,Et,$[4]):Et,x[4]=kt?Zn(x[3],d):$[4]}return Et=$[5],Et&&(kt=x[5],x[5]=kt?ec(kt,Et,$[6]):Et,x[6]=kt?Zn(x[5],d):$[6]),Et=$[7],Et&&(x[7]=Et),ae&V&&(x[8]=x[8]==null?$[8]:Mn(x[8],$[8])),x[9]==null&&(x[9]=$[9]),x[0]=$[0],x[1]=he,x}function eh(x){var $=[];if(x!=null)for(var F in Qr(x))$.push(F);return $}function th(x){return Jo.call(x)}function yc(x,$,F){return $=An($===n?x.length-1:$,0),function(){for(var ae=arguments,he=-1,Oe=An(ae.length-$,0),qe=or(Oe);++he0){if(++$>=le)return arguments[0]}else $=0;return x.apply(n,arguments)}}function xs(x,$){var F=-1,ae=x.length,he=ae-1;for($=$===n?ae:$;++F<$;){var Oe=Nl(F,he),qe=x[Oe];x[Oe]=x[F],x[F]=qe}return x.length=$,x}var Cc=Jd(function(x){var $=[];return x.charCodeAt(0)===46&&$.push(""),x.replace(Rs,function(F,ae,he,Oe){$.push(he?Oe.replace(Bs,"$1"):ae||F)}),$});function ca(x){if(typeof x=="string"||Wn(x))return x;var $=x+"";return $=="0"&&1/x==-Fe?"-0":$}function Ya(x){if(x!=null){try{return Xo.call(x)}catch{}try{return x+""}catch{}}return""}function nh(x,$){return Bn(_r,function(F){var ae="_."+F[0];$&F[1]&&!ei(x,ae)&&x.push(ae)}),x.sort()}function wc(x){if(x instanceof Wr)return x.clone();var $=new Xn(x.__wrapped__,x.__chain__);return $.__actions__=Fn(x.__actions__),$.__index__=x.__index__,$.__values__=x.__values__,$}function ah(x,$,F){(F?On(x,$,F):$===n)?$=1:$=An(Vr($),0);var ae=x==null?0:x.length;if(!ae||$<1)return[];for(var he=0,Oe=0,qe=or(as(ae/$));he1?x[$-1]:n;return F=typeof F=="function"?(x.pop(),F):n,Mc(x,F)});function Rc(x){var $=$e(x);return $.__chain__=!0,$}function op(x,$){return $(x),x}function Ts(x,$){return $(x)}var sp=xa(function(x){var $=x.length,F=$?x[0]:0,ae=this.__wrapped__,he=function(Oe){return El(Oe,x)};return $>1||this.__actions__.length||!(ae instanceof Wr)||!Ta(F)?this.thru(he):(ae=ae.slice(F,+F+($?1:0)),ae.__actions__.push({func:Ts,args:[he],thisArg:n}),new Xn(ae,this.__chain__).thru(function(Oe){return $&&!Oe.length&&Oe.push(n),Oe}))});function lp(){return Rc(this)}function up(){return new Xn(this.value(),this.__chain__)}function cp(){this.__values__===n&&(this.__values__=Yc(this.value()));var x=this.__index__>=this.__values__.length,$=x?n:this.__values__[this.__index__++];return{done:x,value:$}}function fp(){return this}function dp(x){for(var $,F=this;F instanceof ls;){var ae=wc(F);ae.__index__=0,ae.__values__=n,$?he.__wrapped__=ae:$=ae;var he=ae;F=F.__wrapped__}return he.__wrapped__=x,$}function hp(){var x=this.__wrapped__;if(x instanceof Wr){var $=x;return this.__actions__.length&&($=new Wr(this)),$=$.reverse(),$.__actions__.push({func:Ts,args:[tu],thisArg:n}),new Xn($,this.__chain__)}return this.thru(tu)}function pp(){return Ku(this.__wrapped__,this.__actions__)}var vp=vs(function(x,$,F){Xr.call(x,F)?++x[F]:Sa(x,F,1)});function gp(x,$,F){var ae=Fr(x)?Fi:id;return F&&On(x,$,F)&&($=n),ae(x,Rr($,3))}function mp(x,$){var F=Fr(x)?ia:Iu;return F(x,Rr($,3))}var yp=ac(Ac),_p=ac(Ec);function Sp(x,$){return Pn(Cs(x,$),1)}function bp(x,$){return Pn(Cs(x,$),Fe)}function xp(x,$,F){return F=F===n?1:Vr(F),Pn(Cs(x,$),F)}function Lc(x,$){var F=Fr(x)?Bn:Ra;return F(x,Rr($,3))}function Dc(x,$){var F=Fr(x)?pl:Pu;return F(x,Rr($,3))}var Tp=vs(function(x,$,F){Xr.call(x,F)?x[F].push($):Sa(x,F,[$])});function Cp(x,$,F,ae){x=Vn(x)?x:_i(x),F=F&&!ae?Vr(F):0;var he=x.length;return F<0&&(F=An(he+F,0)),Ps(x)?F<=he&&x.indexOf($,F)>-1:!!he&&$a(x,$,F)>-1}var wp=zr(function(x,$,F){var ae=-1,he=typeof $=="function",Oe=Vn(x)?or(x.length):[];return Ra(x,function(qe){Oe[++ae]=he?Ln($,qe,F):ro(qe,$,F)}),Oe}),Ap=vs(function(x,$,F){Sa(x,F,$)});function Cs(x,$){var F=Fr(x)?hn:Nu;return F(x,Rr($,3))}function Ep(x,$,F,ae){return x==null?[]:(Fr($)||($=$==null?[]:[$]),F=ae?n:F,Fr(F)||(F=F==null?[]:[F]),Vu(x,$,F))}var $p=vs(function(x,$,F){x[F?0:1].push($)},function(){return[[],[]]});function Pp(x,$,F){var ae=Fr(x)?ri:Ui,he=arguments.length<3;return ae(x,Rr($,4),F,he,Ra)}function Ip(x,$,F){var ae=Fr(x)?vl:Ui,he=arguments.length<3;return ae(x,Rr($,4),F,he,Pu)}function Mp(x,$){var F=Fr(x)?ia:Iu;return F(x,Es(Rr($,3)))}function Rp(x){var $=Fr(x)?wu:Td;return $(x)}function Lp(x,$,F){(F?On(x,$,F):$===n)?$=1:$=Vr($);var ae=Fr(x)?ed:Cd;return ae(x,$)}function Dp(x){var $=Fr(x)?td:Ad;return $(x)}function Op(x){if(x==null)return 0;if(Vn(x))return Ps(x)?pe(x):x.length;var $=Rn(x);return $==_e||$==ir?x.size:Ll(x).length}function Np(x,$,F){var ae=Fr(x)?Vi:Ed;return F&&On(x,$,F)&&($=n),ae(x,Rr($,3))}var kp=zr(function(x,$){if(x==null)return[];var F=$.length;return F>1&&On(x,$[0],$[1])?$=[]:F>2&&On($[0],$[1],$[2])&&($=[$[0]]),Vu(x,Pn($,1),[])}),ws=gf||function(){return Cn.Date.now()};function Bp(x,$){if(typeof $!="function")throw new qn(l);return x=Vr(x),function(){if(--x<1)return $.apply(this,arguments)}}function Oc(x,$,F){return $=F?n:$,$=x&&$==null?x.length:$,ba(x,V,n,n,n,n,$)}function Nc(x,$){var F;if(typeof $!="function")throw new qn(l);return x=Vr(x),function(){return--x>0&&(F=$.apply(this,arguments)),x<=1&&($=n),F}}var nu=zr(function(x,$,F){var ae=T;if(F.length){var he=Zn(F,mi(nu));ae|=O}return ba(x,ae,$,F,he)}),kc=zr(function(x,$,F){var ae=T|w;if(F.length){var he=Zn(F,mi(kc));ae|=O}return ba($,ae,x,F,he)});function Bc(x,$,F){$=F?n:$;var ae=ba(x,M,n,n,n,n,n,$);return ae.placeholder=Bc.placeholder,ae}function Fc(x,$,F){$=F?n:$;var ae=ba(x,L,n,n,n,n,n,$);return ae.placeholder=Fc.placeholder,ae}function Vc(x,$,F){var ae,he,Oe,qe,Et,kt,vr=0,gr=!1,yr=!1,Tr=!0;if(typeof x!="function")throw new qn(l);$=ta($)||0,vn(F)&&(gr=!!F.leading,yr="maxWait"in F,Oe=yr?An(ta(F.maxWait)||0,$):Oe,Tr="trailing"in F?!!F.trailing:Tr);function Pr(bn){var aa=ae,Aa=he;return ae=he=n,vr=bn,qe=x.apply(Aa,aa),qe}function Lr(bn){return vr=bn,Et=so(Ur,$),gr?Pr(bn):qe}function Hr(bn){var aa=bn-kt,Aa=bn-vr,of=$-aa;return yr?Mn(of,Oe-Aa):of}function Dr(bn){var aa=bn-kt,Aa=bn-vr;return kt===n||aa>=$||aa<0||yr&&Aa>=Oe}function Ur(){var bn=ws();if(Dr(bn))return Yr(bn);Et=so(Ur,Hr(bn))}function Yr(bn){return Et=n,Tr&&ae?Pr(bn):(ae=he=n,qe)}function Yn(){Et!==n&&Zu(Et),vr=0,ae=kt=he=Et=n}function Nn(){return Et===n?qe:Yr(ws())}function Kn(){var bn=ws(),aa=Dr(bn);if(ae=arguments,he=this,kt=bn,aa){if(Et===n)return Lr(kt);if(yr)return Zu(Et),Et=so(Ur,$),Pr(kt)}return Et===n&&(Et=so(Ur,$)),qe}return Kn.cancel=Yn,Kn.flush=Nn,Kn}var Fp=zr(function(x,$){return $u(x,1,$)}),Vp=zr(function(x,$,F){return $u(x,ta($)||0,F)});function Hp(x){return ba(x,Y)}function As(x,$){if(typeof x!="function"||$!=null&&typeof $!="function")throw new qn(l);var F=function(){var ae=arguments,he=$?$.apply(this,ae):ae[0],Oe=F.cache;if(Oe.has(he))return Oe.get(he);var qe=x.apply(this,ae);return F.cache=Oe.set(he,qe)||Oe,qe};return F.cache=new(As.Cache||ya),F}As.Cache=ya;function Es(x){if(typeof x!="function")throw new qn(l);return function(){var $=arguments;switch($.length){case 0:return!x.call(this);case 1:return!x.call(this,$[0]);case 2:return!x.call(this,$[0],$[1]);case 3:return!x.call(this,$[0],$[1],$[2])}return!x.apply(this,$)}}function zp(x){return Nc(2,x)}var Gp=$d(function(x,$){$=$.length==1&&Fr($[0])?hn($[0],In(Rr())):hn(Pn($,1),In(Rr()));var F=$.length;return zr(function(ae){for(var he=-1,Oe=Mn(ae.length,F);++he=$}),Ka=Lu(function(){return arguments}())?Lu:function(x){return _n(x)&&Xr.call(x,"callee")&&!_u.call(x,"callee")},Fr=or.isArray,av=Fo?In(Fo):fd;function Vn(x){return x!=null&&$s(x.length)&&!Ca(x)}function Sn(x){return _n(x)&&Vn(x)}function iv(x){return x===!0||x===!1||_n(x)&&Dn(x)==ar}var Na=yf||vu,ov=ki?In(ki):dd;function sv(x){return _n(x)&&x.nodeType===1&&!lo(x)}function lv(x){if(x==null)return!0;if(Vn(x)&&(Fr(x)||typeof x=="string"||typeof x.splice=="function"||Na(x)||yi(x)||Ka(x)))return!x.length;var $=Rn(x);if($==_e||$==ir)return!x.size;if(oo(x))return!Ll(x).length;for(var F in x)if(Xr.call(x,F))return!1;return!0}function uv(x,$){return no(x,$)}function cv(x,$,F){F=typeof F=="function"?F:n;var ae=F?F(x,$):n;return ae===n?no(x,$,n,F):!!ae}function iu(x){if(!_n(x))return!1;var $=Dn(x);return $==fr||$==dr||typeof x.message=="string"&&typeof x.name=="string"&&!lo(x)}function fv(x){return typeof x=="number"&&bu(x)}function Ca(x){if(!vn(x))return!1;var $=Dn(x);return $==Ne||$==ue||$==jt||$==pr}function zc(x){return typeof x=="number"&&x==Vr(x)}function $s(x){return typeof x=="number"&&x>-1&&x%1==0&&x<=Ue}function vn(x){var $=typeof x;return x!=null&&($=="object"||$=="function")}function _n(x){return x!=null&&typeof x=="object"}var Gc=Vo?In(Vo):pd;function dv(x,$){return x===$||Rl(x,$,Zl($))}function hv(x,$,F){return F=typeof F=="function"?F:n,Rl(x,$,Zl($),F)}function pv(x){return Uc(x)&&x!=+x}function vv(x){if(Xd(x))throw new kr(s);return Du(x)}function gv(x){return x===null}function mv(x){return x==null}function Uc(x){return typeof x=="number"||_n(x)&&Dn(x)==ze}function lo(x){if(!_n(x)||Dn(x)!=tr)return!1;var $=ts(x);if($===null)return!0;var F=Xr.call($,"constructor")&&$.constructor;return typeof F=="function"&&F instanceof F&&Xo.call(F)==df}var ou=Ho?In(Ho):vd;function yv(x){return zc(x)&&x>=-Ue&&x<=Ue}var Wc=Bi?In(Bi):gd;function Ps(x){return typeof x=="string"||!Fr(x)&&_n(x)&&Dn(x)==er}function Wn(x){return typeof x=="symbol"||_n(x)&&Dn(x)==nr}var yi=zo?In(zo):md;function _v(x){return x===n}function Sv(x){return _n(x)&&Rn(x)==Ar}function bv(x){return _n(x)&&Dn(x)==Or}var xv=_s(Dl),Tv=_s(function(x,$){return x<=$});function Yc(x){if(!x)return[];if(Vn(x))return Ps(x)?lr(x):Fn(x);if(Zi&&x[Zi])return Ve(x[Zi]());var $=Rn(x),F=$==_e?Mr:$==ir?ga:_i;return F(x)}function wa(x){if(!x)return x===0?x:0;if(x=ta(x),x===Fe||x===-Fe){var $=x<0?-1:1;return $*Pt}return x===x?x:0}function Vr(x){var $=wa(x),F=$%1;return $===$?F?$-F:$:0}function Kc(x){return x?Ga(Vr(x),0,rr):0}function ta(x){if(typeof x=="number")return x;if(Wn(x))return Dt;if(vn(x)){var $=typeof x.valueOf=="function"?x.valueOf():x;x=vn($)?$+"":$}if(typeof x!="string")return x===0?x:+x;x=Ki(x);var F=Ei.test(x);return F||Hs.test(x)?dl(x.slice(2),F?2:8):Ai.test(x)?Dt:+x}function jc(x){return ua(x,Hn(x))}function Cv(x){return x?Ga(Vr(x),-Ue,Ue):x===0?x:0}function Zr(x){return x==null?"":Un(x)}var wv=vi(function(x,$){if(oo($)||Vn($)){ua($,En($),x);return}for(var F in $)Xr.call($,F)&&eo(x,F,$[F])}),Zc=vi(function(x,$){ua($,Hn($),x)}),Is=vi(function(x,$,F,ae){ua($,Hn($),x,ae)}),Av=vi(function(x,$,F,ae){ua($,En($),x,ae)}),Ev=xa(El);function $v(x,$){var F=pi(x);return $==null?F:Au(F,$)}var Pv=zr(function(x,$){x=Qr(x);var F=-1,ae=$.length,he=ae>2?$[2]:n;for(he&&On($[0],$[1],he)&&(ae=1);++F1),Oe}),ua(x,Kl(x),F),ae&&(F=Jn(F,v|g|y,Fd));for(var he=$.length;he--;)Fl(F,$[he]);return F});function Kv(x,$){return Xc(x,Es(Rr($)))}var jv=xa(function(x,$){return x==null?{}:Sd(x,$)});function Xc(x,$){if(x==null)return{};var F=hn(Kl(x),function(ae){return[ae]});return $=Rr($),Hu(x,F,function(ae,he){return $(ae,he[0])})}function Zv(x,$,F){$=Da($,x);var ae=-1,he=$.length;for(he||(he=1,x=n);++ae$){var ae=x;x=$,$=ae}if(F||x%1||$%1){var he=xu();return Mn(x+he*($-x+fl("1e-"+((he+"").length-1))),$)}return Nl(x,$)}var og=gi(function(x,$,F){return $=$.toLowerCase(),x+(F?ef($):$)});function ef(x){return uu(Zr(x).toLowerCase())}function tf(x){return x=Zr(x),x&&x.replace(yo,li).replace(nl,"")}function sg(x,$,F){x=Zr(x),$=Un($);var ae=x.length;F=F===n?ae:Ga(Vr(F),0,ae);var he=F;return F-=$.length,F>=0&&x.slice(F,he)==$}function lg(x){return x=Zr(x),x&&xi.test(x)?x.replace(bi,_l):x}function ug(x){return x=Zr(x),x&&Ls.test(x)?x.replace(Ci,"\\$&"):x}var cg=gi(function(x,$,F){return x+(F?"-":"")+$.toLowerCase()}),fg=gi(function(x,$,F){return x+(F?" ":"")+$.toLowerCase()}),dg=nc("toLowerCase");function hg(x,$,F){x=Zr(x),$=Vr($);var ae=$?pe(x):0;if(!$||ae>=$)return x;var he=($-ae)/2;return ys(is(he),F)+x+ys(as(he),F)}function pg(x,$,F){x=Zr(x),$=Vr($);var ae=$?pe(x):0;return $&&ae<$?x+ys($-ae,F):x}function vg(x,$,F){x=Zr(x),$=Vr($);var ae=$?pe(x):0;return $&&ae<$?ys($-ae,F)+x:x}function gg(x,$,F){return F||$==null?$=0:$&&($=+$),xf(Zr(x).replace(wi,""),$||0)}function mg(x,$,F){return(F?On(x,$,F):$===n)?$=1:$=Vr($),kl(Zr(x),$)}function yg(){var x=arguments,$=Zr(x[0]);return x.length<3?$:$.replace(x[1],x[2])}var _g=gi(function(x,$,F){return x+(F?"_":"")+$.toLowerCase()});function Sg(x,$,F){return F&&typeof F!="number"&&On(x,$,F)&&($=F=n),F=F===n?rr:F>>>0,F?(x=Zr(x),x&&(typeof $=="string"||$!=null&&!ou($))&&($=Un($),!$&&Pa(x))?Oa(lr(x),0,F):x.split($,F)):[]}var bg=gi(function(x,$,F){return x+(F?" ":"")+uu($)});function xg(x,$,F){return x=Zr(x),F=F==null?0:Ga(Vr(F),0,x.length),$=Un($),x.slice(F,F+$.length)==$}function Tg(x,$,F){var ae=$e.templateSettings;F&&On(x,$,F)&&($=n),x=Zr(x),$=Is({},$,ae,cc);var he=Is({},$.imports,ae.imports,cc),Oe=En(he),qe=oi(he,Oe),Et,kt,vr=0,gr=$.interpolate||Za,yr="__p += '",Tr=xl(($.escape||Za).source+"|"+gr.source+"|"+(gr===Ti?Fs:Za).source+"|"+($.evaluate||Za).source+"|$","g"),Pr="//# sourceURL="+(Xr.call($,"sourceURL")?($.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ll+"]")+` +`;x.replace(Tr,function(Dr,Ur,Yr,Yn,Nn,Kn){return Yr||(Yr=Yn),yr+=x.slice(vr,Kn).replace(_o,jo),Ur&&(Et=!0,yr+=`' + +__e(`+Ur+`) + +'`),Nn&&(kt=!0,yr+=`'; +`+Nn+`; +__p += '`),Yr&&(yr+=`' + +((__t = (`+Yr+`)) == null ? '' : __t) + +'`),vr=Kn+Dr.length,Dr}),yr+=`'; +`;var Lr=Xr.call($,"variable")&&$.variable;if(!Lr)yr=`with (obj) { +`+yr+` +} +`;else if(ks.test(Lr))throw new kr(u);yr=(kt?yr.replace(Ms,""):yr).replace(uo,"$1").replace(co,"$1;"),yr="function("+(Lr||"obj")+`) { +`+(Lr?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(Et?", __e = _.escape":"")+(kt?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+yr+`return __p +}`;var Hr=nf(function(){return jr(Oe,Pr+"return "+yr).apply(n,qe)});if(Hr.source=yr,iu(Hr))throw Hr;return Hr}function Cg(x){return Zr(x).toLowerCase()}function wg(x){return Zr(x).toUpperCase()}function Ag(x,$,F){if(x=Zr(x),x&&(F||$===n))return Ki(x);if(!x||!($=Un($)))return x;var ae=lr(x),he=lr($),Oe=ji(ae,he),qe=Ko(ae,he)+1;return Oa(ae,Oe,qe).join("")}function Eg(x,$,F){if(x=Zr(x),x&&(F||$===n))return x.slice(0,Er(x)+1);if(!x||!($=Un($)))return x;var ae=lr(x),he=Ko(ae,lr($))+1;return Oa(ae,0,he).join("")}function $g(x,$,F){if(x=Zr(x),x&&(F||$===n))return x.replace(wi,"");if(!x||!($=Un($)))return x;var ae=lr(x),he=ji(ae,lr($));return Oa(ae,he).join("")}function Pg(x,$){var F=ie,ae=j;if(vn($)){var he="separator"in $?$.separator:he;F="length"in $?Vr($.length):F,ae="omission"in $?Un($.omission):ae}x=Zr(x);var Oe=x.length;if(Pa(x)){var qe=lr(x);Oe=qe.length}if(F>=Oe)return x;var Et=F-pe(ae);if(Et<1)return ae;var kt=qe?Oa(qe,0,Et).join(""):x.slice(0,Et);if(he===n)return kt+ae;if(qe&&(Et+=kt.length-Et),ou(he)){if(x.slice(Et).search(he)){var vr,gr=kt;for(he.global||(he=xl(he.source,Zr(go.exec(he))+"g")),he.lastIndex=0;vr=he.exec(gr);)var yr=vr.index;kt=kt.slice(0,yr===n?Et:yr)}}else if(x.indexOf(Un(he),Et)!=Et){var Tr=kt.lastIndexOf(he);Tr>-1&&(kt=kt.slice(0,Tr))}return kt+ae}function Ig(x){return x=Zr(x),x&&fo.test(x)?x.replace(Si,Gr):x}var Mg=gi(function(x,$,F){return x+(F?" ":"")+$.toUpperCase()}),uu=nc("toUpperCase");function rf(x,$,F){return x=Zr(x),$=F?n:$,$===n?bl(x)?sf(x):ml(x):x.match($)||[]}var nf=zr(function(x,$){try{return Ln(x,n,$)}catch(F){return iu(F)?F:new kr(F)}}),Rg=xa(function(x,$){return Bn($,function(F){F=ca(F),Sa(x,F,nu(x[F],x))}),x});function Lg(x){var $=x==null?0:x.length,F=Rr();return x=$?hn(x,function(ae){if(typeof ae[1]!="function")throw new qn(l);return[F(ae[0]),ae[1]]}):[],zr(function(ae){for(var he=-1;++he<$;){var Oe=x[he];if(Ln(Oe[0],this,ae))return Ln(Oe[1],this,ae)}})}function Dg(x){return ad(Jn(x,v))}function cu(x){return function(){return x}}function Og(x,$){return x==null||x!==x?$:x}var Ng=ic(),kg=ic(!0);function zn(x){return x}function fu(x){return Ou(typeof x=="function"?x:Jn(x,v))}function Bg(x){return ku(Jn(x,v))}function Fg(x,$){return Bu(x,Jn($,v))}var Vg=zr(function(x,$){return function(F){return ro(F,x,$)}}),Hg=zr(function(x,$){return function(F){return ro(x,F,$)}});function du(x,$,F){var ae=En($),he=fs($,ae);F==null&&!(vn($)&&(he.length||!ae.length))&&(F=$,$=x,x=this,he=fs($,En($)));var Oe=!(vn(F)&&"chain"in F)||!!F.chain,qe=Ca(x);return Bn(he,function(Et){var kt=$[Et];x[Et]=kt,qe&&(x.prototype[Et]=function(){var vr=this.__chain__;if(Oe||vr){var gr=x(this.__wrapped__),yr=gr.__actions__=Fn(this.__actions__);return yr.push({func:kt,args:arguments,thisArg:x}),gr.__chain__=vr,gr}return kt.apply(x,oa([this.value()],arguments))})}),x}function zg(){return Cn._===this&&(Cn._=hf),this}function hu(){}function Gg(x){return x=Vr(x),zr(function($){return Fu($,x)})}var Ug=Ul(hn),Wg=Ul(Fi),Yg=Ul(Vi);function af(x){return Xl(x)?Gi(ca(x)):bd(x)}function Kg(x){return function($){return x==null?n:Ua(x,$)}}var jg=sc(),Zg=sc(!0);function pu(){return[]}function vu(){return!1}function qg(){return{}}function Xg(){return""}function Jg(){return!0}function Qg(x,$){if(x=Vr(x),x<1||x>Ue)return[];var F=rr,ae=Mn(x,rr);$=Rr($),x-=rr;for(var he=Yi(ae,$);++F0||$<0)?new Wr(F):(x<0?F=F.takeRight(-x):x&&(F=F.drop(x)),$!==n&&($=Vr($),F=$<0?F.dropRight(-$):F.take($-x)),F)},Wr.prototype.takeRightWhile=function(x){return this.reverse().takeWhile(x).reverse()},Wr.prototype.toArray=function(){return this.take(rr)},la(Wr.prototype,function(x,$){var F=/^(?:filter|find|map|reject)|While$/.test($),ae=/^(?:head|last)$/.test($),he=$e[ae?"take"+($=="last"?"Right":""):$],Oe=ae||/^find/.test($);he&&($e.prototype[$]=function(){var qe=this.__wrapped__,Et=ae?[1]:arguments,kt=qe instanceof Wr,vr=Et[0],gr=kt||Fr(qe),yr=function(Ur){var Yr=he.apply($e,oa([Ur],Et));return ae&&Tr?Yr[0]:Yr};gr&&F&&typeof vr=="function"&&vr.length!=1&&(kt=gr=!1);var Tr=this.__chain__,Pr=!!this.__actions__.length,Lr=Oe&&!Tr,Hr=kt&&!Pr;if(!Oe&&gr){qe=Hr?qe:new Wr(this);var Dr=x.apply(qe,Et);return Dr.__actions__.push({func:Ts,args:[yr],thisArg:n}),new Xn(Dr,Tr)}return Lr&&Hr?x.apply(this,Et):(Dr=this.thru(yr),Lr?ae?Dr.value()[0]:Dr.value():Dr)})}),Bn(["pop","push","shift","sort","splice","unshift"],function(x){var $=Zo[x],F=/^(?:push|sort|unshift)$/.test(x)?"tap":"thru",ae=/^(?:pop|shift)$/.test(x);$e.prototype[x]=function(){var he=arguments;if(ae&&!this.__chain__){var Oe=this.value();return $.apply(Fr(Oe)?Oe:[],he)}return this[F](function(qe){return $.apply(Fr(qe)?qe:[],he)})}}),la(Wr.prototype,function(x,$){var F=$e[$];if(F){var ae=F.name+"";Xr.call(hi,ae)||(hi[ae]=[]),hi[ae].push({name:$,func:F})}}),hi[gs(n,w).name]=[{name:"wrapper",func:n}],Wr.prototype.clone=Pf,Wr.prototype.reverse=If,Wr.prototype.value=Mf,$e.prototype.at=sp,$e.prototype.chain=lp,$e.prototype.commit=up,$e.prototype.next=cp,$e.prototype.plant=dp,$e.prototype.reverse=hp,$e.prototype.toJSON=$e.prototype.valueOf=$e.prototype.value=pp,$e.prototype.first=$e.prototype.head,Zi&&($e.prototype[Zi]=fp),$e},ci=lf();va?((va.exports=ci)._=ci,Ja._=ci):Cn._=ci}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs(lodashExports),Home_vue_vue_type_style_index_0_scoped_43f2ff30_lang="",_withScopeId$3=t=>(pushScopeId("data-v-43f2ff30"),t=t(),popScopeId(),t),_hoisted_1$b={class:"home"},_hoisted_2$4={class:"user"},_hoisted_3$4=_withScopeId$3(()=>createBaseVNode("div",{class:"user-info"},[createBaseVNode("p",{class:"user-name"},"Admin"),createBaseVNode("p",{class:"access"},"管理员")],-1)),_hoisted_4$2=_withScopeId$3(()=>createBaseVNode("div",{class:"login-info"},[createBaseVNode("p",null,[createTextVNode("上次登入时间:"),createBaseVNode("span",null,"2022-08-27 8:56")]),createBaseVNode("p",null,[createTextVNode("上次登入地点:"),createBaseVNode("span",null,"湘潭")])],-1)),_sfc_main$c={__name:"Home",setup(t){const r=ref(null);return onMounted(()=>{const n=init$1(r.value);n.setOption({title:{text:"ECharts 入门示例"},tooltip:{},xAxis:{data:["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"]},yAxis:{},series:[{name:"销量",type:"bar",data:[5,20,36,10,10,20]}]}),window.onresize=_.debounce(function(){n.resize()},100)}),(n,a)=>{const o=ElAvatar,s=ElCard,l=ElCol,u=ElRow;return openBlock(),createElementBlock("div",_hoisted_1$b,[createVNode$1(u,null,{default:withCtx(()=>[createVNode$1(l,{span:8},{default:withCtx(()=>[createVNode$1(s,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$4,[createVNode$1(o,{size:100,style:{cursor:"pointer"},src:"https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"}),_hoisted_3$4]),_hoisted_4$2]),_:1})]),_:1}),createVNode$1(l,{span:16},{default:withCtx(()=>[createVNode$1(s,{class:"statistics"},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"echartsDemo01",ref:r},null,512)]),_:1})]),_:1})]),_:1})])}}},Home=_export_sfc(_sfc_main$c,[["__scopeId","data-v-43f2ff30"]]),elLoading="",elContainer="",elAside="",elFooter="",elHeader="",elMain="",elScrollbar="",elMenu="",elTooltip="",elPopper="",elMenuItem="",elSubMenu="",elMenuItemGroup="",elIcon="",_hoisted_1$a={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},_hoisted_2$3=createBaseVNode("path",{d:"M7 30a5 5 0 1 1 5-5a5.006 5.006 0 0 1-5 5zm0-8a3 3 0 1 0 3 3a3.003 3.003 0 0 0-3-3z",fill:"currentColor"},null,-1),_hoisted_3$3=createBaseVNode("path",{d:"M23 30a5 5 0 1 1 5-5a5.006 5.006 0 0 1-5 5zm0-8a3 3 0 1 0 3 3a3.003 3.003 0 0 0-3-3z",fill:"currentColor"},null,-1),_hoisted_4$1=createBaseVNode("path",{d:"M24 7v7l3.586-3.414L29 12l-6 6l-6-6l1.414-1.414L22 14V7a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v11H6V7a3.003 3.003 0 0 1 3-3h12a3.003 3.003 0 0 1 3 3z",fill:"currentColor"},null,-1),_hoisted_5$1=[_hoisted_2$3,_hoisted_3$3,_hoisted_4$1],StatusChange=defineComponent({name:"StatusChange",render:function t(r,n){return openBlock(),createElementBlock("svg",_hoisted_1$a,_hoisted_5$1)}}),_hoisted_1$9={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 384 512"},_hoisted_2$2=createBaseVNode("path",{d:"M255.98 160V16c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v146.93c5.02-1.78 10.34-2.93 15.97-2.93h48.03zm128 95.99c-.01-35.34-28.66-63.99-63.99-63.99H207.85c-8.78 0-15.9 7.07-15.9 15.85v.56c0 26.27 21.3 47.59 47.57 47.59h35.26c9.68 0 13.2 3.58 13.2 8v16.2c0 4.29-3.59 7.78-7.88 8c-44.52 2.28-64.16 24.71-96.05 72.55l-6.31 9.47a7.994 7.994 0 0 1-11.09 2.22l-13.31-8.88a7.994 7.994 0 0 1-2.22-11.09l6.31-9.47c15.73-23.6 30.2-43.26 47.31-58.08c-17.27-5.51-31.4-18.12-38.87-34.45c-6.59 3.41-13.96 5.52-21.87 5.52h-32c-12.34 0-23.49-4.81-32-12.48C71.48 251.19 60.33 256 48 256H16c-5.64 0-10.97-1.15-16-2.95v77.93c0 33.95 13.48 66.5 37.49 90.51L63.99 448v64h255.98v-63.96l35.91-35.92A96.035 96.035 0 0 0 384 344.21l-.02-88.22zm-32.01-90.09V48c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v112h32c11.28 0 21.94 2.31 32 5.9zM16 224h32c8.84 0 16-7.16 16-16V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v128c0 8.84 7.16 16 16 16zm95.99 0h32c8.84 0 16-7.16 16-16V48c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v160c0 8.84 7.16 16 16 16z",fill:"currentColor"},null,-1),_hoisted_3$2=[_hoisted_2$2],FistRaised=defineComponent({name:"FistRaised",render:function t(r,n){return openBlock(),createElementBlock("svg",_hoisted_1$9,_hoisted_3$2)}}),_sfc_main$b={__name:"Icons",props:{iconName:{type:String}},setup(t){const r=t;return(n,a)=>{const o=ElIcon;return openBlock(),createElementBlock(Fragment,null,[unref(r).iconName==="HomeFilled"?(openBlock(),createBlock(o,{key:0},{default:withCtx(()=>[createVNode$1(unref(home_filled_default))]),_:1})):createCommentVNode("",!0),unref(r).iconName==="User"?(openBlock(),createBlock(o,{key:1},{default:withCtx(()=>[createVNode$1(unref(user_default))]),_:1})):createCommentVNode("",!0),unref(r).iconName==="CirclePlusFilled"?(openBlock(),createBlock(o,{key:2},{default:withCtx(()=>[createVNode$1(unref(circle_plus_filled_default))]),_:1})):createCommentVNode("",!0),unref(r).iconName==="DeleteFilled"?(openBlock(),createBlock(o,{key:3},{default:withCtx(()=>[createVNode$1(unref(delete_filled_default))]),_:1})):createCommentVNode("",!0),t.iconName==="MoreFilled"?(openBlock(),createBlock(o,{key:4},{default:withCtx(()=>[createVNode$1(unref(more_filled_default))]),_:1})):createCommentVNode("",!0),t.iconName==="Tools"?(openBlock(),createBlock(o,{key:5},{default:withCtx(()=>[createVNode$1(unref(tools_default))]),_:1})):createCommentVNode("",!0),t.iconName==="Menu"?(openBlock(),createBlock(o,{key:6},{default:withCtx(()=>[createVNode$1(unref(menu_default))]),_:1})):createCommentVNode("",!0),t.iconName==="Avatar"?(openBlock(),createBlock(o,{key:7},{default:withCtx(()=>[createVNode$1(unref(avatar_default))]),_:1})):createCommentVNode("",!0),t.iconName==="StatusChange"?(openBlock(),createBlock(o,{key:8},{default:withCtx(()=>[createVNode$1(unref(StatusChange))]),_:1})):createCommentVNode("",!0),t.iconName==="FistRaised"?(openBlock(),createBlock(o,{key:9},{default:withCtx(()=>[createVNode$1(unref(FistRaised))]),_:1})):createCommentVNode("",!0),t.iconName==="Link"?(openBlock(),createBlock(o,{key:10},{default:withCtx(()=>[createVNode$1(unref(link_default))]),_:1})):createCommentVNode("",!0),t.iconName==="Open"?(openBlock(),createBlock(o,{key:11},{default:withCtx(()=>[createVNode$1(unref(open_default))]),_:1})):createCommentVNode("",!0),t.iconName==="FullScreen"?(openBlock(),createBlock(o,{key:12},{default:withCtx(()=>[createVNode$1(unref(full_screen_default))]),_:1})):createCommentVNode("",!0),t.iconName==="MessageBox"?(openBlock(),createBlock(o,{key:13},{default:withCtx(()=>[createVNode$1(unref(message_box_default))]),_:1})):createCommentVNode("",!0),t.iconName==="More"?(openBlock(),createBlock(o,{key:14},{default:withCtx(()=>[createVNode$1(unref(more_default))]),_:1})):createCommentVNode("",!0),t.iconName==="UploadFilled"?(openBlock(),createBlock(o,{key:15},{default:withCtx(()=>[createVNode$1(unref(upload_filled_default))]),_:1})):createCommentVNode("",!0)],64)}}},_sfc_main$a={__name:"Menu",props:{data:{type:Array},index:{type:String,default:""}},emits:["clickMenu"],setup(t,{emit:r}){function n(a,o){r("clickMenu",a,o)}return(a,o)=>{const s=ElMenuItemGroup,l=ElSubMenu,u=ElMenuItem;return openBlock(!0),createElementBlock(Fragment,null,renderList(t.data,(c,f)=>(openBlock(),createElementBlock(Fragment,null,[c.children?(openBlock(),createBlock(l,{key:0,index:`${t.index}${f}`},{title:withCtx(()=>[createVNode$1(_sfc_main$b,{"icon-name":c.icon},null,8,["icon-name"]),createBaseVNode("span",null,toDisplayString$1(c.label),1)]),default:withCtx(()=>[c.group?(openBlock(),createBlock(s,{key:0},{title:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(c.label),1)]),default:withCtx(()=>[createVNode$1(_sfc_main$a,{data:c.children,index:`${t.index}${f}-`,onClickMenu:n},null,8,["data","index"])]),_:2},1024)):(openBlock(),createBlock(_sfc_main$a,{key:1,data:c.children,index:`${t.index}${f}-`,onClickMenu:n},null,8,["data","index"]))]),_:2},1032,["index"])):(openBlock(),createBlock(u,{key:1,index:`${t.index}${f}`,onClick:d=>n(c)},{title:withCtx(()=>[createTextVNode(toDisplayString$1(c.label),1)]),default:withCtx(()=>[createVNode$1(_sfc_main$b,{"icon-name":c.icon},null,8,["icon-name"])]),_:2},1032,["index","onClick"]))],64))),256)}}},tab=defineStore("tab",{state:()=>({isCollapse:!1,menuData:[]}),actions:{},persist:{enabled:!0,strategies:[{key:"tab",storage:localStorage,paths:["isCollapse"]}]}}),CommonAside_vue_vue_type_style_index_0_scoped_48373577_lang="",_withScopeId$2=t=>(pushScopeId("data-v-48373577"),t=t(),popScopeId(),t),_hoisted_1$8=_withScopeId$2(()=>createBaseVNode("div",{style:{width:"200px"}},null,-1)),_sfc_main$9={__name:"CommonAside",props:{backgroundColor:{type:String,default:"#001529"},textColor:{type:String,default:"#B3B9BF"},activeTextColor:{type:String,default:"#FFFFFF"},data:{type:Array}},emits:["clickMenu"],setup(t,{emit:r}){const n=t,a=useRouter(),o=useRoute();let{isCollapse:s}=storeToRefs(tab()),l=computed(()=>c(n.data,o.path,null));function u(g,y){o.path!==g.path&&(r("clickMenu",g,y),a.push(g.path))}function c(g,y,S){for(let b=0;b{if(f.value>500)return!1;if(f.value<500)return!0});return(g,y)=>{const S=ElMenu,b=ElScrollbar;return openBlock(),createBlock(b,{style:normalizeStyle$1(`background-color: ${t.backgroundColor}`)},{default:withCtx(()=>[createVNode$1(S,{class:normalizeClass({mobile:unref(v),show:!unref(s)}),"background-color":t.backgroundColor,"active-text-color":t.activeTextColor,"text-color":t.textColor,"unique-opened":!0,collapse:unref(s),"default-active":unref(l)},{default:withCtx(()=>[_hoisted_1$8,createBaseVNode("div",{class:"logo",style:normalizeStyle$1(`color: ${t.activeTextColor}`)},[withDirectives(createBaseVNode("h3",null,toDisplayString$1(g.$t("通用后台管理系统")),513),[[vShow,!unref(s)]]),withDirectives(createBaseVNode("h3",null,toDisplayString$1(g.$t("后台")),513),[[vShow,unref(s)]])],4),createVNode$1(_sfc_main$a,{data:t.data,onClickMenu:u},null,8,["data"])]),_:1},8,["class","background-color","active-text-color","text-color","collapse","default-active"]),createBaseVNode("div",{class:normalizeClass({"mask-layer":!0,show:!unref(s),mobile:unref(v)}),onClick:y[0]||(y[0]=T=>isRef(s)?s.value=!0:s=!0)},null,2)]),_:1},8,["style"])}}},CommonAside=_export_sfc(_sfc_main$9,[["__scopeId","data-v-48373577"]]),elButton="",elButtonGroup="",elDropdown="",elDropdownMenu="",elDropdownItem="",elBreadcrumb="",elBreadcrumbItem="",_hoisted_1$7={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},_hoisted_2$1=createBaseVNode("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2c0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2c0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2c0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2c0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z",fill:"currentColor"},null,-1),_hoisted_3$1=[_hoisted_2$1],LanguageFilled=defineComponent({name:"LanguageFilled",render:function t(r,n){return openBlock(),createElementBlock("svg",_hoisted_1$7,_hoisted_3$1)}});/*! + * shared v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const inBrowser=typeof window<"u",hasSymbol=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",makeSymbol=t=>hasSymbol?Symbol(t):t,generateFormatCacheKey=(t,r,n)=>friendlyJSONstringify({l:t,k:r,s:n}),friendlyJSONstringify=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),isNumber=t=>typeof t=="number"&&isFinite(t),isDate=t=>toTypeString(t)==="[object Date]",isRegExp=t=>toTypeString(t)==="[object RegExp]",isEmptyObject=t=>isPlainObject(t)&&Object.keys(t).length===0;function warn(t,r){typeof console<"u"&&(console.warn("[intlify] "+t),r&&console.warn(r.stack))}const assign=Object.assign;function escapeHtml(t){return t.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const hasOwnProperty=Object.prototype.hasOwnProperty;function hasOwn(t,r){return hasOwnProperty.call(t,r)}const isArray=Array.isArray,isFunction=t=>typeof t=="function",isString=t=>typeof t=="string",isBoolean=t=>typeof t=="boolean",isObject=t=>t!==null&&typeof t=="object",objectToString=Object.prototype.toString,toTypeString=t=>objectToString.call(t),isPlainObject=t=>toTypeString(t)==="[object Object]",toDisplayString=t=>t==null?"":isArray(t)||isPlainObject(t)&&t.toString===objectToString?JSON.stringify(t,null,2):String(t);/*! + * message-compiler v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const CompileErrorCodes={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function createCompileError(t,r,n={}){const{domain:a,messages:o,args:s}=n,l=t,u=new SyntaxError(String(l));return u.code=t,r&&(u.location=r),u.domain=a,u}function defaultOnError(t){throw t}function createPosition(t,r,n){return{line:t,column:r,offset:n}}function createLocation(t,r,n){const a={start:t,end:r};return n!=null&&(a.source=n),a}const CHAR_SP=" ",CHAR_CR="\r",CHAR_LF=` +`,CHAR_LS=String.fromCharCode(8232),CHAR_PS=String.fromCharCode(8233);function createScanner(t){const r=t;let n=0,a=1,o=1,s=0;const l=V=>r[V]===CHAR_CR&&r[V+1]===CHAR_LF,u=V=>r[V]===CHAR_LF,c=V=>r[V]===CHAR_PS,f=V=>r[V]===CHAR_LS,d=V=>l(V)||u(V)||c(V)||f(V),v=()=>n,g=()=>a,y=()=>o,S=()=>s,b=V=>l(V)||c(V)||f(V)?CHAR_LF:r[V],T=()=>b(n),w=()=>b(n+s);function A(){return s=0,d(n)&&(a++,o=0),l(n)&&n++,n++,o++,r[n]}function M(){return l(n+s)&&s++,s++,r[n+s]}function L(){n=0,a=1,o=1,s=0}function O(V=0){s=V}function D(){const V=n+s;for(;V!==n;)A();s=0}return{index:v,line:g,column:y,peekOffset:S,charAt:b,currentChar:T,currentPeek:w,next:A,peek:M,reset:L,resetPeek:O,skipToPeek:D}}const EOF=void 0,LITERAL_DELIMITER="'",ERROR_DOMAIN$1="tokenizer";function createTokenizer(t,r={}){const n=r.location!==!1,a=createScanner(t),o=()=>a.index(),s=()=>createPosition(a.line(),a.column(),a.index()),l=s(),u=o(),c={currentType:14,offset:u,startLoc:l,endLoc:l,lastType:14,lastOffset:u,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},f=()=>c,{onError:d}=r;function v(ue,_e,ze,...At){const tr=f();if(_e.column+=ze,_e.offset+=ze,d){const hr=createLocation(tr.startLoc,_e),pr=createCompileError(ue,hr,{domain:ERROR_DOMAIN$1,args:At});d(pr)}}function g(ue,_e,ze){ue.endLoc=s(),ue.currentType=_e;const At={type:_e};return n&&(At.loc=createLocation(ue.startLoc,ue.endLoc)),ze!=null&&(At.value=ze),At}const y=ue=>g(ue,14);function S(ue,_e){return ue.currentChar()===_e?(ue.next(),_e):(v(CompileErrorCodes.EXPECTED_TOKEN,s(),0,_e),"")}function b(ue){let _e="";for(;ue.currentPeek()===CHAR_SP||ue.currentPeek()===CHAR_LF;)_e+=ue.currentPeek(),ue.peek();return _e}function T(ue){const _e=b(ue);return ue.skipToPeek(),_e}function w(ue){if(ue===EOF)return!1;const _e=ue.charCodeAt(0);return _e>=97&&_e<=122||_e>=65&&_e<=90||_e===95}function A(ue){if(ue===EOF)return!1;const _e=ue.charCodeAt(0);return _e>=48&&_e<=57}function M(ue,_e){const{currentType:ze}=_e;if(ze!==2)return!1;b(ue);const At=w(ue.currentPeek());return ue.resetPeek(),At}function L(ue,_e){const{currentType:ze}=_e;if(ze!==2)return!1;b(ue);const At=ue.currentPeek()==="-"?ue.peek():ue.currentPeek(),tr=A(At);return ue.resetPeek(),tr}function O(ue,_e){const{currentType:ze}=_e;if(ze!==2)return!1;b(ue);const At=ue.currentPeek()===LITERAL_DELIMITER;return ue.resetPeek(),At}function D(ue,_e){const{currentType:ze}=_e;if(ze!==8)return!1;b(ue);const At=ue.currentPeek()===".";return ue.resetPeek(),At}function V(ue,_e){const{currentType:ze}=_e;if(ze!==9)return!1;b(ue);const At=w(ue.currentPeek());return ue.resetPeek(),At}function z(ue,_e){const{currentType:ze}=_e;if(!(ze===8||ze===12))return!1;b(ue);const At=ue.currentPeek()===":";return ue.resetPeek(),At}function Y(ue,_e){const{currentType:ze}=_e;if(ze!==10)return!1;const At=()=>{const hr=ue.currentPeek();return hr==="{"?w(ue.peek()):hr==="@"||hr==="%"||hr==="|"||hr===":"||hr==="."||hr===CHAR_SP||!hr?!1:hr===CHAR_LF?(ue.peek(),At()):w(hr)},tr=At();return ue.resetPeek(),tr}function ie(ue){b(ue);const _e=ue.currentPeek()==="|";return ue.resetPeek(),_e}function j(ue){const _e=b(ue),ze=ue.currentPeek()==="%"&&ue.peek()==="{";return ue.resetPeek(),{isModulo:ze,hasSpace:_e.length>0}}function le(ue,_e=!0){const ze=(tr=!1,hr="",pr=!1)=>{const mr=ue.currentPeek();return mr==="{"?hr==="%"?!1:tr:mr==="@"||!mr?hr==="%"?!0:tr:mr==="%"?(ue.peek(),ze(tr,"%",!0)):mr==="|"?hr==="%"||pr?!0:!(hr===CHAR_SP||hr===CHAR_LF):mr===CHAR_SP?(ue.peek(),ze(!0,CHAR_SP,pr)):mr===CHAR_LF?(ue.peek(),ze(!0,CHAR_LF,pr)):!0},At=ze();return _e&&ue.resetPeek(),At}function de(ue,_e){const ze=ue.currentChar();return ze===EOF?EOF:_e(ze)?(ue.next(),ze):null}function xe(ue){return de(ue,ze=>{const At=ze.charCodeAt(0);return At>=97&&At<=122||At>=65&&At<=90||At>=48&&At<=57||At===95||At===36})}function Ie(ue){return de(ue,ze=>{const At=ze.charCodeAt(0);return At>=48&&At<=57})}function Ce(ue){return de(ue,ze=>{const At=ze.charCodeAt(0);return At>=48&&At<=57||At>=65&&At<=70||At>=97&&At<=102})}function Fe(ue){let _e="",ze="";for(;_e=Ie(ue);)ze+=_e;return ze}function Ue(ue){T(ue);const _e=ue.currentChar();return _e!=="%"&&v(CompileErrorCodes.EXPECTED_TOKEN,s(),0,_e),ue.next(),"%"}function Pt(ue){let _e="";for(;;){const ze=ue.currentChar();if(ze==="{"||ze==="}"||ze==="@"||ze==="|"||!ze)break;if(ze==="%")if(le(ue))_e+=ze,ue.next();else break;else if(ze===CHAR_SP||ze===CHAR_LF)if(le(ue))_e+=ze,ue.next();else{if(ie(ue))break;_e+=ze,ue.next()}else _e+=ze,ue.next()}return _e}function Dt(ue){T(ue);let _e="",ze="";for(;_e=xe(ue);)ze+=_e;return ue.currentChar()===EOF&&v(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,s(),0),ze}function rr(ue){T(ue);let _e="";return ue.currentChar()==="-"?(ue.next(),_e+=`-${Fe(ue)}`):_e+=Fe(ue),ue.currentChar()===EOF&&v(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,s(),0),_e}function ur(ue){T(ue),S(ue,"'");let _e="",ze="";const At=hr=>hr!==LITERAL_DELIMITER&&hr!==CHAR_LF;for(;_e=de(ue,At);)_e==="\\"?ze+=Sr(ue):ze+=_e;const tr=ue.currentChar();return tr===CHAR_LF||tr===EOF?(v(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),tr===CHAR_LF&&(ue.next(),S(ue,"'")),ze):(S(ue,"'"),ze)}function Sr(ue){const _e=ue.currentChar();switch(_e){case"\\":case"'":return ue.next(),`\\${_e}`;case"u":return _r(ue,_e,4);case"U":return _r(ue,_e,6);default:return v(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,s(),0,_e),""}}function _r(ue,_e,ze){S(ue,_e);let At="";for(let tr=0;trtr!=="{"&&tr!=="}"&&tr!==CHAR_SP&&tr!==CHAR_LF;for(;_e=de(ue,At);)ze+=_e;return ze}function Cr(ue){let _e="",ze="";for(;_e=xe(ue);)ze+=_e;return ze}function jt(ue){const _e=(ze=!1,At)=>{const tr=ue.currentChar();return tr==="{"||tr==="%"||tr==="@"||tr==="|"||!tr||tr===CHAR_SP?At:tr===CHAR_LF?(At+=tr,ue.next(),_e(ze,At)):(At+=tr,ue.next(),_e(!0,At))};return _e(!1,"")}function ar(ue){T(ue);const _e=S(ue,"|");return T(ue),_e}function sr(ue,_e){let ze=null;switch(ue.currentChar()){case"{":return _e.braceNest>=1&&v(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),ue.next(),ze=g(_e,2,"{"),T(ue),_e.braceNest++,ze;case"}":return _e.braceNest>0&&_e.currentType===2&&v(CompileErrorCodes.EMPTY_PLACEHOLDER,s(),0),ue.next(),ze=g(_e,3,"}"),_e.braceNest--,_e.braceNest>0&&T(ue),_e.inLinked&&_e.braceNest===0&&(_e.inLinked=!1),ze;case"@":return _e.braceNest>0&&v(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,s(),0),ze=dr(ue,_e)||y(_e),_e.braceNest=0,ze;default:let tr=!0,hr=!0,pr=!0;if(ie(ue))return _e.braceNest>0&&v(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,s(),0),ze=g(_e,1,ar(ue)),_e.braceNest=0,_e.inLinked=!1,ze;if(_e.braceNest>0&&(_e.currentType===5||_e.currentType===6||_e.currentType===7))return v(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,s(),0),_e.braceNest=0,fr(ue,_e);if(tr=M(ue,_e))return ze=g(_e,5,Dt(ue)),T(ue),ze;if(hr=L(ue,_e))return ze=g(_e,6,rr(ue)),T(ue),ze;if(pr=O(ue,_e))return ze=g(_e,7,ur(ue)),T(ue),ze;if(!tr&&!hr&&!pr)return ze=g(_e,13,xr(ue)),v(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,ze.value),T(ue),ze;break}return ze}function dr(ue,_e){const{currentType:ze}=_e;let At=null;const tr=ue.currentChar();switch((ze===8||ze===9||ze===12||ze===10)&&(tr===CHAR_LF||tr===CHAR_SP)&&v(CompileErrorCodes.INVALID_LINKED_FORMAT,s(),0),tr){case"@":return ue.next(),At=g(_e,8,"@"),_e.inLinked=!0,At;case".":return T(ue),ue.next(),g(_e,9,".");case":":return T(ue),ue.next(),g(_e,10,":");default:return ie(ue)?(At=g(_e,1,ar(ue)),_e.braceNest=0,_e.inLinked=!1,At):D(ue,_e)||z(ue,_e)?(T(ue),dr(ue,_e)):V(ue,_e)?(T(ue),g(_e,12,Cr(ue))):Y(ue,_e)?(T(ue),tr==="{"?sr(ue,_e)||At:g(_e,11,jt(ue))):(ze===8&&v(CompileErrorCodes.INVALID_LINKED_FORMAT,s(),0),_e.braceNest=0,_e.inLinked=!1,fr(ue,_e))}}function fr(ue,_e){let ze={type:14};if(_e.braceNest>0)return sr(ue,_e)||y(_e);if(_e.inLinked)return dr(ue,_e)||y(_e);switch(ue.currentChar()){case"{":return sr(ue,_e)||y(_e);case"}":return v(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,s(),0),ue.next(),g(_e,3,"}");case"@":return dr(ue,_e)||y(_e);default:if(ie(ue))return ze=g(_e,1,ar(ue)),_e.braceNest=0,_e.inLinked=!1,ze;const{isModulo:tr,hasSpace:hr}=j(ue);if(tr)return hr?g(_e,0,Pt(ue)):g(_e,4,Ue(ue));if(le(ue))return g(_e,0,Pt(ue));break}return ze}function Ne(){const{currentType:ue,offset:_e,startLoc:ze,endLoc:At}=c;return c.lastType=ue,c.lastOffset=_e,c.lastStartLoc=ze,c.lastEndLoc=At,c.offset=o(),c.startLoc=s(),a.currentChar()===EOF?g(c,14):fr(a,c)}return{nextToken:Ne,currentOffset:o,currentPosition:s,context:f}}const ERROR_DOMAIN="parser",KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(t,r,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(r||n,16);return a<=55295||a>=57344?String.fromCodePoint(a):"�"}}}function createParser(t={}){const r=t.location!==!1,{onError:n}=t;function a(w,A,M,L,...O){const D=w.currentPosition();if(D.offset+=L,D.column+=L,n){const V=createLocation(M,D),z=createCompileError(A,V,{domain:ERROR_DOMAIN,args:O});n(z)}}function o(w,A,M){const L={type:w,start:A,end:A};return r&&(L.loc={start:M,end:M}),L}function s(w,A,M,L){w.end=A,L&&(w.type=L),r&&w.loc&&(w.loc.end=M)}function l(w,A){const M=w.context(),L=o(3,M.offset,M.startLoc);return L.value=A,s(L,w.currentOffset(),w.currentPosition()),L}function u(w,A){const M=w.context(),{lastOffset:L,lastStartLoc:O}=M,D=o(5,L,O);return D.index=parseInt(A,10),w.nextToken(),s(D,w.currentOffset(),w.currentPosition()),D}function c(w,A){const M=w.context(),{lastOffset:L,lastStartLoc:O}=M,D=o(4,L,O);return D.key=A,w.nextToken(),s(D,w.currentOffset(),w.currentPosition()),D}function f(w,A){const M=w.context(),{lastOffset:L,lastStartLoc:O}=M,D=o(9,L,O);return D.value=A.replace(KNOWN_ESCAPES,fromEscapeSequence),w.nextToken(),s(D,w.currentOffset(),w.currentPosition()),D}function d(w){const A=w.nextToken(),M=w.context(),{lastOffset:L,lastStartLoc:O}=M,D=o(8,L,O);return A.type!==12?(a(w,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,M.lastStartLoc,0),D.value="",s(D,L,O),{nextConsumeToken:A,node:D}):(A.value==null&&a(w,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,getTokenCaption(A)),D.value=A.value||"",s(D,w.currentOffset(),w.currentPosition()),{node:D})}function v(w,A){const M=w.context(),L=o(7,M.offset,M.startLoc);return L.value=A,s(L,w.currentOffset(),w.currentPosition()),L}function g(w){const A=w.context(),M=o(6,A.offset,A.startLoc);let L=w.nextToken();if(L.type===9){const O=d(w);M.modifier=O.node,L=O.nextConsumeToken||w.nextToken()}switch(L.type!==10&&a(w,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,getTokenCaption(L)),L=w.nextToken(),L.type===2&&(L=w.nextToken()),L.type){case 11:L.value==null&&a(w,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,getTokenCaption(L)),M.key=v(w,L.value||"");break;case 5:L.value==null&&a(w,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,getTokenCaption(L)),M.key=c(w,L.value||"");break;case 6:L.value==null&&a(w,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,getTokenCaption(L)),M.key=u(w,L.value||"");break;case 7:L.value==null&&a(w,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,getTokenCaption(L)),M.key=f(w,L.value||"");break;default:a(w,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,A.lastStartLoc,0);const O=w.context(),D=o(7,O.offset,O.startLoc);return D.value="",s(D,O.offset,O.startLoc),M.key=D,s(M,O.offset,O.startLoc),{nextConsumeToken:L,node:M}}return s(M,w.currentOffset(),w.currentPosition()),{node:M}}function y(w){const A=w.context(),M=A.currentType===1?w.currentOffset():A.offset,L=A.currentType===1?A.endLoc:A.startLoc,O=o(2,M,L);O.items=[];let D=null;do{const Y=D||w.nextToken();switch(D=null,Y.type){case 0:Y.value==null&&a(w,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,getTokenCaption(Y)),O.items.push(l(w,Y.value||""));break;case 6:Y.value==null&&a(w,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,getTokenCaption(Y)),O.items.push(u(w,Y.value||""));break;case 5:Y.value==null&&a(w,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,getTokenCaption(Y)),O.items.push(c(w,Y.value||""));break;case 7:Y.value==null&&a(w,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,getTokenCaption(Y)),O.items.push(f(w,Y.value||""));break;case 8:const ie=g(w);O.items.push(ie.node),D=ie.nextConsumeToken||null;break}}while(A.currentType!==14&&A.currentType!==1);const V=A.currentType===1?A.lastOffset:w.currentOffset(),z=A.currentType===1?A.lastEndLoc:w.currentPosition();return s(O,V,z),O}function S(w,A,M,L){const O=w.context();let D=L.items.length===0;const V=o(1,A,M);V.cases=[],V.cases.push(L);do{const z=y(w);D||(D=z.items.length===0),V.cases.push(z)}while(O.currentType!==14);return D&&a(w,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,M,0),s(V,w.currentOffset(),w.currentPosition()),V}function b(w){const A=w.context(),{offset:M,startLoc:L}=A,O=y(w);return A.currentType===14?O:S(w,M,L,O)}function T(w){const A=createTokenizer(w,assign({},t)),M=A.context(),L=o(0,M.offset,M.startLoc);return r&&L.loc&&(L.loc.source=w),L.body=b(A),M.currentType!==14&&a(A,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,w[M.offset]||""),s(L,A.currentOffset(),A.currentPosition()),L}return{parse:T}}function getTokenCaption(t){if(t.type===14)return"EOF";const r=(t.value||"").replace(/\r?\n/gu,"\\n");return r.length>10?r.slice(0,9)+"…":r}function createTransformer(t,r={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function traverseNodes(t,r){for(let n=0;nl;function c(b,T){l.code+=b}function f(b,T=!0){const w=T?o:"";c(s?w+" ".repeat(b):w)}function d(b=!0){const T=++l.indentLevel;b&&f(T)}function v(b=!0){const T=--l.indentLevel;b&&f(T)}function g(){f(l.indentLevel)}return{context:u,push:c,indent:d,deindent:v,newline:g,helper:b=>`_${b}`,needIndent:()=>l.needIndent}}function generateLinkedNode(t,r){const{helper:n}=t;t.push(`${n("linked")}(`),generateNode(t,r.key),r.modifier?(t.push(", "),generateNode(t,r.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function generateMessageNode(t,r){const{helper:n,needIndent:a}=t;t.push(`${n("normalize")}([`),t.indent(a());const o=r.items.length;for(let s=0;s1){t.push(`${n("plural")}([`),t.indent(a());const o=r.cases.length;for(let s=0;s{const n=isString(r.mode)?r.mode:"normal",a=isString(r.filename)?r.filename:"message.intl",o=!!r.sourceMap,s=r.breakLineCode!=null?r.breakLineCode:n==="arrow"?";":` +`,l=r.needIndent?r.needIndent:n!=="arrow",u=t.helpers||[],c=createCodeGenerator(t,{mode:n,filename:a,sourceMap:o,breakLineCode:s,needIndent:l});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(l),u.length>0&&(c.push(`const { ${u.map(v=>`${v}: _${v}`).join(", ")} } = ctx`),c.newline()),c.push("return "),generateNode(c,t),c.deindent(l),c.push("}");const{code:f,map:d}=c.context();return{ast:t,code:f,map:d?d.toJSON():void 0}};function baseCompile(t,r={}){const n=assign({},r),o=createParser(n).parse(t);return transform(o,n),generate(o,n)}/*! + * core-base v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]};pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]};pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]};pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]};pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};const literalValueRE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function isLiteral(t){return literalValueRE.test(t)}function stripQuotes(t){const r=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return r===n&&(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(t){const r=[];let n=-1,a=0,o=0,s,l,u,c,f,d,v;const g=[];g[0]=()=>{l===void 0?l=u:l+=u},g[1]=()=>{l!==void 0&&(r.push(l),l=void 0)},g[2]=()=>{g[0](),o++},g[3]=()=>{if(o>0)o--,a=4,g[0]();else{if(o=0,l===void 0||(l=formatSubPath(l),l===!1))return!1;g[1]()}};function y(){const S=t[n+1];if(a===5&&S==="'"||a===6&&S==='"')return n++,u="\\"+S,g[0](),!0}for(;a!==null;)if(n++,s=t[n],!(s==="\\"&&y())){if(c=getPathCharType(s),v=pathStateMachine[a],f=v[c]||v.l||8,f===8||(a=f[0],f[1]!==void 0&&(d=g[f[1]],d&&(u=s,d()===!1))))return;if(a===7)return r}}const cache=new Map;function resolveWithKeyValue(t,r){return isObject(t)?t[r]:null}function resolveValue(t,r){if(!isObject(t))return null;let n=cache.get(r);if(n||(n=parse(r),n&&cache.set(r,n)),!n)return null;const a=n.length;let o=t,s=0;for(;st,DEFAULT_MESSAGE=t=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=t=>t.length===0?"":t.join(""),DEFAULT_INTERPOLATE=toDisplayString;function pluralDefault(t,r){return t=Math.abs(t),r===2?t?t>1?1:0:1:t?Math.min(t,2):0}function getPluralIndex(t){const r=isNumber(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(isNumber(t.named.count)||isNumber(t.named.n))?isNumber(t.named.count)?t.named.count:isNumber(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,n=getPluralIndex(t),a=isObject(t.pluralRules)&&isString(r)&&isFunction(t.pluralRules[r])?t.pluralRules[r]:pluralDefault,o=isObject(t.pluralRules)&&isString(r)&&isFunction(t.pluralRules[r])?pluralDefault:void 0,s=w=>w[a(n,w.length,o)],l=t.list||[],u=w=>l[w],c=t.named||{};isNumber(t.pluralIndex)&&normalizeNamed(n,c);const f=w=>c[w];function d(w){const A=isFunction(t.messages)?t.messages(w):isObject(t.messages)?t.messages[w]:!1;return A||(t.parent?t.parent.message(w):DEFAULT_MESSAGE)}const v=w=>t.modifiers?t.modifiers[w]:DEFAULT_MODIFIER,g=isPlainObject(t.processor)&&isFunction(t.processor.normalize)?t.processor.normalize:DEFAULT_NORMALIZE,y=isPlainObject(t.processor)&&isFunction(t.processor.interpolate)?t.processor.interpolate:DEFAULT_INTERPOLATE,S=isPlainObject(t.processor)&&isString(t.processor.type)?t.processor.type:DEFAULT_MESSAGE_DATA_TYPE,T={list:u,named:f,plural:s,linked:(w,...A)=>{const[M,L]=A;let O="text",D="";A.length===1?isObject(M)?(D=M.modifier||D,O=M.type||O):isString(M)&&(D=M||D):A.length===2&&(isString(M)&&(D=M||D),isString(L)&&(O=L||O));let V=d(w)(T);return O==="vnode"&&isArray(V)&&D&&(V=V[0]),D?v(D)(V,O):V},message:d,type:S,interpolate:y,normalize:g};return T}function fallbackWithSimple(t,r,n){return[...new Set([n,...isArray(r)?r:isObject(r)?Object.keys(r):isString(r)?[r]:[n]])]}function fallbackWithLocaleChain(t,r,n){const a=isString(n)?n:DEFAULT_LOCALE,o=t;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(a);if(!s){s=[];let l=[n];for(;isArray(l);)l=appendBlockToChain(s,l,r);const u=isArray(r)||!isPlainObject(r)?r:r.default?r.default:null;l=isString(u)?[u]:u,isArray(l)&&appendBlockToChain(s,l,!1),o.__localeChainCache.set(a,s)}return s}function appendBlockToChain(t,r,n){let a=!0;for(let o=0;o`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(t,r)=>r==="text"&&isString(t)?t.toUpperCase():r==="vnode"&&isObject(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,r)=>r==="text"&&isString(t)?t.toLowerCase():r==="vnode"&&isObject(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,r)=>r==="text"&&isString(t)?capitalize(t):r==="vnode"&&isObject(t)&&"__v_isVNode"in t?capitalize(t.children):t}}let _compiler;function registerMessageCompiler(t){_compiler=t}let _resolver;function registerMessageResolver(t){_resolver=t}let _fallbacker;function registerLocaleFallbacker(t){_fallbacker=t}let _cid=0;function createCoreContext(t={}){const r=isString(t.version)?t.version:VERSION$1,n=isString(t.locale)?t.locale:DEFAULT_LOCALE,a=isArray(t.fallbackLocale)||isPlainObject(t.fallbackLocale)||isString(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:n,o=isPlainObject(t.messages)?t.messages:{[n]:{}},s=isPlainObject(t.datetimeFormats)?t.datetimeFormats:{[n]:{}},l=isPlainObject(t.numberFormats)?t.numberFormats:{[n]:{}},u=assign({},t.modifiers||{},getDefaultLinkedModifiers()),c=t.pluralRules||{},f=isFunction(t.missing)?t.missing:null,d=isBoolean(t.missingWarn)||isRegExp(t.missingWarn)?t.missingWarn:!0,v=isBoolean(t.fallbackWarn)||isRegExp(t.fallbackWarn)?t.fallbackWarn:!0,g=!!t.fallbackFormat,y=!!t.unresolving,S=isFunction(t.postTranslation)?t.postTranslation:null,b=isPlainObject(t.processor)?t.processor:null,T=isBoolean(t.warnHtmlMessage)?t.warnHtmlMessage:!0,w=!!t.escapeParameter,A=isFunction(t.messageCompiler)?t.messageCompiler:_compiler,M=isFunction(t.messageResolver)?t.messageResolver:_resolver||resolveWithKeyValue,L=isFunction(t.localeFallbacker)?t.localeFallbacker:_fallbacker||fallbackWithSimple,O=isObject(t.fallbackContext)?t.fallbackContext:void 0,D=isFunction(t.onWarn)?t.onWarn:warn,V=t,z=isObject(V.__datetimeFormatters)?V.__datetimeFormatters:new Map,Y=isObject(V.__numberFormatters)?V.__numberFormatters:new Map,ie=isObject(V.__meta)?V.__meta:{};_cid++;const j={version:r,cid:_cid,locale:n,fallbackLocale:a,messages:o,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:v,fallbackFormat:g,unresolving:y,postTranslation:S,processor:b,warnHtmlMessage:T,escapeParameter:w,messageCompiler:A,messageResolver:M,localeFallbacker:L,fallbackContext:O,onWarn:D,__meta:ie};return j.datetimeFormats=s,j.numberFormats=l,j.__datetimeFormatters=z,j.__numberFormatters=Y,j}function handleMissing(t,r,n,a,o){const{missing:s,onWarn:l}=t;if(s!==null){const u=s(t,n,r,o);return isString(u)?u:r}else return r}function updateFallbackLocale(t,r,n){const a=t;a.__localeChainCache=new Map,t.localeFallbacker(t,n,r)}const defaultOnCacheKey=t=>t;let compileCache=Object.create(null);function compileToFunction(t,r={}){{const a=(r.onCacheKey||defaultOnCacheKey)(t),o=compileCache[a];if(o)return o;let s=!1;const l=r.onError||defaultOnError;r.onError=f=>{s=!0,l(f)};const{code:u}=baseCompile(t,r),c=new Function(`return ${u}`)();return s?c:compileCache[a]=c}}let code$1=CompileErrorCodes.__EXTEND_POINT__;const inc$1=()=>++code$1,CoreErrorCodes={INVALID_ARGUMENT:code$1,INVALID_DATE_ARGUMENT:inc$1(),INVALID_ISO_DATE_ARGUMENT:inc$1(),__EXTEND_POINT__:inc$1()};function createCoreError(t){return createCompileError(t,null,void 0)}const NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=t=>isFunction(t);function translate(t,...r){const{fallbackFormat:n,postTranslation:a,unresolving:o,messageCompiler:s,fallbackLocale:l,messages:u}=t,[c,f]=parseTranslateArgs(...r),d=isBoolean(f.missingWarn)?f.missingWarn:t.missingWarn,v=isBoolean(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,g=isBoolean(f.escapeParameter)?f.escapeParameter:t.escapeParameter,y=!!f.resolvedMessage,S=isString(f.default)||isBoolean(f.default)?isBoolean(f.default)?s?c:()=>c:f.default:n?s?c:()=>c:"",b=n||S!=="",T=isString(f.locale)?f.locale:t.locale;g&&escapeParams(f);let[w,A,M]=y?[c,T,u[T]||{}]:resolveMessageFormat(t,c,T,l,v,d),L=w,O=c;if(!y&&!(isString(L)||isMessageFunction(L))&&b&&(L=S,O=L),!y&&(!(isString(L)||isMessageFunction(L))||!isString(A)))return o?NOT_REOSLVED:c;let D=!1;const V=()=>{D=!0},z=isMessageFunction(L)?L:compileMessageFormat(t,c,A,L,O,V);if(D)return L;const Y=getMessageContextOptions(t,A,M,f),ie=createMessageContext(Y),j=evaluateMessage(t,z,ie);return a?a(j,c):j}function escapeParams(t){isArray(t.list)?t.list=t.list.map(r=>isString(r)?escapeHtml(r):r):isObject(t.named)&&Object.keys(t.named).forEach(r=>{isString(t.named[r])&&(t.named[r]=escapeHtml(t.named[r]))})}function resolveMessageFormat(t,r,n,a,o,s){const{messages:l,onWarn:u,messageResolver:c,localeFallbacker:f}=t,d=f(t,a,n);let v={},g,y=null;const S="translate";for(let b=0;ba;return f.locale=n,f.key=r,f}const c=l(a,getCompileOptions(t,n,o,a,u,s));return c.locale=n,c.key=r,c.source=a,c}function evaluateMessage(t,r,n){return r(n)}function parseTranslateArgs(...t){const[r,n,a]=t,o={};if(!isString(r)&&!isNumber(r)&&!isMessageFunction(r))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const s=isNumber(r)?String(r):(isMessageFunction(r),r);return isNumber(n)?o.plural=n:isString(n)?o.default=n:isPlainObject(n)&&!isEmptyObject(n)?o.named=n:isArray(n)&&(o.list=n),isNumber(a)?o.plural=a:isString(a)?o.default=a:isPlainObject(a)&&assign(o,a),[s,o]}function getCompileOptions(t,r,n,a,o,s){return{warnHtmlMessage:o,onError:l=>{throw s&&s(l),l},onCacheKey:l=>generateFormatCacheKey(r,n,l)}}function getMessageContextOptions(t,r,n,a){const{modifiers:o,pluralRules:s,messageResolver:l,fallbackLocale:u,fallbackWarn:c,missingWarn:f,fallbackContext:d}=t,g={locale:r,modifiers:o,pluralRules:s,messages:y=>{let S=l(n,y);if(S==null&&d){const[,,b]=resolveMessageFormat(d,y,r,u,c,f);S=l(b,y)}if(isString(S)){let b=!1;const w=compileMessageFormat(t,y,r,S,y,()=>{b=!0});return b?NOOP_MESSAGE_FUNCTION:w}else return isMessageFunction(S)?S:NOOP_MESSAGE_FUNCTION}};return t.processor&&(g.processor=t.processor),a.list&&(g.list=a.list),a.named&&(g.named=a.named),isNumber(a.plural)&&(g.pluralIndex=a.plural),g}function datetime(t,...r){const{datetimeFormats:n,unresolving:a,fallbackLocale:o,onWarn:s,localeFallbacker:l}=t,{__datetimeFormatters:u}=t,[c,f,d,v]=parseDateTimeArgs(...r),g=isBoolean(d.missingWarn)?d.missingWarn:t.missingWarn;isBoolean(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn;const y=!!d.part,S=isString(d.locale)?d.locale:t.locale,b=l(t,o,S);if(!isString(c)||c==="")return new Intl.DateTimeFormat(S,v).format(f);let T={},w,A=null;const M="datetime format";for(let D=0;D{DATETIME_FORMAT_OPTIONS_KEYS.includes(c)?l[c]=n[c]:s[c]=n[c]}),isString(a)?s.locale=a:isPlainObject(a)&&(l=a),isPlainObject(o)&&(l=o),[s.key||"",u,s,l]}function clearDateTimeFormat(t,r,n){const a=t;for(const o in n){const s=`${r}__${o}`;a.__datetimeFormatters.has(s)&&a.__datetimeFormatters.delete(s)}}function number(t,...r){const{numberFormats:n,unresolving:a,fallbackLocale:o,onWarn:s,localeFallbacker:l}=t,{__numberFormatters:u}=t,[c,f,d,v]=parseNumberArgs(...r),g=isBoolean(d.missingWarn)?d.missingWarn:t.missingWarn;isBoolean(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn;const y=!!d.part,S=isString(d.locale)?d.locale:t.locale,b=l(t,o,S);if(!isString(c)||c==="")return new Intl.NumberFormat(S,v).format(f);let T={},w,A=null;const M="number format";for(let D=0;D{NUMBER_FORMAT_OPTIONS_KEYS.includes(c)?l[c]=n[c]:s[c]=n[c]}),isString(a)?s.locale=a:isPlainObject(a)&&(l=a),isPlainObject(o)&&(l=o),[s.key||"",u,s,l]}function clearNumberFormat(t,r,n){const a=t;for(const o in n){const s=`${r}__${o}`;a.__numberFormatters.has(s)&&a.__numberFormatters.delete(s)}}/*! + * vue-i18n v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const VERSION="9.2.2";let code=CompileErrorCodes.__EXTEND_POINT__;const inc=()=>++code,I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSLALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSLALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(t,...r){return createCompileError(t,null,void 0)}const TransrateVNodeSymbol=makeSymbol("__transrateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules");makeSymbol("__intlifyMeta");const InejctWithOption=makeSymbol("__injectWithOption");function handleFlatJson(t){if(!isObject(t))return t;for(const r in t)if(hasOwn(t,r))if(!r.includes("."))isObject(t[r])&&handleFlatJson(t[r]);else{const n=r.split("."),a=n.length-1;let o=t;for(let s=0;s{if("locale"in u&&"resource"in u){const{locale:c,resource:f}=u;c?(l[c]=l[c]||{},deepCopy(f,l[c])):deepCopy(f,l)}else isString(u)&&deepCopy(JSON.parse(u),l)}),o==null&&s)for(const u in l)hasOwn(l,u)&&handleFlatJson(l[u]);return l}const isNotObjectOrIsArray=t=>!isObject(t)||isArray(t);function deepCopy(t,r){if(isNotObjectOrIsArray(t)||isNotObjectOrIsArray(r))throw createI18nError(I18nErrorCodes.INVALID_VALUE);for(const n in t)hasOwn(t,n)&&(isNotObjectOrIsArray(t[n])||isNotObjectOrIsArray(r[n])?r[n]=t[n]:deepCopy(t[n],r[n]))}function getComponentOptions(t){return t.type}function adjustI18nResources(t,r,n){let a=isObject(r.messages)?r.messages:{};"__i18nGlobal"in n&&(a=getLocaleMessages(t.locale.value,{messages:a,__i18n:n.__i18nGlobal}));const o=Object.keys(a);o.length&&o.forEach(s=>{t.mergeLocaleMessage(s,a[s])});{if(isObject(r.datetimeFormats)){const s=Object.keys(r.datetimeFormats);s.length&&s.forEach(l=>{t.mergeDateTimeFormat(l,r.datetimeFormats[l])})}if(isObject(r.numberFormats)){const s=Object.keys(r.numberFormats);s.length&&s.forEach(l=>{t.mergeNumberFormat(l,r.numberFormats[l])})}}}function createTextNode(t){return createVNode$1(Text$1,null,t,0)}let composerID=0;function defineCoreMissingHandler(t){return(r,n,a,o)=>t(n,a,getCurrentInstance()||void 0,o)}function createComposer(t={},r){const{__root:n}=t,a=n===void 0;let o=isBoolean(t.inheritLocale)?t.inheritLocale:!0;const s=ref(n&&o?n.locale.value:isString(t.locale)?t.locale:DEFAULT_LOCALE),l=ref(n&&o?n.fallbackLocale.value:isString(t.fallbackLocale)||isArray(t.fallbackLocale)||isPlainObject(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),u=ref(getLocaleMessages(s.value,t)),c=ref(isPlainObject(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),f=ref(isPlainObject(t.numberFormats)?t.numberFormats:{[s.value]:{}});let d=n?n.missingWarn:isBoolean(t.missingWarn)||isRegExp(t.missingWarn)?t.missingWarn:!0,v=n?n.fallbackWarn:isBoolean(t.fallbackWarn)||isRegExp(t.fallbackWarn)?t.fallbackWarn:!0,g=n?n.fallbackRoot:isBoolean(t.fallbackRoot)?t.fallbackRoot:!0,y=!!t.fallbackFormat,S=isFunction(t.missing)?t.missing:null,b=isFunction(t.missing)?defineCoreMissingHandler(t.missing):null,T=isFunction(t.postTranslation)?t.postTranslation:null,w=n?n.warnHtmlMessage:isBoolean(t.warnHtmlMessage)?t.warnHtmlMessage:!0,A=!!t.escapeParameter;const M=n?n.modifiers:isPlainObject(t.modifiers)?t.modifiers:{};let L=t.pluralRules||n&&n.pluralRules,O;O=(()=>{const er={version:VERSION,locale:s.value,fallbackLocale:l.value,messages:u.value,modifiers:M,pluralRules:L,missing:b===null?void 0:b,missingWarn:d,fallbackWarn:v,fallbackFormat:y,unresolving:!0,postTranslation:T===null?void 0:T,warnHtmlMessage:w,escapeParameter:A,messageResolver:t.messageResolver,__meta:{framework:"vue"}};return er.datetimeFormats=c.value,er.numberFormats=f.value,er.__datetimeFormatters=isPlainObject(O)?O.__datetimeFormatters:void 0,er.__numberFormatters=isPlainObject(O)?O.__numberFormatters:void 0,createCoreContext(er)})(),updateFallbackLocale(O,s.value,l.value);function V(){return[s.value,l.value,u.value,c.value,f.value]}const z=computed({get:()=>s.value,set:er=>{s.value=er,O.locale=s.value}}),Y=computed({get:()=>l.value,set:er=>{l.value=er,O.fallbackLocale=l.value,updateFallbackLocale(O,s.value,er)}}),ie=computed(()=>u.value),j=computed(()=>c.value),le=computed(()=>f.value);function de(){return isFunction(T)?T:null}function xe(er){T=er,O.postTranslation=er}function Ie(){return S}function Ce(er){er!==null&&(b=defineCoreMissingHandler(er)),S=er,O.missing=b}const Fe=(er,nr,wr,Ar,Or,Br)=>{V();let Nr;if(Nr=er(O),isNumber(Nr)&&Nr===NOT_REOSLVED){const[qr,Tn]=nr();return n&&g?Ar(n):Or(qr)}else{if(Br(Nr))return Nr;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function Ue(...er){return Fe(nr=>Reflect.apply(translate,null,[nr,...er]),()=>parseTranslateArgs(...er),"translate",nr=>Reflect.apply(nr.t,nr,[...er]),nr=>nr,nr=>isString(nr))}function Pt(...er){const[nr,wr,Ar]=er;if(Ar&&!isObject(Ar))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return Ue(nr,wr,assign({resolvedMessage:!0},Ar||{}))}function Dt(...er){return Fe(nr=>Reflect.apply(datetime,null,[nr,...er]),()=>parseDateTimeArgs(...er),"datetime format",nr=>Reflect.apply(nr.d,nr,[...er]),()=>MISSING_RESOLVE_VALUE,nr=>isString(nr))}function rr(...er){return Fe(nr=>Reflect.apply(number,null,[nr,...er]),()=>parseNumberArgs(...er),"number format",nr=>Reflect.apply(nr.n,nr,[...er]),()=>MISSING_RESOLVE_VALUE,nr=>isString(nr))}function ur(er){return er.map(nr=>isString(nr)||isNumber(nr)||isBoolean(nr)?createTextNode(String(nr)):nr)}const _r={normalize:ur,interpolate:er=>er,type:"vnode"};function xr(...er){return Fe(nr=>{let wr;const Ar=nr;try{Ar.processor=_r,wr=Reflect.apply(translate,null,[Ar,...er])}finally{Ar.processor=null}return wr},()=>parseTranslateArgs(...er),"translate",nr=>nr[TransrateVNodeSymbol](...er),nr=>[createTextNode(nr)],nr=>isArray(nr))}function Cr(...er){return Fe(nr=>Reflect.apply(number,null,[nr,...er]),()=>parseNumberArgs(...er),"number format",nr=>nr[NumberPartsSymbol](...er),()=>[],nr=>isString(nr)||isArray(nr))}function jt(...er){return Fe(nr=>Reflect.apply(datetime,null,[nr,...er]),()=>parseDateTimeArgs(...er),"datetime format",nr=>nr[DatetimePartsSymbol](...er),()=>[],nr=>isString(nr)||isArray(nr))}function ar(er){L=er,O.pluralRules=L}function sr(er,nr){const wr=isString(nr)?nr:s.value,Ar=Ne(wr);return O.messageResolver(Ar,er)!==null}function dr(er){let nr=null;const wr=fallbackWithLocaleChain(O,l.value,s.value);for(let Ar=0;Ar{o&&(s.value=er,O.locale=er,updateFallbackLocale(O,s.value,l.value))}),watch(n.fallbackLocale,er=>{o&&(l.value=er,O.fallbackLocale=er,updateFallbackLocale(O,s.value,l.value))}));const ir={id:composerID,locale:z,fallbackLocale:Y,get inheritLocale(){return o},set inheritLocale(er){o=er,er&&n&&(s.value=n.locale.value,l.value=n.fallbackLocale.value,updateFallbackLocale(O,s.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:ie,get modifiers(){return M},get pluralRules(){return L||{}},get isGlobal(){return a},get missingWarn(){return d},set missingWarn(er){d=er,O.missingWarn=d},get fallbackWarn(){return v},set fallbackWarn(er){v=er,O.fallbackWarn=v},get fallbackRoot(){return g},set fallbackRoot(er){g=er},get fallbackFormat(){return y},set fallbackFormat(er){y=er,O.fallbackFormat=y},get warnHtmlMessage(){return w},set warnHtmlMessage(er){w=er,O.warnHtmlMessage=er},get escapeParameter(){return A},set escapeParameter(er){A=er,O.escapeParameter=er},t:Ue,getLocaleMessage:Ne,setLocaleMessage:ue,mergeLocaleMessage:_e,getPostTranslationHandler:de,setPostTranslationHandler:xe,getMissingHandler:Ie,setMissingHandler:Ce,[SetPluralRulesSymbol]:ar};return ir.datetimeFormats=j,ir.numberFormats=le,ir.rt=Pt,ir.te=sr,ir.tm=fr,ir.d=Dt,ir.n=rr,ir.getDateTimeFormat=ze,ir.setDateTimeFormat=At,ir.mergeDateTimeFormat=tr,ir.getNumberFormat=hr,ir.setNumberFormat=pr,ir.mergeNumberFormat=mr,ir[InejctWithOption]=t.__injectWithOption,ir[TransrateVNodeSymbol]=xr,ir[DatetimePartsSymbol]=jt,ir[NumberPartsSymbol]=Cr,ir}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((a,o)=>a=[...a,...isArray(o.children)?o.children:[o]],[]):r.reduce((n,a)=>{const o=t[a];return o&&(n[a]=o()),n},{})}function getFragmentableTag(t){return Fragment}assign({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>isNumber(t)||!isNaN(t)}},baseFormatProps);function isVNode(t){return isArray(t)&&!isString(t[0])}function renderFormatter(t,r,n,a){const{slots:o,attrs:s}=r;return()=>{const l={part:!0};let u={};t.locale&&(l.locale=t.locale),isString(t.format)?l.key=t.format:isObject(t.format)&&(isString(t.format.key)&&(l.key=t.format.key),u=Object.keys(t.format).reduce((g,y)=>n.includes(y)?assign({},g,{[y]:t.format[y]}):g,{}));const c=a(t.value,l,u);let f=[l.key];isArray(c)?f=c.map((g,y)=>{const S=o[g.type],b=S?S({[g.type]:g.value,index:y,parts:c}):[g.value];return isVNode(b)&&(b[0].key=`${g.type}-${y}`),b}):isString(c)&&(f=[c]);const d=assign({},s),v=isString(t.tag)||isObject(t.tag)?t.tag:getFragmentableTag();return h(v,d,f)}}assign({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps);assign({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps);const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(t={},r){const n=isBoolean(t.globalInjection)?t.globalInjection:!0,a=!0,o=new Map,[s,l]=createGlobal(t),u=makeSymbol("");function c(v){return o.get(v)||null}function f(v,g){o.set(v,g)}function d(v){o.delete(v)}{const v={get mode(){return"composition"},get allowComposition(){return a},async install(g,...y){g.__VUE_I18N_SYMBOL__=u,g.provide(g.__VUE_I18N_SYMBOL__,v),n&&injectGlobalFields(g,v.global);const S=g.unmount;g.unmount=()=>{v.dispose(),S()}},get global(){return l},dispose(){s.stop()},__instances:o,__getInstance:c,__setInstance:f,__deleteInstance:d};return v}}function useI18n(t={}){const r=getCurrentInstance();if(r==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!r.isCE&&r.appContext.app!=null&&!r.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSLALLED);const n=getI18nInstance(r),a=getGlobalComposer(n),o=getComponentOptions(r),s=getScope(t,o);if(s==="global")return adjustI18nResources(a,t,o),a;if(s==="parent"){let c=getComposer(n,r,t.__useComponent);return c==null&&(c=a),c}const l=n;let u=l.__getInstance(r);if(u==null){const c=assign({},t);"__i18n"in o&&(c.__i18n=o.__i18n),a&&(c.__root=a),u=createComposer(c),setupLifeCycle(l,r),l.__setInstance(r,u)}return u}function createGlobal(t,r,n){const a=effectScope();{const o=a.run(()=>createComposer(t));if(o==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[a,o]}}function getI18nInstance(t){{const r=inject(t.isCE?I18nInjectionKey:t.appContext.app.__VUE_I18N_SYMBOL__);if(!r)throw createI18nError(t.isCE?I18nErrorCodes.NOT_INSLALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return r}}function getScope(t,r){return isEmptyObject(t)?"__i18n"in r?"local":"global":t.useScope?t.useScope:"local"}function getGlobalComposer(t){return t.mode==="composition"?t.global:t.global.__composer}function getComposer(t,r,n=!1){let a=null;const o=r.root;let s=r.parent;for(;s!=null;){const l=t;if(t.mode==="composition"&&(a=l.__getInstance(s)),a!=null||o===s)break;s=s.parent}return a}function setupLifeCycle(t,r,n){onMounted(()=>{},r),onUnmounted(()=>{t.__deleteInstance(r)},r)}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm"];function injectGlobalFields(t,r){const n=Object.create(null);globalExportProps.forEach(a=>{const o=Object.getOwnPropertyDescriptor(r,a);if(!o)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const s=isRef(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,a,s)}),t.config.globalProperties.$i18n=n,globalExportMethods.forEach(a=>{const o=Object.getOwnPropertyDescriptor(r,a);if(!o||!o.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${a}`,o)})}registerMessageCompiler(compileToFunction);registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);const LocaleSelector_vue_vue_type_style_index_0_scoped_575f9fd2_lang="",_hoisted_1$6={class:"home"},_sfc_main$8={__name:"LocaleSelector",setup(t){let r=reactive([{label:"English",value:"en"},{label:"中文",value:"zh"}]);const n=useI18n();return(a,o)=>{const s=ElIcon,l=ElDropdownItem,u=ElDropdownMenu,c=ElDropdown;return openBlock(),createElementBlock("div",_hoisted_1$6,[createVNode$1(c,{trigger:"click"},{dropdown:withCtx(()=>[createVNode$1(u,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r),(f,d)=>(openBlock(),createBlock(l,{key:d,disabled:unref(n).locale.value===f.value,onClick:v=>unref(n).locale.value=f.value},{default:withCtx(()=>[createTextVNode(toDisplayString$1(f.label),1)]),_:2},1032,["disabled","onClick"]))),128))]),_:1})]),default:withCtx(()=>[createVNode$1(s,{size:"20",style:{cursor:"pointer"}},{default:withCtx(()=>[createVNode$1(unref(LanguageFilled))]),_:1})]),_:1})])}}},LocaleSelector=_export_sfc(_sfc_main$8,[["__scopeId","data-v-575f9fd2"]]),DayNightSwitch_vue_vue_type_style_index_0_scoped_05acd094_lang="",_withScopeId$1=t=>(pushScopeId("data-v-05acd094"),t=t(),popScopeId(),t),_hoisted_1$5=_withScopeId$1(()=>createBaseVNode("div",{class:"moon"},null,-1)),_hoisted_2=_withScopeId$1(()=>createBaseVNode("div",{class:"moon"},null,-1)),_hoisted_3=_withScopeId$1(()=>createBaseVNode("div",{class:"moon"},null,-1)),_hoisted_4=[_hoisted_1$5,_hoisted_2,_hoisted_3],_hoisted_5=createStaticVNode('
',6),_sfc_main$7={__name:"DayNightSwitch",props:{size:{type:Number,default:180},modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t;let a=computed(()=>n.size),o=computed(()=>n.size*70/180);function s(){r("update:modelValue",!n.modelValue)}return(l,u)=>(openBlock(),createElementBlock("div",{class:normalizeClass({components:!0,night:t.modelValue}),style:normalizeStyle$1({"--width":`${unref(a)}px`,"--height":`${unref(o)}px`})},[createBaseVNode("div",{class:"main-button",onClick:s},_hoisted_4),_hoisted_5],6))}},DayNightSwitch=_export_sfc(_sfc_main$7,[["__scopeId","data-v-05acd094"]]),CommonHeader_vue_vue_type_style_index_0_scoped_45bf9bdd_lang="",_hoisted_1$4={class:"home"},_sfc_main$6={__name:"CommonHeader",props:{data:{type:Array,default:[]}},setup(t){const r=t;let{isCollapse:n}=storeToRefs(tab()),a=computed(()=>l(r.data,useRoute().path,null));const o=useDark();function s(){n.value=!n.value}function l(u,c,f){for(let d=0;d{const f=ElIcon,d=ElBreadcrumbItem,v=ElBreadcrumb,g=ElAvatar,y=ElDropdownItem,S=ElDropdownMenu,b=ElDropdown;return openBlock(),createElementBlock("div",_hoisted_1$4,[createBaseVNode("div",null,[createVNode$1(f,{size:15,style:{cursor:"pointer"},onClick:s},{default:withCtx(()=>[withDirectives(createVNode$1(unref(fold_default),null,null,512),[[vShow,!unref(n)]]),withDirectives(createVNode$1(unref(expand_default),null,null,512),[[vShow,unref(n)]])]),_:1}),createVNode$1(v,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(a),(T,w)=>(openBlock(),createBlock(d,{key:w},{default:withCtx(()=>[createTextVNode(toDisplayString$1(T.label),1)]),_:2},1024))),128))]),_:1})]),createBaseVNode("div",null,[createVNode$1(DayNightSwitch,{modelValue:unref(o),"onUpdate:modelValue":c[0]||(c[0]=T=>isRef(o)?o.value=T:null),size:40,style:{"margin-right":"20px"}},null,8,["modelValue"]),createVNode$1(LocaleSelector,{style:{"margin-right":"20px"}}),createVNode$1(b,{style:{"margin-right":"10px"},trigger:"click"},{dropdown:withCtx(()=>[createVNode$1(S,null,{default:withCtx(()=>[createVNode$1(y,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(u.$t("个人中心")),1)]),_:1}),createVNode$1(y,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(u.$t("退出账号")),1)]),_:1})]),_:1})]),default:withCtx(()=>[createVNode$1(g,{size:26,src:"https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png",style:{cursor:"pointer"}})]),_:1})])])}}},CommonHeader=_export_sfc(_sfc_main$6,[["__scopeId","data-v-45bf9bdd"]]),elText="",TabPage_vue_vue_type_style_index_0_scoped_7f8aa967_lang="",_hoisted_1$3={class:"slot"},_sfc_main$5={__name:"TabPage",props:{checked:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},icon:{type:String},change:{type:Function,default:()=>{}}},emits:["close"],setup(t,{emit:r}){const n=t,a=ref(),o=computed(()=>n.checked);return watch(o,s=>{s&&n.change(a.value)}),nextTick(()=>{o.value&&n.change(a.value)}),(s,l)=>{const u=ElIcon,c=ElText;return openBlock(),createElementBlock("div",{ref_key:"tabRef",ref:a,class:normalizeClass([{checked:o.value},"tab"])},[createVNode$1(c,null,{default:withCtx(()=>[createVNode$1(_sfc_main$b,{"icon-name":t.icon},null,8,["icon-name"]),createBaseVNode("span",_hoisted_1$3,[renderSlot(s.$slots,"default",{},void 0,!0)]),t.closable?(openBlock(),createBlock(u,{key:0,class:"close-btn",onClick:l[0]||(l[0]=withModifiers(f=>r("close"),["stop"]))},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1})):createCommentVNode("",!0),t.closable?createCommentVNode("",!0):(openBlock(),createBlock(u,{key:1,size:"3"}))]),_:3})],2)}}},TabPage=_export_sfc(_sfc_main$5,[["__scopeId","data-v-7f8aa967"]]),PopupMenuItem_vue_vue_type_style_index_0_scoped_202817c7_lang="",_sfc_main$4={},_hoisted_1$2={class:"popup-menu-box-item"};function _sfc_render(t,r){const n=ElText;return openBlock(),createElementBlock("div",_hoisted_1$2,[createVNode$1(n,null,{default:withCtx(()=>[renderSlot(t.$slots,"default",{},void 0,!0)]),_:3})])}const PopupMenuItem=_export_sfc(_sfc_main$4,[["render",_sfc_render],["__scopeId","data-v-202817c7"]]),PopupMenu_vue_vue_type_style_index_0_scoped_48bb95ee_lang="",_sfc_main$3={__name:"PopupMenu",setup(t,{expose:r}){const n=ref(),a=reactive({display:"none",top:"250px",left:"250px"});onClickOutside(n,()=>a.display="none");function o(s){s.preventDefault();let l=window.event||arguments[0],u=n.value,c=document.getElementById("app"),f=c.clientWidth-l.clientX,d=c.clientHeight-l.clientY;f(openBlock(),createElementBlock("div",{ref_key:"menuBox",ref:n,style:normalizeStyle$1(a),class:"popup-menu-box"},[renderSlot(s.$slots,"default",{},void 0,!0)],4))}},PopupMenu=_export_sfc(_sfc_main$3,[["__scopeId","data-v-48bb95ee"]]),Tabs_vue_vue_type_style_index_0_scoped_27a56994_lang="",_sfc_main$2={__name:"Tabs",props:{data:{type:Array,default:[]},focus:{type:Function,default:()=>{}}},emits:["click","close"],setup(t,{expose:r,emit:n}){const a=useRoute(),o={path:"/"},s=ref(),l=ref(),u=ref();let c=ref({}),f=ref(0),d=ref(0);function v(T){(T.offsetLeftd.value+l.value.clientWidth)&&s.value.setScrollLeft(T.offsetLeft)}function g(T){return a.path===T.path?(c.value=T,!0):!1}function y(T){f.value=T.scrollTop,d.value=T.scrollLeft}ref(0);function S(T,w){console.log(T,w)}function b(T){T.wheelDelta<0?s.value.setScrollLeft(d.value+20):s.value.setScrollLeft(d.value-20)}return r({getFocusData:()=>c.value}),(T,w)=>{const A=ElScrollbar;return openBlock(),createElementBlock(Fragment,null,[createVNode$1(PopupMenu,{ref_key:"menuBoxRef",ref:u},{default:withCtx(()=>[createVNode$1(PopupMenuItem,null,{default:withCtx(()=>[createTextVNode("关闭其他")]),_:1}),createVNode$1(PopupMenuItem,null,{default:withCtx(()=>[createTextVNode("关闭全部")]),_:1}),createVNode$1(PopupMenuItem,null,{default:withCtx(()=>[createTextVNode("重新加载")]),_:1})]),_:1},512),createVNode$1(A,{ref_key:"scrollbarRef",ref:s,class:"scrollbar",onMousewheel:b,onScroll:y},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"tabsRef",ref:l,class:"tabs"},[createVNode$1(TabPage,{change:v,checked:g(o),icon:"HomeFilled",onClick:w[0]||(w[0]=M=>n("click",o)),onContextmenu:S},{default:withCtx(()=>[createTextVNode("首页 ")]),_:1},8,["checked"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.data,(M,L)=>(openBlock(),createBlock(TabPage,{key:L,change:v,checked:g(M),closable:!0,"data-index":L,icon:M.icon,onClick:O=>n("click",M),onClose:O=>n("close",L),onContextmenu:O=>S(L)},{default:withCtx(()=>[createTextVNode(toDisplayString$1(M.label),1)]),_:2},1032,["checked","data-index","icon","onClick","onClose","onContextmenu"]))),128))],512)]),_:1},512)],64)}}},Tabs=_export_sfc(_sfc_main$2,[["__scopeId","data-v-27a56994"]]),CommonTabs_vue_vue_type_style_index_0_scoped_d2116c70_lang="",_hoisted_1$1={class:"common-tag"},_sfc_main$1={__name:"CommonTabs",props:{homeName:{type:String,default:"Home"},homePath:{type:String,default:"/"},homeLabel:{type:String,default:"首页"},data:{type:Array},modelValue:{type:Array},size:{type:String,default:"default"}},emits:["update:modelValue"],setup(t,{emit:r}){const n=t,a=useRoute(),o=reactive([]),s=ref(),l=reactive(new Set);watch(l,function(){r("update:modelValue",[...l])}),watch(a,function(g){for(let S in o)if(g.name===o[S].name||g.path===o[S].path)return;if(g.path===n.homePath)return;let y=v(n.data,g.path);o.push(y),l.add(y.name)},{deep:!0});function u(g){router.push({path:g.path})}function c(g){o[g].name===a.name&&(g===0?router.push(n.homePath):router.push({path:o[g-1].path})),l.delete(o[g].name),o.splice(g,1)}(async()=>l.add(n.homeName))();async function f(){await router.push(n.homePath),o.length=0,l.clear(),l.add(n.homeName)}async function d(){let g=s.value.getFocusData();o.length=0,l.clear(),l.add(n.homeName),g.path!==n.homePath&&(o.push(g),l.add(g.name))}function v(g,y){for(let S=0;S{const S=ElIcon,b=ElDropdownItem,T=ElDropdownMenu,w=ElDropdown;return openBlock(),createElementBlock("div",_hoisted_1$1,[createVNode$1(Tabs,{ref_key:"tabsRef",ref:s,data:o,onClick:u,onClose:c},null,8,["data"]),createVNode$1(w,{trigger:"click"},{dropdown:withCtx(()=>[createVNode$1(T,null,{default:withCtx(()=>[createVNode$1(b,{onClick:f},{default:withCtx(()=>[createTextVNode(toDisplayString$1(g.$t("关闭所有")),1)]),_:1}),createVNode$1(b,{onClick:d},{default:withCtx(()=>[createTextVNode(toDisplayString$1(g.$t("关闭其他")),1)]),_:1})]),_:1})]),default:withCtx(()=>[createVNode$1(S,{style:{cursor:"pointer","font-size":"20px","padding-left":"10px","padding-right":"5px"}},{default:withCtx(()=>[createVNode$1(unref(more_filled_default))]),_:1})]),_:1})])}}},CommonTag=_export_sfc(_sfc_main$1,[["__scopeId","data-v-d2116c70"]]),system=defineStore("system",{state:()=>({size:"small"}),actions:{},persist:{enabled:!0,strategies:[{key:"system",storage:localStorage}]}}),Main_vue_vue_type_style_index_0_scoped_aca13f2e_lang="",_withScopeId=t=>(pushScopeId("data-v-aca13f2e"),t=t(),popScopeId(),t),_hoisted_1=_withScopeId(()=>createBaseVNode("div",{style:{width:"100%",border:"1px solid var(--el-border-color)"}},null,-1)),_sfc_main={__name:"Main",setup(t){let r=reactive([]),n=useDark(),{menuData:a}=storeToRefs(tab());storeToRefs(system());let o=ref(!1),s=ref(!0),l;function u(){o.value=!0,l=setTimeout(()=>{o.value&&(ElMessage.error("响应超时"),o.value=!1)},5e3)}function c(f){clearTimeout(l),o.value=!1}return _.debounce(function(f){f.scrollTop>500&&(s.value=!1),f.scrollTop<500&&(s.value=!0)},100),(f,d)=>{const v=ElAside,g=ElHeader,y=resolveComponent("router-view"),S=ElMain,b=ElContainer,T=vLoading;return openBlock(),createElementBlock("div",{class:normalizeClass({main:!0,dark:unref(n)})},[createVNode$1(b,null,{default:withCtx(()=>[createVNode$1(v,{width:"auto"},{default:withCtx(()=>[createVNode$1(CommonAside,{data:unref(a),onClickMenu:u},null,8,["data"])]),_:1}),createVNode$1(b,null,{default:withCtx(()=>[createVNode$1(g,null,{default:withCtx(()=>[withDirectives(createVNode$1(CommonHeader,{data:unref(a),style:{height:"50px"}},null,8,["data"]),[[vShow,unref(s)]]),_hoisted_1,createVNode$1(CommonTag,{modelValue:unref(r),"onUpdate:modelValue":d[0]||(d[0]=w=>isRef(r)?r.value=w:r=w),data:unref(a)},null,8,["modelValue","data"])]),_:1}),withDirectives((openBlock(),createBlock(S,{class:"box"},{default:withCtx(()=>[createVNode$1(y,null,{default:withCtx(({Component:w})=>[createVNode$1(Transition,{mode:"out-in",name:"slide",onBeforeEnter:c},{default:withCtx(()=>[(openBlock(),createBlock(KeepAlive,{include:unref(r)},[(openBlock(),createBlock(resolveDynamicComponent(w),{class:"box"}))],1032,["include"]))]),_:2},1024)]),_:1})]),_:1})),[[T,unref(o)]])]),_:1})]),_:1})],2)}}},Main=_export_sfc(_sfc_main,[["__scopeId","data-v-aca13f2e"]]);let{loginInfo}=user(store);const routes=[{path:"/login",name:"login",component:()=>__vitePreload(()=>import("./Login-8de84574.js"),["./Login-8de84574.js","./el-form-item-78a2dea6.js","./_baseClone-28c0d56d.js","./el-form-item-c10bf51d.css","./el-input-45fc351a.js","./event-9519ab40.js","./el-input-9bb615ea.css","./Login-b70fc2c7.css"],import.meta.url)},{path:"/",name:"main",component:Main,children:[{path:"/",name:"home",component:Home},{path:"/403",name:"403",component:()=>__vitePreload(()=>import("./403-fd1ed4ee.js"),[],import.meta.url)},{path:"/404",name:"404",component:()=>__vitePreload(()=>import("./404-bc434d1a.js"),[],import.meta.url)},{path:"/500",name:"500",component:()=>__vitePreload(()=>import("./500-26ca68df.js"),[],import.meta.url)},{path:"/ButtonTest",name:"ButtonTest",component:()=>__vitePreload(()=>import("./ButtonTest-e9de4650.js"),["./ButtonTest-e9de4650.js","./el-input-number-42c1fd8b.js","./el-input-45fc351a.js","./event-9519ab40.js","./el-input-9bb615ea.css","./el-input-number-e34b49f4.css","./ButtonTest-a44f7f99.css"],import.meta.url)},{path:"/TabsTest",name:"TabsTest",component:()=>__vitePreload(()=>import("./TabsTest-25f7af75.js"),[],import.meta.url)},{path:"/UploadImage",name:"UploadImage",component:()=>__vitePreload(()=>import("./UploadImage-17e40657.js"),["./UploadImage-17e40657.js","./event-9519ab40.js","./_baseClone-28c0d56d.js","./UploadImage-98ae96b4.css"],import.meta.url)},{path:"/test/test1",name:"Test1",component:()=>__vitePreload(()=>import("./Test1-0cc0913a.js"),[],import.meta.url)},{path:"/test/test2",name:"Test2",component:()=>__vitePreload(()=>import("./Test2-b72f62fe.js"),[],import.meta.url)},{path:"/tabs-test/tabsTest1",name:"TabsTest1",component:()=>__vitePreload(()=>import("./TabsTest1-2df8e853.js"),["./TabsTest1-2df8e853.js","./el-form-item-78a2dea6.js","./_baseClone-28c0d56d.js","./el-form-item-c10bf51d.css","./el-input-number-42c1fd8b.js","./el-input-45fc351a.js","./event-9519ab40.js","./el-input-9bb615ea.css","./el-input-number-e34b49f4.css"],import.meta.url)},{path:"/tabs-test/tabsTest2",name:"TabsTest2",component:()=>__vitePreload(()=>import("./TabsTest2-782b7acf.js"),["./TabsTest2-782b7acf.js","./el-form-item-78a2dea6.js","./_baseClone-28c0d56d.js","./el-form-item-c10bf51d.css","./el-input-number-42c1fd8b.js","./el-input-45fc351a.js","./event-9519ab40.js","./el-input-9bb615ea.css","./el-input-number-e34b49f4.css"],import.meta.url)},{path:"/tabs-test/tabsTest3",name:"TabsTest3",component:()=>__vitePreload(()=>import("./TabsTest3-25b5a137.js"),["./TabsTest3-25b5a137.js","./el-form-item-78a2dea6.js","./_baseClone-28c0d56d.js","./el-form-item-c10bf51d.css","./el-input-number-42c1fd8b.js","./el-input-45fc351a.js","./event-9519ab40.js","./el-input-9bb615ea.css","./el-input-number-e34b49f4.css"],import.meta.url)},{path:"/tabs-test/tabsTest4",name:"TabsTest4",component:()=>__vitePreload(()=>import("./TabsTest4-84eeb4de.js"),["./TabsTest4-84eeb4de.js","./el-form-item-78a2dea6.js","./_baseClone-28c0d56d.js","./el-form-item-c10bf51d.css","./el-input-number-42c1fd8b.js","./el-input-45fc351a.js","./event-9519ab40.js","./el-input-9bb615ea.css","./el-input-number-e34b49f4.css"],import.meta.url)},{path:"/tabs-test/tabsTest5",name:"TabsTest5",component:()=>__vitePreload(()=>import("./TabsTest5-a017a213.js"),["./TabsTest5-a017a213.js","./el-form-item-78a2dea6.js","./_baseClone-28c0d56d.js","./el-form-item-c10bf51d.css","./el-input-number-42c1fd8b.js","./el-input-45fc351a.js","./event-9519ab40.js","./el-input-9bb615ea.css","./el-input-number-e34b49f4.css"],import.meta.url)}],beforeEnter(t,r,n){let a=36e5;if(!loginInfo.token||!loginInfo.time||loginInfo.time+a Vite App - - + +