Compare commits

...
15 Commits
61 changed files with 2085 additions and 2986 deletions

No files matched your search

+6 -5
View File
@@ -16,19 +16,20 @@ jobs:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
actions: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.'
stale-pr-message: "PRs go stale after 30d of inactivity. Stale PRs rot after an additional 7d of inactivity and eventually close."
stale-issue-message: 'Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.'
stale-pr-message: "PRs go stale after 21d of inactivity. Stale PRs rot after an additional 7d of inactivity and eventually close."
stale-issue-label: 'lifecycle/stale'
exempt-issue-labels: 'bug,doc,enhancement,future,proposal,question,testing,todo,easy,help wanted,assigned'
stale-pr-label: 'lifecycle/stale'
exempt-pr-labels: 'bug,doc,enhancement,future,proposal,question,testing,todo,easy,help wanted,assigned'
days-before-stale: 30
days-before-stale: 21
days-before-close: 7
debug-only: ${{ github.event.inputs.debug-only }}
exempt-all-pr-milestones: true
exempt-all-pr-assignees: true
operations-per-run: 200
+2
View File
@@ -34,6 +34,8 @@ dist/
.idea/
.vscode/
.autogen_ssh_key
client.crt
client.key
# Cache
*.swp
+9 -1
View File
@@ -1,3 +1,11 @@
### Deprecation Notices
* Using an underscore in a flag name is deprecated and has been replaced by a hyphen. The underscore format will remain compatible for some time, until it is completely removed in a future version. For example, `--remote_port` is replaced with `--remote-port`.
### Features
* The `Refresh` and `ClearOfflineProxies` buttons have been added to the Dashboard of frps.
### Fixes
* frpc has a certain chance to panic when login: close of closed channel.
* The host/domain matching in the routing rules has been changed to be case-insensitive.
-32
View File
@@ -1,32 +0,0 @@
var Gh=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var K$=Gh((Mt,Pt)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(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"&&r(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 r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Pa(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}function et(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Te(r)?Qh(r):et(r);if(o)for(const s in o)t[s]=o[s]}return t}else{if(Te(e))return e;if(Pe(e))return e}}const Xh=/;(?![^(]*\))/g,Jh=/:([^]+)/,Zh=/\/\*.*?\*\//gs;function Qh(e){const t={};return e.replace(Zh,"").split(Xh).forEach(n=>{if(n){const r=n.split(Jh);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function V(e){let t="";if(Te(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const r=V(e[n]);r&&(t+=r+" ")}else if(Pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ev="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",tv=Pa(ev);function yf(e){return!!e||e===""}function nv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Vs(e[r],t[r]);return n}function Vs(e,t){if(e===t)return!0;let n=Hi(e),r=Hi(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=So(e),r=So(t),n||r)return e===t;if(n=fe(e),r=fe(t),n||r)return n&&r?nv(e,t):!1;if(n=Pe(e),r=Pe(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const l in e){const a=e.hasOwnProperty(l),i=t.hasOwnProperty(l);if(a&&!i||!a&&i||!Vs(e[l],t[l]))return!1}}return String(e)===String(t)}function bf(e,t){return e.findIndex(n=>Vs(n,t))}const Ze=e=>Te(e)?e:e==null?"":fe(e)||Pe(e)&&(e.toString===_f||!we(e.toString))?JSON.stringify(e,wf,2):String(e),wf=(e,t)=>t&&t.__v_isRef?wf(e,t.value):Ar(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:qs(t)?{[`Set(${t.size})`]:[...t.values()]}:Pe(t)&&!fe(t)&&!Cf(t)?String(t):t,Ge={},$r=[],at=()=>{},rv=()=>!1,ov=/^on[^a-z]/,Us=e=>ov.test(e),Ra=e=>e.startsWith("onUpdate:"),pt=Object.assign,ka=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},sv=Object.prototype.hasOwnProperty,Ae=(e,t)=>sv.call(e,t),fe=Array.isArray,Ar=e=>zo(e)==="[object Map]",qs=e=>zo(e)==="[object Set]",Hi=e=>zo(e)==="[object Date]",we=e=>typeof e=="function",Te=e=>typeof e=="string",So=e=>typeof e=="symbol",Pe=e=>e!==null&&typeof e=="object",Ss=e=>Pe(e)&&we(e.then)&&we(e.catch),_f=Object.prototype.toString,zo=e=>_f.call(e),lv=e=>zo(e).slice(8,-1),Cf=e=>zo(e)==="[object Object]",Ia=e=>Te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fs=Pa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ys=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},av=/-(\w)/g,Yt=Ys(e=>e.replace(av,(t,n)=>n?n.toUpperCase():"")),iv=/\B([A-Z])/g,yr=Ys(e=>e.replace(iv,"-$1").toLowerCase()),Gs=Ys(e=>e.charAt(0).toUpperCase()+e.slice(1)),ds=Ys(e=>e?`on${Gs(e)}`:""),xo=(e,t)=>!Object.is(e,t),ps=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},xs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},uv=e=>{const t=parseFloat(e);return isNaN(t)?e:t},cv=e=>{const t=Te(e)?Number(e):NaN;return isNaN(t)?e:t};let zi;const fv=()=>zi||(zi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let $t;class dv{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=$t,!t&&$t&&(this.index=($t.scopes||($t.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=$t;try{return $t=this,t()}finally{$t=n}}}on(){$t=this}off(){$t=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function pv(e,t=$t){t&&t.active&&t.effects.push(e)}function Ef(){return $t}function Sf(e){$t&&$t.cleanups.push(e)}const La=e=>{const t=new Set(e);return t.w=0,t.n=0,t},xf=e=>(e.w&jn)>0,Tf=e=>(e.n&jn)>0,hv=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=jn},vv=e=>{const{deps:t}=e;if(t.length){let Line truncated
height:0 !important;
visibility:hidden !important;
${DC()?"":"overflow:hidden !important;"}
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
`,_S=["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 CS(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:_S.map(l=>`${l}:${t.getPropertyValue(l)}`).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}function Mc(e,t=1,n){var r;zt||(zt=document.createElement("textarea"),document.body.appendChild(zt));const{paddingSize:o,borderSize:s,boxSizing:l,contextStyle:a}=CS(e);zt.setAttribute("style",`${a};${wS}`),zt.value=e.value||e.placeholder||"";let i=zt.scrollHeight;const u={};l==="border-box"?i=i+s:l==="content-box"&&(i=i-o),zt.value="";const c=zt.scrollHeight-o;if(rt(t)){let f=c*t;l==="border-box"&&(f=f+o+s),i=Math.max(f,i),u.minHeight=`${f}px`}if(rt(n)){let f=c*n;l==="border-box"&&(f=f+o+s),i=Math.min(f,i)}return u.height=`${i}px`,(r=zt.parentNode)==null||r.removeChild(zt),zt=void 0,u}const ES=qe({id:{type:String,default:void 0},size:to,disabled:Boolean,modelValue:{type:Se([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Se([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:Kt},prefixIcon:{type:Kt},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:Se([Object,Array,String]),default:()=>Nn({})}}),SS={[un]:e=>Te(e),input:e=>Te(e),change:e=>Te(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},xS=["role"],TS=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],OS=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],$S=ue({name:"ElInput",inheritAttrs:!1}),AS=ue({...$S,props:ES,emits:SS,setup(e,{expose:t,emit:n}){const r=e,o=qm(),s=ol(),l=$(()=>{const k={};return r.containerRole==="combobox"&&(k["aria-haspopup"]=o["aria-haspopup"],k["aria-owns"]=o["aria-owns"],k["aria-expanded"]=o["aria-expanded"]),k}),a=$(()=>[r.type==="textarea"?b.b():v.b(),v.m(p.value),v.is("disabled",h.value),v.is("exceed",he.value),{[v.b("group")]:s.prepend||s.append,[v.bm("group","append")]:s.append,[v.bm("group","prepend")]:s.prepend,[v.m("prefix")]:s.prefix||r.prefixIcon,[v.m("suffix")]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[v.bm("suffix","password-clear")]:j.value&&z.value},o.class]),i=$(()=>[v.e("wrapper"),v.is("focus",S.value)]),u=VC({excludeKeys:$(()=>Object.keys(l.value))}),{form:c,formItem:f}=no(),{inputId:d}=hl(r,{formItemContext:f}),p=Kr(),h=qo(),v=Oe("input"),b=Oe("textarea"),m=Pr(),w=Pr(),S=M(!1),y=M(!1),E=M(!1),T=M(!1),C=M(),x=Pr(r.inputStyle),R=$(()=>m.value||w.value),B=$(()=>{var k;return(k=c==null?void 0:c.statusIcon)!=null?k:!1}),I=$(()=>(f==null?void 0:f.validateState)||""),A=$(()=>I.value&&HC[I.value]),D=$(()=>T.value?RC:sC),re=$(()=>[o.style,r.inputStyle]),ee=$(()=>[r.inputStyle,x.value,{resize:r.resize}]),U=$(()=>Fr(r.modelValue)?"":String(r.modelValue)),j=$(()=>r.clearable&&!h.value&&!r.readonly&&!!U.value&&(S.value||y.value)),z=$(()=>r.showPassword&&!h.value&&!r.readonly&&!!U.value&&(!!U.value||S.value)),P=$(()=>r.showWordLimit&&!!u.value.maxlength&&(r.type==="text"||r.type==="textarea")&&!h.value&&!r.readonly&&!r.showPassword),Q=$(()=>U.value.length),he=$(()=>!!P.value&&Q.value>Number(u.value.maxlength)),xe=$(()=>!!s.suffix||!!r.suffixIcon||j.value||r.showPassword||P.value||!!I.value&&B.value),[Re,Fe]=dS(m);Nr(w,k=>{if(q(),!P.value||r.resize!=="both")return;const ne=k[0],{width:ye}=ne.contentRect;C.value={right:`calc(100% - ${ye+15+6}px)`}});const L=()=>{const{type:k,autosize:ne}=r;if(!(!Xe||k!=="textarea"||!w.value))if(ne){const ye=Pe(ne)?ne.minRows:void 0,Ie=Pe(ne)?ne.maxRows:void 0,Le=Mc(w.value,ye,Ie);x.value={overflowY:"hidden",...Le},We(()=>{w.value.offsetHeight,x.value=Le})}else x.value={minHeight:Mc(w.value).minHeight}},q=(k=>{let ne=!1;return()=>{var ye;if(ne||!r.autosize)return;((ye=w.value)==null?void 0:ye.offsetParent)===null||(k(),ne=!0)}})(L),Z=()=>{const k=R.value;! Line truncated
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const Mx=function(e,t){if(e&&e.addEventListener){const n=function(r){const o=Ax(r);t&&Reflect.apply(t,this,[r,o])};e.addEventListener("wheel",n,{passive:!0})}},Px={beforeMount(e,t){Mx(e,t.value)}},fh={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:to,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},dh={[un]:e=>Te(e)||rt(e)||rn(e),change:e=>Te(e)||rt(e)||rn(e)},ro=Symbol("checkboxGroupContextKey"),Rx=({model:e,isChecked:t})=>{const n=Ce(ro,void 0),r=$(()=>{var s,l;const a=(s=n==null?void 0:n.max)==null?void 0:s.value,i=(l=n==null?void 0:n.min)==null?void 0:l.value;return!Lo(a)&&e.value.length>=a&&!t.value||!Lo(i)&&e.value.length<=i&&t.value});return{isDisabled:qo($(()=>(n==null?void 0:n.disabled.value)||r.value)),isLimitDisabled:r}},kx=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:o,isLabeledByFormItem:s})=>{const l=Ce(ro,void 0),{formItem:a}=no(),{emit:i}=Ke();function u(h){var v,b;return h===e.trueLabel||h===!0?(v=e.trueLabel)!=null?v:!0:(b=e.falseLabel)!=null?b:!1}function c(h,v){i("change",u(h),v)}function f(h){if(n.value)return;const v=h.target;i("change",u(v.checked),h)}async function d(h){n.value||!r.value&&!o.value&&s.value&&(h.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await We(),c(t.value,h)))}const p=$(()=>(l==null?void 0:l.validateEvent)||e.validateEvent);return de(()=>e.modelValue,()=>{p.value&&(a==null||a.validate("change").catch(h=>void 0))}),{handleChange:f,onClickRoot:d}},Ix=e=>{const t=M(!1),{emit:n}=Ke(),r=Ce(ro,void 0),o=$(()=>Lo(r)===!1),s=M(!1);return{model:$({get(){var a,i;return o.value?(a=r==null?void 0:r.modelValue)==null?void 0:a.value:(i=e.modelValue)!=null?i:t.value},set(a){var i,u;o.value&&fe(a)?(s.value=((i=r==null?void 0:r.max)==null?void 0:i.value)!==void 0&&a.length>(r==null?void 0:r.max.value),s.value===!1&&((u=r==null?void 0:r.changeEvent)==null||u.call(r,a))):(n(un,a),t.value=a)}}),isGroup:o,isLimitExceeded:s}},Lx=(e,t,{model:n})=>{const r=Ce(ro,void 0),o=M(!1),s=$(()=>{const u=n.value;return rn(u)?u:fe(u)?Pe(e.label)?u.map(Ne).some(c=>t_(c,e.label)):u.map(Ne).includes(e.label):u!=null?u===e.trueLabel:!!u}),l=Kr($(()=>{var u;return(u=r==null?void 0:r.size)==null?void 0:u.value}),{prop:!0}),a=Kr($(()=>{var u;return(u=r==null?void 0:r.size)==null?void 0:u.value})),i=$(()=>!!(t.default||e.label));return{checkboxButtonSize:l,isChecked:s,isFocused:o,checkboxSize:a,hasOwnLabel:i}},Nx=(e,{model:t})=>{function n(){fe(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&n()},ph=(e,t)=>{const{formItem:n}=no(),{model:r,isGroup:o,isLimitExceeded:s}=Ix(e),{isFocused:l,isChecked:a,checkboxButtonSize:i,checkboxSize:u,hasOwnLabel:c}=Lx(e,t,{model:r}),{isDisabled:f}=Rx({model:r,isChecked:a}),{inputId:d,isLabeledByFormItem:p}=hl(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:o}),{handleChange:h,onClickRoot:v}=kx(e,{model:r,isLimitExceeded:s,hasOwnLabel:c,isDisabled:f,isLabeledByFormItem:p});return Nx(e,{model:r}),{inputId:d,isLabeledByFormItem:p,isChecked:a,isDisabled:f,isFocused:l,checkboxButtonSize:i,checkboxSize:u,hasOwnLabel:c,model:r,handleChange:h,onClickRoot:v}},Fx=["tabindex","role","aria-checked"],Bx=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],Hx=["id","aria-hidden","disabled","value","name","tabindex"],zx=ue({name:"ElCheckbox"}),Dx=ue({...zx,props:fh,emits:dh,setup(e){const t=e,n=ol(),{inputId:r,isLabeledByFormItem:o,isChecked:s,isDisabled:l,isFocused:a,checkboxSize:i,hasOwnLabel:u,model:c,handleChange:f,onClickRoot:d}=ph(t,n),p=Oe("checkbox"),h=$(()=>[p.b(),p.m(i.value),p.is("disabled",l.value),p.is("bordered",t.border),p.is("checked",s.value)]),v=$(()=>[p.e("input"),p.is("disabled",l.value),p.is("checked",s.value),p.is("indeterminate",t.indeterminate),p.is("focus",a.value)]);return(b,m)=>(F(),me(lt(!g(u)&&g(o)?"span":"label"),{class:V(g(h)),"aria-controls":b.indeterminate?b.controls:null,onClick:g(d)},{default:ce(()=>[se("span",{class:V(g(v)),tabindex:b.indeterminate?0:void 0,role:b.indeterminate?"checkbox":void 0,"aria-checked":b.indeterminate?"mixed":void 0},[b.trueLabel||b.falseLabel?ut((F(),oe("input",{key:0,id:g(r),"onUpdate:modelValue":m[0]||(m[0]=w=>Ve(c)?c.value=w:null),class:V(g(p).e("original")),type:"checkbox","aria-hidden":b.indeterminate?"true":"false",name:b.name,tabindex:b.tabindex,disabled:g(l),"true-value":b.trueLabel,"false-value":b.falseLabel,onChange:m[1]||(m[1]=(...w)=>g(f)&&g(f)(...w)),onFocus:m[2]||(m[2]=w=>a.value=!0),onBlur:m[3]||(m[3]=w=>a.value=!1)},null,42,Bx)),[[Ms,g(c)]]):ut((F(),oe("input",{key:1,id:g(r),"onUpdate:modelValue":m[4]||(m[4]=w=>Ve(c)?c.value=w:nLine truncated
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var qT=/["'&<>]/,YT=GT;function GT(e){var t=""+e,n=qT.exec(t);if(!n)return t;var r,o="",s=0,l=0;for(s=n.index;s<t.length;s++){switch(t.charCodeAt(s)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}l!==s&&(o+=t.substring(l,s)),l=s+1,o+=r}return l!==s?o+t.substring(l,s):o}const Nl=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},XT=function(e,t,n,r,o){if(!t&&!r&&(!o||Array.isArray(o)&&!o.length))return e;typeof n=="string"?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const s=r?null:function(a,i){return o?(Array.isArray(o)||(o=[o]),o.map(u=>typeof u=="string"?Io(a,u):u(a,i,e))):(t!=="$key"&&Pe(a)&&"$value"in a&&(a=a.$value),[Pe(a)?Io(a,t):a])},l=function(a,i){if(r)return r(a.value,i.value);for(let u=0,c=a.key.length;u<c;u++){if(a.key[u]<i.key[u])return-1;if(a.key[u]>i.key[u])return 1}return 0};return e.map((a,i)=>({value:a,index:i,key:s?s(a,i):null})).sort((a,i)=>{let u=l(a,i);return u||(u=a.index-i.index),u*+n}).map(a=>a.value)},Ch=function(e,t){let n=null;return e.columns.forEach(r=>{r.id===t&&(n=r)}),n},JT=function(e,t){let n=null;for(let r=0;r<e.columns.length;r++){const o=e.columns[r];if(o.columnKey===t){n=o;break}}return n||Un("ElTable",`No column matching with column-key: ${t}`),n},Jc=function(e,t,n){const r=(t.className||"").match(new RegExp(`${n}-table_[^\\s]+`,"gm"));return r?Ch(e,r[0]):null},ct=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if(typeof t=="string"){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let r=e;for(const o of n)r=r[o];return`${r}`}else if(typeof t=="function")return t.call(null,e)},fr=function(e,t){const n={};return(e||[]).forEach((r,o)=>{n[ct(r,t)]={row:r,index:o}}),n};function ZT(e,t){const n={};let r;for(r in e)n[r]=e[r];for(r in t)if(Ae(t,r)){const o=t[r];typeof o<"u"&&(n[r]=o)}return n}function ki(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function Eh(e){return e===""||e!==void 0&&(e=ki(e),Number.isNaN(e)&&(e=80)),e}function QT(e){return typeof e=="number"?e:typeof e=="string"?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function eO(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function wo(e,t,n){let r=!1;const o=e.indexOf(t),s=o!==-1,l=a=>{a==="add"?e.push(t):e.splice(o,1),r=!0,fe(t.children)&&t.children.forEach(i=>{wo(e,i,n??!s)})};return rn(n)?n&&!s?l("add"):!n&&s&&l("remove"):l(s?"remove":"add"),r}function tO(e,t,n="children",r="hasChildren"){const o=l=>!(Array.isArray(l)&&l.length);function s(l,a,i){t(l,a,i),a.forEach(u=>{if(u[r]){t(u,null,i+1);return}const c=u[n];o(c)||s(u,c,i+1)})}e.forEach(l=>{if(l[r]){t(l,null,0);return}const a=l[n];o(a)||s(l,a,0)})}let mn;function nO(e,t,n,r,o){o=ep({enterable:!0,showArrow:!0},o);const s=e==null?void 0:e.dataset.prefix,l=e==null?void 0:e.querySelector(`.${s}-scrollbar__wrap`);function a(){const b=o.effect==="light",m=document.createElement("div");return m.className=[`${s}-popper`,b?"is-light":"is-dark",o.popperClass||""].join(" "),n=YT(n),m.innerHTML=n,m.style.zIndex=String(r()),e==null||e.appendChild(m),m}function i(){const b=document.createElement("div");return b.className=`${s}-popper__arrow`,b}function u(){c&&c.update()}mn==null||mn(),mn=()=>{try{c&&c.destroy(),p&&(e==null||e.removeChild(p)),t.removeEventListener("mouseenter",f),t.removeEventListener("mouseleave",d),l==null||l.removeEventListener("scroll",mn),mn=void 0}catch{}};let c=null,f=u,d=mn;o.enterable&&({onOpen:f,onClose:d}=Rp({showAfter:o.showAfter,hideAfter:o.hideAfter,open:u,close:mn}));const p=a();p.onmouseenter=f,p.onmouseleave=d;const h=[];if(o.offset&&h.push({name:"offset",options:{offset:[0,o.offset]}}),o.showArrow){const b=p.appendChild(i());h.push({name:"arrow",options:{element:b,padding:10}})}const v=o.popperOptions||{};return c=$p(t,p,{placement:o.placement||"top",strategy:"fixed",...v,modifiers:v.modifiers?h.concat(v.modifiers):h}),t.addEventListener("mouseenter",f),t.addEventListener("mouseleave",d),l==null||l.addEventListener("scroll",mn),c}function Sh(e){return e.children?e_(e.children,Sh):[e]}function Zc(e,t){return e+t.colSpan}const xh=(e,t,n,r)=>{let o=0,s=e;const l=n.states.columns.value;if(r){const i=Sh(r[e]);o=l.slice(0,l.indexOf(i[0])).reduce(Zc,0),s=o+i.reduce(Zc,0)-1}else o=e;let a;switch(t){case"left":s<n.states.fixedLeafColumnsLength.value&&(a="left");break;case"right":o>=l.length-n.states.rightFixedLeafColumnsLength.value&&(a="right");break;default:s<n.states.fixedLeafColumnsLength.value?a="left":o>=l.length-n.states.rightFixedLeafColumnsLength.value&&(a="right")}return a?{direction:a,start:o,after:s}:{}},Ii=(e,t,n,r,o,s=0)=>{const l=[],{direction:a,start:i,after:u}=xh(t,n,r,o);if(a){const c=a==="left";l.push(`${e}-fixed-column--${a}`),c&&u+s===r.states.fixedLeafColumnsLength.value-1?l.push("is-last-column"):!c&&i-s===r.states.columns.value.length-r.states.rightFixedLeafColumnsLength.value&&l.push("is-first-column")}retuLine truncated
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const Tr=typeof window<"u";function F4(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const je=Object.assign;function Fl(e,t){const n={};for(const r in t){const o=t[r];n[r]=Gt(o)?o.map(e):e(o)}return n}const Co=()=>{},Gt=Array.isArray,B4=/\/$/,H4=e=>e.replace(B4,"");function Bl(e,t,n="/"){let r,o={},s="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a<i&&a>=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=W4(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:l}}function z4(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function tf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function D4(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Yr(t.matched[r],n.matched[o])&&kh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Yr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function kh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!j4(e[n],t[n]))return!1;return!0}function j4(e,t){return Gt(e)?nf(e,t):Gt(t)?nf(t,e):e===t}function nf(e,t){return Gt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function W4(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,s,l;for(s=0;s<r.length;s++)if(l=r[s],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Ho;(function(e){e.pop="pop",e.push="push"})(Ho||(Ho={}));var Eo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Eo||(Eo={}));function K4(e){if(!e)if(Tr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),H4(e)}const V4=/^[^#]+#/;function U4(e,t){return e.replace(V4,"#")+t}function q4(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ml=()=>({left:window.pageXOffset,top:window.pageYOffset});function Y4(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=q4(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function rf(e,t){return(history.state?history.state.position-t:-1)+e}const $a=new Map;function G4(e,t){$a.set(e,t)}function X4(e){const t=$a.get(e);return $a.delete(e),t}let J4=()=>location.protocol+"//"+location.host;function Ih(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),tf(i,"")}return tf(n,e)+r+o}function Z4(e,t,n,r){let o=[],s=[],l=null;const a=({state:d})=>{const p=Ih(e,location),h=n.value,v=t.value;let b=0;if(d){if(n.value=p,t.value=d,l&&l===h){l=null;return}b=v?d.position-v.position:0}else r(p);o.forEach(m=>{m(n.value,h,{delta:b,type:Ho.pop,direction:b?b>0?Eo.forward:Eo.back:Eo.unknown})})};function i(){l=n.value}function u(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(je({},d.state,{scroll:ml()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c),{pauseListeners:i,listen:u,destroy:f}}function of(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ml():null}}function Q4(e){const{history:t,location:n}=window,r={value:Ih(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(i,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+i:J4()+e+i;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function l(i,u){const c=je({},t.state,of(o.value.back,i,o.value.forward,!0),u,{position:o.value.position});s(i,c,!0),r.value=i}function a(i,u){const c=je({},o.value,t.state,{forward:i,scroll:ml()});s(c.current,c,!0);const f=je({},of(r.value,i,null),{position:c.position+1},u);s(i,f,!1),r.value=i}return{location:r,state:o,push:a,replace:l}}function e$(e){e=K4(e);const t=Q4(e),n=Z4(e,t.state,t.location,t.replace);function r(s,l=!0){l||n.pauseListeners(),history.go(s)}const o=je({location:"",base:e,go:r,createHref:U4.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function t$(e){return e=locLine truncated
-1
View File
@@ -1 +0,0 @@
@charset "UTF-8";.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-aside{overflow:auto;box-sizing:border-box;flex-shrink:0;width:var(--el-aside-width,300px)}.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-loLine truncated
+42
View File
@@ -0,0 +1,42 @@
var lv=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var wA=lv((Pt,Rt)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(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"&&r(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 r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();/**
* @vue/shared v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function La(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Ye={},Pr=[],ot=()=>{},av=()=>!1,Us=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ka=e=>e.startsWith("onUpdate:"),ct=Object.assign,Fa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},iv=Object.prototype.hasOwnProperty,Ae=(e,t)=>iv.call(e,t),pe=Array.isArray,Rr=e=>Lo(e)==="[object Map]",Gs=e=>Lo(e)==="[object Set]",ji=e=>Lo(e)==="[object Date]",Ce=e=>typeof e=="function",Se=e=>typeof e=="string",Vn=e=>typeof e=="symbol",Ie=e=>e!==null&&typeof e=="object",Es=e=>(Ie(e)||Ce(e))&&Ce(e.then)&&Ce(e.catch),Of=Object.prototype.toString,Lo=e=>Of.call(e),uv=e=>Lo(e).slice(8,-1),Af=e=>Lo(e)==="[object Object]",Ba=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,us=La(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},cv=/-(\w)/g,Jt=qs(e=>e.replace(cv,(t,n)=>n?n.toUpperCase():"")),fv=/\B([A-Z])/g,br=qs(e=>e.replace(fv,"-$1").toLowerCase()),Ys=qs(e=>e.charAt(0).toUpperCase()+e.slice(1)),cs=qs(e=>e?`on${Ys(e)}`:""),Kn=(e,t)=>!Object.is(e,t),fs=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},xs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},dv=e=>{const t=parseFloat(e);return isNaN(t)?e:t},pv=e=>{const t=Se(e)?Number(e):NaN;return isNaN(t)?e:t};let Wi;const Mf=()=>Wi||(Wi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function tt(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Se(r)?mv(r):tt(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Se(e)||Ie(e))return e}const hv=/;(?![^(]*\))/g,vv=/:([^]+)/,gv=/\/\*[^]*?\*\//g;function mv(e){const t={};return e.replace(gv,"").split(hv).forEach(n=>{if(n){const r=n.split(vv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function K(e){let t="";if(Se(e))t=e;else if(pe(e))for(let n=0;n<e.length;n++){const r=K(e[n]);r&&(t+=r+" ")}else if(Ie(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const yv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bv=La(yv);function Pf(e){return!!e||e===""}function wv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Xs(e[r],t[r]);return n}function Xs(e,t){if(e===t)return!0;let n=ji(e),r=ji(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Vn(e),r=Vn(t),n||r)return e===t;if(n=pe(e),r=pe(t),n||r)return n&&r?wv(e,t):!1;if(n=Ie(e),r=Ie(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const l in e){const a=e.hasOwnProperty(l),i=t.hasOwnProperty(l);if(a&&!i||!a&&i||!Xs(e[l],t[l]))return!1}}return String(e)===String(t)}function Rf(e,t){return e.findIndex(n=>Xs(n,t))}const Qe=e=>Se(e)?e:e==null?"":pe(e)||Ie(e)&&(e.toString===Of||!Ce(e.toString))?JSON.stringify(e,$f,2):String(e),$f=(e,t)=>t&&t.__v_isRef?$f(e,t.value):Rr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Cl(r,s)+" =>"]=o,n),{})}:Gs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Cl(n))}:Vn(t)?Cl(t):Ie(t)&&!pe(t)&&!Af(t)?String(t):t,Cl=(e,t="")=>{var n;return Vn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Mt;class Cv{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Mt,!t&&Mt&&(this.index=(Mt.scopes||(Mt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Mt;try{return Mt=this,t()}finally{Mt=n}}}on(){Mt=this}off(){Mt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function _v(e,t=Mt){t&&t.active&&t.effects.push(e)}function If(){return Mt}function Nf(e){Mt&&Mt.cleanups.push(e)}let fr;class Ha{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,_v(this,o)}get dirty(){if(this._dirtyLevel===1){wr();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Sv(n.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),Cr()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=zn,n=fr;try{return zn=!0,fr=this,this._runnings++,Vi(this),this.fn()}finally{Ki(this),this._runnings--,fr=n,zn=t}}stop(){var t;this.active&&(Vi(this),Ki(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Sv(e){return e.value}function Vi(e){e._trackId++,e._depsLength=0}function Ki(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Lf(e.deps[t],e);e.deps.length=e._depsLength}}function Lf(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let zn=!0,Ul=0;const kf=[];function wr(){kf.push(zn),zn=!1}function Cr(){const e=kf.pop();zn=e===void 0?!0:e}function Da(){Ul++}function za(){for(Ul--;!Ul&&Gl.length;)Gl.shift()()}function Ff(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Lf(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Gl=[];function Bf(e,t,n){Da();for(const r of e.keys())if(r._dirtyLevel<t&&e.get(r)===r._trackId){const o=r._dirtyLevel;r._dirtyLevel=t,o===0&&(r._shouldSchedule=!0,r.trigger())}Hf(e),za()}function Hf(e){for(const t of e.keys())t.scheduler&&t._shouldSchedule&&(!t._runnings||t.allowRecurse)&&e.get(t)===t._trackId&&(t._shouldSchedule=!1,Gl.push(t.scheduler))}const Df=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ts=new WeakMap,dr=Symbol(""),ql=Symbol("");function Ot(e,t,n){if(zn&&fr){let r=Ts.get(e);r||Ts.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Df(()=>r.delete(n))),Ff(fr,o)}}function mn(e,t,n,r,o,s){const l=Ts.get(e);if(!l)return;let a=[];if(t==="clear")a=[...l.values()];else if(n==="length"&&pe(e)){const i=Number(r);l.forEach((u,c)=>{(c==="length"||!Vn(c)&&c>=i)&&a.push(u)})}else switch(n!==void 0&&a.push(l.get(n)),t){case"add":pe(e)?Ba(n)&&a.push(l.get("length")):(a.push(l.get(dr)),Rr(e)&&a.push(l.get(ql)));break;case"delete":pe(e)||(a.push(l.get(dr)),Rr(e)&&a.push(l.get(ql)));break;case"set":Rr(e)&&a.push(l.get(dr));break}Da();for(const i of a)i&&Bf(i,2);za()}function Ev(e,t){var n;return(n=Ts.get(e))==null?void 0:n.get(t)}const xv=La("__proto__,__v_isRef,__isVue"),zf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vn)),Ui=Tv();function Tv(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ke(this);for(let s=0,l=this.length;s<l;s++)Ot(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(ke)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){wr(),Da();const r=ke(this)[t].apply(this,n);return za(),Cr(),r}}),e}function Ov(e){const t=ke(this);return Ot(t,"has",e),t.hasOwnProperty(e)}class jf{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const o=this._isReadonly,s=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Dv:Uf:s?Kf:Vf).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=pe(t);if(!o){if(l&&Ae(Ui,n))return Reflect.get(Ui,n,r);if(n==="hasOwnProperty")return Ov}const a=Reflect.get(t,n,r);return(Vn(n)?zf.has(n):xv(n))||(o||Ot(t,"get",n),s)?a:Xe(a)?l&&Ba(n)?a:a.value:Ie(a)?o?ko(a):dn(a):a}}class Wf extends jf{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._shallow){const i=Nr(s);if(!Os(r)&&!Nr(r)&&(s=ke(s),r=ke(r)),!pe(t)&&Xe(s)&&!Xe(r))return i?!1:(s.value=r,!0)}const l=pe(t)&&Ba(n)?Number(n)<t.length:Ae(t,n),a=Reflect.set(t,n,r,o);return t===ke(o)&&(l?Kn(r,s)&&mn(t,"set",n,r):mn(t,"add",n,r)),a}deleteProperty(t,n){const r=Ae(t,n);t[n];const o=Reflect.deleteProperty(t,n);return oLine truncated
* @vue/runtime-core v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function jn(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){Zs(s,t,n)}return o}function Ht(e,t,n,r){if(Ce(e)){const s=jn(e,t,n,r);return s&&Es(s)&&s.catch(l=>{Zs(l,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(Ht(e[s],t,n,r));return o}function Zs(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const l=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,l,a)===!1)return}s=s.parent}const i=t.appContext.config.errorHandler;if(i){jn(i,null,10,[e,l,a]);return}}Gv(e,n,o,r)}function Gv(e,t,n,r=!0){console.error(e)}let So=!1,Yl=!1;const vt=[];let rn=0;const Ir=[];let In=null,rr=0;const td=Promise.resolve();let qa=null;function We(e){const t=qa||td;return e?t.then(this?e.bind(this):e):t}function qv(e){let t=rn+1,n=vt.length;for(;t<n;){const r=t+n>>>1,o=vt[r],s=Eo(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function Ya(e){(!vt.length||!vt.includes(e,So&&e.allowRecurse?rn+1:rn))&&(e.id==null?vt.push(e):vt.splice(qv(e.id),0,e),nd())}function nd(){!So&&!Yl&&(Yl=!0,qa=td.then(od))}function Yv(e){const t=vt.indexOf(e);t>rn&&vt.splice(t,1)}function Xv(e){pe(e)?Ir.push(...e):(!In||!In.includes(e,e.allowRecurse?rr+1:rr))&&Ir.push(e),nd()}function Ji(e,t,n=So?rn+1:0){for(;n<vt.length;n++){const r=vt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;vt.splice(n,1),n--,r()}}}function rd(e){if(Ir.length){const t=[...new Set(Ir)].sort((n,r)=>Eo(n)-Eo(r));if(Ir.length=0,In){In.push(...t);return}for(In=t,rr=0;rr<In.length;rr++)In[rr]();In=null,rr=0}}const Eo=e=>e.id==null?1/0:e.id,Jv=(e,t)=>{const n=Eo(e)-Eo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function od(e){Yl=!1,So=!0,vt.sort(Jv);try{for(rn=0;rn<vt.length;rn++){const t=vt[rn];t&&t.active!==!1&&jn(t,null,14)}}finally{rn=0,vt.length=0,rd(),So=!1,qa=null,(vt.length||Ir.length)&&od()}}function Zv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ye;let o=n;const s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){const c=`${l==="modelValue"?"model":l}Modifiers`,{number:f,trim:d}=r[c]||Ye;d&&(o=n.map(p=>Se(p)?p.trim():p)),f&&(o=n.map(dv))}let a,i=r[a=cs(t)]||r[a=cs(Jt(t))];!i&&s&&(i=r[a=cs(br(t))]),i&&Ht(i,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ht(u,e,6,o)}}function sd(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let l={},a=!1;if(!Ce(e)){const i=u=>{const c=sd(u,t,!0);c&&(a=!0,ct(l,c))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!s&&!a?(Ie(e)&&r.set(e,null),null):(pe(s)?s.forEach(i=>l[i]=null):ct(l,s),Ie(e)&&r.set(e,l),l)}function Qs(e,t){return!e||!Us(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ae(e,t[0].toLowerCase()+t.slice(1))||Ae(e,br(t))||Ae(e,t))}let at=null,ld=null;function As(e){const t=at;return at=e,ld=e&&e.type.__scopeId||null,t}function de(e,t=at,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&du(-1);const s=As(t);let l;try{l=e(...o)}finally{As(s),r._d&&du(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function _l(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[l],slots:a,attrs:i,emit:u,render:c,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:v}=e;let b,g;const w=As(e);try{if(n.shapeFlag&4){const y=o||r,O=y;b=nn(c.call(O,y,f,s,p,d,h)),g=i}else{const y=t;b=nn(y.length>1?y(s,{attrs:i,slots:a,emit:u}):y(s,null)),g=t.props?i:Qv(i)}}catch(y){ho.length=0,Zs(y,e,1),b=fe(St)}let T=b;if(g&&v!==!1){const y=Object.keys(g),{shapeFlag:O}=T;y.length&&O&7&&(l&&y.some(ka)&&(g=eg(g,l)),T=yn(T,g))}return n.dirs&&(T=yn(T),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&(T.transition=n.transition),b=T,As(w),b}const Qv=e=>{let t;for(const n in e)(n==="class"||n==="style"||Us(n))&&((t||(t={}))[n]=e[n]);return t},eg=(e,t)=>{const n={};for(const r in e)(!ka(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function tg(e,t,n){const{props:r,children:o,component:s}=e,{props:l,children:a,patchFlag:i}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return r?Zi(r,l,u):!!l;if(i&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(l[d]!==r[d]&&!Qs(u,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===l?!1:r?l?Zi(r,l,u):!0:!!l;return!1}function Zi(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!Qs(n,s))return!0}return!1}function ng({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Xa="components",rg="directives";function st(e,t){return Ja(Xa,e,!0,t)||e}const ad=Symbol.for("v-ndc");function nt(e){return Se(e)?Ja(Xa,e,!1)||e:e||ad}function id(e){return Ja(rg,e)}function Ja(e,t,n=!0,r=!1){const o=at||dt;if(o){const s=o.type;if(e===Xa){const a=Jg(s,!1);if(a&&(a===t||a===Jt(t)||a===Ys(Jt(t))))return s}const l=Qi(o[e]||s[e],t)||Qi(o.appContext[e],t);ret Line truncated
* @vue/runtime-dom v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const tm="http://www.w3.org/2000/svg",nm="http://www.w3.org/1998/Math/MathML",kn=typeof document<"u"?document:null,gu=kn&&kn.createElement("template"),rm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?kn.createElementNS(tm,e):t==="mathml"?kn.createElementNS(nm,e):kn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>kn.createTextNode(e),createComment:e=>kn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>kn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{gu.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=gu.content;if(r==="svg"||r==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Tn="transition",ro="animation",To=Symbol("_vtc"),_n=(e,{slots:t})=>ye(fg,om(e),t);_n.displayName="Transition";const Rd={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};_n.props=ct({},cd,Rd);const Zn=(e,t=[])=>{pe(e)?e.forEach(n=>n(...t)):e&&e(...t)},mu=e=>e?pe(e)?e.some(t=>t.length>1):e.length>1:!1;function om(e){const t={};for(const I in e)I in Rd||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=s,appearActiveClass:u=l,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=sm(o),v=h&&h[0],b=h&&h[1],{onBeforeEnter:g,onEnter:w,onEnterCancelled:T,onLeave:y,onLeaveCancelled:O,onBeforeAppear:E=g,onAppear:C=w,onAppearCancelled:_=T}=t,P=(I,L,V)=>{Qn(I,L?c:a),Qn(I,L?u:l),V&&V()},B=(I,L)=>{I._isLeaving=!1,Qn(I,f),Qn(I,p),Qn(I,d),L&&L()},W=I=>(L,V)=>{const G=I?C:w,J=()=>P(L,I,V);Zn(G,[L,J]),yu(()=>{Qn(L,I?i:s),On(L,I?c:a),mu(G)||bu(L,r,v,J)})};return ct(t,{onBeforeEnter(I){Zn(g,[I]),On(I,s),On(I,l)},onBeforeAppear(I){Zn(E,[I]),On(I,i),On(I,u)},onEnter:W(!1),onAppear:W(!0),onLeave(I,L){I._isLeaving=!0;const V=()=>B(I,L);On(I,f),im(),On(I,d),yu(()=>{I._isLeaving&&(Qn(I,f),On(I,p),mu(y)||bu(I,r,b,V))}),Zn(y,[I,V])},onEnterCancelled(I){P(I,!1),Zn(T,[I])},onAppearCancelled(I){P(I,!0),Zn(_,[I])},onLeaveCancelled(I){B(I),Zn(O,[I])}})}function sm(e){if(e==null)return null;if(Ie(e))return[Ol(e.enter),Ol(e.leave)];{const t=Ol(e);return[t,t]}}function Ol(e){return pv(e)}function On(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[To]||(e[To]=new Set)).add(t)}function Qn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[To];n&&(n.delete(t),n.size||(e[To]=void 0))}function yu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let lm=0;function bu(e,t,n,r){const o=e._endId=++lm,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=am(e,t);if(!l)return r();const u=l+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=p=>{p.target===e&&++c>=i&&f()};setTimeout(()=>{c<i&&f()},a+1),e.addEventListener(u,d)}function am(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Tn}Delay`),s=r(`${Tn}Duration`),l=wu(o,s),a=r(`${ro}Delay`),i=r(`${ro}Duration`),u=wu(a,i);let c=null,f=0,d=0;t===Tn?l>0&&(c=Tn,f=l,d=s.length):t===ro?u>0&&(c=ro,f=u,d=i.length):(f=Math.max(l,u),c=f>0?l>u?Tn:ro:null,d=c?c===Tn?s.length:i.length:0);const p=c===Tn&&/\b(transform|all)(,|$)/.test(r(`${Tn}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function wu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Cu(n)+Cu(e[r])))}function Cu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function im(){return document.body.offsetHeight}function um(e,t,n){const r=e[To];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const oi=Symbol("_vod"),Xt={beforeMount(e,{value:t},{transition:n}){e[oi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):oo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),oo(e,!0),r.enter(e)):r.leave(e,()=>{oo(e,!1)}):oo(e,t))},beforeUnmount(e,{value:t}){oo(e,t)}};function oo(e,t){e.style.display=t?e[oi]:"none"}const cm=Symbol("");function fm(e,t,n){const r=e.style,o=r. Line truncated
height:0 !important;
visibility:hidden !important;
${Py()?"":"overflow:hidden !important;"}
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
`,rS=["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 oS(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:rS.map(l=>`${l}:${t.getPropertyValue(l)}`).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}function Hc(e,t=1,n){var r;Vt||(Vt=document.createElement("textarea"),document.body.appendChild(Vt));const{paddingSize:o,borderSize:s,boxSizing:l,contextStyle:a}=oS(e);Vt.setAttribute("style",`${a};${nS}`),Vt.value=e.value||e.placeholder||"";let i=Vt.scrollHeight;const u={};l==="border-box"?i=i+s:l==="content-box"&&(i=i-o),Vt.value="";const c=Vt.scrollHeight-o;if(et(t)){let f=c*t;l==="border-box"&&(f=f+o+s),i=Math.max(f,i),u.minHeight=`${f}px`}if(et(n)){let f=c*n;l==="border-box"&&(f=f+o+s),i=Math.min(f,i)}return u.height=`${i}px`,(r=Vt.parentNode)==null||r.removeChild(Vt),Vt=void 0,u}const sS=Ze({id:{type:String,default:void 0},size:Wo,disabled:Boolean,modelValue:{type:Te([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Te([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:_t},prefixIcon:{type:_t},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:Te([Object,Array,String]),default:()=>Bn({})},autofocus:{type:Boolean,default:!1}}),lS={[cn]:e=>Se(e),input:e=>Se(e),change:e=>Se(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},aS=["role"],iS=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],uS=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],cS=re({name:"ElInput",inheritAttrs:!1}),fS=re({...cS,props:sS,emits:lS,setup(e,{expose:t,emit:n}){const r=e,o=Cg(),s=rl(),l=A(()=>{const $={};return r.containerRole==="combobox"&&($["aria-haspopup"]=o["aria-haspopup"],$["aria-owns"]=o["aria-owns"],$["aria-expanded"]=o["aria-expanded"]),$}),a=A(()=>[r.type==="textarea"?b.b():v.b(),v.m(p.value),v.is("disabled",h.value),v.is("exceed",Re.value),{[v.b("group")]:s.prepend||s.append,[v.bm("group","append")]:s.append,[v.bm("group","prepend")]:s.prepend,[v.m("prefix")]:s.prefix||r.prefixIcon,[v.m("suffix")]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[v.bm("suffix","password-clear")]:z.value&&oe.value},o.class]),i=A(()=>[v.e("wrapper"),v.is("focus",B.value)]),u=xC({excludeKeys:A(()=>Object.keys(l.value))}),{form:c,formItem:f}=eo(),{inputId:d}=gl(r,{formItemContext:f}),p=Kr(),h=Vo(),v=Ee("input"),b=Ee("textarea"),g=pr(),w=pr(),T=M(!1),y=M(!1),O=M(!1),E=M(),C=pr(r.inputStyle),_=A(()=>g.value||w.value),{wrapperRef:P,isFocused:B,handleFocus:W,handleBlur:I}=Y_(_,{afterBlur(){var $;r.validateEvent&&(($=f==null?void 0:f.validate)==null||$.call(f,"blur").catch(ee=>void 0))}}),L=A(()=>{var $;return($=c==null?void 0:c.statusIcon)!=null?$:!1}),V=A(()=>(f==null?void 0:f.validateState)||""),G=A(()=>V.value&&bC[V.value]),J=A(()=>O.value?gC:uC),H=A(()=>[o.style]),te=A(()=>[r.inputStyle,C.value,{resize:r.resize}]),k=A(()=>yr(r.modelValue)?"":String(r.modelValue)),z=A(()=>r.clearable&&!h.value&&!r.readonly&&!!k.value&&(B.value||T.value)),oe=A(()=>r.showPassword&&!h.value&&!r.readonly&&!!k.value&&(!!k.value||B.value)),se=A(()=>r.showWordLimit&&!!r.maxlength&&(r.type==="text"||r.type==="textarea")&&!h.value&&!r.readonly&&!r.showPassword),xe=A(()=>k.value.length),Re=A(()=>!!se.value&&xe.value>Number(r.maxlength)),De=A(()=>!!s.suffix||!!r.suffixIcon||z.value||r.showPassword||se.value||!!V.value&&L.value),[Ne,F]=G_(g);Fr(w,$=>{if(ae(),!se.value||r.resize!=="both")return;const ee=$[0],{width:me}=ee.contentRect;E.value={right:`calc(100% - ${me+15+6}px)`}});const Y=()=>{const{type:$,autosize:ee}=r;if(!(!Ge||$!=="textarea"||!w.value))if(ee){const me=Ie(ee)?ee.minRows:void 0,Le=Ie(ee)?ee.maxRows:void 0,Ve Line truncated
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const cx=function(e,t){if(e&&e.addEventListener){const n=function(r){const o=ux(r);t&&Reflect.apply(t,this,[r,o])};e.addEventListener("wheel",n,{passive:!0})}},fx={beforeMount(e,t){cx(e,t.value)}},Ch={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:Wo,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},_h={[cn]:e=>Se(e)||et(e)||sn(e),change:e=>Se(e)||et(e)||sn(e)},to=Symbol("checkboxGroupContextKey"),dx=({model:e,isChecked:t})=>{const n=_e(to,void 0),r=A(()=>{var s,l;const a=(s=n==null?void 0:n.max)==null?void 0:s.value,i=(l=n==null?void 0:n.min)==null?void 0:l.value;return!Br(a)&&e.value.length>=a&&!t.value||!Br(i)&&e.value.length<=i&&t.value});return{isDisabled:Vo(A(()=>(n==null?void 0:n.disabled.value)||r.value)),isLimitDisabled:r}},px=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:o,isLabeledByFormItem:s})=>{const l=_e(to,void 0),{formItem:a}=eo(),{emit:i}=He();function u(h){var v,b;return h===e.trueLabel||h===!0?(v=e.trueLabel)!=null?v:!0:(b=e.falseLabel)!=null?b:!1}function c(h,v){i("change",u(h),v)}function f(h){if(n.value)return;const v=h.target;i("change",u(v.checked),h)}async function d(h){n.value||!r.value&&!o.value&&s.value&&(h.composedPath().some(g=>g.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await We(),c(t.value,h)))}const p=A(()=>(l==null?void 0:l.validateEvent)||e.validateEvent);return ge(()=>e.modelValue,()=>{p.value&&(a==null||a.validate("change").catch(h=>void 0))}),{handleChange:f,onClickRoot:d}},hx=e=>{const t=M(!1),{emit:n}=He(),r=_e(to,void 0),o=A(()=>Br(r)===!1),s=M(!1),l=A({get(){var a,i;return o.value?(a=r==null?void 0:r.modelValue)==null?void 0:a.value:(i=e.modelValue)!=null?i:t.value},set(a){var i,u;o.value&&pe(a)?(s.value=((i=r==null?void 0:r.max)==null?void 0:i.value)!==void 0&&a.length>(r==null?void 0:r.max.value)&&a.length>l.value.length,s.value===!1&&((u=r==null?void 0:r.changeEvent)==null||u.call(r,a))):(n(cn,a),t.value=a)}});return{model:l,isGroup:o,isLimitExceeded:s}},vx=(e,t,{model:n})=>{const r=_e(to,void 0),o=M(!1),s=A(()=>{const u=n.value;return sn(u)?u:pe(u)?Ie(e.label)?u.map(ke).some(c=>H1(c,e.label)):u.map(ke).includes(e.label):u!=null?u===e.trueLabel:!!u}),l=Kr(A(()=>{var u;return(u=r==null?void 0:r.size)==null?void 0:u.value}),{prop:!0}),a=Kr(A(()=>{var u;return(u=r==null?void 0:r.size)==null?void 0:u.value})),i=A(()=>!!t.default||!yr(e.label));return{checkboxButtonSize:l,isChecked:s,isFocused:o,checkboxSize:a,hasOwnLabel:i}},gx=(e,{model:t})=>{function n(){pe(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&n()},Sh=(e,t)=>{const{formItem:n}=eo(),{model:r,isGroup:o,isLimitExceeded:s}=hx(e),{isFocused:l,isChecked:a,checkboxButtonSize:i,checkboxSize:u,hasOwnLabel:c}=vx(e,t,{model:r}),{isDisabled:f}=dx({model:r,isChecked:a}),{inputId:d,isLabeledByFormItem:p}=gl(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:o}),{handleChange:h,onClickRoot:v}=px(e,{model:r,isLimitExceeded:s,hasOwnLabel:c,isDisabled:f,isLabeledByFormItem:p});return gx(e,{model:r}),{inputId:d,isLabeledByFormItem:p,isChecked:a,isDisabled:f,isFocused:l,checkboxButtonSize:i,checkboxSize:u,hasOwnLabel:c,model:r,handleChange:h,onClickRoot:v}},mx=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],yx=["id","indeterminate","disabled","value","name","tabindex"],bx=re({name:"ElCheckbox"}),wx=re({...bx,props:Ch,emits:_h,setup(e){const t=e,n=rl(),{inputId:r,isLabeledByFormItem:o,isChecked:s,isDisabled:l,isFocused:a,checkboxSize:i,hasOwnLabel:u,model:c,handleChange:f,onClickRoot:d}=Sh(t,n),p=Ee("checkbox"),h=A(()=>[p.b(),p.m(i.value),p.is("disabled",l.value),p.is("bordered",t.border),p.is("checked",s.value)]),v=A(()=>[p.e("input"),p.is("disabled",l.value),p.is("checked",s.value),p.is("indeterminate",t.indeterminate),p.is("focus",a.value)]);return(b,g)=>(N(),he(nt(!m(u)&&m(o)?"span":"label"),{class:K(m(h)),"aria-controls":b.indeterminate?b.controls:null,onClick:m(d)},{default:de(()=>[ce("span",{class:K(m(v))},[b.trueLabel||b.falseLabel?it((N(),ie("input",{key:0,id:m(r),"onUpdate:modelValue":g[0]||(g[0]=w=>Xe(c)?c.value=w:null),class:K(m(p).e("original")),type:"checkbox",indeterminate:b.indeterminate,name:b.name,tabindex:b.tabindex,disabled:m(l),"true-value":b.trueLabel,"false-value":b.falseLabel,onChange:g[1]||(g[1]=(...w)=>m(f)&&m(f)(...w)),onFocus:g[2]||(g[2]=w=>a.value=!0),onBlur:g[3]||(g[3]=w=>a.value=!1),onClick:g[4]||(g[4]=Gt(()=>{},["stop"]))},null,42,mx)),[[$s,m(c)]]):it((N(),ie("input",{key:1,id:m(r),"onUpdate:modelValue":g[5]||(g[5]=w=>Xe(c)?c.value=w:null),class:K(m(p).e("original")),type:"checkbox",indeterminate:b.indeterminate,dLine truncated
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const Ar=typeof window<"u";function pO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const je=Object.assign;function Wl(e,t){const n={};for(const r in t){const o=t[r];n[r]=Zt(o)?o.map(e):e(o)}return n}const wo=()=>{},Zt=Array.isArray,hO=/\/$/,vO=e=>e.replace(hO,"");function Vl(e,t,n="/"){let r,o={},s="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a<i&&a>=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=bO(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:l}}function gO(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ff(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mO(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Yr(t.matched[r],n.matched[o])&&Vh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Yr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Vh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!yO(e[n],t[n]))return!1;return!0}function yO(e,t){return Zt(e)?df(e,t):Zt(t)?df(t,e):e===t}function df(e,t){return Zt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function bO(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,l,a;for(l=0;l<r.length;l++)if(a=r[l],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(l-(l===r.length?1:0)).join("/")}var No;(function(e){e.pop="pop",e.push="push"})(No||(No={}));var Co;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Co||(Co={}));function wO(e){if(!e)if(Ar){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),vO(e)}const CO=/^[^#]+#/;function _O(e,t){return e.replace(CO,"#")+t}function SO(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const bl=()=>({left:window.pageXOffset,top:window.pageYOffset});function EO(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=SO(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function pf(e,t){return(history.state?history.state.position-t:-1)+e}const $a=new Map;function xO(e,t){$a.set(e,t)}function TO(e){const t=$a.get(e);return $a.delete(e),t}let OO=()=>location.protocol+"//"+location.host;function Kh(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),ff(i,"")}return ff(n,e)+r+o}function AO(e,t,n,r){let o=[],s=[],l=null;const a=({state:d})=>{const p=Kh(e,location),h=n.value,v=t.value;let b=0;if(d){if(n.value=p,t.value=d,l&&l===h){l=null;return}b=v?d.position-v.position:0}else r(p);o.forEach(g=>{g(n.value,h,{delta:b,type:No.pop,direction:b?b>0?Co.forward:Co.back:Co.unknown})})};function i(){l=n.value}function u(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(je({},d.state,{scroll:bl()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:i,listen:u,destroy:f}}function hf(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?bl():null}}function MO(e){const{history:t,location:n}=window,r={value:Kh(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(i,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+i:OO()+e+i;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function l(i,u){const c=je({},t.state,hf(o.value.back,i,o.value.forward,!0),u,{position:o.value.position});s(i,c,!0),r.value=i}function a(i,u){const c=je({},o.value,t.state,{forward:i,scroll:bl()});s(c.current,c,!0);const f=je({},hf(r.value,i,null),{position:c.position+1},u);s(i,f,!1),r.value=i}return{location:r,state:o,push:a,replace:l}}function PO(e){e=wO(e);const t=MO(e),n=AO(e,t.state,t.location,t.replace);function r(s,l=!0){l||n.pauseListeners(),history.go(s)}const o=je({location:"",base:e,go:r,createHref:_O.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerLine truncated
+1
View File
@@ -0,0 +1 @@
@charset "UTF-8";.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-aside{overflow:auto;box-sizing:border-box;flex-shrink:0;width:var(--el-aside-width,300px)}.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-loLine truncated
+2 -3
View File
@@ -4,13 +4,12 @@
<head>
<meta charset="utf-8">
<title>frp client admin UI</title>
<script type="module" crossorigin src="./index-1c7ed8b0.js"></script>
<link rel="stylesheet" href="./index-1e2a7ce0.css">
<script type="module" crossorigin src="./index-bLBhaJo8.js"></script>
<link rel="stylesheet" crossorigin href="./index-iuf46MlF.css">
</head>
<body>
<div id="app"></div>
</body>
</html>
-1
View File
@@ -1 +0,0 @@
@charset "UTF-8";.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-aside{overflow:auto;box-sizing:border-box;flex-shrink:0;width:var(--el-aside-width,300px)}.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-loLine truncated
+84
View File
@@ -0,0 +1,84 @@
var wD=Object.defineProperty;var SD=(e,t,r)=>t in e?wD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var xD=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Wt=(e,t,r)=>(SD(e,typeof t!="symbol"?t+"":t,r),r);var vte=xD((Hr,zr)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();/**
* @vue/shared v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function $m(e,t){const r=new Set(e.split(","));return t?n=>r.has(n.toLowerCase()):n=>r.has(n)}const bt={},ns=[],Qt=()=>{},CD=()=>!1,Bd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Hm=e=>e.startsWith("onUpdate:"),Nt=Object.assign,zm=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},TD=Object.prototype.hasOwnProperty,Ue=(e,t)=>TD.call(e,t),_e=Array.isArray,is=e=>Bu(e)==="[object Map]",$d=e=>Bu(e)==="[object Set]",o_=e=>Bu(e)==="[object Date]",Ie=e=>typeof e=="function",ze=e=>typeof e=="string",ra=e=>typeof e=="symbol",qe=e=>e!==null&&typeof e=="object",Kc=e=>(qe(e)||Ie(e))&&Ie(e.then)&&Ie(e.catch),EC=Object.prototype.toString,Bu=e=>EC.call(e),MD=e=>Bu(e).slice(8,-1),LC=e=>Bu(e)==="[object Object]",Vm=e=>ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_c=$m(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Hd=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},AD=/-(\w)/g,Kn=Hd(e=>e.replace(AD,(t,r)=>r?r.toUpperCase():"")),PD=/\B([A-Z])/g,wo=Hd(e=>e.replace(PD,"-$1").toLowerCase()),zd=Hd(e=>e.charAt(0).toUpperCase()+e.slice(1)),bc=Hd(e=>e?`on${zd(e)}`:""),na=(e,t)=>!Object.is(e,t),wc=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},Xc=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},ED=e=>{const t=parseFloat(e);return isNaN(t)?e:t},LD=e=>{const t=ze(e)?Number(e):NaN;return isNaN(t)?e:t};let s_;const DC=()=>s_||(s_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wt(e){if(_e(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],i=ze(n)?RD(n):wt(n);if(i)for(const a in i)t[a]=i[a]}return t}else if(ze(e)||qe(e))return e}const DD=/;(?![^(]*\))/g,ID=/:([^]+)/,OD=/\/\*[^]*?\*\//g;function RD(e){const t={};return e.replace(OD,"").split(DD).forEach(r=>{if(r){const n=r.split(ID);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ne(e){let t="";if(ze(e))t=e;else if(_e(e))for(let r=0;r<e.length;r++){const n=ne(e[r]);n&&(t+=n+" ")}else if(qe(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const kD="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ND=$m(kD);function IC(e){return!!e||e===""}function FD(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=Vd(e[n],t[n]);return r}function Vd(e,t){if(e===t)return!0;let r=o_(e),n=o_(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=ra(e),n=ra(t),r||n)return e===t;if(r=_e(e),n=_e(t),r||n)return r&&n?FD(e,t):!1;if(r=qe(e),n=qe(t),r||n){if(!r||!n)return!1;const i=Object.keys(e).length,a=Object.keys(t).length;if(i!==a)return!1;for(const o in e){const s=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(s&&!l||!s&&l||!Vd(e[o],t[o]))return!1}}return String(e)===String(t)}function OC(e,t){return e.findIndex(r=>Vd(r,t))}const be=e=>ze(e)?e:e==null?"":_e(e)||qe(e)&&(e.toString===EC||!Ie(e.toString))?JSON.stringify(e,RC,2):String(e),RC=(e,t)=>t&&t.__v_isRef?RC(e,t.value):is(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i],a)=>(r[Fh(n,a)+" =>"]=i,r),{})}:$d(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Fh(r))}:ra(t)?Fh(t):qe(t)&&!_e(t)&&!LC(t)?String(t):t,Fh=(e,t="")=>{var r;return ra(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
* @vue/reactivity v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Fr;class BD{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Fr,!t&&Fr&&(this.index=(Fr.scopes||(Fr.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=Fr;try{return Fr=this,t()}finally{Fr=r}}}on(){Fr=this}off(){Fr=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function $D(e,t=Fr){t&&t.active&&t.effects.push(e)}function kC(){return Fr}function HD(e){Fr&&Fr.cleanups.push(e)}let ro;class Wm{constructor(t,r,n,i){this.fn=t,this.trigger=r,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,$D(this,i)}get dirty(){if(this._dirtyLevel===1){So();for(let t=0;t<this._depsLength;t++){const r=this.deps[t];if(r.computed&&(zD(r.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),xo()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Qi,r=ro;try{return Qi=!0,ro=this,this._runnings++,l_(this),this.fn()}finally{u_(this),this._runnings--,ro=r,Qi=t}}stop(){var t;this.active&&(l_(this),u_(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function zD(e){return e.value}function l_(e){e._trackId++,e._depsLength=0}function u_(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)NC(e.deps[t],e);e.deps.length=e._depsLength}}function NC(e,t){const r=e.get(t);r!==void 0&&t._trackId!==r&&(e.delete(t),e.size===0&&e.cleanup())}let Qi=!0,Dp=0;const FC=[];function So(){FC.push(Qi),Qi=!1}function xo(){const e=FC.pop();Qi=e===void 0?!0:e}function Gm(){Dp++}function Um(){for(Dp--;!Dp&&Ip.length;)Ip.shift()()}function BC(e,t,r){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&NC(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ip=[];function $C(e,t,r){Gm();for(const n of e.keys())if(n._dirtyLevel<t&&e.get(n)===n._trackId){const i=n._dirtyLevel;n._dirtyLevel=t,i===0&&(n._shouldSchedule=!0,n.trigger())}HC(e),Um()}function HC(e){for(const t of e.keys())t.scheduler&&t._shouldSchedule&&(!t._runnings||t.allowRecurse)&&e.get(t)===t._trackId&&(t._shouldSchedule=!1,Ip.push(t.scheduler))}const zC=(e,t)=>{const r=new Map;return r.cleanup=e,r.computed=t,r},Zc=new WeakMap,no=Symbol(""),Op=Symbol("");function Dr(e,t,r){if(Qi&&ro){let n=Zc.get(e);n||Zc.set(e,n=new Map);let i=n.get(r);i||n.set(r,i=zC(()=>n.delete(r))),BC(ro,i)}}function pi(e,t,r,n,i,a){const o=Zc.get(e);if(!o)return;let s=[];if(t==="clear")s=[...o.values()];else if(r==="length"&&_e(e)){const l=Number(n);o.forEach((u,f)=>{(f==="length"||!ra(f)&&f>=l)&&s.push(u)})}else switch(r!==void 0&&s.push(o.get(r)),t){case"add":_e(e)?Vm(r)&&s.push(o.get("length")):(s.push(o.get(no)),is(e)&&s.push(o.get(Op)));break;case"delete":_e(e)||(s.push(o.get(no)),is(e)&&s.push(o.get(Op)));break;case"set":is(e)&&s.push(o.get(no));break}Gm();for(const l of s)l&&$C(l,2);Um()}function VD(e,t){var r;return(r=Zc.get(e))==null?void 0:r.get(t)}const WD=$m("__proto__,__v_isRef,__isVue"),VC=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ra)),f_=GD();function GD(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=Qe(this);for(let a=0,o=this.length;a<o;a++)Dr(n,"get",a+"");const i=n[t](...r);return i===-1||i===!1?n[t](...r.map(Qe)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){So(),Gm();const n=Qe(this)[t].apply(this,r);return Um(),xo(),n}}),e}function UD(e){const t=Qe(this);return Dr(t,"has",e),t.hasOwnProperty(e)}class WC{constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get(t,r,n){const i=this._isReadonly,a=this._shallow;if(r==="__v_isReactive")return!i;if(r==="__v_isReadonly")return i;if(r==="__v_isShallow")return a;if(r==="__v_raw")return n===(i?a?iI:YC:a?jC:UC).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=_e(t);if(!i){if(o&&Ue(f_,r))return Reflect.get(f_,r,n);if(r==="hasOwnProperty")return UD}const s=Reflect.get(t,r,n);return(ra(r)?VC.has(r):WD(r))||(i||Dr(t,"get",r),a)?s:Pt(s)?o&&Vm(r)?s:s.value:qe(s)?i?$u(s):Ln(s):s}}class GC extends WC{constructor(t=!1){super(!1,t)}set(t,r,n,i){let a=t[r];if(!this._shallow){const l=vs(a);if(!Qc(n)&&!vs(n)&&(a=Qe(a),n=Qe(n)),!_e(t)&&Pt(a)&&!Pt(n))return l?!1:(a.value=n,!0)}const o=_e(t)&&Vm(r)?Number(r)<t.length:Ue(t,r),s=Reflect.set(t,r,n,i);return t===Qe(i)&&(o?na(n,a)&&pi(t,"set",r,n):pi(t,"add",r,n)),s}deleteProperty(t,r){const n=Ue(t,r);t[r];const i=Reflect.deleteProperty(t,r);return iLine truncated
* @vue/runtime-core v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Ji(e,t,r,n){let i;try{i=n?e(...n):e()}catch(a){Ud(a,t,r)}return i}function ln(e,t,r,n){if(Ie(e)){const a=Ji(e,t,r,n);return a&&Kc(a)&&a.catch(o=>{Ud(o,t,r)}),a}const i=[];for(let a=0;a<e.length;a++)i.push(ln(e[a],t,r,n));return i}function Ud(e,t,r,n=!0){const i=t?t.vnode:null;if(t){let a=t.parent;const o=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${r}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,o,s)===!1)return}a=a.parent}const l=t.appContext.config.errorHandler;if(l){Ji(l,null,10,[e,o,s]);return}}dI(e,r,i,n)}function dI(e,t,r,n=!0){console.error(e)}let iu=!1,Rp=!1;const or=[];let zn=0;const os=[];let Wi=null,Ga=0;const tT=Promise.resolve();let Qm=null;function Ft(e){const t=Qm||tT;return e?t.then(this?e.bind(this):e):t}function hI(e){let t=zn+1,r=or.length;for(;t<r;){const n=t+r>>>1,i=or[n],a=au(i);a<e||a===e&&i.pre?t=n+1:r=n}return t}function Jm(e){(!or.length||!or.includes(e,iu&&e.allowRecurse?zn+1:zn))&&(e.id==null?or.push(e):or.splice(hI(e.id),0,e),rT())}function rT(){!iu&&!Rp&&(Rp=!0,Qm=tT.then(iT))}function vI(e){const t=or.indexOf(e);t>zn&&or.splice(t,1)}function pI(e){_e(e)?os.push(...e):(!Wi||!Wi.includes(e,e.allowRecurse?Ga+1:Ga))&&os.push(e),rT()}function p_(e,t,r=iu?zn+1:0){for(;r<or.length;r++){const n=or[r];if(n&&n.pre){if(e&&n.id!==e.uid)continue;or.splice(r,1),r--,n()}}}function nT(e){if(os.length){const t=[...new Set(os)].sort((r,n)=>au(r)-au(n));if(os.length=0,Wi){Wi.push(...t);return}for(Wi=t,Ga=0;Ga<Wi.length;Ga++)Wi[Ga]();Wi=null,Ga=0}}const au=e=>e.id==null?1/0:e.id,gI=(e,t)=>{const r=au(e)-au(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function iT(e){Rp=!1,iu=!0,or.sort(gI);try{for(zn=0;zn<or.length;zn++){const t=or[zn];t&&t.active!==!1&&Ji(t,null,14)}}finally{zn=0,or.length=0,nT(),iu=!1,Qm=null,(or.length||os.length)&&iT()}}function mI(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||bt;let i=r;const a=t.startsWith("update:"),o=a&&t.slice(7);if(o&&o in n){const f=`${o==="modelValue"?"model":o}Modifiers`,{number:c,trim:h}=n[f]||bt;h&&(i=r.map(d=>ze(d)?d.trim():d)),c&&(i=r.map(ED))}let s,l=n[s=bc(t)]||n[s=bc(Kn(t))];!l&&a&&(l=n[s=bc(wo(t))]),l&&ln(l,e,6,i);const u=n[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,ln(u,e,6,i)}}function aT(e,t,r=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const a=e.emits;let o={},s=!1;if(!Ie(e)){const l=u=>{const f=aT(u,t,!0);f&&(s=!0,Nt(o,f))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(qe(e)&&n.set(e,null),null):(_e(a)?a.forEach(l=>o[l]=null):Nt(o,a),qe(e)&&n.set(e,o),o)}function jd(e,t){return!e||!Bd(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ue(e,t[0].toLowerCase()+t.slice(1))||Ue(e,wo(t))||Ue(e,t))}let Ht=null,oT=null;function Jc(e){const t=Ht;return Ht=e,oT=e&&e.type.__scopeId||null,t}function X(e,t=Ht,r){if(!t||e._n)return e;const n=(...i)=>{n._d&&L_(-1);const a=Jc(t);let o;try{o=e(...i)}finally{Jc(a),n._d&&L_(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Bh(e){const{type:t,vnode:r,proxy:n,withProxy:i,props:a,propsOptions:[o],slots:s,attrs:l,emit:u,render:f,renderCache:c,data:h,setupState:d,ctx:v,inheritAttrs:p}=e;let g,m;const y=Jc(e);try{if(r.shapeFlag&4){const b=i||n,x=b;g=Hn(f.call(x,b,c,a,d,h,v)),m=l}else{const b=t;g=Hn(b.length>1?b(a,{attrs:l,slots:s,emit:u}):b(a,null)),m=t.props?l:yI(l)}}catch(b){Dl.length=0,Ud(b,e,1),g=J(Ar)}let _=g;if(m&&p!==!1){const b=Object.keys(m),{shapeFlag:x}=_;b.length&&x&7&&(o&&b.some(Hm)&&(m=_I(m,o)),_=mi(_,m))}return r.dirs&&(_=mi(_),_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),g=_,Jc(y),g}const yI=e=>{let t;for(const r in e)(r==="class"||r==="style"||Bd(r))&&((t||(t={}))[r]=e[r]);return t},_I=(e,t)=>{const r={};for(const n in e)(!Hm(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function bI(e,t,r){const{props:n,children:i,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?g_(n,o,u):!!o;if(l&8){const f=t.dynamicProps;for(let c=0;c<f.length;c++){const h=f[c];if(o[h]!==n[h]&&!jd(u,h))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:n===o?!1:n?o?g_(n,o,u):!0:!!o;return!1}function g_(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const a=n[i];if(t[a]!==e[a]&&!jd(r,a))return!0}return!1}function wI({vnode:e,parent:t},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=r,t=t.parent;else break}}const ey="components",SI="directives";function Cr(e,t){return ty(ey,e,!0,t)||e}const sT=Symbol.for("v-ndc");function Kt(e){return ze(e)?ty(ey,e,!1)||e:e||sT}function lT(e){return ty(SI,e)}function ty(e,t,r=!0,n=!1){const i=Ht||Xt;if(i){const a=i.type;if(e===ey){const s=pO(a,!1);if(s&&(s===t||s===Kn(t)||s===zd(Kn(t))))return a}const o=m_(i[e]||a[e],t)||m_(i.appContext[e],t);retur Line truncated
* @vue/runtime-dom v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const _O="http://www.w3.org/2000/svg",bO="http://www.w3.org/1998/Math/MathML",ji=typeof document<"u"?document:null,R_=ji&&ji.createElement("template"),wO={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const i=t==="svg"?ji.createElementNS(_O,e):t==="mathml"?ji.createElementNS(bO,e):ji.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>ji.createTextNode(e),createComment:e=>ji.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ji.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,i,a){const o=r?r.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),r),!(i===a||!(i=i.nextSibling)););else{R_.innerHTML=n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e;const s=R_.content;if(n==="svg"||n==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Ei="transition",js="animation",ps=Symbol("_vtc"),Ci=(e,{slots:t})=>Te(EI,DT(e),t);Ci.displayName="Transition";const LT={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},SO=Ci.props=Nt({},cT,LT),ya=(e,t=[])=>{_e(e)?e.forEach(r=>r(...t)):e&&e(...t)},k_=e=>e?_e(e)?e.some(t=>t.length>1):e.length>1:!1;function DT(e){const t={};for(const P in e)P in LT||(t[P]=e[P]);if(e.css===!1)return t;const{name:r="v",type:n,duration:i,enterFromClass:a=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=a,appearActiveClass:u=o,appearToClass:f=s,leaveFromClass:c=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:d=`${r}-leave-to`}=e,v=xO(i),p=v&&v[0],g=v&&v[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:_,onLeave:b,onLeaveCancelled:x,onBeforeAppear:w=m,onAppear:S=y,onAppearCancelled:C=_}=t,T=(P,L,R)=>{Bi(P,L?f:s),Bi(P,L?u:o),R&&R()},E=(P,L)=>{P._isLeaving=!1,Bi(P,c),Bi(P,d),Bi(P,h),L&&L()},A=P=>(L,R)=>{const B=P?S:y,H=()=>T(L,P,R);ya(B,[L,H]),N_(()=>{Bi(L,P?l:a),ui(L,P?f:s),k_(B)||F_(L,n,p,H)})};return Nt(t,{onBeforeEnter(P){ya(m,[P]),ui(P,a),ui(P,o)},onBeforeAppear(P){ya(w,[P]),ui(P,l),ui(P,u)},onEnter:A(!1),onAppear:A(!0),onLeave(P,L){P._isLeaving=!0;const R=()=>E(P,L);ui(P,c),OT(),ui(P,h),N_(()=>{P._isLeaving&&(Bi(P,c),ui(P,d),k_(b)||F_(P,n,g,R))}),ya(b,[P,R])},onEnterCancelled(P){T(P,!1),ya(_,[P])},onAppearCancelled(P){T(P,!0),ya(C,[P])},onLeaveCancelled(P){E(P),ya(x,[P])}})}function xO(e){if(e==null)return null;if(qe(e))return[Wh(e.enter),Wh(e.leave)];{const t=Wh(e);return[t,t]}}function Wh(e){return LD(e)}function ui(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[ps]||(e[ps]=new Set)).add(t)}function Bi(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[ps];r&&(r.delete(t),r.size||(e[ps]=void 0))}function N_(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let CO=0;function F_(e,t,r,n){const i=e._endId=++CO,a=()=>{i===e._endId&&n()};if(r)return setTimeout(a,r);const{type:o,timeout:s,propCount:l}=IT(e,t);if(!o)return n();const u=o+"end";let f=0;const c=()=>{e.removeEventListener(u,h),a()},h=d=>{d.target===e&&++f>=l&&c()};setTimeout(()=>{f<l&&c()},s+1),e.addEventListener(u,h)}function IT(e,t){const r=window.getComputedStyle(e),n=v=>(r[v]||"").split(", "),i=n(`${Ei}Delay`),a=n(`${Ei}Duration`),o=B_(i,a),s=n(`${js}Delay`),l=n(`${js}Duration`),u=B_(s,l);let f=null,c=0,h=0;t===Ei?o>0&&(f=Ei,c=o,h=a.length):t===js?u>0&&(f=js,c=u,h=l.length):(c=Math.max(o,u),f=c>0?o>u?Ei:js:null,h=f?f===Ei?a.length:l.length:0);const d=f===Ei&&/\b(transform|all)(,|$)/.test(n(`${Ei}Property`).toString());return{type:f,timeout:c,propCount:h,hasTransform:d}}function B_(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>$_(r)+$_(e[n])))}function $_(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function OT(){return document.body.offsetHeight}function TO(e,t,r){const n=e[ps];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const ly=Symbol("_vod"),yi={beforeMount(e,{value:t},{transition:r}){e[ly]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Ys(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Ys(e,!0),n.enter(e)):n.leave(e,()=>{Ys(e,!1)}):Ys(e,t))},beforeUnmount(e,{value:t}){Ys(e,t)}};function Ys(e,t){e.style.display=t?e[ly]:"none"}const MO=Symbol("");function AO(e,t,r){const n=e.style,i=n.dis Line truncated
(?:
(?:`+n+":){7}(?:"+n+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+n+":){6}(?:"+r+"|:"+n+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
(?:`+n+":){5}(?::"+r+"|(?::"+n+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+n+":){4}(?:(?::"+n+"){0,1}:"+r+"|(?::"+n+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+n+":){3}(?:(?::"+n+"){0,2}:"+r+"|(?::"+n+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+n+":){2}(?:(?::"+n+"){0,3}:"+r+"|(?::"+n+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+n+":){1}(?:(?::"+n+"){0,4}:"+r+"|(?::"+n+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+n+"){0,5}:"+r+"|(?::"+n+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+r+"$)|(?:^"+i+"$)"),o=new RegExp("^"+r+"$"),s=new RegExp("^"+i+"$"),l=function(b){return b&&b.exact?a:new RegExp("(?:"+t(b)+r+t(b)+")|(?:"+t(b)+i+t(b)+")","g")};l.v4=function(_){return _&&_.exact?o:new RegExp(""+t(_)+r+t(_),"g")},l.v6=function(_){return _&&_.exact?s:new RegExp(""+t(_)+i+t(_),"g")};var u="(?:(?:[a-z]+:)?//)",f="(?:\\S+(?::\\S*)?@)?",c=l.v4().source,h=l.v6().source,d="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',y="(?:"+u+"|www\\.)"+f+"(?:localhost|"+c+"|"+h+"|"+d+v+p+")"+g+m;return xf=new RegExp("(?:^"+y+"$)","i"),xf},l1={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},_l={integer:function(t){return _l.number(t)&&parseInt(t,10)===t},float:function(t){return _l.number(t)&&!_l.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!_l.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(l1.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(I4())},hex:function(t){return typeof t=="string"&&!!t.match(l1.hex)}},O4=function(t,r,n,i,a){if(t.required&&r===void 0){eA(t,r,n,i,a);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?_l[s](r)||i.push($r(a.messages.types[s],t.fullField,t.type)):s&&typeof r!==t.type&&i.push($r(a.messages.types[s],t.fullField,t.type))},R4=function(t,r,n,i,a){var o=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=r,c=null,h=typeof r=="number",d=typeof r=="string",v=Array.isArray(r);if(h?c="number":d?c="string":v&&(c="array"),!c)return!1;v&&(f=r.length),d&&(f=r.replace(u,"_").length),o?f!==t.len&&i.push($r(a.messages[c].len,t.fullField,t.len)):s&&!l&&f<t.min?i.push($r(a.messages[c].min,t.fullField,t.min)):l&&!s&&f>t.max?i.push($r(a.messages[c].max,t.fullField,t.max)):s&&l&&(f<t.min||f>t.max)&&i.push($r(a.messages[c].range,t.fullField,t.min,t.max))},Do="enum",k4=function(t,r,n,i,a){t[Do]=Array.isArray(t[Do])?t[Do]:[],t[Do].indexOf(r)===-1&&i.push($r(a.messages[Do],t.fullField,t[Do].join(", ")))},N4=function(t,r,n,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(r)||i.push($r(a.messages.pattern.mismatch,t.fullField,r,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(r)||i.push($r(a.messages.pattern.mismatch,t.fullField,r,t.pattern))}}},Xe={required:eA,whitespace:D4,type:O4,range:R4,enum:k4,pattern:N4},F4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Vt(r,"string")&&!t.required)return n();Xe.required(t,r,i,o,a,"string"),Vt(r,"string")||(Xe.type(t,r,i,o,a),Xe.range(t,r,i,o,a),Xe.pattern(t,r,i,o,a),t.whitespace===!0&&Xe.whitespace(t,r,i,o,a))}n(o)},B4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Vt(r)&&!t.required)return n();Xe.required(t,r,i,o,a),r!==void 0&&Xe.type(t,r,i,o,a)}n(o)},$4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(r===""&&(r=void 0),Vt(r)&&!t.required)return n();Xe.required(t,r,i,o,a),r!==void 0&&(Xe.type(t,r,i,o,a),Xe.range(t,r,i,o,a))}n(o)},H4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Vt(r)&&!t.required)return n();Xe.required(t,r,i,o,a),r!==void 0&&Xe.type(t,r,i,o,a)}n(o)},z4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Vt(r)&&!t.required)return n();Xe.required(t,r,i,o,a),Vt(r)||Xe.type(t,r,i,o,a)}n(o)},V4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Vt(r)&&!t.required)return n();Xe.required(t,r,i,o,a),r!==void 0&&(Xe.type(t,r,i,o,a),Xe.range(t,r,i,o,a))}n(o)},W4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Vt(r)&&!t.required)return n();Xe.required(t,r,i,o,a),r!==void 0&&(Xe.type(t,r,i,o,a),Xe.range(t,r,i,o,a))}n(o)},G4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(r==null&&!t.required)return n();Xe.required(t,r,i,o,a,"array"),r!=null&&(Xe.type(t,r,i,o,a),Xe.range(t,r,i,o,a))}n(o)},U4=function(t,r,n,i,a){var Line truncated
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const t8=function(e,t){if(e&&e.addEventListener){const r=function(n){const i=e8(n);t&&Reflect.apply(t,this,[n,i])};e.addEventListener("wheel",r,{passive:!0})}},r8={beforeMount(e,t){t8(e,t.value)}},TA={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:sh,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},MA={[po]:e=>ze(e)||Ot(e)||Vr(e),change:e=>ze(e)||Ot(e)||Vr(e)},Fs=Symbol("checkboxGroupContextKey"),n8=({model:e,isChecked:t})=>{const r=Le(Fs,void 0),n=k(()=>{var a,o;const s=(a=r==null?void 0:r.max)==null?void 0:a.value,l=(o=r==null?void 0:r.min)==null?void 0:o.value;return!pu(s)&&e.value.length>=s&&!t.value||!pu(l)&&e.value.length<=l&&t.value});return{isDisabled:lh(k(()=>(r==null?void 0:r.disabled.value)||n.value)),isLimitDisabled:n}},i8=(e,{model:t,isLimitExceeded:r,hasOwnLabel:n,isDisabled:i,isLabeledByFormItem:a})=>{const o=Le(Fs,void 0),{formItem:s}=Ju(),{emit:l}=it();function u(v){var p,g;return v===e.trueLabel||v===!0?(p=e.trueLabel)!=null?p:!0:(g=e.falseLabel)!=null?g:!1}function f(v,p){l("change",u(v),p)}function c(v){if(r.value)return;const p=v.target;l("change",u(p.checked),v)}async function h(v){r.value||!n.value&&!i.value&&a.value&&(v.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await Ft(),f(t.value,v)))}const d=k(()=>(o==null?void 0:o.validateEvent)||e.validateEvent);return xe(()=>e.modelValue,()=>{d.value&&(s==null||s.validate("change").catch(v=>void 0))}),{handleChange:c,onClickRoot:h}},a8=e=>{const t=$(!1),{emit:r}=it(),n=Le(Fs,void 0),i=k(()=>pu(n)===!1),a=$(!1),o=k({get(){var s,l;return i.value?(s=n==null?void 0:n.modelValue)==null?void 0:s.value:(l=e.modelValue)!=null?l:t.value},set(s){var l,u;i.value&&_e(s)?(a.value=((l=n==null?void 0:n.max)==null?void 0:l.value)!==void 0&&s.length>(n==null?void 0:n.max.value)&&s.length>o.value.length,a.value===!1&&((u=n==null?void 0:n.changeEvent)==null||u.call(n,s))):(r(po,s),t.value=s)}});return{model:o,isGroup:i,isLimitExceeded:a}},o8=(e,t,{model:r})=>{const n=Le(Fs,void 0),i=$(!1),a=k(()=>{const u=r.value;return Vr(u)?u:_e(u)?qe(e.label)?u.map(Qe).some(f=>s$(f,e.label)):u.map(Qe).includes(e.label):u!=null?u===e.trueLabel:!!u}),o=ua(k(()=>{var u;return(u=n==null?void 0:n.size)==null?void 0:u.value}),{prop:!0}),s=ua(k(()=>{var u;return(u=n==null?void 0:n.size)==null?void 0:u.value})),l=k(()=>!!t.default||!ys(e.label));return{checkboxButtonSize:o,isChecked:a,isFocused:i,checkboxSize:s,hasOwnLabel:l}},s8=(e,{model:t})=>{function r(){_e(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&r()},AA=(e,t)=>{const{formItem:r}=Ju(),{model:n,isGroup:i,isLimitExceeded:a}=a8(e),{isFocused:o,isChecked:s,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:f}=o8(e,t,{model:n}),{isDisabled:c}=n8({model:n,isChecked:s}),{inputId:h,isLabeledByFormItem:d}=Hy(e,{formItemContext:r,disableIdGeneration:f,disableIdManagement:i}),{handleChange:v,onClickRoot:p}=i8(e,{model:n,isLimitExceeded:a,hasOwnLabel:f,isDisabled:c,isLabeledByFormItem:d});return s8(e,{model:n}),{inputId:h,isLabeledByFormItem:d,isChecked:s,isDisabled:c,isFocused:o,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:f,model:n,handleChange:v,onClickRoot:p}},l8=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],u8=["id","indeterminate","disabled","value","name","tabindex"],f8=ie({name:"ElCheckbox"}),c8=ie({...f8,props:TA,emits:MA,setup(e){const t=e,r=zu(),{inputId:n,isLabeledByFormItem:i,isChecked:a,isDisabled:o,isFocused:s,checkboxSize:l,hasOwnLabel:u,model:f,handleChange:c,onClickRoot:h}=AA(t,r),d=Ne("checkbox"),v=k(()=>[d.b(),d.m(l.value),d.is("disabled",o.value),d.is("bordered",t.border),d.is("checked",a.value)]),p=k(()=>[d.e("input"),d.is("disabled",o.value),d.is("checked",a.value),d.is("indeterminate",t.indeterminate),d.is("focus",s.value)]);return(g,m)=>(G(),ve(Kt(!M(u)&&M(i)?"span":"label"),{class:ne(M(v)),"aria-controls":g.indeterminate?g.controls:null,onClick:M(h)},{default:X(()=>[re("span",{class:ne(M(p))},[g.trueLabel||g.falseLabel?Jt((G(),pe("input",{key:0,id:M(n),"onUpdate:modelValue":m[0]||(m[0]=y=>Pt(f)?f.value=y:null),class:ne(M(d).e("original")),type:"checkbox",indeterminate:g.indeterminate,name:g.name,tabindex:g.tabindex,disabled:M(o),"true-value":g.trueLabel,"false-value":g.falseLabel,onChange:m[1]||(m[1]=(...y)=>M(c)&&M(c)(...y)),onFocus:m[2]||(m[2]=y=>s.value=!0),onBlur:m[3]||(m[3]=y=>s.value=!1),onClick:m[4]||(m[4]=aa(()=>{},["stop"]))},null,42,l8)),[[id,M(f)]]):Jt((G(),pe("input",{key:1,id:M(n),"onUpdate:modelValue":m[5]||(m[5]=y=>Pt(f)?f.value=y:null),class:ne(M(d).e("original")),type:"checkbox",indeterminate:g.indeterminatLine truncated
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const qo=typeof window<"u";function EW(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const lt=Object.assign;function sv(e,t){const r={};for(const n in t){const i=t[n];r[n]=En(i)?i.map(e):e(i)}return r}const Hl=()=>{},En=Array.isArray,LW=/\/$/,DW=e=>e.replace(LW,"");function lv(e,t,r="/"){let n,i={},a="",o="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(n=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),i=e(a)),s>-1&&(n=n||t.slice(0,s),o=t.slice(s,t.length)),n=kW(n??t,r),{fullPath:n+(a&&"?")+a+o,path:n,query:i,hash:o}}function IW(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function R1(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function OW(e,t,r){const n=t.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&As(t.matched[n],r.matched[i])&&KA(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function As(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function KA(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!RW(e[r],t[r]))return!1;return!0}function RW(e,t){return En(e)?k1(e,t):En(t)?k1(t,e):e===t}function k1(e,t){return En(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function kW(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),i=n[n.length-1];(i===".."||i===".")&&n.push("");let a=r.length-1,o,s;for(o=0;o<n.length;o++)if(s=n[o],s!==".")if(s==="..")a>1&&a--;else break;return r.slice(0,a).join("/")+"/"+n.slice(o-(o===n.length?1:0)).join("/")}var bu;(function(e){e.pop="pop",e.push="push"})(bu||(bu={}));var zl;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zl||(zl={}));function NW(e){if(!e)if(qo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),DW(e)}const FW=/^[^#]+#/;function BW(e,t){return e.replace(FW,"#")+t}function $W(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const fh=()=>({left:window.pageXOffset,top:window.pageYOffset});function HW(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;t=$W(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function N1(e,t){return(history.state?history.state.position-t:-1)+e}const Mg=new Map;function zW(e,t){Mg.set(e,t)}function VW(e){const t=Mg.get(e);return Mg.delete(e),t}let WW=()=>location.protocol+"//"+location.host;function XA(e,t){const{pathname:r,search:n,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),R1(l,"")}return R1(r,e)+n+i}function GW(e,t,r,n){let i=[],a=[],o=null;const s=({state:h})=>{const d=XA(e,location),v=r.value,p=t.value;let g=0;if(h){if(r.value=d,t.value=h,o&&o===v){o=null;return}g=p?h.position-p.position:0}else n(d);i.forEach(m=>{m(r.value,v,{delta:g,type:bu.pop,direction:g?g>0?zl.forward:zl.back:zl.unknown})})};function l(){o=r.value}function u(h){i.push(h);const d=()=>{const v=i.indexOf(h);v>-1&&i.splice(v,1)};return a.push(d),d}function f(){const{history:h}=window;h.state&&h.replaceState(lt({},h.state,{scroll:fh()}),"")}function c(){for(const h of a)h();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:l,listen:u,destroy:c}}function F1(e,t,r,n=!1,i=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:i?fh():null}}function UW(e){const{history:t,location:r}=window,n={value:XA(e,r)},i={value:t.state};i.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,u,f){const c=e.indexOf("#"),h=c>-1?(r.host&&document.querySelector("base")?e:e.slice(c))+l:WW()+e+l;try{t[f?"replaceState":"pushState"](u,"",h),i.value=u}catch(d){console.error(d),r[f?"replace":"assign"](h)}}function o(l,u){const f=lt({},t.state,F1(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});a(l,f,!0),n.value=l}function s(l,u){const f=lt({},i.value,t.state,{forward:l,scroll:fh()});a(f.current,f,!0);const c=lt({},F1(n.value,l,null),{position:f.position+1},u);a(l,c,!1),n.value=l}return{location:n,state:i,push:s,replace:o}}function jW(e){e=NW(e);const t=UW(e),r=GW(e,t.state,t.location,t.replace);function n(a,o=!0){o||r.pauseListeners(),history.go(a)}const i=lt({location:"",base:e,go:n,createHref:BW.bind(null,e)},t,r);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerLine truncated
`:arguments[1];return c.replace(/\<br\s*\/?\>/g,h)},capitalize:function(c){var h=arguments.length<=1||arguments[1]===void 0?!1:arguments[1];return""+c.charAt(0).toUpperCase()+(h?c.slice(1).toLowerCase():c.slice(1))},capitalizeAll:function(c){return c.replace(/(?:^|\s)\S/g,function(h){return h.toUpperCase()})},titleCase:function(c){var h=/\b(a|an|and|at|but|by|de|en|for|if|in|of|on|or|the|to|via|vs?\.?)\b/i,d=/\S+[A-Z]+\S*/,v=/\s+/,p=/-/,g=void 0;return g=function(y){for(var _=arguments.length<=1||arguments[1]===void 0?!1:arguments[1],b=arguments.length<=2||arguments[2]===void 0?!0:arguments[2],x=[],w=y.split(_?p:v),S=0;S<w.length;++S){var C=w[S];if(C.indexOf("-")!==-1){x.push(g(C,!0,S===0||S===w.length-1));continue}if(b&&(S===0||S===w.length-1)){x.push(d.test(C)?C:u.capitalize(C));continue}d.test(C)?x.push(C):h.test(C)?x.push(C.toLowerCase()):x.push(u.capitalize(C))}return x.join(_?"-":" ")},g(c)},titlecase:function(){return u.titleCase.apply(u,arguments)}};return u})})(Eg,Eg.exports);var wu=Eg.exports;/*! *****************************************************************************
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 Lg=function(e,t){return Lg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Lg(e,t)};function ge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Lg(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var OG=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),RG=function(){function e(){this.browser=new OG,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 e}(),He=new RG;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(He.wxa=!0,He.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?He.worker=!0:typeof navigator>"u"?(He.node=!0,He.svgSupported=!0):kG(navigator.userAgent,He);function kG(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}var Zy=12,NG="sans-serif",mo=Zy+"px "+NG,FG=20,BG=100,$G="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function HG(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),i=(e.charCodeAt(r)-FG)/BG;t[n]=i}return t}var zG=HG($G),Bs={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(r,n){if(!e){var i=Bs.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==n&&(t=e.font=n||mo),e.measureText(r);r=r||"",n=n||mo;var a=/(\d+)px/.exec(n),o=a&&+a[1]||Zy,s=0;if(n.indexOf("mono")>=0)s=o*r.length;else for(var l=0;l<r.length;l++){var u=zG[r[l]];s+=u==null?o:u*o}return{width:s}}}(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n}},o2=fa(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),s2=fa(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),tf=Object.prototype.toString,ch=Array.prototype,VG=ch.forEach,WG=ch.filter,Qy=ch.slice,GG=ch.map,X1=(function(){}).constructor,Df=X1?X1.prototype:null,Jy="__proto__",UG=2311;function l2(){return UG++}function e0(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function tt(e){if(e==null||typeof e!="object")return e;var t=e,r=tf.call(e);if(r==="[object Array]"){if(!Wl(e)){t=[];for(var n=0,i=e.length;n<i;n++)t[n]=tt(e[n])}}else if(s2[r]){if(!Wl(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}}}else if(!o2[r]&&!Wl(e)&&!vd(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==Jy&&(t[o]=tt(e[o]))}return t}function st(e,t,r){if(!Oe(t)||!Oe(e))return r?tt(t):e;for(var n in t)if(t.hasOwnProperty(n)&&n!==Jy){var i=e[n],a=t[n];Oe(a)&&Oe(i)&&!ye(a)&&!ye(i)&&!vd(a)&&!vd(i)&&!Z1(a)&&!Z1(i)&&!Wl(a)&&!Wl(i)?st(i,a,r):(r||!(n in e))&&(e[n]=tt(t[n]))}return e}function ue(e,t){if(Object.assign)Object.assign(e,t);else for(var r in t)t.hasOwnProperty(r)&&r!==Jy&&(e[r]=t[r]);return e}function ct(e,t,r){for(var n=xt(t),i=0;i<n.length;i++){var a=n[i];(r?t[a]!=null:e[a]==null)&&(e[a]=t[a])}return e}function ot(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r}return-1}function jG(e,t){var r=e.prototype;function n(){}n.prototype=t.prototype,e.prototype=new n;for(var i in r)r.hasOwnProperty(i)&&(e.prototype[i]=r[i]);e.prototype.constructor=e,e.superClass=t}function ti(e,t,r){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){var a=n[i];a!=="constructor"&&(r?t[a]!=null:e[a]==null)&&(e[a]=t[a])}else ct(e,t,r)}function Or(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function O(e,t,r){if(e&&t)iLine truncated
`),a=i.length;if(a===1)return Cw(i[0],t,r,n);for(var o=new nt(0,0,0,0),s=0;s<i.length;s++){var l=Cw(i[s],t,r,n);s===0?o.copy(l):o.union(l)}return o}function Sl(e,t,r){return r==="right"?e-=t:r==="center"&&(e-=t/2),e}function Xo(e,t,r){return r==="middle"?e-=t/2:r==="bottom"&&(e-=t),e}function l0(e){return Wr("国",e)}function ca(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function wd(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,l=r.x,u=r.y,f="left",c="top";if(n instanceof Array)l+=ca(n[0],r.width),u+=ca(n[1],r.height),f=null,c=null;else switch(n){case"left":l-=i,u+=s,f="right",c="middle";break;case"right":l+=i+o,u+=s,c="middle";break;case"top":l+=o/2,u-=i,f="center",c="bottom";break;case"bottom":l+=o/2,u+=a+i,f="center";break;case"inside":l+=o/2,u+=s,f="center",c="middle";break;case"insideLeft":l+=i,u+=s,c="middle";break;case"insideRight":l+=o-i,u+=s,f="right",c="middle";break;case"insideTop":l+=o/2,u+=i,f="center";break;case"insideBottom":l+=o/2,u+=a-i,f="center",c="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,f="right";break;case"insideBottomLeft":l+=i,u+=a-i,c="bottom";break;case"insideBottomRight":l+=o-i,u+=a-i,f="right",c="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=f,e.verticalAlign=c,e}var Pv="__zr_normal__",Ev=Cu.concat(["ignore"]),a9=fa(Cu,function(e,t){return e[t]=!0,e},{ignore:!1}),No={},o9=new nt(0,0,0,0),u0=function(){function e(t){this.id=l2(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=i?this:null;var u=!1;if(a.copyTransform(r),n.position!=null){var f=o9;n.layoutRect?f.copy(n.layoutRect):f.copy(this.getBoundingRect()),i||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(No,n,f):wd(No,n,f),a.x=No.x,a.y=No.y,o=No.align,s=No.verticalAlign;var c=n.origin;if(c&&n.rotation!=null){var h=void 0,d=void 0;c==="center"?(h=f.width*.5,d=f.height*.5):(h=ca(c[0],f.width),d=ca(c[1],f.height)),u=!0,a.originX=-a.x+h+(i?0:f.x),a.originY=-a.y+d+(i?0:f.y)}}n.rotation!=null&&(a.rotation=n.rotation);var v=n.offset;v&&(a.x+=v[0],a.y+=v[1],u||(a.originX=-v[0],a.originY=-v[1]));var p=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,_=void 0;p&&this.canBeInsideText()?(m=n.insideFill,y=n.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),_=!0)):(m=n.outsideFill,y=n.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),_=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=_,g.align=o,g.verticalAlign=s,r.setDefaultTextStyle(g)),r.__dirty|=Br,l&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?qg:Yg},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&oo(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,a0(n,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},ue(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(Oe(t))for(var n=t,i=xt(n),a=0;a<i.length;a++){var o=i[a];this.attrKV(o,t[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var r=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],a=i.__fromStateTransition;if(!(i.getLoop()||a&&a!==Pv)){var o=i.targetName,s=o?r[o]:r;i.saveTo(s)}}},e.prototype._innerSaveToNormal=function(t){var r=this._normalState;r||(r=this._normalState={}),t.textCon Line truncated
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var zc={},k2={};function c9(e){delete k2[e]}function d9(e){if(!e)return!1;if(typeof e=="string")return _d(e,1)<jg;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,i=0;i<n;i++)r+=_d(t[i].color,1);return r/=n,r<jg}return!1}var h9=function(){function e(t,r,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=r,this.id=t;var a=new OU,o=n.renderer||"canvas";zc[o]||(o=xt(zc)[0]),n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new zc[o](r,a,n,t),l=n.ssr||s.ssrOnly;this.storage=a,this.painter=s;var u=!He.node&&!He.worker&&!l?new r9(s.getViewportRoot(),s.root):null,f=n.useCoarsePointer,c=f==null||f==="auto"?He.touchEventsSupported:!!f,h=44,d;c&&(d=Ze(n.pointerSize,h)),this.handler=new EU(a,s,u,s.root,d),this.animation=new qU({stage:{update:l?null:function(){return i._flush(!0)}}}),l||this.animation.start()}return e.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh()},e.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=d9(t)},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},e.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},e.prototype.flush=function(){this._flush(!1)},e.prototype._flush=function(t){var r,n=ts();this._needsRefresh&&(r=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var i=ts();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},e.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this.handler.off(t,r)},e.prototype.trigger=function(t,r){this.handler.trigger(t,r)},e.prototype.clear=function(){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof jr&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},e.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,c9(this.id)},e}();function Tw(e,t){var r=new h9(l2(),e,t);return k2[r.id]=r,r}function v9(e,t){zc[e]=t}var Mw=1e-4,N2=20;function p9(e){return e.replace(/^\s+|\s+$/g,"")}function Kg(e,t,r,n){var i=t[0],a=t[1],o=r[0],s=r[1],l=a-i,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(n)if(l>0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/l*u+o}function mt(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return Pe(e)?p9(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function Rt(e,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),N2),e=(+e).toFixed(t),r?e:+e}function di(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(e*t)/t===e)return r}return g9(e)}function g9(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),n=r>0?+t.slice(r+1):0,i=r>0?r:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-n)}function m9(e,t){var r=Math.log,n=Math.LN10,i=Math.floor(r(e[1]-e[0])/n),a=Math.round(r(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function y9(e,t){var r=fa(e,function(d,v){return d+(isNaN(v)?0:v)},0);if(r===0)return[];for(var n=Math.pow(10,t),i=Fe(e,function(d){return(isNaN(d)?0:d)/r*n*100}),a=n*100,o=Fe(i,function(d){return Math.floor(d)}),s=fa(o,function(d,v){reLine truncated
`);i=Y2(t,r,n,i);for(var o=0,s=a.length;o<s;o++)a[o]=q2(a[o],i);return a.join(`
`)}function Y2(e,t,r,n){n=n||{};var i=ue({},n);i.font=t,r=Ze(r,"..."),i.maxIterations=Ze(n.maxIterations,2);var a=i.minChar=Ze(n.minChar,0);i.cnCharWidth=Wr("国",t);var o=i.ascCharWidth=Wr("a",t);i.placeholder=Ze(n.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<a&&s>=o;l++)s-=o;var u=Wr(r,t);return u>s&&(r="",u=0),s=e-u,i.ellipsis=r,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=e,i}function q2(e,t){var r=t.containerWidth,n=t.font,i=t.contentWidth;if(!r)return"";var a=Wr(e,n);if(a<=r)return e;for(var o=0;;o++){if(a<=i||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?Z9(e,i,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=Wr(e,n)}return e===""&&(e=t.placeholder),e}function Z9(e,t,r,n){for(var i=0,a=0,o=e.length;a<o&&i<t;a++){var s=e.charCodeAt(a);i+=0<=s&&s<=127?r:n}return a}function Q9(e,t){e!=null&&(e+="");var r=t.overflow,n=t.padding,i=t.font,a=r==="truncate",o=l0(i),s=Ze(t.lineHeight,o),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",f=t.width,c;f!=null&&(r==="break"||r==="breakAll")?c=e?K2(e,t.font,f,r==="breakAll",0).lines:[]:c=e?e.split(`
`):[];var h=c.length*s,d=Ze(t.height,h);if(h>d&&u){var v=Math.floor(d/s);c=c.slice(0,v)}if(e&&a&&f!=null)for(var p=Y2(f,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;g<c.length;g++)c[g]=q2(c[g],p);for(var m=d,y=0,g=0;g<c.length;g++)y=Math.max(Wr(c[g],i),y);f==null&&(f=y);var _=y;return n&&(m+=n[0]+n[2],_+=n[1]+n[3],f+=n[1]+n[3]),l&&(_=f),{lines:c,height:d,outerWidth:_,outerHeight:m,lineHeight:s,calculatedLineHeight:o,contentWidth:y,contentHeight:h,width:f}}var J9=function(){function e(){}return e}(),Dw=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),e7=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function t7(e,t){var r=new e7;if(e!=null&&(e+=""),!e)return r;for(var n=t.width,i=t.height,a=t.overflow,o=(a==="break"||a==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:a==="breakAll"}:null,s=Ov.lastIndex=0,l;(l=Ov.exec(e))!=null;){var u=l.index;u>s&&Rv(r,e.substring(s,u),t,o),Rv(r,l[2],t,o,l[1]),s=Ov.lastIndex}s<e.length&&Rv(r,e.substring(s,e.length),t,o);var f=[],c=0,h=0,d=t.padding,v=a==="truncate",p=t.lineOverflow==="truncate";function g(U,F,z){U.width=F,U.lineHeight=z,c+=z,h=Math.max(h,F)}e:for(var m=0;m<r.lines.length;m++){for(var y=r.lines[m],_=0,b=0,x=0;x<y.tokens.length;x++){var w=y.tokens[x],S=w.styleName&&t.rich[w.styleName]||{},C=w.textPadding=S.padding,T=C?C[1]+C[3]:0,E=w.font=S.font||t.font;w.contentHeight=l0(E);var A=Ze(S.height,w.contentHeight);if(w.innerHeight=A,C&&(A+=C[0]+C[2]),w.height=A,w.lineHeight=Vl(S.lineHeight,t.lineHeight,A),w.align=S&&S.align||t.align,w.verticalAlign=S&&S.verticalAlign||"middle",p&&i!=null&&c+w.lineHeight>i){x>0?(y.tokens=y.tokens.slice(0,x),g(y,b,_),r.lines=r.lines.slice(0,m+1)):r.lines=r.lines.slice(0,m);break e}var P=S.width,L=P==null||P==="auto";if(typeof P=="string"&&P.charAt(P.length-1)==="%")w.percentWidth=P,f.push(w),w.contentWidth=Wr(w.text,E);else{if(L){var R=S.backgroundColor,B=R&&R.image;B&&(B=K9(B),mh(B)&&(w.width=Math.max(w.width,B.width*A/B.height)))}var H=v&&n!=null?n-b:null;H!=null&&H<w.width?!L||H<T?(w.text="",w.width=w.contentWidth=0):(w.text=X9(w.text,H-T,E,t.ellipsis,{minChar:t.truncateMinChar}),w.width=w.contentWidth=Wr(w.text,E)):w.contentWidth=Wr(w.text,E)}w.width+=T,b+=w.width,S&&(_=Math.max(_,w.lineHeight))}g(y,b,_)}r.outerWidth=r.width=Ze(n,h),r.outerHeight=r.height=Ze(i,c),r.contentHeight=c,r.contentWidth=h,d&&(r.outerWidth+=d[1]+d[3],r.outerHeight+=d[0]+d[2]);for(var m=0;m<f.length;m++){var w=f[m],V=w.percentWidth;w.width=parseInt(V,10)/100*r.width}return r}function Rv(e,t,r,n,i){var a=t==="",o=i&&r.rich[i]||{},s=e.lines,l=o.font||r.font,u=!1,f,c;if(n){var h=o.padding,d=h?h[1]+h[3]:0;if(o.width!=null&&o.width!=="auto"){var v=ca(o.width,n.width)+d;s.length>0&&v+n.accumWidth>n.width&&(f=t.split(`
`),u=!0),n.accumWidth=v}else{var p=K2(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=p.accumWidth+d,c=p.linesWidths,f=p.lines}}else f=t.split(`
`);for(var g=0;g<f.length;g++){var m=f[g],y=new J9;if(y.styleName=i,y.text=m,y.isLineHolder=!m&&!a,typeof o.width=="number"?y.width=o.width:y.width=c?c[g]:Wr(m,l),!g&&!u){var _=(s[s.length-1]||(s[0]=new Dw)).tokens,b=_.length;b===1&&_[0].isLineHolder?_[0]=y:(m||!b||a)&&_.push(y)}else s.push(new Dw([y]))}}function r7(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var n7=fa(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function i7(e){return r7(e)?!!n7[e]:!0}function K2(e,t,r,n,i){for(var a=[],o=[],s="",l="",u=0,f=0,c=0;c<e.length;c++){var h=e.charAt(c);if(h===`
`){l&&(s+=l,f+=u),a.push(s),o.push(f),s="",l="",u=0,f=0;continue}var d=Wr(h,t),v=n?!1:!i7(h);if(a.length?f+d>r:i+f+d>r){f?(s||l)&&(v?(s||(s=l,l="",u=0,f=u),a.push(s),o.push(f-u),l+=h,u+=d,s="",f=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(f),s=h,f=d)):v?(a.push(l),o.push(u),l=h,u=d):(a.push(h),o.push(d));continue}f+=d,v?(l+=h,u+=d):(l&&(s+=l,l="",u=0),s+=h)}return!a.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(f)),a.length===1&&(f+=i),{accumWidth:f,lines:a,linesWidths:o}}var Qg="__zr_style_"+Math.round(Math.random()*10),so={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},yh={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};so[Qg]=!0;var Iw=["z","z2","invisible"],a7=["invisible"],o7=function(e){ge(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=xt(r),i=0;i<n.length;i++){var a=n[i];a==="style"?this.useStyle(r[a]):e.prototype.attrKV.call(this,a,r[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(r,n,i,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&s7(this,r,n)||o&&!o[0]&&!o[3])return!1;if(i&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(a&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},t.prototype.contain=function(r,n){return this.rectContain(r,n)},t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.rectContain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();return a.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var r=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,i=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,l=a.shadowOffsetY||0;r=this._paintRect||(this._paintRect=new nt(0,0,0,0)),n?nt.applyTransform(r,i,n):r.copy(i),(o||s||l)&&(r.width+=o*2+Math.abs(s),r.height+=o*2+Math.abs(l),r.x=Math.min(r.x,r.x+s-o),r.y=Math.min(r.y,r.y+l-o));var u=this.dirtyRectTolerance;r.isZero()||(r.x=Math.floor(r.x-u),r.y=Math.floor(r.y-u),r.width=Math.ceil(r.width+1+u*2),r.height=Math.ceil(r.height+1+u*2))}return r},t.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new nt(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(r){return this.animate("style",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(r,n){r!=="style"?e.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:ue(this.style,r),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=bl,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&bl)},t.prototype.styleUpdated=function(){this.__dirty&=~bl},t.prototype.createStyle=function(r){return hh(so,r)},t.prototype.useStyle=function(r){r[Qg]||(r=this.createStyle(r)),this.__inHover?this.__hoverStyle=r:this.style=r,this.dirtyStyle()},t.prototype.isStyleObject=function(r){return r[Qg]},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(r,n,Iw)},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.prototype._applyStateObj.call(this,r,n,i,a,o,s);var l=!(n&&a),u;if(n&&n.style?o?a?u=n.style:(u=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(u,n.style)):(u=this._mergeStyle(this.createStyle(),a?this.style:i.style),this._mergeStyle(u,n.style)):l&&(u=i.style),u)if(o){var f=this.style;if(this.style=this.createStyle(l?{}:f),l)for(var c=xt(f),h=0;h<c.length;h++){var d=c[h];d in u&&(u[d]=u[d],this.style[d]=f[d])}for(var v=xt(u),h=0;h<v.length;h++){var d=v[h];this.style[d]=this.style[d]}this._transitionState(r,{style:u},s,this.getAnimationStyleProps())}else this.useStyle(u);for(var p=this.__inHover?a7:Iw,h=0;h<p.length;h++){var d=p[h];n&&n[d]!=null?this[d]=n[d]:l&&i[d]!=null&&(this[d]=i[d])}},t.prototype._mergeStates=function(r){for(var n=e.prototype._mergeStates.call(this,r),i,a=0;a<r.length;a++){var o=r[a];o.style&&(i=i||{},this._mergeStyle(i,o.style))}return i&&(n.style=i),n},t.prototype._mergeStyle=function(r,n){return ue(r,n),r},t.prototype.getAnimationStyleProps=function(){return yh},t.initDefaultProps=function(){var r=t.prototype;r.type="displayable",r.invisible=!1,r.z=0,r.z2=0,r.zlevel=0,r.culling=!1,r.cursor="pointer",r.rectHover=!1,r.incremental=!1,r._rect=null,r.di Line truncated
`,`
`,`
`];function Ou(e,t){return t.type=e,t}function vm(e){return e.type==="section"}function ME(e){return vm(e)?Oq:Rq}function AE(e){if(vm(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return O(e.blocks,function(i){var a=AE(i);a>=t&&(t=a+ +(n&&(!a||vm(i)&&!i.noHeader)))}),t}return 0}function Oq(e,t,r,n){var i=t.noHeader,a=kq(AE(t)),o=[],s=t.blocks||[];bi(!s||ye(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Es(u,l)){var f=new mq(u[l],null);s.sort(function(v,p){return f.evaluate(v.sortParam,p.sortParam)})}else l==="seriesDesc"&&s.reverse()}O(s,function(v,p){var g=t.valueFormatter,m=ME(v)(g?ue(ue({},e),{valueFormatter:g}):e,v,p>0?a.html:0,n);m!=null&&o.push(m)});var c=e.renderMode==="richText"?o.join(a.richText):pm(o.join(""),i?r:a.html);if(i)return c;var h=cm(t.header,"ordinal",e.useUTC),d=TE(n,e.renderMode).nameStyle;return e.renderMode==="richText"?PE(e,h,d)+a.richText+c:pm('<div style="'+d+";"+CE+';">'+rn(h)+"</div>"+c,r)}function Rq(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,f=t.valueFormatter||e.valueFormatter||function(b){return b=ye(b)?b:[b],Fe(b,function(x,w){return cm(x,ye(d)?d[w]:d,u)})};if(!(a&&o)){var c=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),h=a?"":cm(l,"ordinal",u),d=t.valueType,v=o?[]:f(t.value),p=!s||!a,g=!s&&a,m=TE(n,i),y=m.nameStyle,_=m.valueStyle;return i==="richText"?(s?"":c)+(a?"":PE(e,h,y))+(o?"":Bq(e,v,p,g,_)):pm((s?"":c)+(a?"":Nq(h,!s,y))+(o?"":Fq(v,p,g,_)),r)}}function WS(e,t,r,n,i,a){if(e){var o=ME(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function kq(e){return{html:Dq[e],richText:Iq[e]}}function pm(e,t){var r='<div style="clear:both"></div>',n="margin: "+t+"px 0 0";return'<div style="'+n+";"+CE+';">'+e+r+"</div>"}function Nq(e,t,r){var n=t?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+rn(e)+"</span>"}function Fq(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=ye(e)?e:[e],'<span style="'+a+";"+n+'">'+Fe(e,function(o){return rn(o)}).join("&nbsp;&nbsp;")+"</span>"}function PE(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function Bq(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(ye(t)?t.join(" "):t,a)}function $q(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return Lu(n)}function EE(e,t){var r=e.get("padding");return r??(t==="richText"?[8,10]:10)}var ip=function(){function e(){this.richTextStyles={},this._nextStyleNameId=$2()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=MY({color:r,type:t,renderMode:n,markerId:i});return Pe(a)?a:(this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};ye(r)?O(r,function(a){return ue(n,a)}):ue(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e}();function Hq(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),l=ye(s),u=$q(t,r),f,c,h,d;if(o>1||l&&!o){var v=zq(s,t,r,a,u);f=v.inlineValues,c=v.inlineValueTypes,h=v.blocks,d=v.inlineValues[0]}else if(o){var p=i.getDimensionInfo(a[0]);d=f=Is(i,r,a[0]),c=p.type}else d=f=l?s[0]:s;var g=c0(t),m=g&&t.name||"",y=i.getName(r),_=n?m:y;return Ou("section",{header:m,noHeader:n||!g,sortParam:d,blocks:[Ou("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Gn(_),value:f,valueType:c})].concat(h||[])})}function zq(e,t,r,n,i){var a=t.getData(),o=fa(e,function(c,h,d){var v=a.getDimensionInfo(d);return c=c||v&&v.tooltip!==!1&&v.displayName!=null},!1),s=[],l=[],u=[];n.length?O(n,function(c){f(Is(a,r,c),c)}):O(e,f);function f(c,h){var d=a.getDimensionInfo(h);!d||d.otherDims.tooltip===!1||(o?u.push(Ou("nameValue",{markerType:"subItem",markerColor:i,name:d.displayName,value:c,valueType:d.type})):(s.push(c),l.push(d.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var ki=Et();function Qf(e,t){return e.getName(t)||e.getId(t)}var Vq="__universalTransitionEnabled",Dh=function(e){ge(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return t.prototype.init=function(r,n,i){this.seriesIndex=this.componentIndex,this.dataTask=Jl({count:Gq,reset:Uq}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=ki(this).sourceManager=new Lq(this);a.prepareSource();var o=this.getInitialData(r,i);US(o,this),this.dataTask.context.data=o,ki(this).dataBeforeProcessed=o,GS(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=Du(this),a=i?Ph(r):{},o=this.subType;Mt.hasClass(o)&&(o+="Series"),st(r,n.getTheme().get(this.subType)),st(r,this.getDefaultOption()),Xg(r," Line truncated
`:"<br/>",m=c.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,u)?this._updatePosition(s,d,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,m,u,Math.random()+"",o[0],o[1],d,null,h)})},t.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=ft(n),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,c=o.dataType,h=u.getData(c),d=this._renderMode,v=r.positionDefault,p=gl([h.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(f,c),y=new ip;m.marker=y.makeTooltipMarker("item",Lu(m.color),d);var _=BS(u.formatTooltip(f,!1,c)),b=p.get("order"),x=p.get("valueFormatter"),w=_.frag,S=w?WS(x?ue({valueFormatter:x},w):w,y,d,b,a.get("useUTC"),p.get("textStyle")):_.text,C="item_"+u.name+"_"+f;this._showOrMove(p,function(){this._showTooltipContent(p,S,m,C,r.offsetX,r.offsetY,r.position,r.target,y)}),i({type:"showTip",dataIndexInside:f,dataIndex:h.getRawIndex(f),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,n,i){var a=ft(n),o=a.tooltipConfig,s=o.option||{};if(Pe(s)){var l=s;s={content:l,formatter:l}}var u=[s],f=this._ecModel.getComponent(a.componentMainType,a.componentIndex);f&&u.push(f),u.push({formatter:s.content});var c=r.positionDefault,h=gl(u,this._tooltipModel,c?{position:c}:null),d=h.get("content"),v=Math.random()+"",p=new ip;this._showOrMove(h,function(){var g=tt(h.get("formatterParams")||{});this._showTooltipContent(h,d,g,v,r.offsetX,r.offsetY,r.position,n,p)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(r,n,i,a,o,s,l,u,f){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var c=this._tooltipContent;c.setEnterable(r.get("enterable"));var h=r.get("formatter");l=l||r.get("position");var d=n,v=this._getNearestPoint([o,s],i,r.get("trigger"),r.get("borderColor")),p=v.color;if(h)if(Pe(h)){var g=r.ecModel.get("useUTC"),m=ye(i)?i[0]:i,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;d=h,y&&(d=Sh(m.axisValue,d,g)),d=aE(d,i,!0)}else if(je(h)){var _=St(function(b,x){b===this._ticket&&(c.setContent(x,f,r,p,l),this._updatePosition(r,l,o,s,c,i,u))},this);this._ticket=a,d=h(i,a,_)}else d=h;c.setContent(d,f,r,p,l),c.show(r,p),this._updatePosition(r,l,o,s,c,i,u)}},t.prototype._getNearestPoint=function(r,n,i,a){if(i==="axis"||ye(n))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!ye(n))return{color:a||n.color||n.borderColor}},t.prototype._updatePosition=function(r,n,i,a,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();n=n||r.get("position");var c=o.getSize(),h=r.get("align"),d=r.get("verticalAlign"),v=l&&l.getBoundingRect().clone();if(l&&v.applyTransform(l.transform),je(n)&&(n=n([i,a],s,o.el,v,{viewSize:[u,f],contentSize:c.slice()})),ye(n))i=mt(n[0],u),a=mt(n[1],f);else if(Oe(n)){var p=n;p.width=c[0],p.height=c[1];var g=Ls(p,{width:u,height:f});i=g.x,a=g.y,h=null,d=null}else if(Pe(n)&&l){var m=xee(n,v,c,r.get("borderWidth"));i=m[0],a=m[1]}else{var m=wee(i,a,o,u,f,h?null:20,d?null:20);i=m[0],a=m[1]}if(h&&(i-=CC(h)?c[0]/2:h==="right"?c[0]:0),d&&(a-=CC(d)?c[1]/2:d==="bottom"?c[1]:0),uD(r)){var m=See(i,a,o,u,f);i=m[0],a=m[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(r,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===r.length;return o&&O(i,function(s,l){var u=s.dataByAxis||[],f=r[l]||{},c=f.dataByAxis||[];o=o&&u.length===c.length,o&&O(u,function(h,d){var v=c[d]||{},p=h.seriesDataIndices||[],g=v.seriesDataIndices||[];o=o&&h.value===v.value&&h.axisType===v.axisType&&h.axisId===v.axisId&&p.length===g.length,o&&O(p,function(m,y){var _=g[y];o=o&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),a&&O(h.seriesDataIndices,function(m){var y=m.seriesIndex,_=n[y],b=a[y];_&&b&&b.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},t.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},t.prototype.dispose=function(r,n){He.node||!n.getDom()||(mm(this,"_updatePosition"),this._tooltipContent.dispose(),Rm("itemTooltip",n))},t.type="tooltip",t}(Si);function gl(e,t,r){var n=t.ecModel,i;r?(i=new sr(r,n,n),i=new sr(t.option,i,n)):i=t;for(var a=e.length-1;a>=0;a--){var o=e[a];o&&(o instanceof sr&&(o=o.get("tooltip",!0)),Pe(o)&&(o={formatter:o}),o&&(i=new sr(o,i,n)))}return i}function xC(e,t){return e.dispatchAction||St(t.dispatchAction,t)}function wee(e,t,r,n,i,a,o){var s=r.getSize(),l=s[0],u=s[1];return a!=null&&(e+l+a+2>n?e-=l+a:e+=a),o!=null&&(t+u+o>i?t-=u+o:t+=o),[e,t]}function See(e,t,r,n,i){var a=r.getSize(),o=a[0],s=a[1];return e=Math.min(e+o,n)-o,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function xee(e,t,r,n){var i=r[0],a=r[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=t.width,f=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+f/2-a/2;break;case"top":s=t.x+u/2-i/2,l=t.y-a-o;break;case"bottom":s=t.x+u/2-i/2,l=t.y+f+o;break;case"left":s=t.x- Line truncated
`)){var g=new yc;g.newline=!0,u.add(g);return}var m=i.getSeriesByName(p)[0];if(!f.get(p))if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},b=y.getVisual("legendIcon"),x=y.getVisual("style"),w=this._createItem(m,p,v,d,n,r,_,x,b,c,a);w.on("click",jo(TC,p,null,a,h)).on("mouseover",jo(Fm,m.name,null,a,h)).on("mouseout",jo(Bm,m.name,null,a,h)),f.set(p,!0)}else i.eachRawSeries(function(S){if(!f.get(p)&&S.legendVisualProvider){var C=S.legendVisualProvider;if(!C.containName(p))return;var T=C.indexOfName(p),E=C.getItemVisual(T,"style"),A=C.getItemVisual(T,"legendIcon"),P=oo(E.fill);P&&P[3]===0&&(P[3]=.2,E=ue(ue({},E),{fill:a0(P,"rgba")}));var L=this._createItem(S,p,v,d,n,r,{},E,A,c,a);L.on("click",jo(TC,null,p,a,h)).on("mouseover",jo(Fm,null,p,a,h)).on("mouseout",jo(Bm,null,p,a,h)),f.set(p,!0)}},this)},this),o&&this._createSelector(o,n,a,s,l)},t.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();Nm(r,function(u){var f=u.type,c=new mr({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(c);var h=n.getModel("selectorLabel"),d=n.getModel(["emphasis","selectorLabel"]);A0(c,{normal:h,emphasis:d},{defaultText:u.title}),am(c)})},t.prototype._createItem=function(r,n,i,a,o,s,l,u,f,c,h){var d=r.visualDrawType,v=o.get("itemWidth"),p=o.get("itemHeight"),g=o.isSelected(n),m=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),_=a.get("icon");f=_||f||"roundRect";var b=Oee(f,a,l,u,d,g,h),x=new yc,w=a.getModel("textStyle");if(je(r.getLegendIcon)&&(!_||_==="inherit"))x.add(r.getLegendIcon({itemWidth:v,itemHeight:p,icon:f,iconRotate:m,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}));else{var S=_==="inherit"&&r.getData().getVisual("symbol")?m==="inherit"?r.getData().getVisual("symbolRotate"):m:0;x.add(Ree({itemWidth:v,itemHeight:p,icon:f,iconRotate:S,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}))}var C=s==="left"?v+5:-5,T=s,E=o.get("formatter"),A=n;Pe(E)&&E?A=E.replace("{name}",n??""):je(E)&&(A=E(n));var P=g?w.getTextColor():a.get("inactiveColor");x.add(new mr({style:da(w,{text:A,x:C,y:p/2,fill:P,align:T,verticalAlign:"middle"},{inheritColor:P})}));var L=new zt({shape:x.getBoundingRect(),invisible:!0}),R=a.getModel("tooltip");return R.get("show")&&T0({el:L,componentModel:o,itemName:n,itemTooltipOption:R.option}),x.add(L),x.eachChild(function(B){B.silent=!0}),L.silent=!c,this.getContentGroup().add(x),am(x),x.__legendDataIndex=i,x},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Ql(r.get("orient"),l,r.get("itemGap"),i.width,i.height);var f=l.getBoundingRect(),c=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){Ql("horizontal",u,r.get("selectorItemGap",!0));var h=u.getBoundingRect(),d=[-h.x,-h.y],v=r.get("selectorButtonGap",!0),p=r.getOrient().index,g=p===0?"width":"height",m=p===0?"height":"width",y=p===0?"y":"x";s==="end"?d[p]+=f[g]+v:c[p]+=h[g]+v,d[1-p]+=f[m]/2-h[m]/2,u.x=d[0],u.y=d[1],l.x=c[0],l.y=c[1];var _={x:0,y:0};return _[g]=f[g]+v+h[g],_[m]=Math.max(f[m],h[m]),_[y]=Math.min(0,h[y]+d[1-p]),_}else return l.x=c[0],l.y=c[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Si);function Oee(e,t,r,n,i,a,o){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),Nm(g,function(y,_){g[_]==="inherit"&&(g[_]=m[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),f=e.lastIndexOf("empty",0)===0?"fill":"stroke",c=l.getShallow("decal");u.decal=!c||c==="inherit"?n.decal:Sm(c,o),u.fill==="inherit"&&(u.fill=n[i]),u.stroke==="inherit"&&(u.stroke=n[f]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?n:r).opacity),s(u,n);var h=t.getModel("lineStyle"),d=h.getLineStyle();if(s(d,r),u.fill==="auto"&&(u.fill=n.fill),u.stroke==="auto"&&(u.stroke=n.fill),d.stroke==="auto"&&(d.stroke=n.fill),!a){var v=t.get("inactiveBorderWidth"),p=u[f];u.lineWidth=v==="auto"?n.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),d.stroke=h.get("inactiveColor"),d.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}function Ree(e){var t=e.icon||"roundRect",r=U0(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return r.setStyle(e.itemStyle),r.rotation=(e.iconRotate||0)*Math.PI/180,r.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}function TC(e,t,r,n){Bm(e,t,r,n),r.dispatchAction({type:"legendToggleSelect",name:e??t}),Fm(e,t,r,n)}function hD(e){for(var t=e.getZr().storage.getDisplayList(),r,n=0,i=t.length;n<i&&!(r=t[n].states.emphasis);)n++;return r&&r.hoverLayer}function Fm(e,t,r,n){hD(r)||r.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:n})}function Bm(e,t,r,n){hD(r)||r.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:n})}const vD=Iee;functio Line truncated
`||u==="")){var f=o.isSelected(u);n.hasOwnProperty(u)?n[u]=n[u]&&f:n[u]=f}})}),e==="allSelect"||e==="inverseSelect"?{selected:n}:{name:t.name,selected:n}}function Nee(e){e.registerAction("legendToggleSelect","legendselectchanged",It(ml,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",It(ml,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",It(ml,"inverseSelect")),e.registerAction("legendSelect","legendselected",It(ml,"select")),e.registerAction("legendUnSelect","legendunselected",It(ml,"unSelect"))}function pD(e){e.registerComponentModel(km),e.registerComponentView(vD),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,kee),e.registerSubTypeDefaulter("legend",function(){return"plain"}),Nee(e)}var Fee=function(e){ge(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.setScrollDataIndex=function(r){this.option.scrollDataIndex=r},t.prototype.init=function(r,n,i){var a=Ph(r);e.prototype.init.call(this,r,n,i),MC(this,r,a)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),MC(this,this.option,r)},t.type="legend.scroll",t.defaultOption=jP(km.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(km);function MC(e,t,r){var n=e.getOrient(),i=[1,1];i[n.index]=0,Ds(t,r,{type:"box",ignoreSize:!!i})}const Bee=Fee;var AC=jr,Ep=["width","height"],Lp=["x","y"],$ee=function(e){ge(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!0,r._currentIndex=0,r}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new AC),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new AC)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(r,n,i,a,o,s,l){var u=this;e.prototype.renderInner.call(this,r,n,i,a,o,s,l);var f=this._controllerGroup,c=n.get("pageIconSize",!0),h=ye(c)?c:[c,c];v("pagePrev",0);var d=n.getModel("pageTextStyle");f.add(new mr({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(p,g){var m=p+"DataIndex",y=C0(n.get("pageIcons",!0)[n.getOrient().name][g],{onclick:St(u._pageGo,u,m,n,a)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});y.name=p,f.add(y)}},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getSelectorGroup(),u=r.getOrient().index,f=Ep[u],c=Lp[u],h=Ep[1-u],d=Lp[1-u];o&&Ql("horizontal",l,r.get("selectorItemGap",!0));var v=r.get("selectorButtonGap",!0),p=l.getBoundingRect(),g=[-p.x,-p.y],m=tt(i);o&&(m[f]=i[f]-p[f]-v);var y=this._layoutContentAndController(r,a,m,u,f,h,d,c);if(o){if(s==="end")g[u]+=y[f]+v;else{var _=p[f]+v;g[u]-=_,y[c]-=_}y[f]+=p[f]+v,g[1-u]+=y[d]+y[h]/2-p[h]/2,y[h]=Math.max(y[h],p[h]),y[d]=Math.min(y[d],p[d]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return y},t.prototype._layoutContentAndController=function(r,n,i,a,o,s,l,u){var f=this.getContentGroup(),c=this._containerGroup,h=this._controllerGroup;Ql(r.get("orient"),f,r.get("itemGap"),a?i.width:null,a?null:i.height),Ql("horizontal",h,r.get("pageButtonItemGap",!0));var d=f.getBoundingRect(),v=h.getBoundingRect(),p=this._showController=d[o]>i[o],g=[-d.x,-d.y];n||(g[a]=f[u]);var m=[0,0],y=[-v.x,-v.y],_=Ze(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(p){var b=r.get("pageButtonPosition",!0);b==="end"?y[a]+=i[o]-v[o]:m[a]+=v[o]+_}y[1-a]+=d[s]/2-v[s]/2,f.setPosition(g),c.setPosition(m),h.setPosition(y);var x={x:0,y:0};if(x[o]=p?i[o]:d[o],x[s]=Math.max(d[s],v[s]),x[l]=Math.min(0,v[l]+y[1-a]),c.__rectSize=i[o],p){var w={x:0,y:0};w[o]=Math.max(i[o]-v[o]-_,0),w[s]=x[s],c.setClipPath(new zt({shape:w})),c.__rectSize=w[o]}else h.eachChild(function(C){C.attr({invisible:!0,silent:!0})});var S=this._getPageInfo(r);return S.pageIndex!=null&&Rr(f,{x:S.contentPosition[0],y:S.contentPosition[1]},p?r:null),this._updatePageInfoView(r,S),x},t.prototype._pageGo=function(r,n,i){var a=this._getPageInfo(n)[r];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},t.prototype._updatePageInfoView=function(r,n){var i=this._controllerGroup;O(["pagePrev","pageNext"],function(f){var c=f+"DataIndex",h=n[c]!=null,d=i.childOfName(f);d&&(d.setStyle("fill",h?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),d.cursor=h?"pointer":"default")});var a=i.childOfName("pageText"),o=r.get("pageFormatter"),s=n.pageIndex,l=s!=null?s+1:0,u=n.pageCount;a&&o&&a.setStyle("text",Pe(o)?o.replace("{current}",l==null?"":l+"" Line truncated
+1
View File
@@ -0,0 +1 @@
@charset "UTF-8";.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-aside{overflow:auto;box-sizing:border-box;flex-shrink:0;width:var(--el-aside-width,300px)}.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-loLine truncated
-74
View File
@@ -1,74 +0,0 @@
var fD=Object.defineProperty;var dD=(e,t,r)=>t in e?fD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var hD=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Wt=(e,t,r)=>(dD(e,typeof t!="symbol"?t+"":t,r),r);var Tre=hD((Nr,Fr)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();function Pm(e,t){const r=Object.create(null),n=e.split(",");for(let i=0;i<n.length;i++)r[n[i]]=!0;return t?i=>!!r[i.toLowerCase()]:i=>!!r[i]}function xt(e){if(be(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],i=He(n)?mD(n):xt(n);if(i)for(const a in i)t[a]=i[a]}return t}else{if(He(e))return e;if(Xe(e))return e}}const vD=/;(?![^(]*\))/g,pD=/:([^]+)/,gD=/\/\*.*?\*\//gs;function mD(e){const t={};return e.replace(gD,"").split(vD).forEach(r=>{if(r){const n=r.split(pD);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ue(e){let t="";if(He(e))t=e;else if(be(e))for(let r=0;r<e.length;r++){const n=ue(e[r]);n&&(t+=n+" ")}else if(Xe(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const yD="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_D=Pm(yD);function vC(e){return!!e||e===""}function bD(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=Od(e[n],t[n]);return r}function Od(e,t){if(e===t)return!0;let r=K0(e),n=K0(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=tu(e),n=tu(t),r||n)return e===t;if(r=be(e),n=be(t),r||n)return r&&n?bD(e,t):!1;if(r=Xe(e),n=Xe(t),r||n){if(!r||!n)return!1;const i=Object.keys(e).length,a=Object.keys(t).length;if(i!==a)return!1;for(const o in e){const s=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(s&&!l||!s&&l||!Od(e[o],t[o]))return!1}}return String(e)===String(t)}function pC(e,t){return e.findIndex(r=>Od(r,t))}const Me=e=>He(e)?e:e==null?"":be(e)||Xe(e)&&(e.toString===mC||!De(e.toString))?JSON.stringify(e,gC,2):String(e),gC=(e,t)=>t&&t.__v_isRef?gC(e,t.value):is(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i])=>(r[`${n} =>`]=i,r),{})}:kd(t)?{[`Set(${t.size})`]:[...t.values()]}:Xe(t)&&!be(t)&&!yC(t)?String(t):t,yt={},ns=[],ur=()=>{},wD=()=>!1,SD=/^on[^a-z]/,Rd=e=>SD.test(e),Em=e=>e.startsWith("onUpdate:"),Gt=Object.assign,Lm=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},xD=Object.prototype.hasOwnProperty,We=(e,t)=>xD.call(e,t),be=Array.isArray,is=e=>Bu(e)==="[object Map]",kd=e=>Bu(e)==="[object Set]",K0=e=>Bu(e)==="[object Date]",De=e=>typeof e=="function",He=e=>typeof e=="string",tu=e=>typeof e=="symbol",Xe=e=>e!==null&&typeof e=="object",jf=e=>Xe(e)&&De(e.then)&&De(e.catch),mC=Object.prototype.toString,Bu=e=>mC.call(e),CD=e=>Bu(e).slice(8,-1),yC=e=>Bu(e)==="[object Object]",Dm=e=>He(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,mf=Pm(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nd=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},TD=/-(\w)/g,An=Nd(e=>e.replace(TD,(t,r)=>r?r.toUpperCase():"")),MD=/\B([A-Z])/g,So=Nd(e=>e.replace(MD,"-$1").toLowerCase()),Fd=Nd(e=>e.charAt(0).toUpperCase()+e.slice(1)),yf=Nd(e=>e?`on${Fd(e)}`:""),ru=(e,t)=>!Object.is(e,t),_f=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},Yf=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},AD=e=>{const t=parseFloat(e);return isNaN(t)?e:t},PD=e=>{const t=He(e)?Number(e):NaN;return isNaN(t)?e:t};let X0;const ED=()=>X0||(X0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Or;class LD{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Or,!t&&Or&&(this.index=(Or.scopes||(Or.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=Or;try{return Or=this,t()}finally{Or=r}}}on(){Or=this}off(){Or=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function DD(e,t=Or){t&&t.active&&t.effects.push(e)}function _C(){return Or}function ID(e){Or&&Or.cleanups.push(e)}const Im=e=>{const Line truncated
(?:
(?:`+n+":){7}(?:"+n+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+n+":){6}(?:"+r+"|:"+n+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
(?:`+n+":){5}(?::"+r+"|(?::"+n+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+n+":){4}(?:(?::"+n+"){0,1}:"+r+"|(?::"+n+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+n+":){3}(?:(?::"+n+"){0,2}:"+r+"|(?::"+n+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+n+":){2}(?:(?::"+n+"){0,3}:"+r+"|(?::"+n+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+n+":){1}(?:(?::"+n+"){0,4}:"+r+"|(?::"+n+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+n+"){0,5}:"+r+"|(?::"+n+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+r+"$)|(?:^"+i+"$)"),o=new RegExp("^"+r+"$"),s=new RegExp("^"+i+"$"),l=function(b){return b&&b.exact?a:new RegExp("(?:"+t(b)+r+t(b)+")|(?:"+t(b)+i+t(b)+")","g")};l.v4=function(_){return _&&_.exact?o:new RegExp(""+t(_)+r+t(_),"g")},l.v6=function(_){return _&&_.exact?s:new RegExp(""+t(_)+i+t(_),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",f=l.v4().source,d=l.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',y="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+d+"|"+h+v+p+")"+g+m;return _c=new RegExp("(?:^"+y+"$)","i"),_c},jb={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},bl={integer:function(t){return bl.number(t)&&parseInt(t,10)===t},float:function(t){return bl.number(t)&&!bl.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!bl.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(jb.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(RH())},hex:function(t){return typeof t=="string"&&!!t.match(jb.hex)}},kH=function(t,r,n,i,a){if(t.required&&r===void 0){BM(t,r,n,i,a);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?bl[s](r)||i.push(kr(a.messages.types[s],t.fullField,t.type)):s&&typeof r!==t.type&&i.push(kr(a.messages.types[s],t.fullField,t.type))},NH=function(t,r,n,i,a){var o=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=r,f=null,d=typeof r=="number",h=typeof r=="string",v=Array.isArray(r);if(d?f="number":h?f="string":v&&(f="array"),!f)return!1;v&&(c=r.length),h&&(c=r.replace(u,"_").length),o?c!==t.len&&i.push(kr(a.messages[f].len,t.fullField,t.len)):s&&!l&&c<t.min?i.push(kr(a.messages[f].min,t.fullField,t.min)):l&&!s&&c>t.max?i.push(kr(a.messages[f].max,t.fullField,t.max)):s&&l&&(c<t.min||c>t.max)&&i.push(kr(a.messages[f].range,t.fullField,t.min,t.max))},Lo="enum",FH=function(t,r,n,i,a){t[Lo]=Array.isArray(t[Lo])?t[Lo]:[],t[Lo].indexOf(r)===-1&&i.push(kr(a.messages[Lo],t.fullField,t[Lo].join(", ")))},BH=function(t,r,n,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(r)||i.push(kr(a.messages.pattern.mismatch,t.fullField,r,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(r)||i.push(kr(a.messages.pattern.mismatch,t.fullField,r,t.pattern))}}},Ye={required:BM,whitespace:OH,type:kH,range:NH,enum:FH,pattern:BH},$H=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(zt(r,"string")&&!t.required)return n();Ye.required(t,r,i,o,a,"string"),zt(r,"string")||(Ye.type(t,r,i,o,a),Ye.range(t,r,i,o,a),Ye.pattern(t,r,i,o,a),t.whitespace===!0&&Ye.whitespace(t,r,i,o,a))}n(o)},HH=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(zt(r)&&!t.required)return n();Ye.required(t,r,i,o,a),r!==void 0&&Ye.type(t,r,i,o,a)}n(o)},zH=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(r===""&&(r=void 0),zt(r)&&!t.required)return n();Ye.required(t,r,i,o,a),r!==void 0&&(Ye.type(t,r,i,o,a),Ye.range(t,r,i,o,a))}n(o)},WH=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(zt(r)&&!t.required)return n();Ye.required(t,r,i,o,a),r!==void 0&&Ye.type(t,r,i,o,a)}n(o)},VH=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(zt(r)&&!t.required)return n();Ye.required(t,r,i,o,a),zt(r)||Ye.type(t,r,i,o,a)}n(o)},GH=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(zt(r)&&!t.required)return n();Ye.required(t,r,i,o,a),r!==void 0&&(Ye.type(t,r,i,o,a),Ye.range(t,r,i,o,a))}n(o)},UH=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(zt(r)&&!t.required)return n();Ye.required(t,r,i,o,a),r!==void 0&&(Ye.type(t,r,i,o,a),Ye.range(t,r,i,o,a))}n(o)},jH=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(r==null&&!t.required)return n();Ye.required(t,r,i,o,a,"array"),r!=null&&(Ye.type(t,r,i,o,a),Ye.range(t,r,i,o,a))}n(o)},YH=function(t,r,n,i,a){var Line truncated
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const s8=function(e,t){if(e&&e.addEventListener){const r=function(n){const i=o8(n);t&&Reflect.apply(t,this,[n,i])};e.addEventListener("wheel",r,{passive:!0})}},l8={beforeMount(e,t){s8(e,t.value)}},lA={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:Xu,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},uA={[go]:e=>He(e)||$t(e)||Br(e),change:e=>He(e)||$t(e)||Br(e)},$s=Symbol("checkboxGroupContextKey"),u8=({model:e,isChecked:t})=>{const r=Pe($s,void 0),n=k(()=>{var a,o;const s=(a=r==null?void 0:r.max)==null?void 0:a.value,l=(o=r==null?void 0:r.min)==null?void 0:o.value;return!ad(s)&&e.value.length>=s&&!t.value||!ad(l)&&e.value.length<=l&&t.value});return{isDisabled:rh(k(()=>(r==null?void 0:r.disabled.value)||n.value)),isLimitDisabled:n}},c8=(e,{model:t,isLimitExceeded:r,hasOwnLabel:n,isDisabled:i,isLabeledByFormItem:a})=>{const o=Pe($s,void 0),{formItem:s}=Zu(),{emit:l}=ct();function u(v){var p,g;return v===e.trueLabel||v===!0?(p=e.trueLabel)!=null?p:!0:(g=e.falseLabel)!=null?g:!1}function c(v,p){l("change",u(v),p)}function f(v){if(r.value)return;const p=v.target;l("change",u(p.checked),v)}async function d(v){r.value||!n.value&&!i.value&&a.value&&(v.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await Ft(),c(t.value,v)))}const h=k(()=>(o==null?void 0:o.validateEvent)||e.validateEvent);return xe(()=>e.modelValue,()=>{h.value&&(s==null||s.validate("change").catch(v=>void 0))}),{handleChange:f,onClickRoot:d}},f8=e=>{const t=B(!1),{emit:r}=ct(),n=Pe($s,void 0),i=k(()=>ad(n)===!1),a=B(!1);return{model:k({get(){var s,l;return i.value?(s=n==null?void 0:n.modelValue)==null?void 0:s.value:(l=e.modelValue)!=null?l:t.value},set(s){var l,u;i.value&&be(s)?(a.value=((l=n==null?void 0:n.max)==null?void 0:l.value)!==void 0&&s.length>(n==null?void 0:n.max.value),a.value===!1&&((u=n==null?void 0:n.changeEvent)==null||u.call(n,s))):(r(go,s),t.value=s)}}),isGroup:i,isLimitExceeded:a}},d8=(e,t,{model:r})=>{const n=Pe($s,void 0),i=B(!1),a=k(()=>{const u=r.value;return Br(u)?u:be(u)?Xe(e.label)?u.map(Ke).some(c=>E5(c,e.label)):u.map(Ke).includes(e.label):u!=null?u===e.trueLabel:!!u}),o=ia(k(()=>{var u;return(u=n==null?void 0:n.size)==null?void 0:u.value}),{prop:!0}),s=ia(k(()=>{var u;return(u=n==null?void 0:n.size)==null?void 0:u.value})),l=k(()=>!!(t.default||e.label));return{checkboxButtonSize:o,isChecked:a,isFocused:i,checkboxSize:s,hasOwnLabel:l}},h8=(e,{model:t})=>{function r(){be(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&r()},cA=(e,t)=>{const{formItem:r}=Zu(),{model:n,isGroup:i,isLimitExceeded:a}=f8(e),{isFocused:o,isChecked:s,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:c}=d8(e,t,{model:n}),{isDisabled:f}=u8({model:n,isChecked:s}),{inputId:d,isLabeledByFormItem:h}=Ey(e,{formItemContext:r,disableIdGeneration:c,disableIdManagement:i}),{handleChange:v,onClickRoot:p}=c8(e,{model:n,isLimitExceeded:a,hasOwnLabel:c,isDisabled:f,isLabeledByFormItem:h});return h8(e,{model:n}),{inputId:d,isLabeledByFormItem:h,isChecked:s,isDisabled:f,isFocused:o,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:c,model:n,handleChange:v,onClickRoot:p}},v8=["tabindex","role","aria-checked"],p8=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],g8=["id","aria-hidden","disabled","value","name","tabindex"],m8=ce({name:"ElCheckbox"}),y8=ce({...m8,props:lA,emits:uA,setup(e){const t=e,r=Yd(),{inputId:n,isLabeledByFormItem:i,isChecked:a,isDisabled:o,isFocused:s,checkboxSize:l,hasOwnLabel:u,model:c,handleChange:f,onClickRoot:d}=cA(t,r),h=Ne("checkbox"),v=k(()=>[h.b(),h.m(l.value),h.is("disabled",o.value),h.is("bordered",t.border),h.is("checked",a.value)]),p=k(()=>[h.e("input"),h.is("disabled",o.value),h.is("checked",a.value),h.is("indeterminate",t.indeterminate),h.is("focus",s.value)]);return(g,m)=>(Y(),_e(nn(!P(u)&&P(i)?"span":"label"),{class:ue(P(v)),"aria-controls":g.indeterminate?g.controls:null,onClick:P(d)},{default:Z(()=>[ae("span",{class:ue(P(p)),tabindex:g.indeterminate?0:void 0,role:g.indeterminate?"checkbox":void 0,"aria-checked":g.indeterminate?"mixed":void 0},[g.trueLabel||g.falseLabel?nr((Y(),me("input",{key:0,id:P(n),"onUpdate:modelValue":m[0]||(m[0]=y=>Ct(c)?c.value=y:null),class:ue(P(h).e("original")),type:"checkbox","aria-hidden":g.indeterminate?"true":"false",name:g.name,tabindex:g.tabindex,disabled:P(o),"true-value":g.trueLabel,"false-value":g.falseLabel,onChange:m[1]||(m[1]=(...y)=>P(f)&&P(f)(...y)),onFocus:m[2]||(m[2]=y=>s.value=!0),onBlur:m[3]||(m[3]=y=>s.value=!1)},null,42,p8)),[[Qf,P(c)]]):nr((Y(),me("input",{key:1,id:P(n),"onUpdate:modelValue":m[4]||(m[4]=y=>Ct(c)?c.value=yLine truncated
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var GW=/["'&<>]/,UW=jW;function jW(e){var t=""+e,r=GW.exec(t);if(!r)return t;var n,i="",a=0,o=0;for(a=r.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=n}return o!==a?i+t.substring(o,a):i}const Qh=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},YW=function(e,t,r,n,i){if(!t&&!n&&(!i||Array.isArray(i)&&!i.length))return e;typeof r=="string"?r=r==="descending"?-1:1:r=r&&r<0?-1:1;const a=n?null:function(s,l){return i?(Array.isArray(i)||(i=[i]),i.map(u=>typeof u=="string"?vu(s,u):u(s,l,e))):(t!=="$key"&&Xe(s)&&"$value"in s&&(s=s.$value),[Xe(s)?vu(s,t):s])},o=function(s,l){if(n)return n(s.value,l.value);for(let u=0,c=s.key.length;u<c;u++){if(s.key[u]<l.key[u])return-1;if(s.key[u]>l.key[u])return 1}return 0};return e.map((s,l)=>({value:s,index:l,key:a?a(s,l):null})).sort((s,l)=>{let u=o(s,l);return u||(u=s.index-l.index),u*+r}).map(s=>s.value)},bA=function(e,t){let r=null;return e.columns.forEach(n=>{n.id===t&&(r=n)}),r},qW=function(e,t){let r=null;for(let n=0;n<e.columns.length;n++){const i=e.columns[n];if(i.columnKey===t){r=i;break}}return r||na("ElTable",`No column matching with column-key: ${t}`),r},v1=function(e,t,r){const n=(t.className||"").match(new RegExp(`${r}-table_[^\\s]+`,"gm"));return n?bA(e,n[0]):null},Yt=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if(typeof t=="string"){if(!t.includes("."))return`${e[t]}`;const r=t.split(".");let n=e;for(const i of r)n=n[i];return`${n}`}else if(typeof t=="function")return t.call(null,e)},Ja=function(e,t){const r={};return(e||[]).forEach((n,i)=>{r[Yt(n,t)]={row:n,index:i}}),r};function KW(e,t){const r={};let n;for(n in e)r[n]=e[n];for(n in t)if(We(t,n)){const i=t[n];typeof i<"u"&&(r[n]=i)}return r}function ky(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function wA(e){return e===""||e!==void 0&&(e=ky(e),Number.isNaN(e)&&(e=80)),e}function XW(e){return typeof e=="number"?e:typeof e=="string"?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function ZW(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Fl(e,t,r){let n=!1;const i=e.indexOf(t),a=i!==-1,o=s=>{s==="add"?e.push(t):e.splice(i,1),n=!0,be(t.children)&&t.children.forEach(l=>{Fl(e,l,r??!a)})};return Br(r)?r&&!a?o("add"):!r&&a&&o("remove"):o(a?"remove":"add"),n}function QW(e,t,r="children",n="hasChildren"){const i=o=>!(Array.isArray(o)&&o.length);function a(o,s,l){t(o,s,l),s.forEach(u=>{if(u[n]){t(u,null,l+1);return}const c=u[r];i(c)||a(u,c,l+1)})}e.forEach(o=>{if(o[n]){t(o,null,0);return}const s=o[r];i(s)||a(o,s,0)})}let ui;function JW(e,t,r,n,i){i=aM({enterable:!0,showArrow:!0},i);const a=e==null?void 0:e.dataset.prefix,o=e==null?void 0:e.querySelector(`.${a}-scrollbar__wrap`);function s(){const g=i.effect==="light",m=document.createElement("div");return m.className=[`${a}-popper`,g?"is-light":"is-dark",i.popperClass||""].join(" "),r=UW(r),m.innerHTML=r,m.style.zIndex=String(n()),e==null||e.appendChild(m),m}function l(){const g=document.createElement("div");return g.className=`${a}-popper__arrow`,g}function u(){c&&c.update()}ui==null||ui(),ui=()=>{try{c&&c.destroy(),h&&(e==null||e.removeChild(h)),t.removeEventListener("mouseenter",f),t.removeEventListener("mouseleave",d),o==null||o.removeEventListener("scroll",ui),ui=void 0}catch{}};let c=null,f=u,d=ui;i.enterable&&({onOpen:f,onClose:d}=DM({showAfter:i.showAfter,hideAfter:i.hideAfter,open:u,close:ui}));const h=s();h.onmouseenter=f,h.onmouseleave=d;const v=[];if(i.offset&&v.push({name:"offset",options:{offset:[0,i.offset]}}),i.showArrow){const g=h.appendChild(l());v.push({name:"arrow",options:{element:g,padding:10}})}const p=i.popperOptions||{};return c=PM(t,h,{placement:i.placement||"top",strategy:"fixed",...p,modifiers:p.modifiers?v.concat(p.modifiers):v}),t.addEventListener("mouseenter",f),t.addEventListener("mouseleave",d),o==null||o.addEventListener("scroll",ui),c}function SA(e){return e.children?P5(e.children,SA):[e]}function p1(e,t){return e+t.colSpan}const xA=(e,t,r,n)=>{let i=0,a=e;const o=r.states.columns.value;if(n){const l=SA(n[e]);i=o.slice(0,o.indexOf(l[0])).reduce(p1,0),a=i+l.reduce(p1,0)-1}else i=e;let s;switch(t){case"left":a<r.states.fixedLeafColumnsLength.value&&(s="left");break;case"right":i>=o.length-r.states.rightFixedLeafColumnsLength.value&&(s="right");break;default:a<r.states.fixedLeafColumnsLength.value?s="left":i>=o.length-r.states.rightFixedLeafColumnsLength.value&&(s="right")}return s?{direction:s,start:i,after:a}:{}},Ny=(e,t,r,n,i,a=0)=>{const o=[],{direction:s,start:l,after:u}=xA(t,r,n,i);if(s){const c=s==="left";o.push(`${e}-fixed-column--${s}`),c&&u+a===n.states.fixedLeafColumnsLength.value-1?o.push("is-last-column"):!c&&l-a===n.states.columns.value.length-n.states.rightFixedLeafColumnsLength.value&&o.push("is-first-column")}retuLine truncated
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const qo=typeof window<"u";function wG(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const lt=Object.assign;function Jh(e,t){const r={};for(const n in t){const i=t[n];r[n]=Pn(i)?i.map(e):e(i)}return r}const $l=()=>{},Pn=Array.isArray,SG=/\/$/,xG=e=>e.replace(SG,"");function ev(e,t,r="/"){let n,i={},a="",o="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(n=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),i=e(a)),s>-1&&(n=n||t.slice(0,s),o=t.slice(s,t.length)),n=AG(n??t,r),{fullPath:n+(a&&"?")+a+o,path:n,query:i,hash:o}}function CG(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function y1(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function TG(e,t,r){const n=t.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&As(t.matched[n],r.matched[i])&&IA(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function As(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function IA(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!MG(e[r],t[r]))return!1;return!0}function MG(e,t){return Pn(e)?_1(e,t):Pn(t)?_1(t,e):e===t}function _1(e,t){return Pn(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function AG(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/");let i=r.length-1,a,o;for(a=0;a<n.length;a++)if(o=n[a],o!==".")if(o==="..")i>1&&i--;else break;return r.slice(0,i).join("/")+"/"+n.slice(a-(a===n.length?1:0)).join("/")}var wu;(function(e){e.pop="pop",e.push="push"})(wu||(wu={}));var Hl;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Hl||(Hl={}));function PG(e){if(!e)if(qo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),xG(e)}const EG=/^[^#]+#/;function LG(e,t){return e.replace(EG,"#")+t}function DG(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const ih=()=>({left:window.pageXOffset,top:window.pageYOffset});function IG(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;t=DG(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function b1(e,t){return(history.state?history.state.position-t:-1)+e}const mg=new Map;function OG(e,t){mg.set(e,t)}function RG(e){const t=mg.get(e);return mg.delete(e),t}let kG=()=>location.protocol+"//"+location.host;function OA(e,t){const{pathname:r,search:n,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),y1(l,"")}return y1(r,e)+n+i}function NG(e,t,r,n){let i=[],a=[],o=null;const s=({state:d})=>{const h=OA(e,location),v=r.value,p=t.value;let g=0;if(d){if(r.value=h,t.value=d,o&&o===v){o=null;return}g=p?d.position-p.position:0}else n(h);i.forEach(m=>{m(r.value,v,{delta:g,type:wu.pop,direction:g?g>0?Hl.forward:Hl.back:Hl.unknown})})};function l(){o=r.value}function u(d){i.push(d);const h=()=>{const v=i.indexOf(d);v>-1&&i.splice(v,1)};return a.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(lt({},d.state,{scroll:ih()}),"")}function f(){for(const d of a)d();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:f}}function w1(e,t,r,n=!1,i=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:i?ih():null}}function FG(e){const{history:t,location:r}=window,n={value:OA(e,r)},i={value:t.state};i.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,u,c){const f=e.indexOf("#"),d=f>-1?(r.host&&document.querySelector("base")?e:e.slice(f))+l:kG()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),i.value=u}catch(h){console.error(h),r[c?"replace":"assign"](d)}}function o(l,u){const c=lt({},t.state,w1(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});a(l,c,!0),n.value=l}function s(l,u){const c=lt({},i.value,t.state,{forward:l,scroll:ih()});a(c.current,c,!0);const f=lt({},w1(n.value,l,null),{position:c.position+1},u);a(l,f,!1),n.value=l}return{location:n,state:i,push:s,replace:o}}function BG(e){e=PG(e);const t=FG(e),r=NG(e,t.state,t.location,t.replace);function n(a,o=!0){o||r.pauseListeners(),history.go(a)}const i=lt({location:"",base:e,go:n,createHref:LG.bind(null,e)},t,r);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function $G(e){return e=locLine truncated
`:arguments[1];return f.replace(/\<br\s*\/?\>/g,d)},capitalize:function(f){var d=arguments.length<=1||arguments[1]===void 0?!1:arguments[1];return""+f.charAt(0).toUpperCase()+(d?f.slice(1).toLowerCase():f.slice(1))},capitalizeAll:function(f){return f.replace(/(?:^|\s)\S/g,function(d){return d.toUpperCase()})},titleCase:function(f){var d=/\b(a|an|and|at|but|by|de|en|for|if|in|of|on|or|the|to|via|vs?\.?)\b/i,h=/\S+[A-Z]+\S*/,v=/\s+/,p=/-/,g=void 0;return g=function(y){for(var _=arguments.length<=1||arguments[1]===void 0?!1:arguments[1],b=arguments.length<=2||arguments[2]===void 0?!0:arguments[2],S=[],w=y.split(_?p:v),x=0;x<w.length;++x){var C=w[x];if(C.indexOf("-")!==-1){S.push(g(C,!0,x===0||x===w.length-1));continue}if(b&&(x===0||x===w.length-1)){S.push(h.test(C)?C:u.capitalize(C));continue}h.test(C)?S.push(C):d.test(C)?S.push(C.toLowerCase()):S.push(u.capitalize(C))}return S.join(_?"-":" ")},g(f)},titlecase:function(){return u.titleCase.apply(u,arguments)}};return u})})(TU,aa);/*! *****************************************************************************
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 bg=function(e,t){return bg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},bg(e,t)};function pe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");bg(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var MU=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),AU=function(){function e(){this.browser=new MU,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 e}(),Va=new AU;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Va.wxa=!0,Va.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Va.worker=!0:typeof navigator>"u"?(Va.node=!0,Va.svgSupported=!0):PU(navigator.userAgent,Va);function PU(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}const Ge=Va;var zy=12,EU="sans-serif",yo=zy+"px "+EU,LU=20,DU=100,IU="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function OU(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),i=(e.charCodeAt(r)-LU)/DU;t[n]=i}return t}var RU=OU(IU),Mo={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(r,n){if(!e){var i=Mo.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==n&&(t=e.font=n||yo),e.measureText(r);r=r||"",n=n||yo;var a=/(\d+)px/.exec(n),o=a&&+a[1]||zy,s=0;if(n.indexOf("mono")>=0)s=o*r.length;else for(var l=0;l<r.length;l++){var u=RU[r[l]];s+=u==null?o:u*o}return{width:s}}}(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n}},VA=oa(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),GA=oa(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),ec=Object.prototype.toString,ah=Array.prototype,kU=ah.forEach,NU=ah.filter,Wy=ah.slice,FU=ah.map,R1=function(){}.constructor,Ac=R1?R1.prototype:null,Vy="__proto__",BU=2311;function UA(){return BU++}function Gy(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function Qe(e){if(e==null||typeof e!="object")return e;var t=e,r=ec.call(e);if(r==="[object Array]"){if(!Wl(e)){t=[];for(var n=0,i=e.length;n<i;n++)t[n]=Qe(e[n])}}else if(GA[r]){if(!Wl(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}}}else if(!VA[r]&&!Wl(e)&&!ud(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==Vy&&(t[o]=Qe(e[o]))}return t}function st(e,t,r){if(!Ie(t)||!Ie(e))return r?Qe(t):e;for(var n in t)if(t.hasOwnProperty(n)&&n!==Vy){var i=e[n],a=t[n];Ie(a)&&Ie(i)&&!ge(a)&&!ge(i)&&!ud(a)&&!ud(i)&&!k1(a)&&!k1(i)&&!Wl(a)&&!Wl(i)?st(i,a,r):(r||!(n in e))&&(e[n]=Qe(t[n]))}return e}function se(e,t){if(Object.assign)Object.assign(e,t);else for(var r in t)t.hasOwnProperty(r)&&r!==Vy&&(e[r]=t[r]);return e}function dt(e,t,r){for(var n=Tt(t),i=0;i<n.length;i++){var a=n[i];(r?t[a]!=null:e[a]==null)&&(e[a]=t[a])}return e}Mo.createCanvas;function ot(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r}return-1}function $U(e,t){var r=e.prototype;function n(){}n.prototype=t.prototype,e.prototype=new n;for(var i in r)r.hasOwnProperty(i)&&(e.prototype[i]=r[i]);e.prototype.constructor=e,e.superClass=t}function Jn(e,t,r){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){var a=n[i];a!=="constructor"&&(r?t[a]!=null:e[a]==null)&&(e[a]=t[a])}else dt(e,t,r)}function Pr(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}fLine truncated
`),a=i.length;if(a===1)return lw(i[0],t,r,n);for(var o=new et(0,0,0,0),s=0;s<i.length;s++){var l=lw(i[s],t,r,n);s===0?o.copy(l):o.union(l)}return o}function xl(e,t,r){return r==="right"?e-=t:r==="center"&&(e-=t/2),e}function Xo(e,t,r){return r==="middle"?e-=t/2:r==="bottom"&&(e-=t),e}function Qy(e){return $r("国",e)}function sa(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function gd(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,l=r.x,u=r.y,c="left",f="top";if(n instanceof Array)l+=sa(n[0],r.width),u+=sa(n[1],r.height),c=null,f=null;else switch(n){case"left":l-=i,u+=s,c="right",f="middle";break;case"right":l+=i+o,u+=s,f="middle";break;case"top":l+=o/2,u-=i,c="center",f="bottom";break;case"bottom":l+=o/2,u+=a+i,c="center";break;case"inside":l+=o/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=i,u+=s,f="middle";break;case"insideRight":l+=o-i,u+=s,c="right",f="middle";break;case"insideTop":l+=o/2,u+=i,c="center";break;case"insideBottom":l+=o/2,u+=a-i,c="center",f="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=a-i,f="bottom";break;case"insideBottomRight":l+=o-i,u+=a-i,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var bv="__zr_normal__",wv=Cu.concat(["ignore"]),aj=oa(Cu,function(e,t){return e[t]=!0,e},{ignore:!1}),No={},oj=new et(0,0,0,0),Jy=function(){function e(t){this.id=UA(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=i?this:null;var u=!1;if(a.copyTransform(r),n.position!=null){var c=oj;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(No,n,c):gd(No,n,c),a.x=No.x,a.y=No.y,o=No.align,s=No.verticalAlign;var f=n.origin;if(f&&n.rotation!=null){var d=void 0,h=void 0;f==="center"?(d=c.width*.5,h=c.height*.5):(d=sa(f[0],c.width),h=sa(f[1],c.height)),u=!0,a.originX=-a.x+d+(i?0:c.x),a.originY=-a.y+h+(i?0:c.y)}}n.rotation!=null&&(a.rotation=n.rotation);var v=n.offset;v&&(a.x+=v[0],a.y+=v[1],u||(a.originX=-v[0],a.originY=-v[1]));var p=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,_=void 0;p&&this.canBeInsideText()?(m=n.insideFill,y=n.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),_=!0)):(m=n.outsideFill,y=n.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),_=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=_,g.align=o,g.verticalAlign=s,r.setDefaultTextStyle(g)),r.__dirty|=Rr,l&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Bg:Fg},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&so(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,Ky(n,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},se(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(Ie(t))for(var n=t,i=Tt(n),a=0;a<i.length;a++){var o=i[a];this.attrKV(o,t[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var r=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],a=i.__fromStateTransition;if(!(i.getLoop()||a&&a!==bv)){var o=i.targetName,s=o?r[o]:r;i.saveTo(s)}}},e.prototype._innerSaveToNormal=function(t){var r=this._normalState;r||(r=this._normalState={}),t.textCon Line truncated
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var Bf={},bP={};function fj(e){delete bP[e]}function dj(e){if(!e)return!1;if(typeof e=="string")return vd(e,1)<Ng;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,i=0;i<n;i++)r+=vd(t[i].color,1);return r/=n,r<Ng}return!1}var hj=function(){function e(t,r,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=r,this.id=t;var a=new E9,o=n.renderer||"canvas";Bf[o]||(o=Tt(Bf)[0]),n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new Bf[o](r,a,n,t),l=n.ssr||s.ssrOnly;this.storage=a,this.painter=s;var u=!Ge.node&&!Ge.worker&&!l?new tj(s.getViewportRoot(),s.root):null,c=n.useCoarsePointer,f=c==null||c==="auto"?Ge.touchEventsSupported:!!c,d=44,h;f&&(h=qe(n.pointerSize,d)),this.handler=new C9(a,s,u,s.root,h),this.animation=new Y9({stage:{update:l?null:function(){return i._flush(!0)}}}),l||this.animation.start()}return e.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh()},e.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=dj(t)},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},e.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},e.prototype.flush=function(){this._flush(!1)},e.prototype._flush=function(t){var r,n=ts();this._needsRefresh&&(r=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var i=ts();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},e.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this.handler.off(t,r)},e.prototype.trigger=function(t,r){this.handler.trigger(t,r)},e.prototype.clear=function(){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof cn&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},e.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,fj(this.id)},e}();function uw(e,t){var r=new hj(UA(),e,t);return bP[r.id]=r,r}function vj(e,t){Bf[e]=t}var cw=1e-4,wP=20;function pj(e){return e.replace(/^\s+|\s+$/g,"")}function $g(e,t,r,n){var i=t[0],a=t[1],o=r[0],s=r[1],l=a-i,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(n)if(l>0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/l*u+o}function gt(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return Te(e)?pj(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function kt(e,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),wP),e=(+e).toFixed(t),r?e:+e}function hi(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(e*t)/t===e)return r}return gj(e)}function gj(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),n=r>0?+t.slice(r+1):0,i=r>0?r:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-n)}function mj(e,t){var r=Math.log,n=Math.LN10,i=Math.floor(r(e[1]-e[0])/n),a=Math.round(r(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function yj(e,t){var r=oa(e,function(h,v){return h+(isNaN(v)?0:v)},0);if(r===0)return[];for(var n=Math.pow(10,t),i=Re(e,function(h){return(isNaN(h)?0:h)/r*n*100}),a=n*100,o=Re(i,function(h){return Math.floor(h)}),s=oa(o,function(h,v){reLine truncated
`);i=IP(t,r,n,i);for(var o=0,s=a.length;o<s;o++)a[o]=OP(a[o],i);return a.join(`
`)}function IP(e,t,r,n){n=n||{};var i=se({},n);i.font=t,r=qe(r,"..."),i.maxIterations=qe(n.maxIterations,2);var a=i.minChar=qe(n.minChar,0);i.cnCharWidth=$r("国",t);var o=i.ascCharWidth=$r("a",t);i.placeholder=qe(n.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<a&&s>=o;l++)s-=o;var u=$r(r,t);return u>s&&(r="",u=0),s=e-u,i.ellipsis=r,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=e,i}function OP(e,t){var r=t.containerWidth,n=t.font,i=t.contentWidth;if(!r)return"";var a=$r(e,n);if(a<=r)return e;for(var o=0;;o++){if(a<=i||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?Zj(e,i,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=$r(e,n)}return e===""&&(e=t.placeholder),e}function Zj(e,t,r,n){for(var i=0,a=0,o=e.length;a<o&&i<t;a++){var s=e.charCodeAt(a);i+=0<=s&&s<=127?r:n}return a}function Qj(e,t){e!=null&&(e+="");var r=t.overflow,n=t.padding,i=t.font,a=r==="truncate",o=Qy(i),s=qe(t.lineHeight,o),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",c=t.width,f;c!=null&&(r==="break"||r==="breakAll")?f=e?RP(e,t.font,c,r==="breakAll",0).lines:[]:f=e?e.split(`
`):[];var d=f.length*s,h=qe(t.height,d);if(d>h&&u){var v=Math.floor(h/s);f=f.slice(0,v)}if(e&&a&&c!=null)for(var p=IP(c,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;g<f.length;g++)f[g]=OP(f[g],p);for(var m=h,y=0,g=0;g<f.length;g++)y=Math.max($r(f[g],i),y);c==null&&(c=y);var _=y;return n&&(m+=n[0]+n[2],_+=n[1]+n[3],c+=n[1]+n[3]),l&&(_=c),{lines:f,height:h,outerWidth:_,outerHeight:m,lineHeight:s,calculatedLineHeight:o,contentWidth:y,contentHeight:d,width:c}}var Jj=function(){function e(){}return e}(),pw=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),eY=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function tY(e,t){var r=new eY;if(e!=null&&(e+=""),!e)return r;for(var n=t.width,i=t.height,a=t.overflow,o=(a==="break"||a==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:a==="breakAll"}:null,s=Tv.lastIndex=0,l;(l=Tv.exec(e))!=null;){var u=l.index;u>s&&Mv(r,e.substring(s,u),t,o),Mv(r,l[2],t,o,l[1]),s=Tv.lastIndex}s<e.length&&Mv(r,e.substring(s,e.length),t,o);var c=[],f=0,d=0,h=t.padding,v=a==="truncate",p=t.lineOverflow==="truncate";function g(F,R,j){F.width=R,F.lineHeight=j,f+=j,d=Math.max(d,R)}e:for(var m=0;m<r.lines.length;m++){for(var y=r.lines[m],_=0,b=0,S=0;S<y.tokens.length;S++){var w=y.tokens[S],x=w.styleName&&t.rich[w.styleName]||{},C=w.textPadding=x.padding,M=C?C[1]+C[3]:0,E=w.font=x.font||t.font;w.contentHeight=Qy(E);var A=qe(x.height,w.contentHeight);if(w.innerHeight=A,C&&(A+=C[0]+C[2]),w.height=A,w.lineHeight=zl(x.lineHeight,t.lineHeight,A),w.align=x&&x.align||t.align,w.verticalAlign=x&&x.verticalAlign||"middle",p&&i!=null&&f+w.lineHeight>i){S>0?(y.tokens=y.tokens.slice(0,S),g(y,b,_),r.lines=r.lines.slice(0,m+1)):r.lines=r.lines.slice(0,m);break e}var T=x.width,D=T==null||T==="auto";if(typeof T=="string"&&T.charAt(T.length-1)==="%")w.percentWidth=T,c.push(w),w.contentWidth=$r(w.text,E);else{if(D){var N=x.backgroundColor,H=N&&N.image;H&&(H=Kj(H),fh(H)&&(w.width=Math.max(w.width,H.width*A/H.height)))}var $=v&&n!=null?n-b:null;$!=null&&$<w.width?!D||$<M?(w.text="",w.width=w.contentWidth=0):(w.text=Xj(w.text,$-M,E,t.ellipsis,{minChar:t.truncateMinChar}),w.width=w.contentWidth=$r(w.text,E)):w.contentWidth=$r(w.text,E)}w.width+=M,b+=w.width,x&&(_=Math.max(_,w.lineHeight))}g(y,b,_)}r.outerWidth=r.width=qe(n,d),r.outerHeight=r.height=qe(i,f),r.contentHeight=f,r.contentWidth=d,h&&(r.outerWidth+=h[1]+h[3],r.outerHeight+=h[0]+h[2]);for(var m=0;m<c.length;m++){var w=c[m],G=w.percentWidth;w.width=parseInt(G,10)/100*r.width}return r}function Mv(e,t,r,n,i){var a=t==="",o=i&&r.rich[i]||{},s=e.lines,l=o.font||r.font,u=!1,c,f;if(n){var d=o.padding,h=d?d[1]+d[3]:0;if(o.width!=null&&o.width!=="auto"){var v=sa(o.width,n.width)+h;s.length>0&&v+n.accumWidth>n.width&&(c=t.split(`
`),u=!0),n.accumWidth=v}else{var p=RP(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=p.accumWidth+h,f=p.linesWidths,c=p.lines}}else c=t.split(`
`);for(var g=0;g<c.length;g++){var m=c[g],y=new Jj;if(y.styleName=i,y.text=m,y.isLineHolder=!m&&!a,typeof o.width=="number"?y.width=o.width:y.width=f?f[g]:$r(m,l),!g&&!u){var _=(s[s.length-1]||(s[0]=new pw)).tokens,b=_.length;b===1&&_[0].isLineHolder?_[0]=y:(m||!b||a)&&_.push(y)}else s.push(new pw([y]))}}function rY(e){var t=e.charCodeAt(0);return t>=33&&t<=383}var nY=oa(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function iY(e){return rY(e)?!!nY[e]:!0}function RP(e,t,r,n,i){for(var a=[],o=[],s="",l="",u=0,c=0,f=0;f<e.length;f++){var d=e.charAt(f);if(d===`
`){l&&(s+=l,c+=u),a.push(s),o.push(c),s="",l="",u=0,c=0;continue}var h=$r(d,t),v=n?!1:!iY(d);if(a.length?c+h>r:i+c+h>r){c?(s||l)&&(v?(s||(s=l,l="",u=0,c=u),a.push(s),o.push(c-u),l+=d,u+=h,s="",c=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(c),s=d,c=h)):v?(a.push(l),o.push(u),l=d,u=h):(a.push(d),o.push(h));continue}c+=h,v?(l+=d,u+=h):(l&&(s+=l,l="",u=0),s+=d)}return!a.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(c)),a.length===1&&(c+=i),{accumWidth:c,lines:a,linesWidths:o}}var Wg="__zr_style_"+Math.round(Math.random()*10),lo={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},dh={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};lo[Wg]=!0;var gw=["z","z2","invisible"],aY=["invisible"],oY=function(e){pe(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=Tt(r),i=0;i<n.length;i++){var a=n[i];a==="style"?this.useStyle(r[a]):e.prototype.attrKV.call(this,a,r[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(r,n,i,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&sY(this,r,n)||o&&!o[0]&&!o[3])return!1;if(i&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(a&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},t.prototype.contain=function(r,n){return this.rectContain(r,n)},t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.rectContain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();return a.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var r=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,i=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,l=a.shadowOffsetY||0;r=this._paintRect||(this._paintRect=new et(0,0,0,0)),n?et.applyTransform(r,i,n):r.copy(i),(o||s||l)&&(r.width+=o*2+Math.abs(s),r.height+=o*2+Math.abs(l),r.x=Math.min(r.x,r.x+s-o),r.y=Math.min(r.y,r.y+l-o));var u=this.dirtyRectTolerance;r.isZero()||(r.x=Math.floor(r.x-u),r.y=Math.floor(r.y-u),r.width=Math.ceil(r.width+1+u*2),r.height=Math.ceil(r.height+1+u*2))}return r},t.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new et(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(r){return this.animate("style",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(r,n){r!=="style"?e.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:se(this.style,r),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=wl,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&wl)},t.prototype.styleUpdated=function(){this.__dirty&=~wl},t.prototype.createStyle=function(r){return sh(lo,r)},t.prototype.useStyle=function(r){r[Wg]||(r=this.createStyle(r)),this.__inHover?this.__hoverStyle=r:this.style=r,this.dirtyStyle()},t.prototype.isStyleObject=function(r){return r[Wg]},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(r,n,gw)},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.prototype._applyStateObj.call(this,r,n,i,a,o,s);var l=!(n&&a),u;if(n&&n.style?o?a?u=n.style:(u=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(u,n.style)):(u=this._mergeStyle(this.createStyle(),a?this.style:i.style),this._mergeStyle(u,n.style)):l&&(u=i.style),u)if(o){var c=this.style;if(this.style=this.createStyle(l?{}:c),l)for(var f=Tt(c),d=0;d<f.length;d++){var h=f[d];h in u&&(u[h]=u[h],this.style[h]=c[h])}for(var v=Tt(u),d=0;d<v.length;d++){var h=v[d];this.style[h]=this.style[h]}this._transitionState(r,{style:u},s,this.getAnimationStyleProps())}else this.useStyle(u);for(var p=this.__inHover?aY:gw,d=0;d<p.length;d++){var h=p[d];n&&n[h]!=null?this[h]=n[h]:l&&i[h]!=null&&(this[h]=i[h])}},t.prototype._mergeStates=function(r){for(var n=e.prototype._mergeStates.call(this,r),i,a=0;a<r.length;a++){var o=r[a];o.style&&(i=i||{},this._mergeStyle(i,o.style))}return i&&(n.style=i),n},t.prototype._mergeStyle=function(r,n){return se(r,n),r},t.prototype.getAnimationStyleProps=function(){return dh},t.initDefaultProps=function(){var r=t.prototype;r.type="displayable",r.invisible=!1,r.z=0,r.z2=0,r.zlevel=0,r.culling=!1,r.cursor="pointer",r.rectHover=!1,r.incremental=!1,r._rect=null,r.di Line truncated
`,`
`,`
`];function Ou(e,t){return t.type=e,t}function im(e){return e.type==="section"}function vE(e){return im(e)?NK:FK}function pE(e){if(im(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return O(e.blocks,function(i){var a=pE(i);a>=t&&(t=a+ +(n&&(!a||im(i)&&!i.noHeader)))}),t}return 0}function NK(e,t,r,n){var i=t.noHeader,a=BK(pE(t)),o=[],s=t.blocks||[];bi(!s||ge(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Es(u,l)){var c=new bK(u[l],null);s.sort(function(v,p){return c.evaluate(v.sortParam,p.sortParam)})}else l==="seriesDesc"&&s.reverse()}O(s,function(v,p){var g=t.valueFormatter,m=vE(v)(g?se(se({},e),{valueFormatter:g}):e,v,p>0?a.html:0,n);m!=null&&o.push(m)});var f=e.renderMode==="richText"?o.join(a.richText):am(o.join(""),i?r:a.html);if(i)return f;var d=tm(t.header,"ordinal",e.useUTC),h=hE(n,e.renderMode).nameStyle;return e.renderMode==="richText"?gE(e,d,h)+a.richText+f:am('<div style="'+h+";"+dE+';">'+Xr(d)+"</div>"+f,r)}function FK(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(b){return b=ge(b)?b:[b],Re(b,function(S,w){return tm(S,ge(h)?h[w]:h,u)})};if(!(a&&o)){var f=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),d=a?"":tm(l,"ordinal",u),h=t.valueType,v=o?[]:c(t.value),p=!s||!a,g=!s&&a,m=hE(n,i),y=m.nameStyle,_=m.valueStyle;return i==="richText"?(s?"":f)+(a?"":gE(e,d,y))+(o?"":zK(e,v,p,g,_)):am((s?"":f)+(a?"":$K(d,!s,y))+(o?"":HK(v,p,g,_)),r)}}function AS(e,t,r,n,i,a){if(e){var o=vE(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function BK(e){return{html:RK[e],richText:kK[e]}}function am(e,t){var r='<div style="clear:both"></div>',n="margin: "+t+"px 0 0";return'<div style="'+n+";"+dE+';">'+e+r+"</div>"}function $K(e,t,r){var n=t?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+Xr(e)+"</span>"}function HK(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=ge(e)?e:[e],'<span style="'+a+";"+n+'">'+Re(e,function(o){return Xr(o)}).join("&nbsp;&nbsp;")+"</span>"}function gE(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function zK(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(ge(t)?t.join(" "):t,a)}function WK(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return Lu(n)}function mE(e,t){var r=e.get("padding");return r??(t==="richText"?[8,10]:10)}var Xv=function(){function e(){this.richTextStyles={},this._nextStyleNameId=CP()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=Pq({color:r,type:t,renderMode:n,markerId:i});return Te(a)?a:(this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};ge(r)?O(r,function(a){return se(n,a)}):se(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e}();function VK(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),l=ge(s),u=WK(t,r),c,f,d,h;if(o>1||l&&!o){var v=GK(s,t,r,a,u);c=v.inlineValues,f=v.inlineValueTypes,d=v.blocks,h=v.inlineValues[0]}else if(o){var p=i.getDimensionInfo(a[0]);h=c=Is(i,r,a[0]),f=p.type}else h=c=l?s[0]:s;var g=t0(t),m=g&&t.name||"",y=i.getName(r),_=n?m:y;return Ou("section",{header:m,noHeader:n||!g,sortParam:h,blocks:[Ou("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Vn(_),value:c,valueType:f})].concat(d||[])})}function GK(e,t,r,n,i){var a=t.getData(),o=oa(e,function(f,d,h){var v=a.getDimensionInfo(h);return f=f||v&&v.tooltip!==!1&&v.displayName!=null},!1),s=[],l=[],u=[];n.length?O(n,function(f){c(Is(a,r,f),f)}):O(e,c);function c(f,d){var h=a.getDimensionInfo(d);!h||h.otherDims.tooltip===!1||(o?u.push(Ou("nameValue",{markerType:"subItem",markerColor:i,name:h.displayName,value:f,valueType:h.type})):(s.push(f),l.push(h.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var ki=Pt();function qc(e,t){return e.getName(t)||e.getId(t)}var UK="__universalTransitionEnabled",Mh=function(e){pe(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return t.prototype.init=function(r,n,i){this.seriesIndex=this.componentIndex,this.dataTask=Zl({count:YK,reset:qK}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=ki(this).sourceManager=new OK(this);a.prepareSource();var o=this.getInitialData(r,i);ES(o,this),this.dataTask.context.data=o,ki(this).dataBeforeProcessed=o,PS(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=Du(this),a=i?xh(r):{},o=this.subType;St.hasClass(o)&&(o+="Series"),st(r,n.getTheme().get(this.subType)),st(r,this.getDefaultOption()),Hg(r," Line truncated
`:"<br/>",m=f.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,u)?this._updatePosition(s,h,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,m,u,Math.random()+"",o[0],o[1],h,null,d)})},t.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=ft(n),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,c=o.dataIndex,f=o.dataType,d=u.getData(f),h=this._renderMode,v=r.positionDefault,p=ml([d.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(c,f),y=new Xv;m.marker=y.makeTooltipMarker("item",Lu(m.color),h);var _=SS(u.formatTooltip(c,!1,f)),b=p.get("order"),S=p.get("valueFormatter"),w=_.frag,x=w?AS(S?se({valueFormatter:S},w):w,y,h,b,a.get("useUTC"),p.get("textStyle")):_.text,C="item_"+u.name+"_"+c;this._showOrMove(p,function(){this._showTooltipContent(p,x,m,C,r.offsetX,r.offsetY,r.position,r.target,y)}),i({type:"showTip",dataIndexInside:c,dataIndex:d.getRawIndex(c),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,n,i){var a=ft(n),o=a.tooltipConfig,s=o.option||{};if(Te(s)){var l=s;s={content:l,formatter:l}}var u=[s],c=this._ecModel.getComponent(a.componentMainType,a.componentIndex);c&&u.push(c),u.push({formatter:s.content});var f=r.positionDefault,d=ml(u,this._tooltipModel,f?{position:f}:null),h=d.get("content"),v=Math.random()+"",p=new Xv;this._showOrMove(d,function(){var g=Qe(d.get("formatterParams")||{});this._showTooltipContent(d,h,g,v,r.offsetX,r.offsetY,r.position,n,p)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(r,n,i,a,o,s,l,u,c){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var f=this._tooltipContent;f.setEnterable(r.get("enterable"));var d=r.get("formatter");l=l||r.get("position");var h=n,v=this._getNearestPoint([o,s],i,r.get("trigger"),r.get("borderColor")),p=v.color;if(d)if(Te(d)){var g=r.ecModel.get("useUTC"),m=ge(i)?i[0]:i,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;h=d,y&&(h=mh(m.axisValue,h,g)),h=U2(h,i,!0)}else if(Ve(d)){var _=_t(function(b,S){b===this._ticket&&(f.setContent(S,c,r,p,l),this._updatePosition(r,l,o,s,f,i,u))},this);this._ticket=a,h=d(i,a,_)}else h=d;f.setContent(h,c,r,p,l),f.show(r,p),this._updatePosition(r,l,o,s,f,i,u)}},t.prototype._getNearestPoint=function(r,n,i,a){if(i==="axis"||ge(n))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!ge(n))return{color:a||n.color||n.borderColor}},t.prototype._updatePosition=function(r,n,i,a,o,s,l){var u=this._api.getWidth(),c=this._api.getHeight();n=n||r.get("position");var f=o.getSize(),d=r.get("align"),h=r.get("verticalAlign"),v=l&&l.getBoundingRect().clone();if(l&&v.applyTransform(l.transform),Ve(n)&&(n=n([i,a],s,o.el,v,{viewSize:[u,c],contentSize:f.slice()})),ge(n))i=gt(n[0],u),a=gt(n[1],c);else if(Ie(n)){var p=n;p.width=f[0],p.height=f[1];var g=Ls(p,{width:u,height:c});i=g.x,a=g.y,d=null,h=null}else if(Te(n)&&l){var m=kte(n,v,f,r.get("borderWidth"));i=m[0],a=m[1]}else{var m=Ote(i,a,o,u,c,d?null:20,h?null:20);i=m[0],a=m[1]}if(d&&(i-=uC(d)?f[0]/2:d==="right"?f[0]:0),h&&(a-=uC(h)?f[1]/2:h==="bottom"?f[1]:0),JL(r)){var m=Rte(i,a,o,u,c);i=m[0],a=m[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(r,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===r.length;return o&&O(i,function(s,l){var u=s.dataByAxis||[],c=r[l]||{},f=c.dataByAxis||[];o=o&&u.length===f.length,o&&O(u,function(d,h){var v=f[h]||{},p=d.seriesDataIndices||[],g=v.seriesDataIndices||[];o=o&&d.value===v.value&&d.axisType===v.axisType&&d.axisId===v.axisId&&p.length===g.length,o&&O(p,function(m,y){var _=g[y];o=o&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),a&&O(d.seriesDataIndices,function(m){var y=m.seriesIndex,_=n[y],b=a[y];_&&b&&b.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},t.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},t.prototype.dispose=function(r,n){Ge.node||!n.getDom()||(sm(this,"_updatePosition"),this._tooltipContent.dispose(),xm("itemTooltip",n))},t.type="tooltip",t}(Si);function ml(e,t,r){var n=t.ecModel,i;r?(i=new rr(r,n,n),i=new rr(t.option,i,n)):i=t;for(var a=e.length-1;a>=0;a--){var o=e[a];o&&(o instanceof rr&&(o=o.get("tooltip",!0)),Te(o)&&(o={formatter:o}),o&&(i=new rr(o,i,n)))}return i}function lC(e,t){return e.dispatchAction||_t(t.dispatchAction,t)}function Ote(e,t,r,n,i,a,o){var s=r.getSize(),l=s[0],u=s[1];return a!=null&&(e+l+a+2>n?e-=l+a:e+=a),o!=null&&(t+u+o>i?t-=u+o:t+=o),[e,t]}function Rte(e,t,r,n,i){var a=r.getSize(),o=a[0],s=a[1];return e=Math.min(e+o,n)-o,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function kte(e,t,r,n){var i=r[0],a=r[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+c/2-a/2;break;case"top":s=t.x+u/2-i/2,l=t.y-a-o;break;case"bottom":s=t.x+u/2-i/2,l=t.y+c+o;break;case"left":s=t.x- Line truncated
`)){var g=new gf;g.newline=!0,u.add(g);return}var m=i.getSeriesByName(p)[0];if(!c.get(p))if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},b=y.getVisual("legendIcon"),S=y.getVisual("style"),w=this._createItem(m,p,v,h,n,r,_,S,b,f,a);w.on("click",jo(cC,p,null,a,d)).on("mouseover",jo(Mm,m.name,null,a,d)).on("mouseout",jo(Am,m.name,null,a,d)),c.set(p,!0)}else i.eachRawSeries(function(x){if(!c.get(p)&&x.legendVisualProvider){var C=x.legendVisualProvider;if(!C.containName(p))return;var M=C.indexOfName(p),E=C.getItemVisual(M,"style"),A=C.getItemVisual(M,"legendIcon"),T=so(E.fill);T&&T[3]===0&&(T[3]=.2,E=se(se({},E),{fill:Ky(T,"rgba")}));var D=this._createItem(x,p,v,h,n,r,{},E,A,f,a);D.on("click",jo(cC,null,p,a,d)).on("mouseover",jo(Mm,null,p,a,d)).on("mouseout",jo(Am,null,p,a,d)),c.set(p,!0)}},this)},this),o&&this._createSelector(o,n,a,s,l)},t.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();Tm(r,function(u){var c=u.type,f=new dr({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(f);var d=n.getModel("selectorLabel"),h=n.getModel(["emphasis","selectorLabel"]);m0(f,{normal:d,emphasis:h},{defaultText:u.title}),Kg(f)})},t.prototype._createItem=function(r,n,i,a,o,s,l,u,c,f,d){var h=r.visualDrawType,v=o.get("itemWidth"),p=o.get("itemHeight"),g=o.isSelected(n),m=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),_=a.get("icon");c=_||c||"roundRect";var b=Ute(c,a,l,u,h,g,d),S=new gf,w=a.getModel("textStyle");if(Ve(r.getLegendIcon)&&(!_||_==="inherit"))S.add(r.getLegendIcon({itemWidth:v,itemHeight:p,icon:c,iconRotate:m,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}));else{var x=_==="inherit"&&r.getData().getVisual("symbol")?m==="inherit"?r.getData().getVisual("symbolRotate"):m:0;S.add(jte({itemWidth:v,itemHeight:p,icon:c,iconRotate:x,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}))}var C=s==="left"?v+5:-5,M=s,E=o.get("formatter"),A=n;Te(E)&&E?A=E.replace("{name}",n??""):Ve(E)&&(A=E(n));var T=a.get("inactiveColor");S.add(new dr({style:la(w,{text:A,x:C,y:p/2,fill:g?w.getTextColor():T,align:M,verticalAlign:"middle"})}));var D=new Ht({shape:S.getBoundingRect(),invisible:!0}),N=a.getModel("tooltip");return N.get("show")&&p0({el:D,componentModel:o,itemName:n,itemTooltipOption:N.option}),S.add(D),S.eachChild(function(H){H.silent=!0}),D.silent=!f,this.getContentGroup().add(S),Kg(S),S.__legendDataIndex=i,S},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Xl(r.get("orient"),l,r.get("itemGap"),i.width,i.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),o){Xl("horizontal",u,r.get("selectorItemGap",!0));var d=u.getBoundingRect(),h=[-d.x,-d.y],v=r.get("selectorButtonGap",!0),p=r.getOrient().index,g=p===0?"width":"height",m=p===0?"height":"width",y=p===0?"y":"x";s==="end"?h[p]+=c[g]+v:f[p]+=d[g]+v,h[1-p]+=c[m]/2-d[m]/2,u.x=h[0],u.y=h[1],l.x=f[0],l.y=f[1];var _={x:0,y:0};return _[g]=c[g]+v+d[g],_[m]=Math.max(c[m],d[m]),_[y]=Math.min(0,d[y]+h[1-p]),_}else return l.x=f[0],l.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Si);function Ute(e,t,r,n,i,a,o){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),Tm(g,function(y,_){g[_]==="inherit"&&(g[_]=m[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?n.decal:dm(f,o),u.fill==="inherit"&&(u.fill=n[i]),u.stroke==="inherit"&&(u.stroke=n[c]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?n:r).opacity),s(u,n);var d=t.getModel("lineStyle"),h=d.getLineStyle();if(s(h,r),u.fill==="auto"&&(u.fill=n.fill),u.stroke==="auto"&&(u.stroke=n.fill),h.stroke==="auto"&&(h.stroke=n.fill),!a){var v=t.get("inactiveBorderWidth"),p=u[c];u.lineWidth=v==="auto"?n.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),h.stroke=d.get("inactiveColor"),h.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}function jte(e){var t=e.icon||"roundRect",r=R0(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return r.setStyle(e.itemStyle),r.rotation=(e.iconRotate||0)*Math.PI/180,r.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}function cC(e,t,r,n){Am(e,t,r,n),r.dispatchAction({type:"legendToggleSelect",name:e??t}),Mm(e,t,r,n)}function nD(e){for(var t=e.getZr().storage.getDisplayList(),r,n=0,i=t.length;n<i&&!(r=t[n].states.emphasis);)n++;return r&&r.hoverLayer}function Mm(e,t,r,n){nD(r)||r.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:n})}function Am(e,t,r,n){nD(r)||r.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:n})}const iD=Gte;function Yte(e){var t=e. Line truncated
`||u==="")){var c=o.isSelected(u);n.hasOwnProperty(u)?n[u]=n[u]&&c:n[u]=c}})}),e==="allSelect"||e==="inverseSelect"?{selected:n}:{name:t.name,selected:n}}function qte(e){e.registerAction("legendToggleSelect","legendselectchanged",Rt(yl,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Rt(yl,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Rt(yl,"inverseSelect")),e.registerAction("legendSelect","legendselected",Rt(yl,"select")),e.registerAction("legendUnSelect","legendunselected",Rt(yl,"unSelect"))}function aD(e){e.registerComponentModel(Cm),e.registerComponentView(iD),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,Yte),e.registerSubTypeDefaulter("legend",function(){return"plain"}),qte(e)}var Kte=function(e){pe(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.setScrollDataIndex=function(r){this.option.scrollDataIndex=r},t.prototype.init=function(r,n,i){var a=xh(r);e.prototype.init.call(this,r,n,i),fC(this,r,a)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),fC(this,this.option,r)},t.type="legend.scroll",t.defaultOption=I2(Cm.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(Cm);function fC(e,t,r){var n=e.getOrient(),i=[1,1];i[n.index]=0,Ds(t,r,{type:"box",ignoreSize:!!i})}const Xte=Kte;var dC=cn,wp=["width","height"],Sp=["x","y"],Zte=function(e){pe(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!0,r._currentIndex=0,r}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new dC),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new dC)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(r,n,i,a,o,s,l){var u=this;e.prototype.renderInner.call(this,r,n,i,a,o,s,l);var c=this._controllerGroup,f=n.get("pageIconSize",!0),d=ge(f)?f:[f,f];v("pagePrev",0);var h=n.getModel("pageTextStyle");c.add(new dr({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(p,g){var m=p+"DataIndex",y=v0(n.get("pageIcons",!0)[n.getOrient().name][g],{onclick:_t(u._pageGo,u,m,n,a)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});y.name=p,c.add(y)}},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getSelectorGroup(),u=r.getOrient().index,c=wp[u],f=Sp[u],d=wp[1-u],h=Sp[1-u];o&&Xl("horizontal",l,r.get("selectorItemGap",!0));var v=r.get("selectorButtonGap",!0),p=l.getBoundingRect(),g=[-p.x,-p.y],m=Qe(i);o&&(m[c]=i[c]-p[c]-v);var y=this._layoutContentAndController(r,a,m,u,c,d,h,f);if(o){if(s==="end")g[u]+=y[c]+v;else{var _=p[c]+v;g[u]-=_,y[f]-=_}y[c]+=p[c]+v,g[1-u]+=y[h]+y[d]/2-p[d]/2,y[d]=Math.max(y[d],p[d]),y[h]=Math.min(y[h],p[h]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return y},t.prototype._layoutContentAndController=function(r,n,i,a,o,s,l,u){var c=this.getContentGroup(),f=this._containerGroup,d=this._controllerGroup;Xl(r.get("orient"),c,r.get("itemGap"),a?i.width:null,a?null:i.height),Xl("horizontal",d,r.get("pageButtonItemGap",!0));var h=c.getBoundingRect(),v=d.getBoundingRect(),p=this._showController=h[o]>i[o],g=[-h.x,-h.y];n||(g[a]=c[u]);var m=[0,0],y=[-v.x,-v.y],_=qe(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(p){var b=r.get("pageButtonPosition",!0);b==="end"?y[a]+=i[o]-v[o]:m[a]+=v[o]+_}y[1-a]+=h[s]/2-v[s]/2,c.setPosition(g),f.setPosition(m),d.setPosition(y);var S={x:0,y:0};if(S[o]=p?i[o]:h[o],S[s]=Math.max(h[s],v[s]),S[l]=Math.min(0,v[l]+y[1-a]),f.__rectSize=i[o],p){var w={x:0,y:0};w[o]=Math.max(i[o]-v[o]-_,0),w[s]=S[s],f.setClipPath(new Ht({shape:w})),f.__rectSize=w[o]}else d.eachChild(function(C){C.attr({invisible:!0,silent:!0})});var x=this._getPageInfo(r);return x.pageIndex!=null&&Er(c,{x:x.contentPosition[0],y:x.contentPosition[1]},p?r:null),this._updatePageInfoView(r,x),S},t.prototype._pageGo=function(r,n,i){var a=this._getPageInfo(n)[r];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},t.prototype._updatePageInfoView=function(r,n){var i=this._controllerGroup;O(["pagePrev","pageNext"],function(c){var f=c+"DataIndex",d=n[f]!=null,h=i.childOfName(c);h&&(h.setStyle("fill",d?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),h.cursor=d?"pointer":"default")});var a=i.childOfName("pageText"),o=r.get("pageFormatter"),s=n.pageIndex,l=s!=null?s+1:0,u=n.pageCount;a&&o&&a.setStyle("text",Te(o)?o.replace("{current}",l==null?"":l+"" Line truncated
+2 -3
View File
@@ -4,13 +4,12 @@
<head>
<meta charset="utf-8">
<title>frps dashboard</title>
<script type="module" crossorigin src="./index-c322b7dd.js"></script>
<link rel="stylesheet" href="./index-1e0c7400.css">
<script type="module" crossorigin src="./index-1gecbKzv.js"></script>
<link rel="stylesheet" crossorigin href="./index-Lf6B06jY.css">
</head>
<body>
<div id="app"></div>
</body>
</html>
+2 -2
View File
@@ -35,7 +35,7 @@ import (
"github.com/fatedier/frp/pkg/util/xlog"
)
// Connector is a interface for establishing connections to the server.
// Connector is an interface for establishing connections to the server.
type Connector interface {
Open() error
Connect() (net.Conn, error)
@@ -59,7 +59,7 @@ func NewConnector(ctx context.Context, cfg *v1.ClientCommonConfig) Connector {
}
}
// Open opens a underlying connection to the server.
// Open opens an underlying connection to the server.
// The underlying connection is either a TCP connection or a QUIC connection.
// After the underlying connection is established, you can call Connect() to get a stream.
// If TCPMux isn't enabled, the underlying connection is nil, you will get a new real TCP connection every time you call Connect().
+1
View File
@@ -133,6 +133,7 @@ func (ctl *Control) handleReqWorkConn(_ msg.Message) {
}
if err = ctl.sessionCtx.AuthSetter.SetNewWorkConn(m); err != nil {
xl.Warn("error during NewWorkConn authentication: %v", err)
workConn.Close()
return
}
if err = msg.WriteMsg(workConn, m); err != nil {
+1
View File
@@ -97,6 +97,7 @@ func runMultipleClients(cfgDir string) error {
}
func Execute() {
rootCmd.SetGlobalNormalizationFunc(config.WordSepNormalizeFunc)
if err := rootCmd.Execute(); err != nil {
os.Exit(1)
}
+1
View File
@@ -92,6 +92,7 @@ var rootCmd = &cobra.Command{
}
func Execute() {
rootCmd.SetGlobalNormalizationFunc(config.WordSepNormalizeFunc)
if err := rootCmd.Execute(); err != nil {
os.Exit(1)
}
+2 -2
View File
@@ -41,7 +41,7 @@ transport.maxPoolCount = 5
# transport.tcpKeepalive = 7200
# transport.tls.force specifies whether to only accept TLS-encrypted connections. By default, the value is false.
tls.force = false
transport.tls.force = false
# transport.tls.certFile = "server.crt"
# transport.tls.keyFile = "server.key"
@@ -129,7 +129,7 @@ allowPorts = [
maxPortsPerClient = 0
# If subDomainHost is not empty, you can set subdomain when type is http or https in frpc's configure file
# When subdomain is est, the host used by routing is test.frps.com
# When subdomain is test, the host used by routing is test.frps.com
subDomainHost = "frps.com"
# custom 404 page for HTTP requests
+4 -4
View File
@@ -18,13 +18,13 @@ require (
github.com/pion/stun v0.6.1
github.com/pires/go-proxyproto v0.7.0
github.com/prometheus/client_golang v1.16.0
github.com/quic-go/quic-go v0.37.4
github.com/quic-go/quic-go v0.37.7
github.com/rodaine/table v1.1.0
github.com/samber/lo v1.38.1
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.8.4
golang.org/x/crypto v0.15.0
golang.org/x/crypto v0.17.0
golang.org/x/net v0.17.0
golang.org/x/oauth2 v0.10.0
golang.org/x/sync v0.3.0
@@ -39,7 +39,7 @@ require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
github.com/go-jose/go-jose/v3 v3.0.1 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/golang/mock v1.6.0 // indirect
@@ -67,7 +67,7 @@ require (
github.com/tjfoc/gmsm v1.4.1 // indirect
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/sys v0.14.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.9.3 // indirect
google.golang.org/appengine v1.6.7 // indirect
+9 -9
View File
@@ -32,8 +32,8 @@ github.com/fatedier/kcp-go v2.0.4-0.20190803094908-fe8645b0a904+incompatible h1:
github.com/fatedier/kcp-go v2.0.4-0.20190803094908-fe8645b0a904+incompatible/go.mod h1:YpCOaxj7vvMThhIQ9AfTOPW2sfztQR5WDfs7AflSy4s=
github.com/fatedier/yamux v0.0.0-20230628132301-7aca4898904d h1:ynk1ra0RUqDWQfvFi5KtMiSobkVQ3cNc0ODb8CfIETo=
github.com/fatedier/yamux v0.0.0-20230628132301-7aca4898904d/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ=
github.com/go-jose/go-jose/v3 v3.0.0 h1:s6rrhirfEP/CGIoc6p+PZAeogN2SxKav6Wp7+dyMWVo=
github.com/go-jose/go-jose/v3 v3.0.0/go.mod h1:RNkWWRld676jZEYoV3+XK8L2ZnNSvIsxFMht0mSX+u8=
github.com/go-jose/go-jose/v3 v3.0.1 h1:pWmKFVtt+Jl0vBZTIpz/eAKwsm6LkIxDVVbFHKkchhA=
github.com/go-jose/go-jose/v3 v3.0.1/go.mod h1:RNkWWRld676jZEYoV3+XK8L2ZnNSvIsxFMht0mSX+u8=
github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ=
github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI=
@@ -119,8 +119,8 @@ github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+Pymzi
github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM=
github.com/quic-go/qtls-go1-20 v0.3.1 h1:O4BLOM3hwfVF3AcktIylQXyl7Yi2iBNVy5QsV+ySxbg=
github.com/quic-go/qtls-go1-20 v0.3.1/go.mod h1:X9Nh97ZL80Z+bX/gUXMbipO6OxdiDi58b/fMC9mAL+k=
github.com/quic-go/quic-go v0.37.4 h1:ke8B73yMCWGq9MfrCCAw0Uzdm7GaViC3i39dsIdDlH4=
github.com/quic-go/quic-go v0.37.4/go.mod h1:YsbH1r4mSHPJcLF4k4zruUkLBqctEMBDR6VPvcYjIsU=
github.com/quic-go/quic-go v0.37.7 h1:AgKsQLZ1+YCwZd2GYhBUsJDYZwEkA5gENtAjb+MxONU=
github.com/quic-go/quic-go v0.37.7/go.mod h1:YsbH1r4mSHPJcLF4k4zruUkLBqctEMBDR6VPvcYjIsU=
github.com/rodaine/table v1.1.0 h1:/fUlCSdjamMY8VifdQRIu3VWZXYLY7QHFkVorS8NTr4=
github.com/rodaine/table v1.1.0/go.mod h1:Qu3q5wi1jTQD6B6HsP6szie/S4w1QUQ8pq22pz9iL8g=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
@@ -157,8 +157,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
golang.org/x/crypto v0.0.0-20201012173705-84dcc777aaee/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE=
golang.org/x/crypto v0.15.0 h1:frVn1TEaCEaZcn3Tmd7Y2b5KKPaZ+I32Q2OA3kYp5TA=
golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g=
golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k=
golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db h1:D/cFflL63o2KSLJIwjlcIt8PR064j/xsmdEJL/YvY/o=
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
@@ -210,13 +210,13 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q=
golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY=
golang.org/x/term v0.14.0 h1:LGK9IlZ8T9jvdy6cTdfKUCltatMFOehAQo9SRC46UQ8=
golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+5 -1
View File
@@ -26,5 +26,9 @@ frpsPath=${ROOT}/bin/frps
if [ "${FRPS_PATH}" ]; then
frpsPath="${FRPS_PATH}"
fi
concurrency="16"
if [ "${CONCURRENCY}" ]; then
concurrency="${CONCURRENCY}"
fi
ginkgo -nodes=8 --poll-progress-after=60s ${ROOT}/test/e2e -- -frpc-path=${frpcPath} -frps-path=${frpsPath} -log-level=${logLevel} -debug=${debug}
ginkgo -nodes=${concurrency} --poll-progress-after=60s ${ROOT}/test/e2e -- -frpc-path=${frpcPath} -frps-path=${frpsPath} -log-level=${logLevel} -debug=${debug}
+10
View File
@@ -17,14 +17,24 @@ package config
import (
"fmt"
"strconv"
"strings"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"github.com/fatedier/frp/pkg/config/types"
v1 "github.com/fatedier/frp/pkg/config/v1"
"github.com/fatedier/frp/pkg/config/v1/validation"
)
// WordSepNormalizeFunc changes all flags that contain "_" separators
func WordSepNormalizeFunc(f *pflag.FlagSet, name string) pflag.NormalizedName {
if strings.Contains(name, "_") {
return pflag.NormalizedName(strings.ReplaceAll(name, "_", "-"))
}
return pflag.NormalizedName(name)
}
type RegisterFlagOption func(*registerFlagOptions)
type registerFlagOptions struct {
+1 -1
View File
@@ -195,7 +195,7 @@ type ProxyConfigurer interface {
// MarshalToMsg marshals this config into a msg.NewProxy message. This
// function will be called on the frpc side.
MarshalToMsg(*msg.NewProxy)
// UnmarshalFromMsg unmarshals a msg.NewProxy message into this config.
// UnmarshalFromMsg unmarshal a msg.NewProxy message into this config.
// This function will be called on the frps side.
UnmarshalFromMsg(*msg.NewProxy)
}
+8 -4
View File
@@ -61,23 +61,23 @@ func (m *serverMetrics) run() {
for {
time.Sleep(12 * time.Hour)
start := time.Now()
count, total := m.clearUselessInfo()
count, total := m.clearUselessInfo(time.Duration(7*24) * time.Hour)
log.Debug("clear useless proxy statistics data count %d/%d, cost %v", count, total, time.Since(start))
}
}()
}
func (m *serverMetrics) clearUselessInfo() (int, int) {
func (m *serverMetrics) clearUselessInfo(continuousOfflineDuration time.Duration) (int, int) {
count := 0
total := 0
// To check if there are proxies that closed than 7 days and drop them.
// To check if there are any proxies that have been closed for more than continuousOfflineDuration and remove them.
m.mu.Lock()
defer m.mu.Unlock()
total = len(m.info.ProxyStatistics)
for name, data := range m.info.ProxyStatistics {
if !data.LastCloseTime.IsZero() &&
data.LastStartTime.Before(data.LastCloseTime) &&
time.Since(data.LastCloseTime) > time.Duration(7*24)*time.Hour {
time.Since(data.LastCloseTime) > continuousOfflineDuration {
delete(m.info.ProxyStatistics, name)
count++
log.Trace("clear proxy [%s]'s statistics data, lastCloseTime: [%s]", name, data.LastCloseTime.String())
@@ -86,6 +86,10 @@ func (m *serverMetrics) clearUselessInfo() (int, int) {
return count, total
}
func (m *serverMetrics) ClearOfflineProxies() (int, int) {
return m.clearUselessInfo(0)
}
func (m *serverMetrics) NewClient() {
m.info.ClientCounts.Inc(1)
}
+1
View File
@@ -79,4 +79,5 @@ type Collector interface {
GetProxiesByType(proxyType string) []*ProxyStats
GetProxiesByTypeAndName(proxyType string, proxyName string) *ProxyStats
GetProxyTraffic(name string) *ProxyTrafficInfo
ClearOfflineProxies() (int, int)
}
+2
View File
@@ -254,6 +254,8 @@ func (s *TunnelServer) parseClientAndProxyConfigurer(_ *tcpipForward, extraPaylo
Short: "ssh v0@{address} [command]",
Run: func(*cobra.Command, []string) {},
}
cmd.SetGlobalNormalizationFunc(config.WordSepNormalizeFunc)
args := strings.Split(extraPayload, " ")
if len(args) < 1 {
return nil, nil, helpMessage, fmt.Errorf("invalid extra payload")
+1 -1
View File
@@ -19,7 +19,7 @@ import (
"strings"
)
var version = "0.53.2"
var version = "0.54.0"
func Full() string {
return version
+6
View File
@@ -33,6 +33,8 @@ func NewRouters() *Routers {
}
func (r *Routers) Add(domain, location, httpUser string, payload interface{}) error {
domain = strings.ToLower(domain)
r.mutex.Lock()
defer r.mutex.Unlock()
@@ -64,6 +66,8 @@ func (r *Routers) Add(domain, location, httpUser string, payload interface{}) er
}
func (r *Routers) Del(domain, location, httpUser string) {
domain = strings.ToLower(domain)
r.mutex.Lock()
defer r.mutex.Unlock()
@@ -86,6 +90,8 @@ func (r *Routers) Del(domain, location, httpUser string) {
}
func (r *Routers) Get(host, path, httpUser string) (vr *Router, exist bool) {
host = strings.ToLower(host)
r.mutex.RLock()
defer r.mutex.RUnlock()
+28
View File
@@ -17,6 +17,7 @@ package server
import (
"encoding/json"
"net/http"
"sort"
"github.com/gorilla/mux"
"github.com/prometheus/client_golang/prometheus/promhttp"
@@ -53,6 +54,7 @@ func (svr *Service) registerRouteHandlers(helper *httppkg.RouterRegisterHelper)
subRouter.HandleFunc("/api/proxy/{type}", svr.apiProxyByType).Methods("GET")
subRouter.HandleFunc("/api/proxy/{type}/{name}", svr.apiProxyByTypeAndName).Methods("GET")
subRouter.HandleFunc("/api/traffic/{name}", svr.apiProxyTraffic).Methods("GET")
subRouter.HandleFunc("/api/proxies", svr.deleteProxies).Methods("DELETE")
// view
subRouter.Handle("/favicon.ico", http.FileServer(helper.AssetsFS)).Methods("GET")
@@ -226,6 +228,9 @@ func (svr *Service) apiProxyByType(w http.ResponseWriter, r *http.Request) {
proxyInfoResp := GetProxyInfoResp{}
proxyInfoResp.Proxies = svr.getProxyStatsByType(proxyType)
sort.Slice(proxyInfoResp.Proxies, func(i, j int) bool {
return proxyInfoResp.Proxies[i].Name < proxyInfoResp.Proxies[j].Name
})
buf, _ := json.Marshal(&proxyInfoResp)
res.Msg = string(buf)
@@ -376,3 +381,26 @@ func (svr *Service) apiProxyTraffic(w http.ResponseWriter, r *http.Request) {
buf, _ := json.Marshal(&trafficResp)
res.Msg = string(buf)
}
// DELETE /api/proxies?status=offline
func (svr *Service) deleteProxies(w http.ResponseWriter, r *http.Request) {
res := GeneralResponse{Code: 200}
log.Info("Http request: [%s]", r.URL.Path)
defer func() {
log.Info("Http response [%s]: code [%d]", r.URL.Path, res.Code)
w.WriteHeader(res.Code)
if len(res.Msg) > 0 {
_, _ = w.Write([]byte(res.Msg))
}
}()
status := r.URL.Query().Get("status")
if status != "offline" {
res.Code = 400
res.Msg = "status only support offline"
return
}
cleared, total := mem.StatsCollector.ClearOfflineProxies()
log.Info("cleared [%d] offline proxies, total [%d] proxies", cleared, total)
}
+1 -1
View File
@@ -67,7 +67,7 @@ func NewDefaultFramework() *Framework {
TotalParallelNode: suiteConfig.ParallelTotal,
CurrentNodeIndex: suiteConfig.ParallelProcess,
FromPortIndex: 10000,
ToPortIndex: 60000,
ToPortIndex: 30000,
}
return NewFramework(options)
}
+3 -3
View File
@@ -42,7 +42,7 @@ func (f *Framework) RunProcesses(serverTemplates []string, clientTemplates []str
ExpectNoError(err)
time.Sleep(500 * time.Millisecond)
}
time.Sleep(1 * time.Second)
time.Sleep(2 * time.Second)
currentClientProcesses := make([]*process.Process, 0, len(clientTemplates))
for i := range clientTemplates {
@@ -76,7 +76,7 @@ func (f *Framework) RunFrps(args ...string) (*process.Process, string, error) {
return p, p.StdOutput(), err
}
// sleep for a while to get std output
time.Sleep(time.Second)
time.Sleep(2 * time.Second)
return p, p.StdOutput(), nil
}
@@ -87,7 +87,7 @@ func (f *Framework) RunFrpc(args ...string) (*process.Process, string, error) {
if err != nil {
return p, p.StdOutput(), err
}
time.Sleep(time.Second)
time.Sleep(2 * time.Second)
return p, p.StdOutput(), nil
}
+7 -7
View File
@@ -22,11 +22,11 @@ var _ = ginkgo.Describe("[Feature: Server Manager]", func() {
clientConf := consts.LegacyDefaultClientConfig
serverConf += `
allow_ports = 20000-25000,25002,30000-50000
allow_ports = 10000-11000,11002,12000-13000
`
tcpPortName := port.GenName("TCP", port.WithRangePorts(20000, 25000))
udpPortName := port.GenName("UDP", port.WithRangePorts(30000, 50000))
tcpPortName := port.GenName("TCP", port.WithRangePorts(10000, 11000))
udpPortName := port.GenName("UDP", port.WithRangePorts(12000, 13000))
clientConf += fmt.Sprintf(`
[tcp-allowded-in-range]
type = tcp
@@ -37,7 +37,7 @@ var _ = ginkgo.Describe("[Feature: Server Manager]", func() {
[tcp-port-not-allowed]
type = tcp
local_port = {{ .%s }}
remote_port = 25001
remote_port = 11001
`, framework.TCPEchoServerPort)
clientConf += fmt.Sprintf(`
[tcp-port-unavailable]
@@ -55,7 +55,7 @@ var _ = ginkgo.Describe("[Feature: Server Manager]", func() {
[udp-port-not-allowed]
type = udp
local_port = {{ .%s }}
remote_port = 25003
remote_port = 11003
`, framework.UDPEchoServerPort)
f.RunProcesses([]string{serverConf}, []string{clientConf})
@@ -65,7 +65,7 @@ var _ = ginkgo.Describe("[Feature: Server Manager]", func() {
framework.NewRequestExpect(f).PortName(tcpPortName).Ensure()
// Not Allowed
framework.NewRequestExpect(f).Port(25001).ExpectError(true).Ensure()
framework.NewRequestExpect(f).Port(11001).ExpectError(true).Ensure()
// Unavailable, already bind by frps
framework.NewRequestExpect(f).PortName(consts.PortServerName).ExpectError(true).Ensure()
@@ -76,7 +76,7 @@ var _ = ginkgo.Describe("[Feature: Server Manager]", func() {
// Not Allowed
framework.NewRequestExpect(f).RequestModify(func(r *request.Request) {
r.UDP().Port(25003)
r.UDP().Port(11003)
}).ExpectError(true).Ensure()
})
+1
View File
@@ -79,6 +79,7 @@ func (pa *Allocator) GetByName(portName string) int {
udpConn.Close()
pa.used.Insert(port)
pa.reserved.Delete(port)
return port
}
return 0
+2 -2
View File
@@ -90,12 +90,12 @@ var _ = ginkgo.Describe("[Feature: Cmd]", func() {
ginkgo.It("HTTP", func() {
serverPort := f.AllocPort()
vhostHTTPPort := f.AllocPort()
_, _, err := f.RunFrps("-t", "123", "-p", strconv.Itoa(serverPort), "--vhost_http_port", strconv.Itoa(vhostHTTPPort))
_, _, err := f.RunFrps("-t", "123", "-p", strconv.Itoa(serverPort), "--vhost-http-port", strconv.Itoa(vhostHTTPPort))
framework.ExpectNoError(err)
_, _, err = f.RunFrpc("http", "-s", "127.0.0.1", "-P", strconv.Itoa(serverPort), "-t", "123", "-u", "test",
"-n", "udp_test", "-l", strconv.Itoa(f.PortByName(framework.HTTPSimpleServerPort)),
"--custom_domain", "test.example.com")
"--custom-domain", "test.example.com")
framework.ExpectNoError(err)
framework.NewRequestExpect(f).Port(vhostHTTPPort).
+9 -9
View File
@@ -23,14 +23,14 @@ var _ = ginkgo.Describe("[Feature: Server Manager]", func() {
serverConf += `
allowPorts = [
{ start = 20000, end = 25000 },
{ single = 25002 },
{ start = 30000, end = 50000 },
{ start = 10000, end = 11000 },
{ single = 11002 },
{ start = 12000, end = 13000 },
]
`
tcpPortName := port.GenName("TCP", port.WithRangePorts(20000, 25000))
udpPortName := port.GenName("UDP", port.WithRangePorts(30000, 50000))
tcpPortName := port.GenName("TCP", port.WithRangePorts(10000, 11000))
udpPortName := port.GenName("UDP", port.WithRangePorts(12000, 13000))
clientConf += fmt.Sprintf(`
[[proxies]]
name = "tcp-allowded-in-range"
@@ -43,7 +43,7 @@ var _ = ginkgo.Describe("[Feature: Server Manager]", func() {
name = "tcp-port-not-allowed"
type = "tcp"
localPort = {{ .%s }}
remotePort = 25001
remotePort = 11001
`, framework.TCPEchoServerPort)
clientConf += fmt.Sprintf(`
[[proxies]]
@@ -64,7 +64,7 @@ var _ = ginkgo.Describe("[Feature: Server Manager]", func() {
name = "udp-port-not-allowed"
type = "udp"
localPort = {{ .%s }}
remotePort = 25003
remotePort = 11003
`, framework.UDPEchoServerPort)
f.RunProcesses([]string{serverConf}, []string{clientConf})
@@ -74,7 +74,7 @@ var _ = ginkgo.Describe("[Feature: Server Manager]", func() {
framework.NewRequestExpect(f).PortName(tcpPortName).Ensure()
// Not Allowed
framework.NewRequestExpect(f).Port(25001).ExpectError(true).Ensure()
framework.NewRequestExpect(f).Port(11001).ExpectError(true).Ensure()
// Unavailable, already bind by frps
framework.NewRequestExpect(f).PortName(consts.PortServerName).ExpectError(true).Ensure()
@@ -85,7 +85,7 @@ var _ = ginkgo.Describe("[Feature: Server Manager]", func() {
// Not Allowed
framework.NewRequestExpect(f).RequestModify(func(r *request.Request) {
r.UDP().Port(25003)
r.UDP().Port(11003)
}).ExpectError(true).Ensure()
})
+5 -5
View File
@@ -32,7 +32,7 @@ var _ = ginkgo.Describe("[Feature: SSH Tunnel]", func() {
tc := ssh.NewTunnelClient(
fmt.Sprintf("127.0.0.1:%d", localPort),
fmt.Sprintf("127.0.0.1:%d", sshPort),
fmt.Sprintf("tcp --remote_port %d", remotePort),
fmt.Sprintf("tcp --remote-port %d", remotePort),
)
framework.ExpectNoError(tc.Start())
defer tc.Close()
@@ -55,7 +55,7 @@ var _ = ginkgo.Describe("[Feature: SSH Tunnel]", func() {
tc := ssh.NewTunnelClient(
fmt.Sprintf("127.0.0.1:%d", localPort),
fmt.Sprintf("127.0.0.1:%d", sshPort),
"http --custom_domain test.example.com",
"http --custom-domain test.example.com",
)
framework.ExpectNoError(tc.Start())
defer tc.Close()
@@ -83,7 +83,7 @@ var _ = ginkgo.Describe("[Feature: SSH Tunnel]", func() {
tc := ssh.NewTunnelClient(
fmt.Sprintf("127.0.0.1:%d", localPort),
fmt.Sprintf("127.0.0.1:%d", sshPort),
fmt.Sprintf("https --custom_domain %s", testDomain),
fmt.Sprintf("https --custom-domain %s", testDomain),
)
framework.ExpectNoError(tc.Start())
defer tc.Close()
@@ -125,7 +125,7 @@ var _ = ginkgo.Describe("[Feature: SSH Tunnel]", func() {
tc := ssh.NewTunnelClient(
fmt.Sprintf("127.0.0.1:%d", localPort),
fmt.Sprintf("127.0.0.1:%d", sshPort),
fmt.Sprintf("tcpmux --mux=httpconnect --custom_domain %s", testDomain),
fmt.Sprintf("tcpmux --mux=httpconnect --custom-domain %s", testDomain),
)
framework.ExpectNoError(tc.Start())
defer tc.Close()
@@ -179,7 +179,7 @@ var _ = ginkgo.Describe("[Feature: SSH Tunnel]", func() {
tc := ssh.NewTunnelClient(
fmt.Sprintf("127.0.0.1:%d", localPort),
fmt.Sprintf("127.0.0.1:%d", sshPort),
"stcp -n stcp-test --sk=abcdefg --allow_users=\"*\"",
"stcp -n stcp-test --sk=abcdefg --allow-users=\"*\"",
)
framework.ExpectNoError(tc.Start())
defer tc.Close()
+1
View File
@@ -1,6 +1,7 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
export {}
declare global {
+1 -3
View File
@@ -3,11 +3,9 @@
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
import '@vue/runtime-core'
export {}
declare module '@vue/runtime-core' {
declare module 'vue' {
export interface GlobalComponents {
ClientConfigure: typeof import('./src/components/ClientConfigure.vue')['default']
ElButton: typeof import('element-plus/es')['ElButton']
+18 -18
View File
@@ -1,6 +1,6 @@
{
"name": "-frpc-dashboard",
"version": "0.0.0",
"name": "frpc-dashboard",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite",
@@ -11,25 +11,25 @@
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
},
"dependencies": {
"element-plus": "^2.3.3",
"vue": "^3.2.47",
"vue-router": "^4.1.6"
"element-plus": "^2.5.3",
"vue": "^3.4.15",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.1.4",
"@rushstack/eslint-patch": "^1.7.2",
"@types/node": "^18.11.12",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"@vue/tsconfig": "^0.1.3",
"eslint": "^8.22.0",
"eslint-plugin-vue": "^9.3.0",
"@vitejs/plugin-vue": "^5.0.3",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.5.1",
"eslint": "^8.56.0",
"eslint-plugin-vue": "^9.21.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"typescript": "~4.7.4",
"unplugin-auto-import": "^0.14.3",
"unplugin-vue-components": "^0.24.0",
"vite": "^4.0.0",
"vue-tsc": "^1.0.12"
"prettier": "^3.2.4",
"typescript": "~5.3.3",
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.0.12",
"vue-tsc": "^1.8.27"
}
}
-8
View File
@@ -1,8 +0,0 @@
{
"extends": "@vue/tsconfig/tsconfig.node.json",
"include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"],
"compilerOptions": {
"composite": true,
"types": ["node"]
}
}
+21 -12
View File
@@ -1,16 +1,25 @@
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"target": "ES2020",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"references": [
{
"path": "./tsconfig.config.json"
}
]
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{ "path": "./tsconfig.node.json" }]
}
+10
View File
@@ -0,0 +1,10 @@
{
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
}
File renamed without changes.
+811 -1315
View File
File diff suppressed because it is too large. Load diff
+5 -1
View File
@@ -1,4 +1,8 @@
// Generated by 'unplugin-auto-import'
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
export {}
declare global {
+7 -5
View File
@@ -1,11 +1,11 @@
// generated by unplugin-vue-components
// We suggest you to commit this file into source control
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
import '@vue/runtime-core'
export {}
declare module '@vue/runtime-core' {
declare module 'vue' {
export interface GlobalComponents {
ElButton: typeof import('element-plus/es')['ElButton']
ElCol: typeof import('element-plus/es')['ElCol']
@@ -13,6 +13,8 @@ declare module '@vue/runtime-core' {
ElFormItem: typeof import('element-plus/es')['ElFormItem']
ElMenu: typeof import('element-plus/es')['ElMenu']
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
ElPageHeader: typeof import('element-plus/es')['ElPageHeader']
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
ElPopover: typeof import('element-plus/es')['ElPopover']
ElRow: typeof import('element-plus/es')['ElRow']
ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
+17 -17
View File
@@ -12,27 +12,27 @@
},
"dependencies": {
"@types/humanize-plus": "^1.8.0",
"echarts": "^5.4.1",
"element-plus": "^2.3.3",
"echarts": "^5.4.3",
"element-plus": "^2.5.3",
"humanize-plus": "^1.8.2",
"vue": "^3.2.47",
"vue-router": "^4.1.6"
"vue": "^3.4.15",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.1.4",
"@rushstack/eslint-patch": "^1.7.2",
"@types/node": "^18.11.12",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"@vue/tsconfig": "^0.1.3",
"eslint": "^8.22.0",
"eslint-plugin-vue": "^9.3.0",
"@vitejs/plugin-vue": "^5.0.3",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.5.1",
"eslint": "^8.56.0",
"eslint-plugin-vue": "^9.21.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"typescript": "~4.7.4",
"unplugin-auto-import": "^0.13.0",
"unplugin-vue-components": "^0.23.0",
"vite": "^4.0.4",
"vue-tsc": "^1.0.12"
"prettier": "^3.2.4",
"typescript": "~5.3.3",
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.0.12",
"vue-tsc": "^1.8.27"
}
}
+2 -1
View File
@@ -1,5 +1,5 @@
<template>
<ProxyView :proxies="proxies" proxyType="http" />
<ProxyView :proxies="proxies" proxyType="http" @refresh="fetchData"/>
</template>
<script setup lang="ts">
@@ -27,6 +27,7 @@ const fetchData = () => {
return res.json()
})
.then((json) => {
proxies.value = []
for (let proxyStats of json.proxies) {
proxies.value.push(
new HTTPProxy(proxyStats, vhostHTTPPort, subdomainHost)
+2 -1
View File
@@ -1,5 +1,5 @@
<template>
<ProxyView :proxies="proxies" proxyType="https" />
<ProxyView :proxies="proxies" proxyType="https" @refresh="fetchData"/>
</template>
<script setup lang="ts">
@@ -27,6 +27,7 @@ const fetchData = () => {
return res.json()
})
.then((json) => {
proxies.value = []
for (let proxyStats of json.proxies) {
proxies.value.push(
new HTTPSProxy(proxyStats, vhostHTTPSPort, subdomainHost)
+2 -1
View File
@@ -1,5 +1,5 @@
<template>
<ProxyView :proxies="proxies" proxyType="stcp" />
<ProxyView :proxies="proxies" proxyType="stcp" @refresh="fetchData"/>
</template>
<script setup lang="ts">
@@ -15,6 +15,7 @@ const fetchData = () => {
return res.json()
})
.then((json) => {
proxies.value = []
for (let proxyStats of json.proxies) {
proxies.value.push(new STCPProxy(proxyStats))
}
+2 -1
View File
@@ -1,5 +1,5 @@
<template>
<ProxyView :proxies="proxies" proxyType="sudp" />
<ProxyView :proxies="proxies" proxyType="sudp" @refresh="fetchData"/>
</template>
<script setup lang="ts">
@@ -15,6 +15,7 @@ const fetchData = () => {
return res.json()
})
.then((json) => {
proxies.value = []
for (let proxyStats of json.proxies) {
proxies.value.push(new SUDPProxy(proxyStats))
}
+2 -1
View File
@@ -1,5 +1,5 @@
<template>
<ProxyView :proxies="proxies" proxyType="tcp" />
<ProxyView :proxies="proxies" proxyType="tcp" @refresh="fetchData" />
</template>
<script setup lang="ts">
@@ -15,6 +15,7 @@ const fetchData = () => {
return res.json()
})
.then((json) => {
proxies.value = []
for (let proxyStats of json.proxies) {
proxies.value.push(new TCPProxy(proxyStats))
}
+2 -2
View File
@@ -1,5 +1,5 @@
<template>
<ProxyView :proxies="proxies" proxyType="udp" />
<ProxyView :proxies="proxies" proxyType="udp" @refresh="fetchData"/>
</template>
<script setup lang="ts">
@@ -15,12 +15,12 @@ const fetchData = () => {
return res.json()
})
.then((json) => {
proxies.value = []
for (let proxyStats of json.proxies) {
proxies.value.push(new UDPProxy(proxyStats))
}
})
}
fetchData()
</script>
+59
View File
@@ -1,5 +1,28 @@
<template>
<div>
<el-page-header
:icon="null"
style="width: 100%; margin-left: 30px; margin-bottom: 20px"
>
<template #title>
<span>{{ proxyType }}</span>
</template>
<template #content> </template>
<template #extra>
<div class="flex items-center" style="margin-right: 30px">
<el-popconfirm
title="Are you sure to clear all data of offline proxies?"
@confirm="clearOfflineProxies"
>
<template #reference>
<el-button>ClearOfflineProxies</el-button>
</template>
</el-popconfirm>
<el-button @click="$emit('refresh')">Refresh</el-button>
</div>
</template>
</el-page-header>
<el-table
:data="proxies"
:default-sort="{ prop: 'name', order: 'ascending' }"
@@ -67,6 +90,7 @@
import * as Humanize from 'humanize-plus'
import type { TableColumnCtx } from 'element-plus'
import type { BaseProxy } from '../utils/proxy.js'
import { ElMessage } from 'element-plus'
import ProxyViewExpand from './ProxyViewExpand.vue'
defineProps<{
@@ -74,6 +98,8 @@ defineProps<{
proxyType: string
}>()
const emit = defineEmits(['refresh'])
const formatTrafficIn = (row: BaseProxy, _: TableColumnCtx<BaseProxy>) => {
return Humanize.fileSize(row.trafficIn)
}
@@ -81,4 +107,37 @@ const formatTrafficIn = (row: BaseProxy, _: TableColumnCtx<BaseProxy>) => {
const formatTrafficOut = (row: BaseProxy, _: TableColumnCtx<BaseProxy>) => {
return Humanize.fileSize(row.trafficOut)
}
const clearOfflineProxies = () => {
fetch('/api/proxies?status=offline', {
method: 'DELETE',
credentials: 'include',
})
.then((res) => {
if (res.ok) {
ElMessage({
message: 'Successfully cleared offline proxies',
type: 'success',
})
emit('refresh')
} else {
ElMessage({
message: 'Failed to clear offline proxies: ' + res.status + ' ' + res.statusText,
type: 'warning',
})
}
})
.catch((err) => {
ElMessage({
message: 'Failed to clear offline proxies: ' + err.message,
type: 'warning',
})
})
}
</script>
<style>
.el-page-header__title {
font-size: 20px;
}
</style>
+1 -4
View File
@@ -17,10 +17,7 @@
<el-form-item label="KCP Bind Port" v-if="data.kcpBindPort != 0">
<span>{{ data.kcpBindPort }}</span>
</el-form-item>
<el-form-item
label="QUIC Bind Port"
v-if="data.quicBindPort != 0"
>
<el-form-item label="QUIC Bind Port" v-if="data.quicBindPort != 0">
<span>{{ data.quicBindPort }}</span>
</el-form-item>
<el-form-item label="Http Port" v-if="data.vhostHTTPPort != 0">
+7 -5
View File
@@ -23,8 +23,10 @@ class BaseProxy {
this.type = ''
this.encryption = false
this.compression = false
this.encryption = (proxyStats.conf?.transport?.useEncryption) || this.encryption;
this.compression = (proxyStats.conf?.transport?.useCompression) || this.compression;
this.encryption =
proxyStats.conf?.transport?.useEncryption || this.encryption
this.compression =
proxyStats.conf?.transport?.useCompression || this.compression
this.conns = proxyStats.curConns
this.trafficIn = proxyStats.todayTrafficIn
this.trafficOut = proxyStats.todayTrafficOut
@@ -76,12 +78,12 @@ class HTTPProxy extends BaseProxy {
this.type = 'http'
this.port = port
if (proxyStats.conf) {
this.customDomains = proxyStats.conf.customDomains || this.customDomains;
this.customDomains = proxyStats.conf.customDomains || this.customDomains
this.hostHeaderRewrite = proxyStats.conf.hostHeaderRewrite
this.locations = proxyStats.conf.locations
if (proxyStats.conf.subdomain) {
this.subdomain = `${proxyStats.conf.subdomain}.${subdomainHost}`
}
}
}
}
}
@@ -92,7 +94,7 @@ class HTTPSProxy extends BaseProxy {
this.type = 'https'
this.port = port
if (proxyStats.conf != null) {
this.customDomains = proxyStats.conf.customDomains || this.customDomains;
this.customDomains = proxyStats.conf.customDomains || this.customDomains
if (proxyStats.conf.subdomain) {
this.subdomain = `${proxyStats.conf.subdomain}.${subdomainHost}`
}
-8
View File
@@ -1,8 +0,0 @@
{
"extends": "@vue/tsconfig/tsconfig.node.json",
"include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"],
"compilerOptions": {
"composite": true,
"types": ["node"]
}
}
+21 -12
View File
@@ -1,16 +1,25 @@
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"target": "ES2020",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"references": [
{
"path": "./tsconfig.config.json"
}
]
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{ "path": "./tsconfig.node.json" }]
}
+10
View File
@@ -0,0 +1,10 @@
{
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
}
File renamed without changes.
+825 -1400
View File
File diff suppressed because it is too large. Load diff